Check if SSE is available with HAS_CPU_FEATURE
[glibc.git] / ChangeLog
blobb72d52164e8500930a3ea47612743ac26c6088b9
1 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4         HAS_CPU_FEATURE to check for SSE.
5         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
7         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
8         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
9         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
10         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
11         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
12         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
13         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
14         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
15         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
18         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
19         (index_cpu_SSE): Likewise.
20         (reg_SSE): Likewise.
22 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
24         * posix/getopt1.c: Include <config.h>, not "config.h".
26 2017-04-07  Zack Weinberg  <zackw@panix.com>
28         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
29         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
30         Mention in top-of-file boilerplate that these files are shared
31         with gnulib.
32         * posix/getopt.h, posix/bits/getopt_posix.h:
33         Mention in top-of-file boilerplate that these files are NOT shared
34         with gnulib, unlike the rest of the getopt implementation.
36         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
37         New files, intended to be shared with gnulib.
38         * posix/bits/getopt_posix.h:
39         New file, not intended to be shared with gnulib.
40         * posix/getopt.h: Now just includes features.h,
41         bits/getopt_core.h, and bits/getopt_ext.h.  Will
42         no longer be shared with gnulib.
43         * include/bits/getopt_core.h, include/bits/getopt_ext.h
44         * include/bits/getopt_posix.h: New wrappers.
45         * posix/Makefile: Install new headers.
46         * posix/unistd.h, libio/stdio.h:
47         Include bits/getopt_posix.h instead of getopt.h.
49         * include/libc-symbols.h: For gnulib compatibility, define
50         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
51         _GL_ATTRIBUTE_CONST.
52         * posix/getopt.c (_getopt_initialize): Mark argc and argv
53         parameters with _GL_UNUSED.
55         * posix/getopt.c: When used standalone, define __libc_use_alloca
56         as always false and alloca to abort if called.
57         (process_long_option): Rewrite handling of ambiguous long options
58         to use a single boolean vector, not a linked list; use
59         __libc_use_alloca to decide whether to allocate this using alloca.
60         * posix/tst-getopt_long1.c: Adjust text of expected error message.
62         * posix/getopt.c (process_long_option): New function split out
63         from _getopt_internal_r.
64         (_getopt_internal_r): Replace both copies of the long-option
65         processing code with calls to process_long_option.
66         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
67         (do_test): Differentiate argv[0] in the two subtests.
69         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
70         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
71         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
73         * posix/getopt.h: Add backup definition of __nonnull for
74         consistency with gnulib.  Define __getopt_argv_const to const
75         if not already defined.
76         (getopt): Update doc comment from gnulib.  Prototype
77         unconditionally.  Add __nonnull annotation.
78         (__posix_getopt): Add __nonnull annotation.
79         (getopt_long, getopt_long_only): Use __getopt_argv_const in
80         prototypes for consistency with gnulib.  Add __nonnull
81         annotations.
82         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
83         (getopt_internal): Change 'argv' argument to type 'char **'.
84         Remove now-unnecessary casts.
85         (getopt, __posix_getopt): Eliminate repetition with a macro.
86         Cast 'argv' to 'char **' when calling _getopt_internal.
87         * posix/getopt1.c (getopt_long, getopt_long_only):
88         Use __getopt_argv_const for consistency with gnulib.
89         Cast 'argv' to 'char **' when calling _getopt_internal.
90         (_getopt_long_r, _getopt_long_only_r):
91         Change 'argv' argument to type 'char **'.
92         (main): Constify 'long_options'.
93         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
94         (_getopt_long_r, _getopt_long_only_r):
95         Change 'argv' argument to type 'char **'.
97         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
98         (locked_vfxprintf): New helper function. Handle arbitrary
99         multibyte strings, not just ASCII.
100         * include/stdio.h: Declare __fxprintf_nocancel.
101         * posix/getopt.c: When _LIBC is defined, define fprintf to
102         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
103         to _IO_funlockfile.  When neither _LIBC nor
104         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
105         funlockfile as no-ops.
106         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
107         the standalone error-printing code can now be used for libc as
108         well.  Add an flockfile/funlockfile pair around one case where
109         the error message is printed in several chunks.  Don't use fputc.
110         * posix/tst-getopt-cancel.c: New test.
111         * posix/Makefile: Run it.
113         * posix/getopt.c (_getopt_internal_r): Don't increment
114         d->optind a second time when reporting ambiguous -W options.
116         * posix/getopt_int.h: Include getopt.h.
117         Use impl-namespace names for all arguments to _getopt_internal and
118         _getopt_internal_r.
119         Declare __ordering enum outside the struct.
120         Harmonize comments with gnulib.
121         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
122         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
123         #ifdef TEST block and make unconditional.  Do not define NULL.
124         * posix/getopt.c: Partial merge from gnulib, covering the
125         initial includes and global declarations, commentary, and
126         a couple of semantically-neutral code changes.
128         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
129         Use '...' instead of `...' for quotation marks inside
130         comments and strings.
132         * config.h.in (USE_NONOPTION_FLAGS): Remove.
133         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
134         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
135         * posix/getopt_int.h: Likewise.
136         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
137         __libc_argc and __libc_argv externs, which were only used by
138         #ifdef USE_NONOPTION_FLAGS blocks.
139         * posix/getopt_init.c: Remove file.
140         * posix/Makefile (routines): Remove getopt_init.
141         * include/getopt.h: Don't declare __getopt_initialize_environment.
142         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
143         a comment.
145 2017-04-07  Florian Weimer  <fweimer@redhat.com>
147         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
149 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
151         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
152         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
153         to __wrap_.udiv.
154         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
155         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
157         * sysdeps/i386/symbol-hacks.h: New file.
158         * sysdeps/m68k/symbol-hacks.h: New file.
159         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
160         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
161         * sysdeps/unix/sysv/linux/i386/Makefile
162         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
163         [$(subdir) = csu] (sysdep-only-routines): Likewise.
164         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
165         * sysdeps/unix/sysv/linux/m68k/Makefile
166         [$(subdir) = csu] (sysdep_routines): Likewise.
167         [$(subdir) = csu] (sysdep-only-routines): Likewise.
168         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
170         [$(subdir) = csu] (sysdep_routines): Likewise.
171         [$(subdir) = csu] (sysdep-only-routines): Likewise.
172         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
173         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
174         [$(subdir) = csu] (sysdep_routines): Likewise.
175         [$(subdir) = csu] (sysdep-only-routines): Likewise.
176         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
177         * sysdeps/wordsize-32/Makefile: Remove file.
178         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
179         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
181 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
183         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
184         (TEST_FUNCTION_ARGV): New.
186 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
188         * elf/next.c: Import support/test-driver.c instead of
189         test-skeleton.c and delete TEST_FUNCTION macro definition.
190         * elf/nodelete.c: Likewise.
191         * elf/order2.c: Likewise.
192         * elf/tst-_dl_addr_inside_object.c: Likewise.
193         * elf/tst-addr1.c: Likewise.
194         * elf/tst-align.c: Likewise.
195         * elf/tst-align2.c: Likewise.
196         * elf/tst-audit11.c: Likewise.
197         * elf/tst-audit12.c: Likewise.
198         * elf/tst-audit2.c: Likewise.
199         * elf/tst-audit9.c: Likewise.
200         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
201         * elf/tst-deep1.c: Likewise.
202         * elf/tst-dl-iter-static.c: Likewise.
203         * elf/tst-dlmodcount.c: Likewise.
204         * elf/tst-dlmopen1.c: Likewise.
205         * elf/tst-dlmopen2.c: Likewise.
206         * elf/tst-dlmopen3.c: Likewise.
207         * elf/tst-dlopen-aout.c: Likewise.
208         * elf/tst-dlopenrpath.c: Likewise.
209         * elf/tst-dlsym-error.c: Likewise.
210         * elf/tst-execstack-needed.c: Likewise.
211         * elf/tst-execstack-prog.c: Likewise.
212         * elf/tst-execstack.c: Likewise.
213         * elf/tst-global1.c: Likewise.
214         * elf/tst-gnu2-tls1.c: Likewise.
215         * elf/tst-latepthread.c: Likewise.
216         * elf/tst-leaks1.c: Likewise.
217         * elf/tst-linkall-static.c: Likewise.
218         (do_test): New function.
219         * elf/tst-nodelete-opened.c: Likewise.
220         * elf/tst-nodelete.cc: Likewise.
221         * elf/tst-nodelete2.c: Likewise.
222         * elf/tst-noload.c: Likewise.
223         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
224         * elf/tst-order-main.c: Likewise.
225         * elf/tst-pathopt.c: Likewise.
226         * elf/tst-pie2.c: Likewise.
227         * elf/tst-piemod1.c: Likewise.
228         * elf/tst-prelink.c: Likewise.
229         * elf/tst-protected1a.c: Likewise.
230         * elf/tst-protected1b.c: Likewise.
231         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
232         and define _GNU_SOURCE macro.
233         (cmdline_process_function): New function.
234         * elf/tst-relsort1.c: Likewise.
235         * elf/tst-stackguard1.c: Likewise, import getopt.h,
236         and define _GNU_SOURCE macro.
237         (cmdline_process_function): New function.
238         * elf/tst-thrlock.c: Likewise.
239         * elf/tst-tls-dlinfo.c: Likewise.
240         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
241         * elf/tst-tls1.c: Likewise.
242         * elf/tst-tls10.c: Likewise.
243         * elf/tst-tls11.c: Likewise.
244         * elf/tst-tls12.c: Likewise.
245         * elf/tst-tls13.c: Likewise.
246         * elf/tst-tls14.c: Likewise.
247         * elf/tst-tls15.c: Likewise.
248         * elf/tst-tls16.c: Likewise.
249         * elf/tst-tls17.c: Likewise.
250         * elf/tst-tls18.c: Likewise.
251         * elf/tst-tls19.c: Likewise.
252         * elf/tst-tls2.c: Likewise.
253         * elf/tst-tls3.c: Likewise.
254         * elf/tst-tls4.c: Likewise.
255         * elf/tst-tls5.c: Likewise.
256         * elf/tst-tls6.c: Likewise.
257         * elf/tst-tls7.c: Likewise.
258         * elf/tst-tls8.c: Likewise.
259         * elf/tst-tls9.c: Likewise.
260         * elf/tst-tlsalign-extern.c: Likewise.
261         * elf/tst-tlsalign.c: Likewise.
262         * elf/tst-unique1.c: Likewise.
263         * elf/tst-unique2.c: Likewise.
264         * elf/vismain.c: Likewise.
266 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
268         * string/test-strnlen.c (do_page_tests): New function
269         to check length of strings ending at the page boundary.
270         (test_main): Added call to the do_page_tests function.
272 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
273             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
275         * sysdeps/powerpc/powerpc64/multiarch/Makefile
276         (sysdep_routines): Add strnlen-power8.
277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
278         (strnlen): Add __strnlen_power8 to list of strnlen functions.
279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
280         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
281         (__strnlen): Add __strnlen_power8 to ifunc list.
282         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
284 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
286         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
287         the TEST_FUNCTION macro definition.
288         * wcsmbs/tst-mbrtowc2.c: Likewise.
289         * wcsmbs/tst-mbsrtowcs.c: Likewise.
290         * wcsmbs/tst-wchar-h.c: Likewise.
291         * wcsmbs/tst-wcpncpy.c: Likewise.
292         * wcsmbs/tst-wcrtomb.c: Likewise.
293         * wcsmbs/tst-wcsnlen.c: Likewise.
294         * wcsmbs/tst-wcstof.c: Likewise.
296 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
298         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
299         CALL_THREAD_FCT macro usage.
300         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
301         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
302         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
304         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
306         (__ASSUME_REQUEUE_PI): Likewise.
307         * sysdeps/unix/sysv/linux/kernel-features.h
308         (__ASSUME_REQUEUE_PI): Likewise.
309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
310         (__ASSUME_REQUEUE_PI): Likewise.
311         * sysdeps/unix/sysv/linux/mips/kernel-features.h
312         (__ASSUME_REQUEUE_PI): Likewise.
313         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
314         (__ASSUME_REQUEUE_PI): Likewise.
316 2017-04-04  Florian Weimer  <fweimer@redhat.com>
318         * resolv/tst-resolv-canonname.c: New file.
319         * resolv/Makefile (tests): Add tst-resolv-canonname.
320         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
322 2017-04-04  Florian Weimer  <fweimer@redhat.com>
324         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
325         Declare.
326         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
327         (NS_MAXCDNAME): Remove definition.
328         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
329         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
330         (NS_MAXCDNAME): Remove definition.
331         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
333 2017-04-04  Florian Weimer  <fweimer@redhat.com>
335         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
336         call whose result is not used.
338 2017-04-04  Florian Weimer  <fweimer@redhat.com>
340         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
341         * resolv/Makefile (tests): Add tst-ns_name.
342         (tst-ns_name): Link with -lresolv.
343         (tst-ns_name.out): Depend on the input data file.
345 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
347         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
348         Clobber also r14.
350 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
352         [BZ #21253]
353         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
354         slack space by 32KiB.
356 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
358         [BZ #21338]
359         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
360         instead of incorrect do_set_arena_test
362 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
364         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
365         * math/bits/math-finite.h: Likewise.
367 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
369         [BZ #21289]
370         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
372 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
374         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
375         non expected inotify_add_watch and quotactl return.
377 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
379         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
380         to int32_t.
381         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
382         as returning int32_t.
384 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
386         * math/math.h: Include bits/math-finite.h once per
387         floating-point type.
388         * math/bits/math-finite.h: Macroize all declarations by
389         floating-point type.
391 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
393         [BZ #21182]
394         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
395         near end of a page.
396         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
397         overflow calculation.
399 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
401         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
402         (IMPL) Call with 1 instead of 0 as argument.
404 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
406         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
407         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
408         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
409         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
410         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
411         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
412         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
413         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
414         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
415         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
416         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
417         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
418         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
419         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
420         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
421         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
422         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
423         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
424         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
425         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
426         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
427         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
428         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
429         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
430         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
431         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
432         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
433         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
434         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
435         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
436         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
437         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
438         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
439         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
440         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
441         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
442         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
443         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
444         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
445         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
446         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
447         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
448         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
449         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
450         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
451         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
452         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
453         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
454         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
455         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
456         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
457         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
458         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
459         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
460         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
461         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
462         INLINE_SYSCALL_ERROR_RETURN_VALUE.
463         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
464         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
465         defined.
466         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
467         __NR_setgroups32 if defined.
468         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
469         if defined.
470         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
471         __NR_setresgid32 is defined.
472         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
473         __NR_setresuid32 if defined.
474         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
475         __NR_setreuid32 if defined.
476         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
477         defined.
478         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
479         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
480         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
481         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
482         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
483         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
484         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
485         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
486         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
487         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
488         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
489         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
490         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
491         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
492         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
493         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
494         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
495         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
496         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
497         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
498         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
499         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
500         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
501         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
502         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
503         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
504         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
505         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
506         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
507         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
508         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
509         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
510         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
512         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
513         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
514         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
515         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
516         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
517         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
518         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
519         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
520         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
521         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
522         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
523         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
524         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
525         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
526         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
527         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
528         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
529         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
530         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
531         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
532         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
533         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
534         INLINE_SYSCALL_ERROR_RETURN_VALUE.
535         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
536         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
537         defined.
538         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
539         __NR_setgroups32 if defined.
540         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
541         if defined.
542         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
543         __NR_setresgid32 is defined.
544         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
545         __NR_setresuid32 if defined.
546         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
547         __NR_setreuid32 if defined.
548         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
549         defined.
551 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
553         [BZ #21277]
554         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
555         unconditionally.
556         (IMAXBEL): Likewise.
557         (IUTF8): Likewise.
559 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
561         * sysdeps/aarch64/libm-test-ulps: Update.
563 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
565         * README.tunables: Updated descriptions.
566         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
567         * scripts/gen-tunables.awk: Updated the code related to the
568         commit.
570 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
572         * benchtests/Makefile (string-benchset): Add memcpy-random.
573         * benchtests/bench-memcpy-random.c: New file.
575 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
577         * stdio-common/printf.h (register_printf_modifier): Change the
578         order of __wur and __THROW.
579         (register_printf_type): Likewise.
581 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
583         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
584         test_main ().
585         (CMDLINE_PROCESS): Use function instead of defined macro.
586         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
587         <suppport/support.h> to use set_fortify_handler().
588         * string/bug-envz1.c: Import support/test-driver.c instead of
589         test-skeleton.c.
590         * string/bug-strcoll2.c: Likewise.
591         * string/bug-strtok1.c: Likewise.
592         * string/stratcliff.c: Likewise.
593         * string/test-ffs.c: Likewise.
594         * string/test-memccpy.c: Likewise.
595         * string/test-memchr.c: Likewise.
596         * string/test-memcmp.c: Likewise.
597         * string/test-memcpy.c: Likewise.
598         * string/test-memmem.c: Likewise.
599         * string/test-memmove.c: Likewise.
600         * string/test-memrchr.c: Likewise.
601         * string/test-memset.c: Likewise.
602         * string/test-rawmemchr.c: Likewise.
603         * string/test-strcasecmp.c: Likewise.
604         * string/test-strcasestr.c: Likewise.
605         * string/test-strcat.c: Likewise.
606         * string/test-strchr.c: Likewise.
607         * string/test-strcmp.c: Likewise.
608         * string/test-strcpy.c: Likewise.
609         * string/test-string.h: Likewise.
610         * string/test-strlen.c: Likewise.
611         * string/test-strncasecmp.c: Likewise.
612         * string/test-strncat.c: Likewise.
613         * string/test-strncmp.c: Likewise.
614         * string/test-strncpy.c: Likewise.
615         * string/test-strnlen.c: Likewise.
616         * string/test-strpbrk.c: Likewise.
617         * string/test-strrchr.c: Likewise.
618         * string/test-strspn.c: Likewise.
619         * string/test-strstr.c: Likewise.
620         * string/tst-bswap.c: Likewise.
621         * string/tst-cmp.c: Likewise.
622         * string/tst-endian.c: Likewise.
623         * string/tst-inlcall.c: Likewise.
624         * string/tst-strcoll-overflow.c: Likewise.
625         * string/tst-strfry.c: Likewise.
626         * string/tst-strlen.c: Likewise.
627         * string/tst-strtok.c: Likewise.
628         * string/tst-strtok_r.c: Likewise.
629         * string/tst-strxfrm.c: Likewise.
630         * string/tst-strxfrm2.c: Likewise.
631         * string/tst-svc.c: Likewise.
632         * string/tst-svc2.c: Likewise.
634 2017-03-22  Zack Weinberg  <zackw@panix.com>
636         * stdio-common/bug25.c: Include stdlib.h.
637         * support/tst-support_format_dns_packet.c: Include stdio.h,
638         stdlib.h, and string.h.
639         * support/tst-support_record_failure.c: Include string.h.
640         * support/tst-support_record_failure-2.sh: Adjust line number
641         expectations and correct a typo in an error message.
643 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
645         [BZ #21258]
646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
647         Define only if _dl_runtime_resolve is defined to
648         _dl_runtime_resolve_sse_vex.
649         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
650         Fallthrough to _dl_runtime_resolve_sse_vex.
652 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
654         * INSTALL: Regenerated.
656 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
658         * config.h.in: Add LINK_OBSOLETE_NSL.
659         * config.make.in: Add build-obsolete-nsl.
660         * configure.ac: Add obsolete-nsl option.
661         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
662         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
663         * include/rpcsvc/nislib.h: Likewise.
664         * include/rpcsvc/ypclnt.h: Likewise.
665         * manual/install.texi: Document --enable-obsolete-nsl.
666         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
667         * nis/nis_add.c: Replace libnsl_hidden_def with
668         libnsl_hidden_nolink_def.
669         * nis/nis_addmember.c: Likewise.
670         * nis/nis_call.c: Likewise.
671         * nis/nis_clone_obj.c: Likewise.
672         * nis/nis_defaults.c: Likeise.
673         * nis/nis_domain_of_r.c: Likewise.
674         * nis/nis_error.c: Likewise.
675         * nis/nis_file.c: Likewise.
676         * nis/nis_free.c: Likewise.
677         * nis_local_names.c: Likewise.
678         * nis/nis_lookup.c: Likewise.
679         * nis/nis_modify.c: Likewise.
680         * nis/nis_print.c: Likewise.
681         * nis/nis_remove.c: Likewise.
682         * nis/nis_table.c: Likewise.
683         * nis/nis_util.c: Likewise.
684         * nis/nis_xdr.c: Likewise.
685         * nis/yp_xdr.c: Likewise.
686         * nis/ypclnt.c: Likewise.
687         * nis/ypupdate_xdr.c: Likewise.
688         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
689         * nis/nis_clone_dir.c: Likewise.
690         * nis/nis_clone_res.c: Likewise.
691         * nis/nis_creategroup.c: Likewise.
692         * nis/nis_destroygroup.c: Likewise.
693         * nis/nis_domain_of.c: Likewise.
694         * nis/nis_getservlist.c: Likewise.
695         * nis/nis_ismember.c: Likewise.
696         * nis/nis_mkdir.c: Likewise.
697         * nis/nis_ping.c: Likewise.
698         * nis/nis_print_group_entry.c: Likewise.
699         * nis/nis_removemember.c: Likewise.
700         * nis/nis_rmdir.c: Likewise.
701         * nis/nis_server.c: Likewise.
702         * nis/nis_subr.c: Likewise.
703         * nis/nis_verifygroup.c: Likewise.
705 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
707         * malloc/tst-interpose-aux.c (check_for_allocations):
708         Move compiler barrier before free.
710 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #21279]
713         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
714         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
715         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
716         x86_64-x32-linux.
717         (mq_attr.mq_maxmsg): Likewise.
718         (mq_attr.mq_msgsize): Likewise.
719         (mq_attr.mq_curmsgs): Likewise.
721         [BZ #21278]
722         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
723         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
724         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
725         mips-o32-linux.
727         [BZ #21268]
728         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
729         if [__USE_MISC]
730         (NL3): Likewise.
732 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
734         [BZ #21275]
735         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
736         __stack to __stackbase.
737         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
738         checks so we can include defined(__ia64__) first.
740 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
742         * sysdeps/unix/sysv/linux/ttyname.h: New file.
743         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
744         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
745         Call is_pty when the link does not exist or does not match, fail
746         with ENODEV when it returns true.
747         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
748         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
749         Call is_pty when the link does not exist or does not match, fail
750         with ENODEV when it returns true.
752 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #16437]
755         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
756         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
757         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
758         x86_64-x32-linux.
759         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
760         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
761         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
763         [BZ #21261]
764         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
765         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
766         names for all fields.
767         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
768         for jmp_buf field renaming.
769         (_JMPBUF_UNWINDS_ADJ): Likewise.
771         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
772         with allow-header.
774 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
776         * malloc/malloc.c (unlink): Add consistency check between size and
777         next->prev->size, to further harden against 1-byte overflows.
779 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
781         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
782         CPU_FEATURES_CPU_P.
784 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
786         [BZ #21259]
787         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
788         unconditionally, not just for [__USE_MISC].
790         [BZ #17786]
791         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
792         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
793         mips-o32-linux.
795         [BZ #21260]
796         * sysdeps/unix/sysv/linux/alpha/Makefile
797         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
798         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
800         * conform/conformtest.pl ($cross): New variable.
801         (--cross): New command-line option.
802         (runtest): Skip test execution when cross-compiling.
803         * conform/Makefile (conformtest-cross): New variable.
804         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
805         conformtest.pl.
807         * conform/conformtest.pl ($xfail_str): New variable.
808         (--xfail=): New command-line option.
809         (top level): Handle expectations starting xfail[cond]-.
810         * conform/Makefile (conformtest-xfail): New variable.
811         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
812         conformtest.pl.
814 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
816         * conform/conformtest.pl: Use compilation instead of execution
817         tests for testing values of constants and usability in #if.
819 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
821         * math/auto-libm-test-in: Mark some catan and catanh as
822         xfail-rounding:ibm128-libgcc.
823         * math/auto-libm-test-out-catan: Regenerate.
824         * math/auto-libm-test-out-catanh: Likewise.
826 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
828         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
829         (__END_NAMESPACE_STD): Likewise.
830         (__USING_NAMESPACE_STD): Likewise.
831         (__BEGIN_NAMESPACE_C99): Likewise.
832         (__END_NAMESPACE_C99): Likewise.
833         (__USING_NAMESPACE_C99): Likewise.
834         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
835         undefine macro.
836         (_Mdouble_END_NAMESPACE): Likewise.
837         * ctype/ctype.h: Do not handle C++ namespaces.
838         * libio/bits/stdio-ldbl.h: Likewise.
839         * libio/stdio.h: Likewise.
840         * locale/locale.h: Likewise.
841         * math/bits/mathcalls.h: Likewise.
842         * setjmp/setjmp.h: Likewise.
843         * signal/signal.h: Likewise.
844         * stdlib/bits/stdlib-float.h: Likewise.
845         * stdlib/bits/stdlib-ldbl.h: Likewise.
846         * stdlib/stdlib.h: Likewise.
847         * string/string.h: Likewise.
848         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
849         * time/bits/types/clock_t.h: Likewise.
850         * time/bits/types/struct_tm.h: Likewise.
851         * time/bits/types/time_t.h: Likewise.
852         * time/time.h: Likewise.
853         * wcsmbs/bits/wchar-ldbl.h: Likewise.
854         * wcsmbs/uchar.h: Likewise.
855         * wcsmbs/wchar.h: Likewise.
856         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
857         * wctype/wctype.h: Do not handle C++ namespaces.
858         * scripts/begin-end-check.pl: Remove.
859         * Makefile (installed-headers): Likewise.
860         (tests-special): Do not add $(objpfx)begin-end-check.out.
861         ($(objpfx)begin-end-check.out): Remove.
863 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
864             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
866         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
867         (DL_PLATFORM_INIT): New define.
868         (dl_platform_init): New function.
869         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
870         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
871         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
872         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
873         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
875 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
877         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
878         instead of PIC.
880 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
882         [BZ #21094]
883         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
884         24+24+24-bit pi for wider range of values around pi/2.
885         * math/auto-libm-test-in: Add more tests of cos and tan.
886         * math/auto-libm-test-out-cos: Regenerated.
887         * math/auto-libm-test-out-tan: Likewise.
889 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
891         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
892         (RTLD_START): Don't record stack end address in _dl_start_user.
894 2017-03-15  Alexey Neyman  <stilor@att.net>
896         [BZ #21088]
897         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
898         around definitions match those around use.
900 2017-03-15  Alexey Neyman  <stilor@att.net>
902         * configure.ac: Avoid empty subexpression in grep.
903         * configure: Regenerate.
905 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
907         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
908         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
909         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
910         (test_wrp_rv): Fix format.
911         (test_wrp_rv2): New macro.
912         (do_test): Handle mlock return on 64 bits kernels with 32 bits
913         binaries.
915 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
917         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
918         Use a union when storing pointers.
919         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
920         cast result when passing to INIT_VEC_PTRS_LOOP.
921         (VECTOR_WRAPPER_fFF_3): Likewise.
922         (VECTOR_WRAPPER_fFF_4): Likewise.
924 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
926         * include/bits/mathcalls-helper-functions.h: New file.
927         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
928         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
929         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
930         math/bits/mathcalls-helper-functions.h.
931         * math/bits/mathcalls-helper-functions.h: New file.
932         * math/math.h: Include bits/mathcalls-helper-functions.h for
933         float, double, and long double.
935 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
937         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
938         instead of feraiseexcept.
940 2017-03-15  Florian Weimer  <fweimer@redhat.com>
942         [BZ #21243]
943         * support/temp_file.c (support_delete_temp_files): Add comment
944         about ignored errors.
946 2017-03-15  Florian Weimer  <fweimer@redhat.com>
948         [BZ #21244]
949         * support/xclose.c: New file.
950         * support/Makefile (libsupport-routines): Add xclose.
951         * support/xunistd.h (xclose): Declare.
952         * support/resolv_test.c (server_thread_tcp_client)
953         (server_thread_tcp, make_server_sockets, resolv_test_start)
954         (resolv_test_end): Call xclose instead of close.
955         * support/support_enter_network_namespace.c
956         (support_enter_network_namespace): Likewise.
957         * support/support_run_diff.c (write_to_temp_file): Likewise.
959 2017-03-15  Florian Weimer  <fweimer@redhat.com>
961         * support/support_format_dns_packet.c (support_format_dns_packet):
962         Handle CNAME records in the response.  Extract RDATA names from
963         rdata, not the whole packet.  Check AAAA record length.
964         * support/tst-support_format_dns_packet.c: New file.
965         * support/Makefile (tests): Add tst-support_format_dns_packet.
966         (tst-support_format_dns_packet): Link against libresolv.
968 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
970         [BZ #21232]
971         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
972         posix_fadvise64 weak_alias for static build.
974 2017-03-14  Andreas Schwab  <schwab@suse.de>
976         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
977         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
978         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
979         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
980         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
981         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
982         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
983         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
985 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
987         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
988         posix error code.
989         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
991 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
993         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
994         no_isolate usage for SH.
996 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
998         [BZ #15105]
999         [BZ #19463]
1000         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1001         * inet/rcmd.c (rcmd_af): Likewise.
1002         * inet/rexec.c   (rexec_af): Likewise.
1003         * intl/dcigettext.c (_LIBC): Likewise.
1004         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1005         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1006         * locale/setlocale.c (setlocale): Likewise.
1007         * posix/spawn_faction_addopen.c
1008         (posix_spawn_file_actions_addopen): Likewise.
1009         * stdlib/putenv.c (putenv): Use __strndup.
1010         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1012         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1013         (__Need_M_And_C) Remove define/undef.
1014         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1015         (__malloc_and_calloc_defined): Remove define.
1016         * string/bits/string2.h (__strdup): Remove define.
1017         (strdup): Likewise.
1018         (__strndup): Likewise.
1019         (strndup): Likewise.
1021 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1023         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1024         macro.
1025         (IPV6_ADDR_PREFERENCES): Likewise.
1026         (IPV6_MINHOPCOUNT): Likewise.
1027         (IPV6_ORIGDSTADDR): Likewise.
1028         (IPV6_RECVORIGDSTADDR): Likewise.
1029         (IPV6_TRANSPARENT): Likewise.
1030         (IPV6_UNICAST_IF): Likewise.
1031         (IPV6_RECVFRAGSIZE): Likewise.
1033 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1035         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1037 2017-03-12  Alexey Neyman <stilor@att.net>
1039         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1040         in R_SH_DIR32 case is always false when inlined from
1041         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1043 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1046         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1047         __ASSUME_SEND_SYSCALL.
1049 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1051         * sunrpc/Makefile: don't build and install rpcsvc header
1052         files, rpcgen and librpcsvc.a by default.
1054 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1056         * math/auto-libm-test-out-catan: Regenerated.
1057         * math/auto-libm-test-out-catanh: Likewise.
1058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1060 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1062         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1063         for long double with corrected test expectations.
1065 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1067         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1068         Define.
1069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1070         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1071         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1072         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1073         * sysdeps/unix/sysv/linux/tile/sysdep.h
1074         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1076         (__ASSUME_RECV_SYSCALL): Define.
1077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1078         (__ASSUME_RECV_SYSCALL): Likewise.
1079         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1080         (__ASSUME_RECV_SYSCALL): Likewise.
1081         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1082         (__ASSUME_RECV_SYSCALL): Likewise.
1083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1084         (__ASSUME_RECV_SYSCALL): Likewise.
1085         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1086         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1088         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1089         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1090         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1091         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1092         auto-generation list.
1093         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1094         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1095         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1096         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1097         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1098         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1099         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1100         __ASSUME_SENDTO_SYSCALL.
1101         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1102         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1103         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1105         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1106         auto-generation list.
1107         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1108         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1109         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1110         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1111         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1112         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1113         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1114         * sysdeps/unix/sysv/linux/kernel-features.h
1115         (__ASSUME_SENDTO_SYSCALL): Define by default.
1116         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1117         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1118         __NR_sendto.
1119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1120         (__ASSUME_SENDTO_SYSCALL): Likewise.
1121         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1122         (__ASSUME_SENDTO_SYSCALL): Likewise.
1123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1124         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1125         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1126         (__ASSUME_SENDTO_SYSCALL): Likewise.
1127         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1128         (__ASSUME_SENDTO_SYSCALL): Likewise.
1129         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1131         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1132         auto-generation list.
1133         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1134         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1135         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1136         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1137         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1138         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1139         (__ASSUME_RECV_SYSCALL): New define.
1140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1141         (__ASSUME_RECV_SYSCALL): Likewise.
1142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1143         (__ASSUME_RECV_SYSCALL): Likewise.
1144         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1145         (__ASSUME_RECV_SYSCALL): Likewise.
1146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1147         (__ASSUME_RECV_SYSCALL): Likewise.
1148         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1149         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1150         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1151         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1152         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1153         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1154         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1155         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1156         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1157         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1158         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1159         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1161         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1162         auto-generation list.
1163         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1164         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1165         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1166         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1167         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1168         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1170         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1171         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1172         * sysdeps/unix/sysv/linux/kernel-features.h
1173         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1174         __NR_recvfrom.
1175         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1176         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1177         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1178         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1180         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1181         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1182         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1183         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1184         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1185         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1186         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1187         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1189         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1190         auto-generation list.
1191         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1192         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1193         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1195         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1196         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1197         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1198         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1199         * sysdeps/unix/sysv/linux/kernel-features.h
1200         (__ASSUME_CONNECT_SYSCALL): Define.
1201         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1202         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1204         (__ASSUME_CONNECT_SYSCALL): Likewise.
1205         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1206         (__ASSUME_CONNECT_SYSCALL): Likewise.
1207         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1208         (__ASSUME_CONNECT_SYSCALL): Likewise.
1210         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1211         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1212         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1213         auto-generation list.
1214         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1215         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1216         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1217         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1218         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1219         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1220         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1221         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1222         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1223         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1224         * sysdeps/unix/sysv/linux/kernel-features.h
1225         (__ASSUME_ACCEPT_SYSCALL): New define.
1226         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1227         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1228         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1230         (__ASSUME_ACCEPT_SYSCALL): Define.
1231         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1232         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1233         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1234         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1235         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1236         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1237         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1238         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1239         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1241 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1242             Zack Weinberg  <zackw@panix.com>
1244         * posix/test-errno.c: New file.
1245         * posix/Makefile (tests): Add test-errno.
1246         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1247         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1249 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1251         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1253 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1255         * time/tzset.c (compute_offset): Open-code min macro.
1256         (min, max, sign): Remove.
1258 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1260         [BZ #15576]
1261         Remove TZNAME_MAX limit from sysconf.
1262         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1263         declaration.
1264         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1265         compute_tzname_max.
1266         (compute_tzname_max): Remove.
1267         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1268         (update_vars): Do not update __tzname_cur_max.
1269         (tzset_internal): Remove argument.
1270         (__tzset): Adjust call to tzset_internal.
1271         (__tz_convert): Likewise.
1273         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1274         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1275         * manual/conf.texi (Sysconf Definition): Update comment.
1277 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1279         [BZ #21209]
1280         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1281         AT_SECURE processes.
1282         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1283         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1284         (test_child): Likewise.
1285         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1287 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1289         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1291 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1293         * sysdeps/s390/atomic-machine.h
1294         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1295         (__arch_compare_and_exchange_val_8_acq,
1296         __arch_compare_and_exchange_val_16_acq,
1297         __arch_compare_and_exchange_val_32_acq,
1298         __arch_compare_and_exchange_val_64_acq):
1299         Delete macro.
1300         (atomic_compare_and_exchange_val_acq,
1301         atomic_compare_and_exchange_val_rel,
1302         atomic_compare_and_exchange_bool_acq,
1303         catomic_compare_and_exchange_bool_acq,
1304         atomic_exchange_acq, atomic_exchange_rel,
1305         atomic_exchange_and_add_acq,
1306         atomic_exchange_and_add_rel,
1307         catomic_exchange_and_add, atomic_or_val,
1308         atomic_or, catomic_or, atomic_bit_test_set,
1309         atomic_and_val, atomic_and, catomic_and):
1310         Define macros with help of C11 atomic builtins.
1312 2017-03-03  Justus Winter <justus@gnupg.org>
1314         * sysdeps/mach/hurd/ftruncate64.c: New file.
1315         * sysdeps/mach/hurd/truncate64.c: Likewise.
1317 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1319         * time/tzfile.c (NOID): Do not define.
1320         * time/tzset.c (NOID): Likewise.
1322 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1324         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1326 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1328         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1330 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1332         [BZ #21015]
1333         * manual/install.texi (Configuring and compiling): Document
1334         --enable-bind-now.
1335         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1336         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1337         (format.lds): Likewise.
1338         [bind-now] (LDFLAGS-c.so): Remove.
1339         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1340         be R_X86_64_GLOB_DAT.
1341         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1342         relocation can be R_386_GLOB_DAT.
1343         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1344         relocaiton can be R_ALPHA_GLOB_DAT.
1345         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1347 2017-03-01  Zack Weinberg  <zackw@panix.com>
1349         * include/libc-pointer-arith.h: New file.  Define
1350         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1351         PTR_ALIGN_DOWN here.
1352         * include/libc-internal.h: Definitions of above macros
1353         moved from here.  Don't include libc-diag.h anymore either.
1354         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1355         Don't include libc-internal.h.
1357         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1358         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1359         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1360         * string/strcoll_l.c, sysdeps/nacl/brk.c
1361         * sysdeps/unix/clock_settime.c
1362         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1363         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1364         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1366         Don't include libc-internal.h.
1368         * elf/get-dynamic-info.h, iconv/loop.c
1369         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1370         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1371         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1372         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1376         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1377         * sysdeps/ieee754/ldbl-128/k_tanl.c
1378         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1379         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1380         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1381         Include libc-diag.h instead of libc-internal.h.
1383         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1384         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1385         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1386         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1387         * sysdeps/unix/sysv/linux/spawni.c
1388         * sysdeps/x86_64/nptl/tls.h:
1389         Include libc-pointer-arith.h instead of libc-internal.h.
1391         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1392         * sysdeps/x86_64/atomic-machine.h:
1393         Add multiple include guard.
1395         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1396         * string/strcasestr.c: No need to include config.h.
1397         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1398         sys/auxv.h. Don't include sysdep.h.
1399         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1401         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1402         DL_LOOKUP_ADDRESS.
1403         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1404         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1406         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1407         of ARTIFICIAL_LIMIT.
1408         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1409         declaration of __clone2.
1411 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1413         * scripts/backport-support.sh (latest_commit): New file.
1415 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1417         [BZ #20257]
1418         * inet/Makefile (routines): Add deadline.
1419         (tests-static): Add tst-deadline.
1420         * inet/net-internal.h (struct deadline_current_time)
1421         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1422         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1423         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1424         * inet/deadline.c: New file.
1425         * inet/tst-deadline.c: Likewise.
1426         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1427         tst-udp-timeout, tst-udp-garbage.
1428         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1429         explicitly.
1430         (tst-udp-garbage): Likewise.  Also link against thread library.
1431         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1432         struct layout is part of the ABI.
1433         (clntudp_call): Rework timeout handling.
1434         * sunrpc/tst-udp-garbage.c: New file.
1435         * sunrpc/tst-udp-nonblocking.c: Likewise.
1436         * sunrpc/tst-udp-timeout.c: Likewise.
1438 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1440         [BZ #5010]
1441         * sunrpc/svc.c (svc_is_mapped): Remove.
1442         (svc_unregister): Obtain mapped status while the service is still
1443         registered.
1444         * sunrpc/Makefile [have-thread-library] (tests): Add
1445         tst-svc_register.
1446         (tst-svc_register): Link against libc.so explicitly and the thread
1447         library.
1448         * sunrpc/tst-svc_register.c: New file.
1450 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1452         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1453         * sysdeps/pthread/bits/sigthread.h: Likewise.
1455 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1457         [BZ #21115]
1458         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1459         * sunrpc/Makefile (tests): Add tst-udp-error.
1460         (tst-udp-error): Link against libc.so explicitly.
1461         * sunrpc/tst-udp-error: New file.
1463 2017-02-25  Zack Weinberg  <zackw@panix.com>
1465         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1466         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1468         * sysdeps/generic/math_ldbl.h
1469         * sysdeps/ia64/fpu/math_ldbl.h
1470         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1472         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1473         * sysdeps/powerpc/fpu/math_ldbl.h
1474         * sysdeps/x86_64/fpu/math_ldbl.h:
1475         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1476         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1477         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1478         Add copyright notices.
1480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1481         Don't use EXTRACT_WORDS64.
1483         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1484         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1485         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1486         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1487         Include math_ldbl.h, not math_private.h.
1489 2017-02-25  Zack Weinberg  <zackw@panix.com>
1491         * include/libc-diag.h: New file.  Define ignore_value,
1492         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1493         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1495         * include/libc-internal.h: Definitions of above macros moved from
1496         here.  Include libc-diag.h.  Add copyright notice.
1498         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1499         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1500         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1501         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1502         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1503         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1504         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1505         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1506         Include libc-diag.h instead of libc-internal.h.
1508         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1509         call to unsetenv (NULL).
1510         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1511         call to pthread_mutexattr_destroy (NULL).
1513 2017-02-25  Zack Weinberg  <zackw@panix.com>
1515         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1516         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1517         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1518         gets was removed from C++ in C++14.
1519         * include/stdio.h: Remove redundant declaration of gets.
1520         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1521         be declared, since we are testing it.
1522         * stdio-common/Makefile (tst-gets.c): Compile with
1523         -Wno-deprecated-declarations.
1524         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1525         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1526         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1527         Compile with -Wno-deprecated-declarations.
1529 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1531         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1532         numbers.
1534 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1536         * resolv/tst-resolv-qtypes.c (domain):
1537         Change type to const pointer to const char.
1539 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1541         * math/Makefile (libm-tests-generated): Remove variable.
1542         (libm-tests-base-normal): New variable.
1543         (libm-tests-base-finite): Likewise.
1544         (libm-tests-base-inline): Likewise.
1545         (libm-tests-base): Likewise.
1546         (libm-tests-normal): Likewise.
1547         (libm-tests-finite): Likewise.
1548         (libm-tests-inline): Likewise.
1549         (libm-tests-vector): Likewise.
1550         (libm-tests): Define in terms of these new variables.
1551         (libm-tests-for-type): New variable.
1552         (libm-tests.o): Move definition.
1553         (tests): Move addition of $(libm-tests).
1554         (generated): Update for new and removed libm test files.
1555         ($(objpfx)libm-test.c): Remove target.
1556         ($(objpfx)libm-have-vector-test.h): Likewise.
1557         (CFLAGS-test-double-vlen2.c): Remove variable.
1558         (CFLAGS-test-double-vlen4.c): Likewise.
1559         (CFLAGS-test-double-vlen8.c): Likewise.
1560         (CFLAGS-test-float-vlen4.c): Likewise.
1561         (CFLAGS-test-float-vlen8.c): Likewise.
1562         (CFLAGS-test-float-vlen16.c): Likewise.
1563         (CFLAGS-test-float.c): Likewise.
1564         (CFLAGS-test-float-finite.c): Likewise.
1565         (CFLAGS-libm-test-support-float.c): Likewise.
1566         (CFLAGS-test-double.c): Likewise.
1567         (CFLAGS-test-double-finite.c): Likewise.
1568         (CFLAGS-libm-test-support-double.c): Likewise.
1569         (CFLAGS-test-ldouble.c): Likewise.
1570         (CFLAGS-test-ldouble-finite.c): Likewise.
1571         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1572         (libm-test-inline-cflags): New variable.
1573         (CFLAGS-test-ifloat.c): Remove variable.
1574         (CFLAGS-test-idouble.c): Likewise.
1575         (CFLAGS-test-ildouble.c): Likewise.
1576         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1577         dependencies.
1578         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1579         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1580         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1581         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1582         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1583         Likewise.
1584         (dependencies on libm-test-support-*.o): Remove.
1585         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1586         rules using iterators.
1587         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1588         Likewise.
1589         ($(objpfx)libm-test-support-$(o).o): Likewise.
1590         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1591         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1592         instead.
1593         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1594         define rule instead.
1595         * math/README.libm-test: Update.
1596         * math/libm-test-acos.inc: Include libm-test-driver.c.
1597         (do_test): New function.
1598         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1599         (do_test): New function.
1600         * math/libm-test-asin.inc: Include libm-test-driver.c.
1601         (do_test): New function.
1602         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1603         (do_test): New function.
1604         * math/libm-test-atan.inc: Include libm-test-driver.c.
1605         (do_test): New function.
1606         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1607         (do_test): New function.
1608         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1609         (do_test): New function.
1610         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1611         (do_test): New function.
1612         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1613         (do_test): New function.
1614         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1615         (do_test): New function.
1616         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1617         (do_test): New function.
1618         * math/libm-test-carg.inc: Include libm-test-driver.c.
1619         (do_test): New function.
1620         * math/libm-test-casin.inc: Include libm-test-driver.c.
1621         (do_test): New function.
1622         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1623         (do_test): New function.
1624         * math/libm-test-catan.inc: Include libm-test-driver.c.
1625         (do_test): New function.
1626         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1627         (do_test): New function.
1628         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1629         (do_test): New function.
1630         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1631         (do_test): New function.
1632         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1633         (do_test): New function.
1634         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1635         (do_test): New function.
1636         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1637         (do_test): New function.
1638         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1639         (do_test): New function.
1640         * math/libm-test-clog.inc: Include libm-test-driver.c.
1641         (do_test): New function.
1642         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1643         (do_test): New function.
1644         * math/libm-test-conj.inc: Include libm-test-driver.c.
1645         (do_test): New function.
1646         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1647         (do_test): New function.
1648         * math/libm-test-cos.inc: Include libm-test-driver.c.
1649         (do_test): New function.
1650         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1651         (do_test): New function.
1652         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1653         (do_test): New function.
1654         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1655         (do_test): New function.
1656         * math/libm-test-creal.inc: Include libm-test-driver.c.
1657         (do_test): New function.
1658         * math/libm-test-csin.inc: Include libm-test-driver.c.
1659         (do_test): New function.
1660         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1661         (do_test): New function.
1662         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1663         (do_test): New function.
1664         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1665         (do_test): New function.
1666         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1667         (do_test): New function.
1668         * math/libm-test-erf.inc: Include libm-test-driver.c.
1669         (do_test): New function.
1670         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1671         (do_test): New function.
1672         * math/libm-test-exp.inc: Include libm-test-driver.c.
1673         (do_test): New function.
1674         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1675         (do_test): New function.
1676         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1677         (do_test): New function.
1678         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1679         (do_test): New function.
1680         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1681         (do_test): New function.
1682         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1683         (do_test): New function.
1684         * math/libm-test-floor.inc: Include libm-test-driver.c.
1685         (do_test): New function.
1686         * math/libm-test-fma.inc: Include libm-test-driver.c.
1687         (do_test): New function.
1688         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1689         (do_test): New function.
1690         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1691         (do_test): New function.
1692         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1693         (do_test): New function.
1694         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1695         (do_test): New function.
1696         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1697         (do_test): New function.
1698         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1699         (do_test): New function.
1700         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1701         (do_test): New function.
1702         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1703         (do_test): New function.
1704         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1705         (do_test): New function.
1706         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1707         (do_test): New function.
1708         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1709         (do_test): New function.
1710         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1711         (do_test): New function.
1712         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1713         (do_test): New function.
1714         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1715         (do_test): New function.
1716         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1717         (do_test): New function.
1718         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1719         (do_test): New function.
1720         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1721         (do_test): New function.
1722         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1723         (do_test): New function.
1724         * math/libm-test-isless.inc: Include libm-test-driver.c.
1725         (do_test): New function.
1726         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1727         (do_test): New function.
1728         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1729         (do_test): New function.
1730         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1731         (do_test): New function.
1732         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1733         (do_test): New function.
1734         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1735         (do_test): New function.
1736         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1737         (do_test): New function.
1738         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1739         (do_test): New function.
1740         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1741         (do_test): New function.
1742         * math/libm-test-j0.inc: Include libm-test-driver.c.
1743         (do_test): New function.
1744         * math/libm-test-j1.inc: Include libm-test-driver.c.
1745         (do_test): New function.
1746         * math/libm-test-jn.inc: Include libm-test-driver.c.
1747         (do_test): New function.
1748         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1749         (do_test): New function.
1750         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1751         (do_test): New function.
1752         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1753         (do_test): New function.
1754         * math/libm-test-llround.inc: Include libm-test-driver.c.
1755         (do_test): New function.
1756         * math/libm-test-log.inc: Include libm-test-driver.c.
1757         (do_test): New function.
1758         * math/libm-test-log10.inc: Include libm-test-driver.c.
1759         (do_test): New function.
1760         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1761         (do_test): New function.
1762         * math/libm-test-log2.inc: Include libm-test-driver.c.
1763         (do_test): New function.
1764         * math/libm-test-logb.inc: Include libm-test-driver.c.
1765         (do_test): New function.
1766         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1767         (do_test): New function.
1768         * math/libm-test-lround.inc: Include libm-test-driver.c.
1769         (do_test): New function.
1770         * math/libm-test-modf.inc: Include libm-test-driver.c.
1771         (do_test): New function.
1772         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1773         (do_test): New function.
1774         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1775         (do_test): New function.
1776         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1777         (do_test): New function.
1778         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1779         (do_test): New function.
1780         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1781         (do_test): New function.
1782         * math/libm-test-pow.inc: Include libm-test-driver.c.
1783         (do_test): New function.
1784         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1785         (do_test): New function.
1786         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1787         (do_test): New function.
1788         * math/libm-test-rint.inc: Include libm-test-driver.c.
1789         (do_test): New function.
1790         * math/libm-test-round.inc: Include libm-test-driver.c.
1791         (do_test): New function.
1792         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1793         (do_test): New function.
1794         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1795         (do_test): New function.
1796         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1797         (do_test): New function.
1798         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1799         (do_test): New function.
1800         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1801         (do_test): New function.
1802         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1803         (do_test): New function.
1804         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1805         (do_test): New function.
1806         * math/libm-test-significand.inc: Include libm-test-driver.c.
1807         (do_test): New function.
1808         * math/libm-test-sin.inc: Include libm-test-driver.c.
1809         (do_test): New function.
1810         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1811         (do_test): New function.
1812         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1813         (do_test): New function.
1814         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1815         (do_test): New function.
1816         * math/libm-test-tan.inc: Include libm-test-driver.c.
1817         (do_test): New function.
1818         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1819         (do_test): New function.
1820         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1821         (do_test): New function.
1822         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1823         (do_test): New function.
1824         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1825         (do_test): New function.
1826         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1827         (do_test): New function.
1828         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1829         (do_test): New function.
1830         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1831         (do_test): New function.
1832         * math/libm-test-y0.inc: Include libm-test-driver.c.
1833         (do_test): New function.
1834         * math/libm-test-y1.inc: Include libm-test-driver.c.
1835         (do_test): New function.
1836         * math/libm-test-yn.inc: Include libm-test-driver.c.
1837         (do_test): New function.
1838         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1839         (HAVE_VECTOR): Remove macro.
1840         (START): Do not call HAVE_VECTOR.
1841         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1842         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1843         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1844         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1845         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1846         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1847         * math/test-math-vector.h (FUNC_TEST): New macro.
1848         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1849         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1850         (double-vlen4-funcs): Likewise.
1851         (double-vlen4-avx2-funcs): Likewise.
1852         (double-vlen8-funcs): Likewise.
1853         (float-vlen4-funcs): Likewise.
1854         (float-vlen8-funcs): Likewise.
1855         (float-vlen8-avx2-funcs): Likewise.
1856         (float-vlen16-funcs): Likewise.
1857         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1858         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1859         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1860         macro.
1861         (TEST_VECTOR_sin): Likewise.
1862         (TEST_VECTOR_sincos): Likewise.
1863         (TEST_VECTOR_log): Likewise.
1864         (TEST_VECTOR_exp): Likewise.
1865         (TEST_VECTOR_pow): Likewise.
1866         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1867         Likewise.
1868         (TEST_VECTOR_sin): Likewise.
1869         (TEST_VECTOR_sincos): Likewise.
1870         (TEST_VECTOR_log): Likewise.
1871         (TEST_VECTOR_exp): Likewise.
1872         (TEST_VECTOR_pow): Likewise.
1873         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1874         Likewise.
1875         (TEST_VECTOR_sinf): Likewise.
1876         (TEST_VECTOR_sincosf): Likewise.
1877         (TEST_VECTOR_logf): Likewise.
1878         (TEST_VECTOR_expf): Likewise.
1879         (TEST_VECTOR_powf): Likewise.
1880         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1881         Likewise.
1882         (TEST_VECTOR_sinf): Likewise.
1883         (TEST_VECTOR_sincosf): Likewise.
1884         (TEST_VECTOR_logf): Likewise.
1885         (TEST_VECTOR_expf): Likewise.
1886         (TEST_VECTOR_powf): Likewise.
1887         * math/gen-libm-have-vector-test.sh: Remove file.
1888         * math/libm-test.inc: Likewise.
1889         * math/libm-test-support-double.c: Likewise.
1890         * math/libm-test-support-float.c: Likewise.
1891         * math/libm-test-support-ldouble.c: Likewise.
1892         * math/test-double-finite.c: Likewise.: Likewise.
1893         * math/test-double.c: Likewise.
1894         * math/test-float-finite.c: Likewise.
1895         * math/test-float.c: Likewise.
1896         * math/test-idouble.c: Likewise.
1897         * math/test-ifloat.c: Likewise.
1898         * math/test-ildouble.c: Likewise.
1899         * math/test-ldouble-finite.c: Likewise.
1900         * math/test-ldouble.c: Likewise.
1901         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1902         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1904         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1905         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1906         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1907         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1908         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1909         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1910         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1912 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1913            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1915         * math/Makefile: Add wrappers to gen-libm-calls.
1916         * math/w_acos_template.c: New file.
1917         * math/w_acosh_template.c: Likewise.
1918         * math/w_asin_template.c: Likewise.
1919         * math/w_atan2_template.c: Likewise.
1920         * math/w_atanh_template.c: Likewise.
1921         * math/w_cosh_template.c: Likewise.
1922         * math/w_exp10_template.c: Likewise.
1923         * math/w_exp2_template.c: Likewise.
1924         * math/w_exp_template.c: Likewise.
1925         * math/w_fmod_template.c: Likewise.
1926         * math/w_hypot_template.c: Likewise.
1927         * math/w_j0_template.c: Likewise.
1928         * math/w_j1_template.c: Likewise.
1929         * math/w_jn_template.c: Likewise.
1930         * math/w_lgamma_r_template.c: Likewise.
1931         * math/w_lgamma_template.c: Likewise.
1932         * math/w_log10_template.c: Likewise.
1933         * math/w_log2_template.c: Likewise.
1934         * math/w_log_template.c: Likewise.
1935         * math/w_pow_template.c: Likewise.
1936         * math/w_remainder_template.c: Likewise.
1937         * math/w_sinh_template.c: Likewise.
1938         * math/w_sqrt_template.c: Likewise.
1939         * math/w_tgamma_template.c: Likewise.: Likewise.
1940         * sysdeps/generic/math-type-macros-double.h
1941         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1942         the new wrappers.
1943         * sysdeps/generic/math-type-macros-float.h: Likewise.
1944         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1946 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1948         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1949         New enum constant and macro.
1951         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1952         kernel version to 4.10.
1954 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1956         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1958 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1962 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1964         * sysdeps/powerpc/tst-set_ppr.c: New file.
1965         Implement test cases for __ppc_set_ppr_* functions.
1966         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1967         in the list of tests.
1969 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1971         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1972         instead of test-skeleton.c.
1973         (do_test): Replaced pthread_create and pthread_join with
1974         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1975         Removed unneeded status variable.
1976         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1977         instead of test-skeleton.c.
1978         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1980 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1982         [BZ #20313]
1983         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1984         201605L, for Unicode 9.
1986 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1988         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1989         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1990         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1991         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1992         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1993         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1995 2017-02-19  Zack Weinberg  <zackw@panix.com>
1997         * rt/tst-mqueue4.c: Include stdint.h.
1999 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2001         * sysdeps/arm/libm-test-ulps: Update.
2002         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2003         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2004         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2006 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2008         [BZ #21029]
2009         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2010         * sysdeps/unix/sysv/linux/i386/Makefile
2011         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2012         (uses-6-syscall-arguments): Remove.
2013         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2014         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2015         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2016         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2017         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2018         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2019         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2020         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2021         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2022         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2023         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2024         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2025         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2026         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2027         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2028         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2029         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2030         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2031         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2032         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2033         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2034         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2035         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2036         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2037         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2038         Likewise.
2039         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2040         Likewise.
2041         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2042         Likewise.
2043         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2044         Likewise.
2045         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2046         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2047         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2048         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2049         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2050         ebp on inline assembly.
2051         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2052         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2053         Set if CAN_USE_REGISTER_ASM_EBP is set.
2055 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2057         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2058         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2060 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2062         * math/auto-libm-test-in: Add tests of catan and catanh.
2063         * math/auto-libm-test-out-catan: New generated file.
2064         * math/auto-libm-test-out-catanh: Likewise.
2065         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2066         Move tests with finite inputs, except divide-by-zero cases, to
2067         auto-libm-test-in.
2068         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2069         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2070         (libm-test-funcs-noauto): Remove catan and catanh.
2071         * sysdeps/i386/fpu/libm-test-ulps: Update.
2072         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2075         * math/auto-libm-test-in: Add tests of casin and casinh.
2076         * math/auto-libm-test-out-casin: New generated file.
2077         * math/auto-libm-test-out-casinh: Likewise.
2078         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2079         Move tests with finite inputs to auto-libm-test-in.
2080         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2081         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2082         (libm-test-funcs-noauto): Remove casin and casinh.
2083         * sysdeps/i386/fpu/libm-test-ulps: Update.
2084         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2087         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2088         * math/auto-libm-test-out-cacos: New generated file.
2089         * math/auto-libm-test-out-cacosh: Likewise.
2090         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2091         Move tests with finite inputs to auto-libm-test-in.
2092         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2093         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2094         (libm-test-funcs-noauto): Remove cacos and cacosh.
2095         * sysdeps/i386/fpu/libm-test-ulps: Update.
2096         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099         Revert:
2100         2017-02-16  Zack Weinberg  <zackw@panix.com>
2102         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2103         Don't include init-arch.h.
2104         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2105         Don't include init-arch.h.
2107 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2109         [BZ #21171]
2110         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2111         +Inf and raise divide-by-zero when x is negative.
2112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2114         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2115         -Inf and raise divide-by-zero when x = +-0.
2116         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2117         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2118         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2119         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2120         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2121         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2122         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2124 2017-02-16  Zack Weinberg  <zackw@panix.com>
2126         * scripts/build-many-glibcs.py (bot_build_mail): If the
2127         bot_config does not contain all of the necessary email-
2128         related settings, just print a warning and continue.
2130 2017-02-16  Zack Weinberg  <zackw@panix.com>
2132         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2133         * dirent/opendir-tst1.c: Include sys/stat.h.
2134         * dirent/tst-fdopendir.c: Include sys/stat.h.
2135         * dirent/tst-fdopendir2.c: Include stdlib.h.
2136         * dirent/tst-scandir.c: Include stdbool.h.
2137         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2138         * elf/tst-tls15.c: Include stdlib.h.
2139         * elf/tst-tls16.c: Include stdlib.h.
2140         * elf/tst-tls17.c: Include stdlib.h.
2141         * elf/tst-tls18.c: Include stdlib.h.
2142         * iconv/tst-iconv6.c: Include endian.h.
2143         * iconvdata/bug-iconv11.c: Include limits.h.
2144         * io/test-utime.c: Include stdint.h.
2145         * io/tst-faccessat.c: Include sys/stat.h.
2146         * io/tst-fchmodat.c: Include sys/stat.h.
2147         * io/tst-fchownat.c: Include sys/stat.h.
2148         * io/tst-fstatat.c: Include sys/stat.h.
2149         * io/tst-futimesat.c: Include sys/stat.h.
2150         * io/tst-linkat.c: Include sys/stat.h.
2151         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2152         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2153         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2154         * io/tst-openat.c: Include stdbool.h.
2155         * io/tst-readlinkat.c: Include sys/stat.h.
2156         * io/tst-renameat.c: Include sys/stat.h.
2157         * io/tst-symlinkat.c: Include sys/stat.h.
2158         * io/tst-unlinkat.c: Include stdbool.h.
2159         * libio/bug-memstream1.c: Include stdlib.h.
2160         * libio/bug-wmemstream1.c: Include stdlib.h.
2161         * libio/tst-fwrite-error.c: Include stdlib.h.
2162         * libio/tst-memstream1.c: Include stdlib.h.
2163         * libio/tst-memstream2.c: Include stdlib.h.
2164         * libio/tst-memstream3.c: Include stdlib.h.
2165         * malloc/tst-interpose-aux.c: Include stdint.h.
2166         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2167         * nptl/tst-basic7.c: Include limits.h.
2168         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2169         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2170         * nptl/tst-cancel4_1.c: Include stddef.h.
2171         * nptl/tst-cancel4_2.c: Include stddef.h.
2172         * nptl/tst-cond16.c: Include limits.h.
2173         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2174         * nptl/tst-cond18.c: Include limits.h.
2175         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2176         * nptl/tst-cond4.c: Include stdint.h.
2177         * nptl/tst-cond6.c: Include stdint.h.
2178         * nptl/tst-stack2.c: Include limits.h.
2179         * nptl/tst-stackguard1.c: Include stddef.h.
2180         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2181         * nptl/tst-tls4moda.c: Include stddef.h.
2182         Don't include stdio.h, unistd.h, or tls.h.
2183         * nptl/tst-tls4modb.c: Include stddef.h.
2184         Don't include stdio.h, unistd.h, or tls.h.
2185         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2186         * posix/tst-getaddrinfo2.c: Include stdio.h.
2187         * posix/tst-getaddrinfo5.c: Include stdio.h.
2188         * posix/tst-pathconf.c: Include sys/stat.h.
2189         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2190         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2191         * posix/tst-regex.c: Include stdint.h.
2192         Don't include spawn.h or spawn_int.h.
2193         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2194         * posix/tst-vfork3.c: Include sys/stat.h.
2195         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2196         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2197         * resolv/tst-resolv-search.c: Include stdlib.h.
2198         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2199         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2200         * stdlib/test-canon.c: Include sys/stat.h.
2201         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2202         * string/test-memchr.c: Include stdint.h.
2203         * string/tst-cmp.c: Include stdint.h.
2204         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2205         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2206         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2207         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2208         Don't include init-arch.h.
2209         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2210         Don't include init-arch.h.
2211         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2212         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2213         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2214         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2215         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2216         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2217         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2218         * time/clocktest.c: Include stdint.h.
2219         * time/tst-posixtz.c: Include stdint.h.
2220         * timezone/tst-timezone.c: Include stdint.h.
2222 2017-02-16  Zack Weinberg  <zackw@panix.com>
2224         * string/string.h [__USE_MISC]: Include strings.h.
2225         (__bzero, bcmp, bcopy, bzero, index, rindex)
2226         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2227         (ffs, ffsl, ffsll): Don't declare.
2228         * string/strings.h: Do not suppress the file if string.h has
2229         already been included.
2230         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2231         annotations.
2232         (index, rindex): Define inline forwarders even if
2233         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2234         (ffs): Use __attribute_const__.
2235         (ffsl, ffsll): Declare here.
2236         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2237         have now been standardized.
2238         * include/string.h (__bzero): Declare here.
2240         * bits/types.h: Move to posix/bits.
2241         * include/bits/types.h: New wrapper.
2243 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2245         * string/bits/string2.h (strcmp): Remove define.
2246         (__strcmp_cg): Likewise.
2247         (strncmp): Likewise.
2249 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2251         * include/string.h: Add __cplusplus check.
2253 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2255         [BZ #21134]
2256         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2257         "divide by zero" exception when the input is zero.
2258         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2259         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2260         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2261         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2264 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2266         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2267         and include ...
2268         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2270         to, and include ...
2271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2272         file.
2273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2274         and include ...
2275         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2276         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2277         and include ...
2278         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2279         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2280         and include ...
2281         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2282         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2283         and include ...
2284         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2286         to, and include ...
2287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2288         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2289         and include ...
2290         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2292 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2294         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2295         here.
2296         * math/libm-test-support.c (libm_test_init): Do not call
2297         INIT_ARCH_EXT here.
2298         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2299         (main): Call INIT_ARCH_EXT.
2301 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2303         [BZ #21130]
2304         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2305         with the "invalid" exception raised when x is -Inf.
2306         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2308 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2310         * string/bits/string2.h (strchr): Remove define.
2312 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2314         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2315         tst-avx512.
2316         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2317         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2318         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2319         ($(objpfx)tst-sse): New rule.
2320         ($(objpfx)tst-avx): Likewise.
2321         ($(objpfx)tst-avx512): Likewise.
2322         (CFLAGS-tst-avx-aux.c): New.
2323         (CFLAGS-tst-avxmod.c): Likewise.
2324         (CFLAGS-tst-avx512-aux.c): Likewise.
2325         (CFLAGS-tst-avx512mod.c): Likewise.
2326         * sysdeps/x86_64/tst-avx-aux.c: New file.
2327         * sysdeps/x86_64/tst-avx.c: Likewise.
2328         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2329         * sysdeps/x86_64/tst-avx512.c: Likewise.
2330         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2331         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2332         * sysdeps/x86_64/tst-sse.c: Likewise.
2333         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2335 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2337         * math/auto-libm-test-in: Add more tests of csin and csinh.
2338         * math/auto-libm-test-out-csin: Regenerated.
2339         * math/auto-libm-test-out-csinh: Likewise.
2340         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2341         auto-libm-test-in.
2342         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2344 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2346         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2347         libm-compat-calls-auto.
2348         (libm-compat-calls): Likewise.
2349         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2350         w_lgamma_compatF and k_standardF (merged from the items above).
2351         (libm-routines): Use libm-compat-calls, instead of
2352         libm-compat-calls-auto, with type-foreach.
2354 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2356         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2357         macro.
2358         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2359         (CFLAGS-test-ifloat.c): ... this.  Remove
2360         -U__LIBC_INTERNAL_MATH_INLINES.
2361         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2362         (CFLAGS-test-idouble.c): ... this.  Remove
2363         -U__LIBC_INTERNAL_MATH_INLINES.
2364         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2365         (CFLAGS-test-ildouble.c): ... this.  Remove
2366         -U__LIBC_INTERNAL_MATH_INLINES.
2368 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2370         * math/libm-test-support.c: New file.  Content from
2371         math/libm-test-driver.c.
2372         * math/libm-test-support.h: Likewise.
2373         * math/libm-test-support-double.c: New file.
2374         * math/libm-test-support-float.c: Likewise.
2375         * math/libm-test-support-ldouble.c: Likewise.
2376         * math/libm-test-driver.c: Remove main comment and header
2377         includes.  Include libm-test-support.h.
2378         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2379         (flag_test_errno): Remove static.
2380         (flag_test_exceptions): Likewise.
2381         (flag_test_finite): Likewise.
2382         (flag_test_inline): Likewise.
2383         (flag_test_mathvec): Likewise.
2384         (test_msg): Likewise.
2385         (NO_EXCEPTION): Remove.
2386         (INVALID_EXCEPTION): Likewise.
2387         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2388         (OVERFLOW_EXCEPTION): Likewise.
2389         (UNDERFLOW_EXCEPTION): Likewise.
2390         (INEXACT_EXCEPTION): Likewise.
2391         (INVALID_EXCEPTION_OK): Likewise.
2392         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2393         (OVERFLOW_EXCEPTION_OK): Likewise.
2394         (UNDERFLOW_EXCEPTION_OK): Likewise.
2395         (NO_INEXACT_EXCEPTION): Likewise.
2396         (EXCEPTIONS_OK): Likewise.
2397         (IGNORE_ZERO_INF_SIGN): Likewise.
2398         (TEST_NAN_SIGN): Likewise.
2399         (TEST_NAN_PAYLOAD): Likewise.
2400         (NO_TEST_INLINE): Likewise.
2401         (XFAIL_TEST): Likewise.
2402         (ERRNO_UNCHANGED): Likewise.
2403         (ERRNO_EDOM): Likewise.
2404         (ERRNO_ERANGE): Likewise.
2405         (IGNORE_RESULT): Likewise.
2406         (NON_FINITE): Likewise.
2407         (TEST_SNAN): Likewise.
2408         (NO_TEST_MATHVEC): Likewise.
2409         (__CONCATX): Likewise.
2410         (TYPE_MIN): Likewise.
2411         (TYPE_TRUE_MIN): Likewise.
2412         (TYPE_MAX): Likewise.
2413         (MIN_EXP): Likewise.
2414         (MAX_EXP): Likewise.
2415         (MANT_DIG): Likewise.
2416         (FSTR_MAX): Likewise.
2417         (ulp_idx): Likewise.
2418         (qtype_str): Remove static.
2419         (TEST_COND_binary32): Remove.
2420         (TEST_COND_binary64): Likewise.
2421         (TEST_COND_binary128): Likewise.
2422         (TEST_COND_ibm128): Likewise.
2423         (TEST_COND_intel96): Likewise.
2424         (TEST_COND_m68k96): Likewise.
2425         (TEST_COND_ibm128_libgcc): Likewise.
2426         (XFAIL_IBM128_LIBGCC): Likewise.
2427         (PAYLOAD_DIG): Likewise.
2428         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2429         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2430         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2431         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2432         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2433         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2434         (TEST_COND_long32): Likewise.
2435         (TEST_COND_long64): Likewise.
2436         (TEST_COND_before_rounding): Likewise.
2437         (TEST_COND_after_rounding): Likewise.
2438         (ulps_file_name): Likewise.
2439         (ulps_file): Likewise.
2440         (output_ulps): Likewise.
2441         (output_dir): Likewise.
2442         (noErrors): Likewise.
2443         (noTests): Likewise.
2444         (noExcTests): Likewise.
2445         (noErrnoTests): Likewise.
2446         (verbose): Likewise.
2447         (output_max_error): Likewise.
2448         (output_points): Likewise.
2449         (ignore_max_ulp): Likewise.
2450         (max_error): Likewise.
2451         (real_max_error): Likewise.
2452         (imag_max_error): Likewise.
2453         (prev_max_error): Likewise.
2454         (prev_real_max_error): Likewise.
2455         (prev_imag_max_error): Likewise.
2456         (max_valid_error): Likewise.
2457         (TYPE_DECIMAL_DIG): Likewise.
2458         (TYPE_HEX_DIG): Likewise.
2459         (fmt_ftostr): Likewise.
2460         (compare_ulp_data): Likewise.
2461         (find_ulps): Likewise.
2462         (init_max_error): Likewise.
2463         (set_max_error): Likewise.
2464         (print_float): Likewise.
2465         (print_screen): Likewise.
2466         (print_screen_max_error): Likewise.
2467         (update_stats): Likewise.
2468         (print_function_ulps): Likewise.
2469         (print_complex_function_ulps): Likewise.
2470         (fpstack_test): Likewise.
2471         (print_max_error): Likewise.
2472         (print_complex_max_error): Likewise.
2473         (test_single_exception): Likewise.
2474         (test_exceptions): Likewise.
2475         (test_single_errno): Likewise.
2476         (test_errno): Likewise.
2477         (ULPDIFF): Likewise.
2478         (ulp): Likewise.
2479         (check_float_internal): Likewise.
2480         (check_float): Likewise.
2481         (check_complex): Likewise.
2482         (check_int): Likewise.
2483         (check_long): Likewise.
2484         (check_bool): Likewise.
2485         (check_longlong): Likewise.
2486         (check_intmax_t): Likewise.
2487         (check_uintmax_t): Likewise.
2488         (enable_test): Likewise.
2489         (matherr): Likewise.
2490         (initialize): Likewise.
2491         (options): Likewise.
2492         (doc): Remove static.
2493         (argp): Likewise.
2494         (parse_opt): Remove.
2495         (check_ulp): Likewise.
2496         (libm_test_init): Likewise.
2497         (libm_test_finish): Likewise.
2498         * math/Makefile (libm-test-support): New variable.
2499         (test-extras): Add libm-test-support files.
2500         (extra-test-objs): Likewise.
2501         (CFLAGS-libm-test-support-float.c): New variable.
2502         (CFLAGS-libm-test-support-double.c): Likewise.
2503         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2504         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2505         libm-test-support objects.
2507 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2509         * math/Makefile (libm-calls): Move w_exp...
2510         (libm-compat-calls-auto): Here.
2512         * math/w_expl.c: Add suffix "_compat" to filename.
2513         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2514         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2515         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2516         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2517         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2518         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2520         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2522         * math/w_expl_compat.c: New file, copied from above.
2523         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2524         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2525         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2526         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2527         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2529         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2530         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2532         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2533         to filename.
2534         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2536         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2537         copied from above and adjusted for the new filenames.
2538         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2540 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2542         * math/Makefile (libm-calls): Move w_lgammaF...
2543         (libm-compat-calls-auto): Here.
2545         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2546         * math/w_lgammaf.c: Likewise.
2547         * math/w_lgammal.c: Likewise.
2549         * math/w_lgamma_compat2.c: New file, copied from above.
2550         * math/w_lgammaf_compat2.c: Likewise.
2551         * math/w_lgammal_compat2.c: Likewise.
2553 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2555         * math/Makefile (libm-calls): Move w_lgammaF_r...
2556         (libm-compat-calls-auto): Here.
2558         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2559         * math/w_lgammaf_r.c: Likewise.
2560         * math/w_lgammal_r.c: Likewise.
2561         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2562         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2563         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2565         * math/w_lgamma_r_compat.c: New file, copied from above.
2566         * math/w_lgammaf_r_compat.c: Likewise.
2567         * math/w_lgammal_r_compat.c: Likewise.
2568         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2569         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2570         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2572         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2573         to filename.
2574         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2576         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2577         copied from above and adjusted for the new filenames.
2578         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2580 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2582         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2583         calculation in SYSCALL_ERROR_HANDLER().
2585 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2587         * manual/contrib.texi: Fix typo.
2589 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2591         [BZ #21109]
2592         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2593         tunable_val_t as argument.
2594         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2595         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2596         argument.
2597         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2599 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2601         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2602         Add PTRACE_EVENT_STOP.
2603         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2604         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2605         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2606         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2607         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2608         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2610 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2612         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2613         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2614         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2615         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2616         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2617         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2618         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2619         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2620         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2621         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2623         [BZ #21112]
2624         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2625         12 bits zero.
2626         (cp_l): Update for new value of cp_h.
2627         * math/auto-libm-test-in: Add another test of pow.
2628         * math/auto-libm-test-out-pow: Regenerated.
2630 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2632         * manual/contrib.texi: Fix typo.
2634 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2636         [BZ #15998]
2637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2638         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2641 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2643         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2644         STRCHR as __strchr_power8.
2645         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2646         strlen as __strlen_power8.
2648 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2650         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2651         unaligned load for shorter strings.
2652         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2654 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2656         * math/libm-test-driver.c (flag_test_errno): New variable.
2657         (flag_test_exceptions): Likewise.
2658         (flag_test_finite): Likewise.
2659         (flag_test_inline): Likewise.
2660         (flag_test_mathvec): Likewise.
2661         (test_msg): Likewise.
2662         (ulp_idx): Likewise.
2663         (qtype_str): Likewise.
2664         (ULP_IDX): Remove macro.
2665         (QTYPE_STR): Likewise.
2666         (find_ulps): Use ulp_idx not ULP_IDX.
2667         (print_function_ulps): Use qtype_str, printed with %s, not
2668         QTYPE_STR, printed with concatentation to format string.
2669         (print_complex_function_ulps): Likewise.
2670         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2671         (test_errno): Use flag_test_errno not TEST_ERRNO.
2672         (enable_test): Use flag_test_inline, flag_test_finite and
2673         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2674         TEST_MATHVEC.
2675         (libm_test_init): New function.  Factored out of main.
2676         (libm_test_finish): Likewise.
2677         (main): Call libm_test_init and libm_test_finish and move most
2678         code to those functions.
2680         * math/libm-test-driver.c (STRX): New macro.
2681         (STR): Likewise.
2682         (STR_FLOAT): Likewise.
2683         (STR_VEC_LEN): Likewise.
2684         (TEST_MSG): Likewise.  Define here instead of expecting to be
2685         defined by including file.
2686         * math/test-double-finite.c (TEST_MSG): Remove macro.
2687         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2688         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2689         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2690         * math/test-double.c (TEST_MSG): Likewise.
2691         * math/test-float-finite.c (TEST_MSG): Likewise.
2692         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2693         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2694         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2695         * math/test-float.c (TEST_MSG): Likewise.
2696         * math/test-idouble.c (TEST_MSG): Likewise.
2697         * math/test-ifloat.c (TEST_MSG): Likewise.
2698         * math/test-ildouble.c (TEST_MSG): Likewise.
2699         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2700         * math/test-ldouble.c (TEST_MSG): Likewise.
2702         * math/libm-test.inc: Move all tests of individual functions to
2703         libm-test-*.inc and #include libm-test-*.c files.
2704         (acos_test_data): Remove.
2705         (acos_test): Likewise.
2706         (acosh_test_data): Likewise.
2707         (acosh_test): Likewise.
2708         (asin_test_data): Likewise.
2709         (asin_test): Likewise.
2710         (asinh_test_data): Likewise.
2711         (asinh_test): Likewise.
2712         (atan_test_data): Likewise.
2713         (atan_test): Likewise.
2714         (atanh_test_data): Likewise.
2715         (atanh_test): Likewise.
2716         (atan2_test_data): Likewise.
2717         (atan2_test): Likewise.
2718         (cabs_test_data): Likewise.
2719         (cabs_test): Likewise.
2720         (cacos_test_data): Likewise.
2721         (cacos_test): Likewise.
2722         (cacosh_test_data): Likewise.
2723         (cacosh_test): Likewise.
2724         (canonicalize_test_data): Likewise.
2725         (canonicalize_test): Likewise.
2726         (carg_test_data): Likewise.
2727         (carg_test): Likewise.
2728         (casin_test_data): Likewise.
2729         (casin_test): Likewise.
2730         (casinh_test_data): Likewise.
2731         (casinh_test): Likewise.
2732         (catan_test_data): Likewise.
2733         (catan_test): Likewise.
2734         (catanh_test_data): Likewise.
2735         (catanh_test): Likewise.
2736         (cbrt_test_data): Likewise.
2737         (cbrt_test): Likewise.
2738         (ccos_test_data): Likewise.
2739         (ccos_test): Likewise.
2740         (ccosh_test_data): Likewise.
2741         (ccosh_test): Likewise.
2742         (ceil_test_data): Likewise.
2743         (ceil_test): Likewise.
2744         (cexp_test_data): Likewise.
2745         (cexp_test): Likewise.
2746         (cimag_test_data): Likewise.
2747         (cimag_test): Likewise.
2748         (clog_test_data): Likewise.
2749         (clog_test): Likewise.
2750         (clog10_test_data): Likewise.
2751         (clog10_test): Likewise.
2752         (conj_test_data): Likewise.
2753         (conj_test): Likewise.
2754         (copysign_test_data): Likewise.
2755         (copysign_test): Likewise.
2756         (cos_test_data): Likewise.
2757         (cos_test): Likewise.
2758         (cosh_test_data): Likewise.
2759         (cosh_test): Likewise.
2760         (cpow_test_data): Likewise.
2761         (cpow_test): Likewise.
2762         (cproj_test_data): Likewise.
2763         (cproj_test): Likewise.
2764         (creal_test_data): Likewise.
2765         (creal_test): Likewise.
2766         (csin_test_data): Likewise.
2767         (csin_test): Likewise.
2768         (csinh_test_data): Likewise.
2769         (csinh_test): Likewise.
2770         (csqrt_test_data): Likewise.
2771         (csqrt_test): Likewise.
2772         (ctan_test_data): Likewise.
2773         (ctan_test): Likewise.
2774         (ctanh_test_data): Likewise.
2775         (ctanh_test): Likewise.
2776         (erf_test_data): Likewise.
2777         (erf_test): Likewise.
2778         (erfc_test_data): Likewise.
2779         (erfc_test): Likewise.
2780         (exp_test_data): Likewise.
2781         (exp_test): Likewise.
2782         (exp10_test_data): Likewise.
2783         (exp10_test): Likewise.
2784         (pow10_test): Likewise.
2785         (exp2_test_data): Likewise.
2786         (exp2_test): Likewise.
2787         (expm1_test_data): Likewise.
2788         (expm1_test): Likewise.
2789         (fabs_test_data): Likewise.
2790         (fabs_test): Likewise.
2791         (fdim_test_data): Likewise.
2792         (fdim_test): Likewise.
2793         (floor_test_data): Likewise.
2794         (floor_test): Likewise.
2795         (fma_test_data): Likewise.
2796         (fma_test): Likewise.
2797         (fmax_test_data): Likewise.
2798         (fmax_test): Likewise.
2799         (fmaxmag_test_data): Likewise.
2800         (fmaxmag_test): Likewise.
2801         (fmin_test_data): Likewise.
2802         (fmin_test): Likewise.
2803         (fminmag_test_data): Likewise.
2804         (fminmag_test): Likewise.
2805         (fmod_test_data): Likewise.
2806         (fmod_test): Likewise.
2807         (fpclassify_test_data): Likewise.
2808         (fpclassify_test): Likewise.
2809         (frexp_test_data): Likewise.
2810         (frexp_test): Likewise.
2811         (fromfp_test_data): Likewise.
2812         (fromfp_test): Likewise.
2813         (fromfpx_test_data): Likewise.
2814         (fromfpx_test): Likewise.
2815         (getpayload_test_data): Likewise.
2816         (getpayload_test): Likewise.
2817         (hypot_test_data): Likewise.
2818         (hypot_test): Likewise.
2819         (ilogb_test_data): Likewise.
2820         (ilogb_test): Likewise.
2821         (iscanonical_test_data): Likewise.
2822         (iscanonical_test): Likewise.
2823         (iseqsig_test_data): Likewise.
2824         (iseqsig_test): Likewise.
2825         (isfinite_test_data): Likewise.
2826         (isfinite_test): Likewise.
2827         (finite_test): Likewise.
2828         (isgreater_test_data): Likewise.
2829         (isgreater_test): Likewise.
2830         (isgreaterequal_test_data): Likewise.
2831         (isgreaterequal_test): Likewise.
2832         (isinf_test_data): Likewise.
2833         (isinf_test): Likewise.
2834         (isless_test_data): Likewise.
2835         (isless_test): Likewise.
2836         (islessequal_test_data): Likewise.
2837         (islessequal_test): Likewise.
2838         (islessgreater_test_data): Likewise.
2839         (islessgreater_test): Likewise.
2840         (isnan_test_data): Likewise.
2841         (isnan_test): Likewise.
2842         (isnormal_test_data): Likewise.
2843         (isnormal_test): Likewise.
2844         (issignaling_test_data): Likewise.
2845         (issignaling_test): Likewise.
2846         (issubnormal_test_data): Likewise.
2847         (issubnormal_test): Likewise.
2848         (isunordered_test_data): Likewise.
2849         (isunordered_test): Likewise.
2850         (iszero_test_data): Likewise.
2851         (iszero_test): Likewise.
2852         (j0_test_data): Likewise.
2853         (j0_test): Likewise.
2854         (j1_test_data): Likewise.
2855         (j1_test): Likewise.
2856         (jn_test_data): Likewise.
2857         (jn_test): Likewise.
2858         (lgamma_test_data): Likewise.
2859         (lgamma_test): Likewise.
2860         (gamma_test): Likewise.
2861         (llogb_test_data): Likewise.
2862         (llogb_test): Likewise.
2863         (lrint_test_data): Likewise.
2864         (lrint_test): Likewise.
2865         (llrint_test_data): Likewise.
2866         (llrint_test): Likewise.
2867         (log_test_data): Likewise.
2868         (log_test): Likewise.
2869         (log10_test_data): Likewise.
2870         (log10_test): Likewise.
2871         (log1p_test_data): Likewise.
2872         (log1p_test): Likewise.
2873         (log2_test_data): Likewise.
2874         (log2_test): Likewise.
2875         (logb_test_data): Likewise.
2876         (logb_test): Likewise.
2877         (lround_test_data): Likewise.
2878         (lround_test): Likewise.
2879         (llround_test_data): Likewise.
2880         (llround_test): Likewise.
2881         (modf_test_data): Likewise.
2882         (modf_test): Likewise.
2883         (nearbyint_test_data): Likewise.
2884         (nearbyint_test): Likewise.
2885         (nextafter_test_data): Likewise.
2886         (nextafter_test): Likewise.
2887         (nextup_test_data): Likewise.
2888         (nextup_test): Likewise.
2889         (nextdown_test_data): Likewise.
2890         (nextdown_test): Likewise.
2891         (nexttoward_test_data): Likewise.
2892         (nexttoward_test): Likewise.
2893         (pow_test_data): Likewise.
2894         (pow_test): Likewise.
2895         (remainder_test_data): Likewise.
2896         (remainder_test): Likewise.
2897         (drem_test): Likewise.
2898         (remquo_test_data): Likewise.
2899         (remquo_test): Likewise.
2900         (rint_test_data): Likewise.
2901         (rint_test): Likewise.
2902         (round_test_data): Likewise.
2903         (round_test): Likewise.
2904         (roundeven_test_data): Likewise.
2905         (roundeven_test): Likewise.
2906         (scalb_test_data): Likewise.
2907         (scalb_test): Likewise.
2908         (scalbn_test_data): Likewise.
2909         (scalbn_test): Likewise.
2910         (ldexp_test): Likewise.
2911         (scalbln_test_data): Likewise.
2912         (scalbln_test): Likewise.
2913         (setpayload_test_data): Likewise.
2914         (setpayload_test): Likewise.
2915         (setpayloadsig_test_data): Likewise.
2916         (setpayloadsig_test): Likewise.
2917         (signbit_test_data): Likewise.
2918         (signbit_test): Likewise.
2919         (sin_test_data): Likewise.
2920         (sin_test): Likewise.
2921         (sincos_test_data): Likewise.
2922         (sincos_test): Likewise.
2923         (sinh_test_data): Likewise.
2924         (sinh_test): Likewise.
2925         (sqrt_test_data): Likewise.
2926         (sqrt_test): Likewise.
2927         (tan_test_data): Likewise.
2928         (tan_test): Likewise.
2929         (tanh_test_data): Likewise.
2930         (tanh_test): Likewise.
2931         (tgamma_test_data): Likewise.
2932         (tgamma_test): Likewise.
2933         (totalorder_test_data): Likewise.
2934         (totalorder_test): Likewise.
2935         (totalordermag_test_data): Likewise.
2936         (totalordermag_test): Likewise.
2937         (trunc_test_data): Likewise.
2938         (trunc_test): Likewise.
2939         (ufromfp_test_data): Likewise.
2940         (ufromfp_test): Likewise.
2941         (ufromfpx_test_data): Likewise.
2942         (ufromfpx_test): Likewise.
2943         (y0_test_data): Likewise.
2944         (y0_test): Likewise.
2945         (y1_test_data): Likewise.
2946         (y1_test): Likewise.
2947         (yn_test_data): Likewise.
2948         (yn_test): Likewise.
2949         (significand_test_data): Likewise.
2950         (significand_test): Likewise.
2951         * math/Makefile (auto-libm-test-out-files): Remove variable.
2952         (libm-test-funcs-noauto): New variable.
2953         (libm-test-funcs-all): Likewise.
2954         (libm-test-c-auto): Likewise.
2955         (libm-test-c-noauto): Likewise.
2956         (libm-tests-generated): Add $(libm-test-c-auto) and
2957         $(libm-test-c-noauto).
2958         (generated): Do not add auto-libm-test-out.
2959         (libm-test-c-auto-obj): New variable.
2960         (libm-test-c-noauto-obj): Likewise.
2961         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2962         ($(libm-test-c-noauto-obj)): New static pattern rule.
2963         ($(libm-test-c-auto-obj)): Likewise.
2964         (libm-test-incs): New variable.
2965         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2966         and pass it to gen-libm-have-vector-test.sh.
2967         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2968         be passed on command line.
2969         * math/libm-test-acos.inc: New file.  Content from
2970         math/libm-test.inc.
2971         * math/libm-test-acosh.inc: Likewise.
2972         * math/libm-test-asin.inc: Likewise.
2973         * math/libm-test-asinh.inc: Likewise.
2974         * math/libm-test-atan.inc: Likewise.
2975         * math/libm-test-atan2.inc: Likewise.
2976         * math/libm-test-atanh.inc: Likewise.
2977         * math/libm-test-cabs.inc: Likewise.
2978         * math/libm-test-cacos.inc: Likewise.
2979         * math/libm-test-cacosh.inc: Likewise.
2980         * math/libm-test-canonicalize.inc: Likewise.
2981         * math/libm-test-carg.inc: Likewise.
2982         * math/libm-test-casin.inc: Likewise.
2983         * math/libm-test-casinh.inc: Likewise.
2984         * math/libm-test-catan.inc: Likewise.
2985         * math/libm-test-catanh.inc: Likewise.
2986         * math/libm-test-cbrt.inc: Likewise.
2987         * math/libm-test-ccos.inc: Likewise.
2988         * math/libm-test-ccosh.inc: Likewise.
2989         * math/libm-test-ceil.inc: Likewise.
2990         * math/libm-test-cexp.inc: Likewise.
2991         * math/libm-test-cimag.inc: Likewise.
2992         * math/libm-test-clog.inc: Likewise.
2993         * math/libm-test-clog10.inc: Likewise.
2994         * math/libm-test-conj.inc: Likewise.
2995         * math/libm-test-copysign.inc: Likewise.
2996         * math/libm-test-cos.inc: Likewise.
2997         * math/libm-test-cosh.inc: Likewise.
2998         * math/libm-test-cpow.inc: Likewise.
2999         * math/libm-test-cproj.inc: Likewise.
3000         * math/libm-test-creal.inc: Likewise.
3001         * math/libm-test-csin.inc: Likewise.
3002         * math/libm-test-csinh.inc: Likewise.
3003         * math/libm-test-csqrt.inc: Likewise.
3004         * math/libm-test-ctan.inc: Likewise.
3005         * math/libm-test-ctanh.inc: Likewise.
3006         * math/libm-test-erf.inc: Likewise.
3007         * math/libm-test-erfc.inc: Likewise.
3008         * math/libm-test-exp.inc: Likewise.
3009         * math/libm-test-exp10.inc: Likewise.
3010         * math/libm-test-exp2.inc: Likewise.
3011         * math/libm-test-expm1.inc: Likewise.
3012         * math/libm-test-fabs.inc: Likewise.
3013         * math/libm-test-fdim.inc: Likewise.
3014         * math/libm-test-floor.inc: Likewise.
3015         * math/libm-test-fma.inc: Likewise.
3016         * math/libm-test-fmax.inc: Likewise.
3017         * math/libm-test-fmaxmag.inc: Likewise.
3018         * math/libm-test-fmin.inc: Likewise.
3019         * math/libm-test-fminmag.inc: Likewise.
3020         * math/libm-test-fmod.inc: Likewise.
3021         * math/libm-test-fpclassify.inc: Likewise.
3022         * math/libm-test-frexp.inc: Likewise.
3023         * math/libm-test-fromfp.inc: Likewise.
3024         * math/libm-test-fromfpx.inc: Likewise.
3025         * math/libm-test-getpayload.inc: Likewise.
3026         * math/libm-test-hypot.inc: Likewise.
3027         * math/libm-test-ilogb.inc: Likewise.
3028         * math/libm-test-iscanonical.inc: Likewise.
3029         * math/libm-test-iseqsig.inc: Likewise.
3030         * math/libm-test-isfinite.inc: Likewise.
3031         * math/libm-test-isgreater.inc: Likewise.
3032         * math/libm-test-isgreaterequal.inc: Likewise.
3033         * math/libm-test-isinf.inc: Likewise.
3034         * math/libm-test-isless.inc: Likewise.
3035         * math/libm-test-islessequal.inc: Likewise.
3036         * math/libm-test-islessgreater.inc: Likewise.
3037         * math/libm-test-isnan.inc: Likewise.
3038         * math/libm-test-isnormal.inc: Likewise.
3039         * math/libm-test-issignaling.inc: Likewise.
3040         * math/libm-test-issubnormal.inc: Likewise.
3041         * math/libm-test-isunordered.inc: Likewise.
3042         * math/libm-test-iszero.inc: Likewise.
3043         * math/libm-test-j0.inc: Likewise.
3044         * math/libm-test-j1.inc: Likewise.
3045         * math/libm-test-jn.inc: Likewise.
3046         * math/libm-test-lgamma.inc: Likewise.
3047         * math/libm-test-llogb.inc: Likewise.
3048         * math/libm-test-llrint.inc: Likewise.
3049         * math/libm-test-llround.inc: Likewise.
3050         * math/libm-test-log.inc: Likewise.
3051         * math/libm-test-log10.inc: Likewise.
3052         * math/libm-test-log1p.inc: Likewise.
3053         * math/libm-test-log2.inc: Likewise.
3054         * math/libm-test-logb.inc: Likewise.
3055         * math/libm-test-lrint.inc: Likewise.
3056         * math/libm-test-lround.inc: Likewise.
3057         * math/libm-test-modf.inc: Likewise.
3058         * math/libm-test-nearbyint.inc: Likewise.
3059         * math/libm-test-nextafter.inc: Likewise.
3060         * math/libm-test-nextdown.inc: Likewise.
3061         * math/libm-test-nexttoward.inc: Likewise.
3062         * math/libm-test-nextup.inc: Likewise.
3063         * math/libm-test-pow.inc: Likewise.
3064         * math/libm-test-remainder.inc: Likewise.
3065         * math/libm-test-remquo.inc: Likewise.
3066         * math/libm-test-rint.inc: Likewise.
3067         * math/libm-test-round.inc: Likewise.
3068         * math/libm-test-roundeven.inc: Likewise.
3069         * math/libm-test-scalb.inc: Likewise.
3070         * math/libm-test-scalbln.inc: Likewise.
3071         * math/libm-test-scalbn.inc: Likewise.
3072         * math/libm-test-setpayload.inc: Likewise.
3073         * math/libm-test-setpayloadsig.inc: Likewise.
3074         * math/libm-test-signbit.inc: Likewise.
3075         * math/libm-test-significand.inc: Likewise.
3076         * math/libm-test-sin.inc: Likewise.
3077         * math/libm-test-sincos.inc: Likewise.
3078         * math/libm-test-sinh.inc: Likewise.
3079         * math/libm-test-sqrt.inc: Likewise.
3080         * math/libm-test-tan.inc: Likewise.
3081         * math/libm-test-tanh.inc: Likewise.
3082         * math/libm-test-tgamma.inc: Likewise.
3083         * math/libm-test-totalorder.inc: Likewise.
3084         * math/libm-test-totalordermag.inc: Likewise.
3085         * math/libm-test-trunc.inc: Likewise.
3086         * math/libm-test-ufromfp.inc: Likewise.
3087         * math/libm-test-ufromfpx.inc: Likewise.
3088         * math/libm-test-y0.inc: Likewise.
3089         * math/libm-test-y1.inc: Likewise.
3090         * math/libm-test-yn.inc: Likewise.
3091         * math/README.libm-test: Update.
3093         * math/gen-auto-libm-tests.c: Update comment about use of program.
3094         (generate_output): Add argument FUNCTION.
3095         (main): Require extra argument.  Pass function name to
3096         generate_output.
3097         * math/Makefile (generated): Add auto-libm-test-out.
3098         (libm-test-funcs-auto): New variable.
3099         (auto-libm-test-out-files): New variable.
3100         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3101         Concatenate those files to form $(objpfx)auto-libm-test-out and
3102         use it as input to gen-libm-test.pl.
3103         * math/README.libm-test: Update.
3104         * math/auto-libm-test-out: Remove.
3105         * math/auto-libm-test-out-acos: New generated file.
3106         * math/auto-libm-test-out-acosh: Likewise.
3107         * math/auto-libm-test-out-asin: Likewise.
3108         * math/auto-libm-test-out-asinh: Likewise.
3109         * math/auto-libm-test-out-atan: Likewise.
3110         * math/auto-libm-test-out-atan2: Likewise.
3111         * math/auto-libm-test-out-atanh: Likewise.
3112         * math/auto-libm-test-out-cabs: Likewise.
3113         * math/auto-libm-test-out-carg: Likewise.
3114         * math/auto-libm-test-out-cbrt: Likewise.
3115         * math/auto-libm-test-out-ccos: Likewise.
3116         * math/auto-libm-test-out-ccosh: Likewise.
3117         * math/auto-libm-test-out-cexp: Likewise.
3118         * math/auto-libm-test-out-clog: Likewise.
3119         * math/auto-libm-test-out-clog10: Likewise.
3120         * math/auto-libm-test-out-cos: Likewise.
3121         * math/auto-libm-test-out-cosh: Likewise.
3122         * math/auto-libm-test-out-cpow: Likewise.
3123         * math/auto-libm-test-out-csin: Likewise.
3124         * math/auto-libm-test-out-csinh: Likewise.
3125         * math/auto-libm-test-out-csqrt: Likewise.
3126         * math/auto-libm-test-out-ctan: Likewise.
3127         * math/auto-libm-test-out-ctanh: Likewise.
3128         * math/auto-libm-test-out-erf: Likewise.
3129         * math/auto-libm-test-out-erfc: Likewise.
3130         * math/auto-libm-test-out-exp: Likewise.
3131         * math/auto-libm-test-out-exp10: Likewise.
3132         * math/auto-libm-test-out-exp2: Likewise.
3133         * math/auto-libm-test-out-expm1: Likewise.
3134         * math/auto-libm-test-out-fma: Likewise.
3135         * math/auto-libm-test-out-hypot: Likewise.
3136         * math/auto-libm-test-out-j0: Likewise.
3137         * math/auto-libm-test-out-j1: Likewise.
3138         * math/auto-libm-test-out-jn: Likewise.
3139         * math/auto-libm-test-out-lgamma: Likewise.
3140         * math/auto-libm-test-out-log: Likewise.
3141         * math/auto-libm-test-out-log10: Likewise.
3142         * math/auto-libm-test-out-log1p: Likewise.
3143         * math/auto-libm-test-out-log2: Likewise.
3144         * math/auto-libm-test-out-pow: Likewise.
3145         * math/auto-libm-test-out-sin: Likewise.
3146         * math/auto-libm-test-out-sincos: Likewise.
3147         * math/auto-libm-test-out-sinh: Likewise.
3148         * math/auto-libm-test-out-sqrt: Likewise.
3149         * math/auto-libm-test-out-tan: Likewise.
3150         * math/auto-libm-test-out-tanh: Likewise.
3151         * math/auto-libm-test-out-tgamma: Likewise.
3152         * math/auto-libm-test-out-y0: Likewise.
3153         * math/auto-libm-test-out-y1: Likewise.
3154         * math/auto-libm-test-out-yn: Likewise.
3156         * math/Makefile (generated): Do not include libm-test.stmp.
3157         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3158         on $(objpfx)libm-test.stmp.
3159         ($(objpfx)libm-test.stmp): Remove rule.
3160         ($(objpfx)libm-test-ulps.h): New rule.
3161         ($(objpfx)libm-test.c): Likewise.
3162         ($(objpfx)libm-have-vector-test.h): Likewise.
3163         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3164         individual generated files, not libm-test.stmp.
3166         * math/gen-libm-test.pl ($output_dir): Remove variable.
3167         ($srcdir): Likewise.
3168         ($opt_a): New variable.
3169         ($opt_c): Likewise.
3170         ($opt_C): Likewise.
3171         ($opt_H): Likewise.
3172         (-n): Make option take argument and use it as NewUlps output.
3173         (-a): New option.  Use its argument for auto-libm-test-out input.
3174         (-c): New option.  Use its argument for libm-test.inc input.
3175         (-C): New option.  Use its argument for libm-test.c output.
3176         (-H): New option.  Use its argument for libm-test-ulps.h output.
3177         (top level): Only process inputs needed to generate outputs
3178         specified by command-line options.  Only generate outputs
3179         specified by command-line options.
3180         * math/README.libm-test: Update example gen-libm-test.pl command.
3181         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3182         commands.
3183         (regen-ulps): Likewise.
3185 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3187         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3188         * include/string.h (index): Remove define.
3189         (rindex): Likewise.
3190         * misc/getttyent.c (__getttyent): Rename index to strchr.
3191         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3192         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3194 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3196         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3197         * math/libm-test.inc: Move all contents, other than tests of
3198         individual functions, to libm-test-driver.c.
3199         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3200         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3201         [!FE_UPWARD] (FE_UPWARD): Likewise.
3202         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3203         (NO_EXCEPTION): Likewise.
3204         (INVALID_EXCEPTION): Likewise.
3205         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3206         (OVERFLOW_EXCEPTION): Likewise.
3207         (UNDERFLOW_EXCEPTION): Likewise.
3208         (INEXACT_EXCEPTION): Likewise.
3209         (INVALID_EXCEPTION_OK): Likewise.
3210         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3211         (OVERFLOW_EXCEPTION_OK): Likewise.
3212         (UNDERFLOW_EXCEPTION_OK): Likewise.
3213         (NO_INEXACT_EXCEPTION): Likewise.
3214         (EXCEPTIONS_OK): Likewise.
3215         (IGNORE_ZERO_INF_SIGN): Likewise.
3216         (TEST_NAN_SIGN): Likewise.
3217         (TEST_NAN_PAYLOAD): Likewise.
3218         (NO_TEST_INLINE): Likewise.
3219         (XFAIL_TEST): Likewise.
3220         (ERRNO_UNCHANGED): Likewise.
3221         (ERRNO_EDOM): Likewise.
3222         (ERRNO_ERANGE): Likewise.
3223         (IGNORE_RESULT): Likewise.
3224         (NON_FINITE): Likewise.
3225         (TEST_SNAN): Likewise.
3226         (NO_TEST_MATHVEC): Likewise.
3227         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3228         (__CONCATX): Likewise.
3229         (TYPE_MIN): Likewise.
3230         (TYPE_TRUE_MIN): Likewise.
3231         (TYPE_MAX): Likewise.
3232         (MIN_EXP): Likewise.
3233         (MAX_EXP): Likewise.
3234         (MANT_DIG): Likewise.
3235         (FSTR_MAX): Likewise.
3236         (ULP_IDX): Likewise.
3237         (QTYPE_STR): Likewise.
3238         (TEST_COND_binary32): Likewise.
3239         (TEST_COND_binary64): Likewise.
3240         (TEST_COND_binary128): Likewise.
3241         (TEST_COND_ibm128): Likewise.
3242         (TEST_COND_intel96): Likewise.
3243         (TEST_COND_m68k96): Likewise.
3244         (TEST_COND_ibm128_libgcc): Likewise.
3245         (XFAIL_IBM128_LIBGCC): Likewise.
3246         (PAYLOAD_DIG): Likewise.
3247         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3248         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3249         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3250         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3251         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3252         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3253         (TEST_COND_long32): Likewise.
3254         (TEST_COND_long64): Likewise.
3255         (TEST_COND_before_rounding): Likewise.
3256         (TEST_COND_after_rounding): Likewise.
3257         (lit_pi_3_m_4_d): Likewise.
3258         (lit_pi_3_m_4_ln10_m_d): Likewise.
3259         (lit_pi_2_ln10_m_d): Likewise.
3260         (lit_pi_4_ln10_m_d): Likewise.
3261         (lit_pi_ln10_d): Likewise.
3262         (lit_pi_2_d): Likewise.
3263         (lit_pi_4_d): Likewise.
3264         (lit_pi): Likewise.
3265         (lit_e): Likewise.
3266         (ulps_file_name): Likewise.
3267         (ulps_file): Likewise.
3268         (output_ulps): Likewise.
3269         (output_dir): Likewise.
3270         (noErrors): Likewise.
3271         (noTests): Likewise.
3272         (noExcTests): Likewise.
3273         (noErrnoTests): Likewise.
3274         (verbose): Likewise.
3275         (output_max_error): Likewise.
3276         (output_points): Likewise.
3277         (ignore_max_ulp): Likewise.
3278         (plus_zero): Likewise.
3279         (minus_zero): Likewise.
3280         (plus_infty): Likewise.
3281         (minus_infty): Likewise.
3282         (qnan_value_pl): Likewise.
3283         (qnan_value): Likewise.
3284         (snan_value_pl): Likewise.
3285         (snan_value): Likewise.
3286         (max_value): Likewise.
3287         (min_value): Likewise.
3288         (min_subnorm_value): Likewise.
3289         (snan_value_ld): Likewise.
3290         (max_error): Likewise.
3291         (real_max_error): Likewise.
3292         (imag_max_error): Likewise.
3293         (prev_max_error): Likewise.
3294         (prev_real_max_error): Likewise.
3295         (prev_imag_max_error): Likewise.
3296         (max_valid_error): Likewise.
3297         (TYPE_DECIMAL_DIG): Likewise.
3298         (TYPE_HEX_DIG): Likewise.
3299         (fmt_ftostr): Likewise.
3300         (compare_ulp_data): Likewise.
3301         (find_ulps): Likewise.
3302         (init_max_error): Likewise.
3303         (set_max_error): Likewise.
3304         (print_float): Likewise.
3305         (print_screen): Likewise.
3306         (print_screen_max_error): Likewise.
3307         (update_stats): Likewise.
3308         (print_function_ulps): Likewise.
3309         (print_complex_function_ulps): Likewise.
3310         (fpstack_test): Likewise.
3311         (print_max_error): Likewise.
3312         (print_complex_max_error): Likewise.
3313         (test_single_exception): Likewise.
3314         (test_exceptions): Likewise.
3315         (test_single_errno): Likewise.
3316         (test_errno): Likewise.
3317         (ULPDIFF): Likewise.
3318         (ulp): Likewise.
3319         (check_float_internal): Likewise.
3320         (check_float): Likewise.
3321         (check_complex): Likewise.
3322         (check_int): Likewise.
3323         (check_long): Likewise.
3324         (check_bool): Likewise.
3325         (check_longlong): Likewise.
3326         (check_intmax_t): Likewise.
3327         (check_uintmax_t): Likewise.
3328         (enable_test): Likewise.
3329         (struct test_f_f_data): Likewise.
3330         (struct test_ff_f_data): Likewise.
3331         (struct test_fj_f_data): Likewise.
3332         (struct test_fi_f_data): Likewise.
3333         (struct test_fl_f_data): Likewise.
3334         (struct test_if_f_data): Likewise.
3335         (struct test_fff_f_data): Likewise.
3336         (struct test_fiu_M_data): Likewise.
3337         (struct test_fiu_U_data): Likewise.
3338         (struct test_c_f_data): Likewise.
3339         (struct test_f_f1_data): Likewise.
3340         (struct test_fF_f1_data): Likewise.
3341         (struct test_ffI_f1_data): Likewise.
3342         (struct test_c_c_data): Likewise.
3343         (struct test_cc_c_data): Likewise.
3344         (struct test_f_i_data): Likewise.
3345         (struct test_ff_i_data): Likewise.
3346         (struct test_f_l_data): Likewise.
3347         (struct test_f_L_data): Likewise.
3348         (struct test_fFF_11_data): Likewise.
3349         (struct test_Ff_b1_data): Likewise.
3350         (IF_ROUND_INIT_): Likewise.
3351         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3352         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3353         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3354         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3355         (ROUND_RESTORE_): Likewise.
3356         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3357         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3358         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3359         (ROUND_RESTORE_FE_UPWARD): Likewise.
3360         (RM_): Likewise.
3361         (RM_FE_DOWNWARD): Likewise.
3362         (RM_FE_TONEAREST): Likewise.
3363         (RM_FE_TOWARDZERO): Likewise.
3364         (RM_FE_UPWARD): Likewise.
3365         (COMMON_TEST_SETUP): Likewise.
3366         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3367         (COMMON_TEST_CLEANUP): Likewise.
3368         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3369         (RUN_TEST_f_f): Likewise.
3370         (RUN_TEST_LOOP_f_f): Likewise.
3371         (RUN_TEST_fp_f): Likewise.
3372         (RUN_TEST_LOOP_fp_f): Likewise.
3373         (RUN_TEST_2_f): Likewise.
3374         (RUN_TEST_LOOP_2_f): Likewise.
3375         (RUN_TEST_ff_f): Likewise.
3376         (RUN_TEST_LOOP_ff_f): Likewise.
3377         (RUN_TEST_LOOP_fj_f): Likewise.
3378         (RUN_TEST_fi_f): Likewise.
3379         (RUN_TEST_LOOP_fi_f): Likewise.
3380         (RUN_TEST_fl_f): Likewise.
3381         (RUN_TEST_LOOP_fl_f): Likewise.
3382         (RUN_TEST_if_f): Likewise.
3383         (RUN_TEST_LOOP_if_f): Likewise.
3384         (RUN_TEST_fff_f): Likewise.
3385         (RUN_TEST_LOOP_fff_f): Likewise.
3386         (RUN_TEST_fiu_M): Likewise.
3387         (RUN_TEST_LOOP_fiu_M): Likewise.
3388         (RUN_TEST_fiu_U): Likewise.
3389         (RUN_TEST_LOOP_fiu_U): Likewise.
3390         (RUN_TEST_c_f): Likewise.
3391         (RUN_TEST_LOOP_c_f): Likewise.
3392         (RUN_TEST_f_f1): Likewise.
3393         (RUN_TEST_LOOP_f_f1): Likewise.
3394         (RUN_TEST_fF_f1): Likewise.
3395         (RUN_TEST_LOOP_fF_f1): Likewise.
3396         (RUN_TEST_fI_f1): Likewise.
3397         (RUN_TEST_LOOP_fI_f1): Likewise.
3398         (RUN_TEST_ffI_f1_mod8): Likewise.
3399         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3400         (RUN_TEST_Ff_b1): Likewise.
3401         (RUN_TEST_LOOP_Ff_b1): Likewise.
3402         (RUN_TEST_Ffp_b1): Likewise.
3403         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3404         (RUN_TEST_c_c): Likewise.
3405         (RUN_TEST_LOOP_c_c): Likewise.
3406         (RUN_TEST_cc_c): Likewise.
3407         (RUN_TEST_LOOP_cc_c): Likewise.
3408         (RUN_TEST_f_i): Likewise.
3409         (RUN_TEST_LOOP_f_i): Likewise.
3410         (RUN_TEST_f_i_tg): Likewise.
3411         (RUN_TEST_LOOP_f_i_tg): Likewise.
3412         (RUN_TEST_ff_b): Likewise.
3413         (RUN_TEST_LOOP_ff_b): Likewise.
3414         (RUN_TEST_ff_i_tg): Likewise.
3415         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3416         (RUN_TEST_f_b): Likewise.
3417         (RUN_TEST_LOOP_f_b): Likewise.
3418         (RUN_TEST_f_b_tg): Likewise.
3419         (RUN_TEST_LOOP_f_b_tg): Likewise.
3420         (RUN_TEST_f_l): Likewise.
3421         (RUN_TEST_LOOP_f_l): Likewise.
3422         (RUN_TEST_f_L): Likewise.
3423         (RUN_TEST_LOOP_f_L): Likewise.
3424         (RUN_TEST_fFF_11): Likewise.
3425         (RUN_TEST_LOOP_fFF_11): Likewise.
3426         (VEC_SUFF): Likewise.
3427         (STR_CONCAT): Likewise.
3428         (STR_CON3): Likewise.
3429         (HAVE_VECTOR): Likewise.
3430         (START): Likewise.
3431         (END): Likewise.
3432         (END_COMPLEX): Likewise.
3433         (ALL_RM_TEST): Likewise.
3434         (matherr): Likewise.
3435         (initialize): Likewise.
3436         (options): Likewise.
3437         (doc): Likewise.
3438         (parse_opt): Likewise.
3439         (argp): Likewise.
3440         (check_ulp): Likewise.
3441         (main): Likewise.
3442         (do_test): New function.  Call tests of individual functions
3443         previously called from main.
3445         * math/libm-test.inc: Remove comment listing functions tested and
3446         not tested.
3448 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3450         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3451         (allocate_stack): Remove COLORING_INCREMENT usage.
3452         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3453         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3455 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3457         * manual/libm-err-tab.pl (@all_functions): Change to
3458         %all_functions.  Initialize as empty.
3459         (parse_ulps): Add to %all_functions based on functions found in
3460         ulps files.  Ignore results for non-default rounding modes and
3461         vector functions.
3462         (print_platforms): Use %all_platforms.
3463         * manual/math.texi (Errors in Math Functions): Document omissions
3464         from the table.
3466         * math/Makefile (before-compile): Remove.
3468 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3470         [BZ #21075]
3471         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3472         unused assignment.
3473         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3475 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3477         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3478         Add __glibc_unlikely hint.
3480 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3482         [BZ #16640]
3483         * sysdeps/i386/i686/strtok.S: Remove file.
3484         * sysdeps/i386/i686/strtok_r.S: Likewise.
3485         * sysdeps/i386/strtok.S: Likewise.
3486         * sysdeps/i386/strtok_r.S: Likewise.
3487         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3488         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3489         * sysdeps/x86_64/strtok.S: Likewise.
3490         * sysdeps/x86_64/strtok_r.S: Likewise.
3492         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3493         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3494         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3495         (__ASSUME_FADVISE64_AS_64_64): Define.
3496         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3497         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3498         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3499         __ALIGNMENT_ARG usage.
3500         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3501         __NR_fadvise64_64 if it is not defined.
3503 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3505         * version.h (RELEASE): Set to "development"
3506         (VERSION): Set to 2.25.90.
3507         * NEWS: Add 2.26 section.
3509         * version.h (RELEASE): Set to "stable"
3510         (VERSION): Set to 2.25.
3511         * include/features.h (__GLIBC_MINOR__): Set to 25.
3513         * manual/contrib.texi: Add more contributors from this release
3514         and past releases.
3516         * NEWS (2.25): Add list of bugs fixed.
3518         * NEWS: Add missing news items.
3520 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3522         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3523         parent if child exited in that manner.  Print WEXITSTATUS
3524         instead of the raw status.
3525         (do_test_prep): Rename to do_test.
3526         (do_test): Return the result of run_executable_sgid.
3527         (TEST_FUNCTION_ARGV): Adjust.
3529 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3530             Florian Weimer  <fweimer@redhat.com>
3531             Carlos O'Donell  <carlos@redhat.com>
3533         [BZ #20915]
3534         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3535         Do not initialize DTV.
3536         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3538 2017-02-03  David S. Miller  <davem@davemloft.net>
3540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3548         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3549         (libm-sysdep_routines): Update.
3550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3555         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3556         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3557         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3558         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3560         Likewise.
3561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3563         Likewise.
3564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3566         Likewise.
3567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3569         Likewise.
3570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3572         (libm-sysdep_routines): Update.
3574 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3577         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3578         against unrelocated shared library.
3579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3581 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3583         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3584         * elf/tst-env-setuid-tunables.c
3585         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3586         GLIBC_TUNABLES is removed in a setgid process.
3588         [BZ #21073]
3589         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3590         * elf/dl-tunables.c (tunables_strdup): Remove.
3591         (get_next_env): Also return the previous envp.
3592         (parse_tunables): Erase tunables of category
3593         TUNABLES_SECLEVEL_SXID_ERASE.
3594         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3595         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3596         (__tunables_init)[TUNABLES_FRONTEND ==
3597         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3598         after parsing.
3599         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3600         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3601         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3602         to security_level.
3603         * elf/dl-tunables.list: Add security_level annotations for all
3604         tunables.
3605         * scripts/gen-tunables.awk: Recognize and generate enum values
3606         for security_level.
3607         * elf/tst-env-setuid.c: New test case.
3608         * elf/tst-env-setuid-tunables: new test case.
3609         * elf/Makefile (tests-static): Add them.
3611 2017-02-01  Richard Henderson  <rth@twiddle.net>
3613         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3614         adjusting the byte count.
3616 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3618         * conform/Makefile (linknamespace-libs): Define.
3620         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3621         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3622         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3623         operands.
3625 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3627         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3629 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3631         [BZ #21081]
3632         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3633         (L(stosb)): Add VZEROUPPER before ret.
3635 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3636             Alexey Makhalov <amakhalov@vmware.com>
3637             Florian Weimer <fweimer@redhat.com>
3639         [BZ #20116]
3640         * nptl/pthread_create.c: Document concurrency notes.
3641         Enhance thread creation notes.
3642         (create_thread): Use bool *stopped_start.
3643         (START_THREAD_DEFN): Comment ownership of PD.
3644         (__pthread_create_2_1): Add local bool stopped_start and use
3645         that instead of pd->stopped_start where appropriate.
3646         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3647         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3648         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3649         * nptl/tst-create-detached.c: New file.
3650         * nptl/Makefile (tests): Add tst-create-detached.
3651         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3652         Reference the enhanced thread creation notes.
3653         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3654         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3655         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3656         (__pthread_current_priority): Likewise.
3657         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3658         xpthread_attr_init, xpthread_attr_setdetachstate, and
3659         xpthread_attr_setstacksize.
3660         * support/xpthread_attr_destroy.c: New file.
3661         * support/xpthread_attr_init.c: New file.
3662         * support/xpthread_attr_setdetachstate.c: New file.
3663         * support/xpthread_attr_setstacksize.c: New file.
3664         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3665         xpthread_attr_init, xpthread_attr_setdetachstate, and
3666         xpthread_attr_setstacksize.
3668 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3670         * nptl/Makefile (tests): Add tst-robust-fork.
3671         * nptl/tst-robust-fork.c: New file.
3672         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3673         xpthread_mutex_consistent, xpthread_mutex_destroy,
3674         xpthread_mutex_init, xpthread_mutexattr_destroy,
3675         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3676         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3677         xpthread_mutexattr_settype.
3678         * support/xmmap.c: New file.
3679         * support/xmunmap.c: Likewise.
3680         * support/xpthread_mutex_consistent.c: Likewise.
3681         * support/xpthread_mutex_destroy.c: Likewise.
3682         * support/xpthread_mutex_init.c: Likewise.
3683         * support/xpthread_mutexattr_destroy.c: Likewise.
3684         * support/xpthread_mutexattr_init.c: Likewise.
3685         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3686         * support/xpthread_mutexattr_setpshared.c: Likewise.
3687         * support/xpthread_mutexattr_setrobust.c: Likewise.
3688         * support/xpthread_mutexattr_settype.c: Likewise.
3689         * support/xthread.h (xpthread_mutexattr_destroy)
3690         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3691         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3692         (xpthread_mutexattr_settype, xpthread_mutex_init)
3693         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3694         * support/xunistd.h (xmmap, xmunmap): Likewise.
3696 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3698         * string/Makefile (xtests): Add comment.
3699         (LOCALES): Add en_GB.UTF-8.
3700         (tst-strcoll-overflow.out): Depend on generated locales.
3701         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3702         (SIZE, TIMEOUT): Update comments.
3703         (do_test): Define as static.  Fail test if setlocale fails.
3704         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3705         messages.
3706         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3707         TIMEOUT at 300 seconds should be enough to run this test
3708         successfully.
3710 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3712         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3713         /* FALLTHRU */ comments.
3715 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3717         [BZ #21053]
3718         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3719         constants instead of the old R* ones.
3720         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3721         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3722         (NGREG): ... to this, to fit in with other architectures.
3723         (gpregset_t): Use new NGREG macro.
3724         [__USE_GNU]: Remove condition; all architectures other than tile
3725         are unconditional.
3726         (R*): Rename to REG_R*.
3728 2017-01-20  DJ Delorie  <dj@redhat.com>
3730         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3731         (tunable_set_val_if_valid_range_signed) ... this, and ...
3732         (tunable_set_val_if_valid_range_unsigned) ... this.
3733         (tunable_initialize): Call the correct one of the above based on type.
3735 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3737         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3738         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3739         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3740         * sysdeps/microblaze/libm-test-ulps: Likewise.
3741         * sysdeps/sh/libm-test-ulps: Likewise.
3743         * math/README.libm-test: Update list of characters for input and
3744         output types.
3746 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3748         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3749         (__lll_unlock_elision): Fix adapt_count decrement.
3751 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3753         * README.pretty-printers (Known issues): Warn about printers not
3754         always covering everything.
3755         * nptl/nptl-printers.py (MutexPrinter): Change output.
3756         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3758 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3760         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3761         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3762         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3763         (__lll_lock_elision): Do not test futex before starting a
3764         transaction.  Use __glibc_likely instead of __builtin_expect.
3765         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3766         (__lll_trylock_elision): Do not test futex before starting a
3767         transaction.  Use __glibc_likely instead of __builtin_expect.
3769 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3771         * po/Makefile (update-translations): New target.
3773 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3775         [BZ #21061]
3776         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3778 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3780         * elf/dl-tunables (get_next_env): Always advance envp.
3781         * stdlib/tst-empty-env.c: New test case.
3782         * stdlib/Makefile (tests): Use it.
3784 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3786         [BZ #21047]
3787         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3788         name for instruction.
3789         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3791 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3793         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3794         for make install.
3796 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3798         * po/bg.po: Merge from Translation Project.
3799         * po/fr.po: Likewise.
3800         * po/ko.po: Likewise.
3801         * po/nl.po: Likewise.
3802         * po/sv.po: Likewise.
3804 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3806         * manual/install.texi (Tools for Compilation): Update GCC version
3807         known to work to build glibc.
3808         * INSTALL: Regenerated.
3810 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3812         [BZ #21006]
3813         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3815 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3817         [BZ #21045]
3818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3819         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3820         to __sigprocmask.
3822 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3824         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3825         wrap-around.
3826         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3828         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3830 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3832         * NEWS: Fix typo.
3834 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3836         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3837         barriers and comments.
3838         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3839         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3840         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3842 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3844         [BZ #19402]
3845         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3846         mutexes.
3848 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3850         [BZ #20985]
3851         * nptl/Makefile: Adapt.
3852         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3853         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3854         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3855         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3856         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3857         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3858         lll_robust* functions and adapt.
3859         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3860         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3861         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3862         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3863         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3864         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3865         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3866         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3868         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3869         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3870         * nptl/lowlevelrobustlock.c: Remove file.
3871         * nptl/lowlevelrobustlock.sym: Likewise.
3872         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3873         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3875 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3877         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3879 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3881         * po/cs.po: Merge translations from the Translation Project.
3882         * po/de.po: Likewise.
3883         * po/pl.po: Likewise.
3884         * po/ru.po: Likewise.
3885         * po/tr.po: Likewise.
3886         * po/uk.po: Likewise.
3887         * po/vi.po: Likewise.
3888         * po/zh_CN.po: Likewise.
3890 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3892         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3894         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3895         object.
3897 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3899         [BZ #16458]
3900         * bits/uintn-identity.h: New file.
3901         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3902         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3903         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3904         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3905         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3906         * string/endian.h: Include <bits/uintn-identity.h>.
3907         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3908         __uint16_identity.
3909         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3910         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3911         __uint32_identity.
3912         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3913         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3914         __uint64_identity.
3915         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3916         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3917         __uint16_identity.
3918         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3919         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3920         __uint32_identity.
3921         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3922         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3923         __uint64_identity.
3924         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3925         * string/Makefile (headers): Add bits/uintn-identity.h.
3926         (tests): Add test-endian-types.
3927         * string/test-endian-types.c: New file.
3928         * inet/Makefile (tests): Add test-hnto-types.
3929         * inet/test-hnto-types.c: New file.
3931 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3933         * po/be.po: Update from Translation Project.
3934         * po/bg.po: Likewise.
3935         * po/ca.po: Likewise.
3936         * po/cs.po: Likewise.
3937         * po/da.po: Likewise.
3938         * po/de.po: Likewise.
3939         * po/el.po: Likewise.
3940         * po/eo.po: Likewise.
3941         * po/es.po: Likewise.
3942         * po/fi.po: Likewise.
3943         * po/fr.po: Likewise.
3944         * po/gl.po: Likewise.
3945         * po/hr.po: Likewise.
3946         * po/hu.po: Likewise.
3947         * po/ia.po: Likewise.
3948         * po/id.po: Likewise.
3949         * po/it.po: Likewise.
3950         * po/ja.po: Likewise.
3951         * po/ko.po: Likewise.
3952         * po/lt.po: Likewise.
3953         * po/nb.po: Likewise.
3954         * po/nl.po: Likewise.
3955         * po/pl.po: Likewise.
3956         * po/pt_BR.po: Likewise.
3957         * po/ru.po: Likewise.
3958         * po/rw.po: Likewise.
3959         * po/sk.po: Likewise.
3960         * po/sl.po: Likewise.
3961         * po/sv.po: Likewise.
3962         * po/tr.po: Likewise.
3963         * po/uk.po: Likewise.
3964         * po/vi.po: Likewise.
3965         * po/zh_CN.po: Likewise.
3966         * po/zh_TW.po: Likewise.
3968 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3970         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3971         -Wformat-truncation instead of -Wformat-length.
3972         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3973         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3974         GCC 7.
3975         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3976         (do_test): Ignore -Wformat-truncation for GCC 7.
3978         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3979         buffer used to print long int value.
3981         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3982         one byte.  Print it with %ld, cast to long int.
3984 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3986         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3987         (re.fullmatch, subprocess.run): Likewise.
3989 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3991         * po/libc.pot: Regenerate.
3993 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3995         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3996         (min_strlen): Likewise.
3997         (disable_tunable): Likewise.
3998         (maybe_disable_malloc_check): Rename to
3999         maybe_enable_malloc_check.
4000         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4001         if /etc/suid-debug file exists.
4002         (__tunables_init): Update caller.
4003         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4004         secure.
4006 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4008         * nptl/DESIGN-rwlock.txt: Remove.
4009         * nptl/lowlevelrwlock.sym: Remove.
4010         * nptl/Makefile: Add new tests.
4011         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4012         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4013         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4014         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4015         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4016         PTHREAD_RWLOCK_FUTEX_USED): New.
4017         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4018         implementation.
4019         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4020         (__pthread_rwlock_rdlock): Adapt.
4021         * nptl/pthread_rwlock_timedrdlock.c
4022         (pthread_rwlock_timedrdlock): Adapt.
4023         * nptl/pthread_rwlock_timedwrlock.c
4024         (pthread_rwlock_timedwrlock): Adapt.
4025         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4026         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4027         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4028         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4029         (__pthread_rwlock_wrlock): Adapt.
4030         * nptl/tst-rwlock10.c: Adapt.
4031         * nptl/tst-rwlock11.c: Adapt.
4032         * nptl/tst-rwlock17.c: New file.
4033         * nptl/tst-rwlock18.c: New file.
4034         * nptl/tst-rwlock19.c: New file.
4035         * nptl/tst-rwlock2b.c: New file.
4036         * nptl/tst-rwlock8.c: Adapt.
4037         * nptl/tst-rwlock9.c: Adapt.
4038         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4039         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4040         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4041         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4042         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4043         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4044         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4045         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4046         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4047         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4048         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4049         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4050         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4051         (pthread_rwlock_t): Adapt.
4052         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4053         (pthread_rwlock_t): Adapt.
4054         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4055         * nptl/nptl-printers.py (): Adapt.
4056         * nptl/nptl_lock_constants.pysym: Adapt.
4057         * nptl/test-rwlock-printers.py: Adapt.
4058         * nptl/test-rwlockattr-printers.c: Adapt.
4059         * nptl/test-rwlockattr-printers.py: Adapt.
4061 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4063         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4064         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4065         (fma_test_data): Likewise.
4066         (hypot_test_data): Likewise.
4067         (log1p_test_data): Likewise.
4068         (modf_test_data): Likewise.
4069         (pow_test_data): Likewise.
4070         (remainder_test_data): Likewise.
4071         (remquo_test_data): Likewise.
4072         (scalb_test_data): Likewise.
4073         (scalbn_test_data): Likewise.
4074         (scalbln_test_data): Likewise.
4075         * math/gen-libm-test.pl (parse_args): Transform
4076         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4077         on the rounding mode.
4079 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4081         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4082         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4083         and those that can underflow to zero.
4084         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4085         add others.
4086         * math/auto-libm-test-out: Regenerated.
4088         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4089         supported.
4090         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4091         modes support if not supported.
4093         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4094         Add libc.so PLT entry.
4095         (__tls_get_addr): Make ld.so PLT entry optional.
4097 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4099         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4100         * string/bits/string3.h: ... here.
4102 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4104         [BZ #21028]
4105         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4106         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4107         if EXCEPTION_TESTS returns false.
4109 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4111         [BZ #20558]
4112         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4113         strings_fortified.h.
4114         [__USE_MISC] (bzero): Likewise.
4115         [__USE_MISC] (explicit_bzero): Likewise.
4116         * string/strings.h: Include strings_fortified.h.
4117         * string/Makefile (headers): Add strings_fortified.h.
4118         * string/bits/strings_fortified.h: New file.
4119         * include/bits/strings_fortified.h: Likewise.
4121 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4123         * elf/tst-tls13.c (TIMEOUT): Remove.
4124         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4125         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4126         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4127         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4128         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4130         [BZ #21026]
4131         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4132         (readahead): New syscall entry.
4134 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4136         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4137         around tests of strncat with large sizes.
4139         * malloc/tst-malloc.c: Include <libc-internal.h>.
4140         (do_test): Disable -Walloc-size-larger-than= around tests of
4141         malloc with negative sizes.
4142         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4143         (do_test): Disable -Walloc-size-larger-than= around tests of
4144         malloc and realloc with negative sizes.
4145         * malloc/tst-realloc.c: Include <libc-internal.h>.
4146         (do_test): Disable -Walloc-size-larger-than= around tests of
4147         realloc with negative sizes.
4149         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4150         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4151         allowed to 16 ulps.
4152         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4153         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4154         * math/auto-libm-test-out: Regenerated.
4156 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4158         * math/Makefile (libm-calls): Move wrappers...
4159         (libm-compat-call-auto): Here.
4160         (libm-routines): Add items in libm-compat-calls-auto.
4161         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4162         the filenames of the wrappers that have been renamed.
4163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4166         * math/w_acos.c: Add _compat suffix to filename.
4167         * math/w_acosf.c: Likewise.
4168         * math/w_acosh.c: Likewise.
4169         * math/w_acoshf.c: Likewise.
4170         * math/w_acoshl.c: Likewise.
4171         * math/w_acosl.c: Likewise.
4172         * math/w_asin.c: Likewise.
4173         * math/w_asinf.c: Likewise.
4174         * math/w_asinl.c: Likewise.
4175         * math/w_atan2.c: Likewise.
4176         * math/w_atan2f.c: Likewise.
4177         * math/w_atan2l.c: Likewise.
4178         * math/w_atanh.c: Likewise.
4179         * math/w_atanhf.c: Likewise.
4180         * math/w_atanhl.c: Likewise.
4181         * math/w_cosh.c: Likewise.
4182         * math/w_coshf.c: Likewise.
4183         * math/w_coshl.c: Likewise.
4184         * math/w_exp10.c: Likewise.
4185         * math/w_exp10f.c: Likewise.
4186         * math/w_exp10l.c: Likewise.
4187         * math/w_exp2.c: Likewise.
4188         * math/w_exp2f.c: Likewise.
4189         * math/w_exp2l.c: Likewise.
4190         * math/w_fmod.c: Likewise.
4191         * math/w_fmodf.c: Likewise.
4192         * math/w_fmodl.c: Likewise.
4193         * math/w_hypot.c: Likewise.
4194         * math/w_hypotf.c: Likewise.
4195         * math/w_hypotl.c: Likewise.
4196         * math/w_j0.c: Likewise.
4197         * math/w_j0f.c: Likewise.
4198         * math/w_j0l.c: Likewise.
4199         * math/w_j1.c: Likewise.
4200         * math/w_j1f.c: Likewise.
4201         * math/w_j1l.c: Likewise.
4202         * math/w_jn.c: Likewise.
4203         * math/w_jnf.c: Likewise.
4204         * math/w_jnl.c: Likewise.
4205         * math/w_log10.c: Likewise.
4206         * math/w_log10f.c: Likewise.
4207         * math/w_log10l.c: Likewise.
4208         * math/w_log2.c: Likewise.
4209         * math/w_log2f.c: Likewise.
4210         * math/w_log2l.c: Likewise.
4211         * math/w_log.c: Likewise.
4212         * math/w_logf.c: Likewise.
4213         * math/w_logl.c: Likewise.
4214         * math/w_pow.c: Likewise.
4215         * math/w_powf.c: Likewise.
4216         * math/w_powl.c: Likewise.
4217         * math/w_remainder.c: Likewise.
4218         * math/w_remainderf.c: Likewise.
4219         * math/w_remainderl.c: Likewise.
4220         * math/w_scalb.c: Likewise.
4221         * math/w_scalbf.c: Likewise.
4222         * math/w_scalbl.c: Likewise.
4223         * math/w_sinh.c: Likewise.
4224         * math/w_sinhf.c: Likewise.
4225         * math/w_sinhl.c: Likewise.
4226         * math/w_sqrt.c: Likewise.
4227         * math/w_sqrtf.c: Likewise.
4228         * math/w_sqrtl.c: Likewise.
4229         * math/w_tgamma.c: Likewise.
4230         * math/w_tgammaf.c: Likewise.
4231         * math/w_tgammal.c: Likewise.
4233         * math/w_acos_compat.c: New file copied from above and
4234         adjusted for new #includes path
4235         * math/w_acosf_compat.c: Likewise.
4236         * math/w_acosh_compat.c: Likewise.
4237         * math/w_acoshf_compat.c: Likewise.
4238         * math/w_acoshl_compat.c: Likewise.
4239         * math/w_acosl_compat.c: Likewise.
4240         * math/w_asin_compat.c: Likewise.
4241         * math/w_asinf_compat.c: Likewise.
4242         * math/w_asinl_compat.c: Likewise.
4243         * math/w_atan2_compat.c: Likewise.
4244         * math/w_atan2f_compat.c: Likewise.
4245         * math/w_atan2l_compat.c: Likewise.
4246         * math/w_atanh_compat.c: Likewise.
4247         * math/w_atanhf_compat.c: Likewise.
4248         * math/w_atanhl_compat.c: Likewise.
4249         * math/w_cosh_compat.c: Likewise.
4250         * math/w_coshf_compat.c: Likewise.
4251         * math/w_coshl_compat.c: Likewise.
4252         * math/w_exp10_compat.c: Likewise.
4253         * math/w_exp10f_compat.c: Likewise.
4254         * math/w_exp10l_compat.c: Likewise.
4255         * math/w_exp2_compat.c: Likewise.
4256         * math/w_exp2f_compat.c: Likewise.
4257         * math/w_exp2l_compat.c: Likewise.
4258         * math/w_fmod_compat.c: Likewise.
4259         * math/w_fmodf_compat.c: Likewise.
4260         * math/w_fmodl_compat.c: Likewise.
4261         * math/w_hypot_compat.c: Likewise.
4262         * math/w_hypotf_compat.c: Likewise.
4263         * math/w_hypotl_compat.c: Likewise.
4264         * math/w_j0_compat.c: Likewise.
4265         * math/w_j0f_compat.c: Likewise.
4266         * math/w_j0l_compat.c: Likewise.
4267         * math/w_j1_compat.c: Likewise.
4268         * math/w_j1f_compat.c: Likewise.
4269         * math/w_j1l_compat.c: Likewise.
4270         * math/w_jn_compat.c: Likewise.
4271         * math/w_jnf_compat.c: Likewise.
4272         * math/w_jnl_compat.c: Likewise.
4273         * math/w_log10_compat.c: Likewise.
4274         * math/w_log10f_compat.c: Likewise.
4275         * math/w_log10l_compat.c: Likewise.
4276         * math/w_log2_compat.c: Likewise.
4277         * math/w_log2f_compat.c: Likewise.
4278         * math/w_log2l_compat.c: Likewise.
4279         * math/w_log_compat.c: Likewise.
4280         * math/w_logf_compat.c: Likewise.
4281         * math/w_logl_compat.c: Likewise.
4282         * math/w_pow_compat.c: Likewise.
4283         * math/w_powf_compat.c: Likewise.
4284         * math/w_powl_compat.c: Likewise.
4285         * math/w_remainder_compat.c: Likewise.
4286         * math/w_remainderf_compat.c: Likewise.
4287         * math/w_remainderl_compat.c: Likewise.
4288         * math/w_scalb_compat.c: Likewise.
4289         * math/w_scalbf_compat.c: Likewise.
4290         * math/w_scalbl_compat.c: Likewise.
4291         * math/w_sinh_compat.c: Likewise.
4292         * math/w_sinhf_compat.c: Likewise.
4293         * math/w_sinhl_compat.c: Likewise.
4294         * math/w_sqrt_compat.c: Likewise.
4295         * math/w_sqrtf_compat.c: Likewise.
4296         * math/w_sqrtl_compat.c: Likewise.
4297         * math/w_tgamma_compat.c: Likewise.
4298         * math/w_tgammaf_compat.c: Likewise.
4299         * math/w_tgammal_compat.c: Likewise.
4301         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4302         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4303         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4304         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4305         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4306         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4307         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4308         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4309         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4310         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4311         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4312         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4313         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4314         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4315         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4316         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4317         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4318         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4319         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4320         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4321         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4322         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4323         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4324         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4325         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4326         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4327         * sysdeps/ia64/fpu/w_log.c: Likewise.
4328         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4329         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4330         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4331         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4332         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4333         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4334         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4335         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4336         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4337         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4338         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4339         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4340         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4341         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4342         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4343         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4344         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4345         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4346         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4347         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4348         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4349         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4350         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4351         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4352         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4353         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4354         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4355         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4356         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4357         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4358         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4359         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4360         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4361         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4364         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4366         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4367         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4368         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4369         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4370         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4372         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4373         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4374         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4376         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4378         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4379         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4380         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4381         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4382         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4384         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4385         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4386         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4387         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4388         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4390         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4392         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4394         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4396         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4398         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4400         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4402         Likewise.
4403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4404         Likewise.
4405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4407         Likewise.
4408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4409         Likewise.
4410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4411         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4412         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4413         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4414         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4415         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4416         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4421         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4422         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4423         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4424         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4426         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4427         and adjusted for new #includes path
4428         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4429         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4430         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4431         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4432         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4433         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4434         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4435         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4436         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4437         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4438         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4439         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4440         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4441         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4442         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4443         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4444         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4445         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4446         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4447         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4448         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4449         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4450         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4451         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4452         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4453         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4454         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4455         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4456         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4457         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4458         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4459         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4460         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4461         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4462         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4463         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4464         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4465         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4466         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4467         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4468         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4469         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4470         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4471         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4472         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4473         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4474         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4475         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4476         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4477         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4478         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4479         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4480         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4481         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4482         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4483         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4484         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4485         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4486         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4487         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4488         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4489         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4490         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4491         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4492         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4493         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4494         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4495         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4496         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4497         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4498         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4499         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4500         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4501         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4502         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4503         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4504         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4505         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4506         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4507         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4508         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4509         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4510         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4511         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4512         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4513         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4514         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4515         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4516         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4517         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4518         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4519         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4520         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4521         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4522         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4523         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4524         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4525         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4526         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4528         Likewise.
4529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4530         Likewise.
4531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4532         Likewise.
4533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4534         Likewise.
4535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4536         Likewise.
4537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4538         Likewise.
4539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4540         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4541         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4542         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4543         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4544         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4546         Likewise.
4547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4548         Likewise.
4549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4550         Likewise.
4551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4552         Likewise.
4553         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4554         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4555         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4556         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4558 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4560         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4561         __jmp_buf_internal_tag.
4563         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4564         preserve NaN payload if [__mips_nan2008].
4565         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4567         [BZ #21022]
4568         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4570 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4572         * sysdeps/i386/fpu/libm-test-ulps: Update.
4574 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4576         * sysdeps/ia64/strcat.c: Remove file.
4577         * sysdeps/powerpc/strcat.c: Likewise.
4578         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4579         C implementation.
4580         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4581         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4583 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4584             Steven Munroe  <sjmunroe@us.ibm.com>
4585             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4587         [BZ #20822]
4588         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4589         (__lll_lock_elision): Access adapt_count via C11 atomics.
4590         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4591         (__lll_trylock_elision): Likewise.
4592         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4593         (__lll_unlock_elision):  Update adapt_count variable inside the
4594         critical section using C11 atomics.
4596 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4598         * math/test-fenvinline.c (do_test): Disable tests of raised
4599         exceptions if !EXCEPTION_TESTS (FLOAT).
4601 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4603         [BZ #19390]
4604         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4605         maximum string size.
4606         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4607         in pointer addition.
4608         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4609         Likewise.
4611 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4613         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4614         passed to tst-ldconfig-X.sh.
4616 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4618         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4620 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #21019]
4623         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4624         New syscall entry.
4625         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4626         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4627         lseek.
4629         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4630         power4 glibc for powerpc-linux-gnu.
4632 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4634         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4635         semctl.
4637 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4639         * math/test-nearbyint-except.c: Include <stdbool.h>.
4640         (any_supported): New variable.
4641         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4642         set any_supported.
4643         (do_test): Return 77 if no floating-point type supported
4644         exceptions.
4646         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4647         condition on [__mips_hard_float].
4649 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4651         [BZ #21014]
4652         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4653         in pointer addition.
4654         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4656 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4658         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4659         new condvar.
4661 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4663         * scripts/build-many-glibcs.py (Context.checkout): Default
4664         binutils version to 2.28 branch.
4666 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4668         * support/support_format_netent.c (support_format_netent): Work
4669         around alpha struct netent definition difference.
4671 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4673         * support/xwrite.c (xwrite): Use %td for pointer difference.
4675 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4677         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4678         have-tunables only.
4679         (tests-static): Add tst-malloc-usable-static-tunables for
4680         have-tunables only.
4682 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4684         * scripts/config.guess: Update to version 2017-01-01.
4685         * scripts/config.sub: Update to version 2017-01-01.
4687         * NEWS: Update copyright dates.
4688         * catgets/gencat.c (print_version): Likewise.
4689         * csu/version.c (banner): Likewise.
4690         * debug/catchsegv.sh: Likewise.
4691         * debug/pcprofiledump.c (print_version): Likewise.
4692         * debug/xtrace.sh (do_version): Likewise.
4693         * elf/ldconfig.c (print_version): Likewise.
4694         * elf/ldd.bash.in: Likewise.
4695         * elf/pldd.c (print_version): Likewise.
4696         * elf/sotruss.sh: Likewise.
4697         * elf/sprof.c (print_version): Likewise.
4698         * iconv/iconv_prog.c (print_version): Likewise.
4699         * iconv/iconvconfig.c (print_version): Likewise.
4700         * locale/programs/locale.c (print_version): Likewise.
4701         * locale/programs/localedef.c (print_version): Likewise.
4702         * login/programs/pt_chown.c (print_version): Likewise.
4703         * malloc/memusage.sh (do_version): Likewise.
4704         * malloc/memusagestat.c (print_version): Likewise.
4705         * malloc/mtrace.pl: Likewise.
4706         * manual/libc.texinfo: Likewise.
4707         * nptl/version.c (banner): Likewise.
4708         * nscd/nscd.c (print_version): Likewise.
4709         * nss/getent.c (print_version): Likewise.
4710         * nss/makedb.c (print_version): Likewise.
4711         * posix/getconf.c (main): Likewise.
4712         * scripts/test-installation.pl: Likewise.
4713         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4715         * All files with FSF copyright notices: Update copyright dates
4716         using scripts/update-copyrights.
4717         * intl/plural.c: Regenerated.
4718         * locale/programs/charmap-kw.h: Likewise.
4719         * locale/programs/locfile-kw.h: Likewise.
4721 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4723         [BZ #20593]
4724         Update DNS RR type definitions.
4725         * scripts/gen-rrtypes.py: New file.
4726         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4727         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4728         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4729         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4730         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4731         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4732         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4733         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4734         ns_t_ta, ns_t_dlv.
4735         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4736         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4737         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4738         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4739         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4740         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4741         Define.
4742         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4743         entry for ns_t_zxfr.
4745 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4747         [BZ #18784]
4748         CVE-2015-5180
4749         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4750         T_UNSPEC.  Adjust value.
4751         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4752         * resolv/res_query.c (__libc_res_nquery): Likewise.
4753         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4754         QTYPEs.
4755         * resolv/tst-resolv-qtypes.c: New file.
4756         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4757         (tst-resolv-qtypes): Link against libresolv and libpthread.
4759 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4761         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4763 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4765         * manual/tunables.texi: New chapter.
4766         * manual/Makefile (chapters): Add it.
4767         * manual/probes.texi (@node): Point to the Tunables chapter.
4769         * Makeconfig (have-tunables): Check for non-negative instead
4770         of positive.
4771         * configure.ac: Add 'valstring' as a valid value for
4772         --enable-tunables.
4773         * configure: Regenerate.
4774         * elf/Makefile (have-tunables): Check for non-negative instead
4775         of positive.
4776         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4777         dl-tunables.c.
4778         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4779         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4780         (tunables_strdup): Likewise.
4781         (disable_tunables): Likewise.
4782         (parse_tunables): Likewise.
4783         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4784         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4785         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4786         (TUNABLES_FRONTEND_yes): New macro, define as
4787         TUNABLES_FRONTEND_valstring by default.
4788         * manual/install.texi: Document new acceptable values for
4789         --enable-tunables.
4790         * INSTALL: Regenerate.
4792         * config.make.in (have-loop-to-function): Define.
4793         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4794         -fno-tree-loop-distribute-patterns.
4795         * elf/dl-tunables.c: Include libc-internals.h.
4796         (GLIBC_TUNABLES): New macro.
4797         (tunables_strdup): New function.
4798         (parse_tunables): New function.
4799         (min_strlen): New function.
4800         (__tunables_init): Use the new functions and macro.
4801         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4802         * malloc/tst-malloc-usable-tunables.c: New test case.
4803         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4804         * malloc/Makefile (tests, tests-static): Add tests.
4806         * manual/install.texi: Add --enable-tunables option.
4807         * INSTALL: Regenerate.
4808         * README.tunables: New file.
4809         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4810         (before-compile): Generate dl-tunable-list.h early.
4811         * config.h.in: Add HAVE_TUNABLES.
4812         * config.make.in: Add have-tunables.
4813         * configure.ac: Add --enable-tunables option.
4814         * configure: Regenerate.
4815         * csu/init-first.c (__libc_init_first): Move
4816         __libc_init_secure earlier...
4817         * csu/init-first.c (LIBC_START_MAIN):... to here.
4818         Include dl-tunables.h, libc-internal.h.
4819         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4820         binaries.
4821         * elf/Makefile (dl-routines): Add dl-tunables.
4822         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4823         namespace.
4824         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4825         only when !HAVE_TUNABLES.
4826         * elf/rtld.c (process_envvars): Likewise.
4827         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4828         (_dl_sysdep_start): Call __tunables_init.
4829         * elf/dl-tunable-types.h: New file.
4830         * elf/dl-tunables.c: New file.
4831         * elf/dl-tunables.h: New file.
4832         * elf/dl-tunables.list: New file.
4833         * malloc/tst-malloc-usable-static.c: New test case.
4834         * malloc/Makefile (tests-static): Add it.
4835         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4836         Define TUNABLE_NAMESPACE.
4837         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4838         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4839         callback functions.
4840         (ptmalloc_init): Set tunable values.
4841         * scripts/gen-tunables.awk: New file.
4842         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4843         (_dl_sysdep_start): Call __tunables_init.
4845 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4847         * resolv/resolv.h (RES_BLAST): Deprecate.
4848         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4849         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4850         to RES_BLAST.
4852 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4854         [BZ #19582]
4855         Deprecate RES_USE_INET6.
4856         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4857         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4858         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4859         RES_USE_INET6.
4860         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4861         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4862         (_nss_nisplus_gethostbyaddr_r): Likewise.
4863         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4864         of res_use_inet6.
4865         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4866         instead of RES_USE_INET6.
4867         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4868         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4869         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4870         Likewise.
4871         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4872         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4873         Likewise.
4874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4875         (_nss_dns_gethostbyname_r): Likewise.
4876         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4877         alternate RES_USE_INET6 handling.
4878         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4879         instead of RES_USE_INET6.
4880         * resolv/res_init.c (res_setoptions): Likewise.
4881         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4882         * resolv/resolv-internal.h: New file.
4883         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4884         make the deprecation warning non-fatal.
4885         * resolv/README (Using the resolver in multi-threaded code): Drop
4886         reference to RES_USE_INET6.
4887         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4888         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4890 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4892         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4893         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4894         tst-resolv-search.
4895         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4896         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4897         with libresolv and libpthread.
4898         * resolv/tst-bug18665.c: New file.
4899         * resolv/tst-bug18665-tcp: Likewise.
4900         * resolv/tst-res_use_inet6: Likewise.
4901         * resolv/tst-resolv-basic: Likewise.
4902         * resolv/tst-resolv-network: Likewise.
4903         * resolv/tst-resolv-search: Likewise.
4904         * support/Makefile (libsupport-routines): Add check_addrinfo,
4905         check_dns_packet, check_hostent, check_netent, resolv_test,
4906         support_format_address_family, support_format_addrinfo,
4907         support_format_dns_packet, support_format_herrno,
4908         support_format_hostent, support_format_netent, support_run_diff,
4909         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4910         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4911         xstrdup, xwrite.
4912         * support/check_addrinfo.c: New file.
4913         * support/check_dns_packet.c: Likewise.
4914         * support/check_hostent.c: Likewise.
4915         * support/check_netent.c: Likewise.
4916         * support/check_nss.h: Likewise.
4917         * support/format_nss.h: Likewise.
4918         * support/resolv_test.c: Likewise.
4919         * support/resolv_test.h: Likewise.
4920         * support/run_diff.h: Likewise.
4921         * support/support_format_address_family.c: Likewise.
4922         * support/support_format_addrinfo.c: Likewise.
4923         * support/support_format_dns_packet.c: Likewise.
4924         * support/support_format_herrno.c: Likewise.
4925         * support/support_format_hostent.c: Likewise.
4926         * support/support_format_netent.c: Likewise.
4927         * support/support_run_diff.c: Likewise.
4928         * support/xaccept.c: Likewise.
4929         * support/xbind.c: Likewise.
4930         * support/xconnect.c: Likewise.
4931         * support/xfclose.c: Likewise.
4932         * support/xfopen.c: Likewise.
4933         * support/xgetsockname.c: Likewise.
4934         * support/xlisten.c: Likewise.
4935         * support/xmemstream.c: Likewise.
4936         * support/xmemstream.h: Likewise.
4937         * support/xpoll.c: Likewise.
4938         * support/xpthread_once.c: Likewise.
4939         * support/xrecvfrom.c: Likewise.
4940         * support/xsendto.c: Likewise.
4941         * support/xsetsockopt.c: Likewise.
4942         * support/xstdio.h: Likewise.
4943         * support/xstrdup.c: Likewise.
4944         * support/support.h (xstrdup): Declare.
4945         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4946         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4947         * support/xthread.h (xpthread_once): Likwise.
4948         * support/xunistd.h (xwrite): Declare.
4950 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4952         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4953         (test_verbose): Declare.
4954         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4955         * support/support_test_main.c (default_options): Likewise.
4956         (usage, support_test_main): Handle 'v'.
4957         (test_verbose): Define.
4958         * support/tst-support_record_failure.c (do_test): Use
4959         test_verbose.
4960         * support/tst-support_record_failure-2.sh (different_status): Add
4961         --verbose test.
4963 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4965         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4966         test failures are recorded.
4967         * support/check.c (support_print_failure_impl): Call
4968         support_record_failure.
4969         (support_exit_failure_impl): Call support_record_failure if status
4970         indicates failure.
4971         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4972         * support/xasprintf.c (xasprintf): Likewise.
4973         * support/xfork.c (xfork): Likewise.
4974         * support/xpthread_check_return.c (xpthread_check_return):
4975         Likewise.
4976         * support/xsocket.c (xsocket): Likeweise.
4977         * support/xwaitpid.c (xwaitpid): Likewise.
4978         * support/support_record_failure.c (struct test_failures): Adjust
4979         to coding style.
4980         * support/support_test_verify_impl.c (support_test_verify_impl):
4981         Adjust error messages.
4982         * support/tst-support_record_failure-2.sh (different_status):
4983         Adjust error messages.
4985 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4987         * support/namespace.h: New file.
4988         * support/support_become_root.c: Likewise.
4989         * support/support_enter_network_namespace.c: Likewise.
4990         * support/tst-support-namespace.c: Likewise.
4991         * support/xsocket.c: Likewise.
4992         * support/xsocket.h: Likewise.
4993         * support/Makefile (libsupport-routines): Add support_become_root,
4994         support_enter_network_namespace, xsocket.
4995         (tests): Add tst-support-namespace.
4997 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4999         [BZ #17252]
5000         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5001         __USE_GNU.
5003 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5005         [BZ #13165]
5006         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5007         use new algorithm.
5008         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5009         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5010         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5011         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5012         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5013         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5014         __condvar_cleanup_waiting, __condvar_dec_grefs,
5015         __pthread_cond_wait_common): New.
5016         (__condvar_cleanup): Remove.
5017         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5018         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5019         Likewise.
5020         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5021         Likewise.
5022         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5023         * nptl/tst-cond1.c: Add comment.
5024         * nptl/tst-cond20.c (do_test): Adapt.
5025         * nptl/tst-cond22.c (do_test): Likewise.
5026         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5027         structure.
5028         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5029         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5030         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5031         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5032         Likewise.
5033         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5034         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5035         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5036         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5037         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5038         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5041         Likewise.
5042         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5043         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5044         (COND_CLOCK_BITS): Adapt.
5045         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5046         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5047         __PTHREAD_COND_SHARED_MASK): New.
5048         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5049         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5050         * nptl/nptl_lock_constants.pysym: Adapt.
5051         * nptl/test-cond-printers.py: Adapt.
5052         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5053         cond_compat_check_and_clear): Adapt.
5054         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5055         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5056         (__pthread_cond_timedwait): ... and move here.
5057         * nptl/DESIGN-condvar.txt: Remove file.
5058         * nptl/lowlevelcond.sym: Likewise.
5059         * nptl/pthread_cond_timedwait.c: Likewise.
5060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5067         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5068         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5069         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5070         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5074         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5077 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5079         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5080         (fromfp): New declaration.
5081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5084         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5089         * math/math.h: Include <bits/types.h>.
5090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5091         constant and macro.
5092         (FP_INT_DOWNWARD): Likewise.
5093         (FP_INT_TOWARDZERO): Likewise.
5094         (FP_INT_TONEARESTFROMZERO): Likewise.
5095         (FP_INT_TONEAREST): Likewise.
5096         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5097         (fromfpf): Likewise.
5098         (fromfpl): Likewise.
5099         (ufromfp): Likewise.
5100         (ufromfpf): Likewise.
5101         (ufromfpl): Likewise.
5102         (fromfpx): Likewise.
5103         (fromfpxf): Likewise.
5104         (fromfpxl): Likewise.
5105         (ufromfpx): Likewise.
5106         (ufromfpxf): Likewise.
5107         (ufromfpxl): Likewise.
5108         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5109         s_fromfpxF and s_ufromfpxF.
5110         * math/gen-fromfp-tests.py: New file.
5111         * math/gen-fromfp-tests-inputs: Likewise.
5112         * math/libm-test.inc: Include <stdint.h>
5113         (check_intmax_t): New function.
5114         (check_uintmax_t): Likewise.
5115         (struct test_fiu_M_data): New type.
5116         (struct test_fiu_U_data): Likewise.
5117         (RUN_TEST_fiu_M): New macro.
5118         (RUN_TEST_LOOP_fiu_M): Likewise.
5119         (RUN_TEST_fiu_U): Likewise.
5120         (RUN_TEST_LOOP_fiu_U): Likewise.
5121         (fromfp_test_data): New array.
5122         (fromfp_test): New function.
5123         (fromfpx_test_data): New array.
5124         (fromfpx_test): New function.
5125         (ufromfp_test_data): New array.
5126         (ufromfp_test): New function.
5127         (ufromfpx_test_data): New array.
5128         (ufromfpx_test): New function.
5129         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5130         ufromfpx_test.
5131         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5132         characters.
5133         * math/test-tgmath-ret.c: Include <stdint.h>.
5134         (rm): New variable.
5135         (width): Likewise.
5136         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5137         called function.
5138         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5139         CHECK_RET_CONST_TYPE.
5140         (CHECK_RET_CONST_DOUBLE): Likewise.
5141         (CHECK_RET_CONST_LDOUBLE): Likewise.
5142         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5143         macros.
5144         (fromfp): New CHECK_RET_CONST call.
5145         (ufromfp): Likewise.
5146         (fromfpx): Likewise.
5147         (ufromfpx): Likewise.
5148         (do_test): Call check_return_fromfp, check_return_ufromfp,
5149         check_return_fromfpx and check_return_ufromfpx.
5150         * math/test-tgmath.c: Include <stdint.h>
5151         (NCALLS): Increase to 138.
5152         (F(compile_test)): Initialize i.  Call fromfp functions.
5153         (F(fromfp)): New function.
5154         (F(fromfpx)): Likewise.
5155         (F(ufromfp)): Likewise.
5156         (F(ufromfpx)): Likewise.
5157         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5158         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5159         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5160         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5161         ufromfpxl.
5162         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5163         ufromfp and ufromfpx.
5164         * math/fromfp.h: New file.
5165         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5166         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5167         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5168         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5169         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5170         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5171         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5172         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5173         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5174         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5175         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5176         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5177         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5178         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5179         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5180         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5181         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5182         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5187         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5188         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5189         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5191         ufromfp, fromfpx and ufromfpx.
5192         (CFLAGS-nldbl-fromfp.c): New variable.
5193         (CFLAGS-nldbl-fromfpx.c): Likewise.
5194         (CFLAGS-nldbl-ufromfp.c): Likewise.
5195         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5196         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5197         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5198         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5199         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5200         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5201         * sysdeps/nacl/libm.abilist: Update.
5202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5215         Likewise.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5217         Likewise.
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5219         Likewise.
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5221         Likewise.
5222         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5228         Likewise.
5229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5232         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5235 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5237         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5238         compat-gethnamaddr.
5239         (CPPFLAGS): Remove.
5240         * resolv/gethnamaddr.c: Rename ...
5241         * resolv/compat-gethnamaddr.c: ... to this file.
5242         (_endhtent): Make static.
5243         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5244         symbol.
5245         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5246         compat symbol.
5247         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5248         symbol.
5249         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5250         Turn into compat symbol.
5251         * include/resolv.h (_endhtent): Remove declaration.
5253 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5255         * bits/types.h (__intmax_t): New typedef.
5256         (__uintmax_t): Likewise.
5257         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5258         (intmax_t): Define using __intmax_t.
5259         (uintmax_t): Define using __uintmax_t.
5261         * support/Makefile (tests-special): Make definition conditional on
5262         [$(run-built-tests) = yes].
5263         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5264         on [$(run-built-tests) = yes].
5266 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5268         * Rules (tests): Add tests-printers-programs to tests to be
5269         built.
5271 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5273         * sysvipc/Makefile (tests): Add test-sysvshm.
5274         * sysvipc/test-sysvshm.c: New file.
5276         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5277         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5278         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5279         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5280         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5281         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5282         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5283         Likewise.
5284         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5285         Likewise.
5286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5287         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5288         is defined.
5290         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5291         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5292         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5293         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5294         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5295         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5296         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5297         Likewise.
5298         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5299         Likewise.
5300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5301         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5302         defined.
5304         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5305         oldshmctl.
5306         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5307         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5308         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5309         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5310         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5311         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5312         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5313         Likewise.
5314         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5315         Likewise.
5316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5317         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5318         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5319         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5320         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5321         implementation.
5322         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5323         if it is defined.
5325         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5326         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5327         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5328         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5329         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5330         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5337         Define to __NR_osf_shmat.
5338         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5339         defined.
5341         * sysvipc/Makefile (tests): Add test-sysvsem.
5342         * sysvipc/test-sysvsem.c: New file.
5344         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5345         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5346         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5349         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5350         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5351         Likewise.
5352         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5355         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5356         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5357         add a comment about s390 syscall difference from default one.
5358         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5359         syscall if it is defined.
5361         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5362         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5363         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5364         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5365         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5366         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5367         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5372         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5373         defined.
5375         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5376         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5377         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5378         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5379         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5380         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5381         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5382         Likewise.
5383         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5384         Likewise.
5385         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5386         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5387         if it is defined.
5389         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5390         oldsemctl.
5391         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5392         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5393         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5394         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5395         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5396         implementation.
5397         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5398         syscall if it is defined.
5399         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5400         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5401         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5402         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5403         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5404         Likewise.
5405         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5407         * sysvipc/Makefile (tests): Add test-sysvmsg.
5408         * sysvipc/test-sysvmsg.c: New file.
5409         * support/check.h (FAIL_UNSUPPORTED): New define.
5411         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5412         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5413         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5414         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5415         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5416         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5417         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5418         Likewise.
5419         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5420         Likewise.
5421         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5422         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5423         define.
5425         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5426         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5427         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5428         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5429         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5430         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5431         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5434         Likewise.
5435         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5436         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5437         if defined.
5439         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5440         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5441         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5442         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5443         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5444         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5445         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5446         Likewise.
5447         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5448         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5449         Likewise.
5450         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5451         if defined.
5452         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5454         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5455         oldmsgctl.
5456         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5457         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5458         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5459         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5460         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5461         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5462         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5463         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5464         Likewise.
5465         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5466         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5467         implementation.
5468         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5469         if defined.
5471         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5472         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5473         definition and define its own.
5474         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5475         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5476         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5477         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5478         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5479         definitions to common header.
5480         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5481         operation from ipc_ops.h.
5483         * sysdeps/unix/sysv/linux/kernel-features.h
5484         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5485         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5486         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5488         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5490         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5491         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5492         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5493         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5494         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5495         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5496         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5497         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5498         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5500 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5502         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5503         overflow in pointer addition.
5505 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5507         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5508         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5510         (strchr): Add __strchr_power8 to list of strchr functions.
5511         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5512         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5513         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5514         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5515         (strchr): Add __strchr_power8 to ifunc list.
5516         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5517         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5518         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5519         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5521 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5523         * support/Makefile (libsupport-routines): Add
5524         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5525         (tests): Add tst-support_record_failure.
5526         (tests-special): tst-support_record_failure-2.
5527         (tst-support_record_failure-2.out): Depend on
5528         tst-support_record_failure-2.sh and tst-support_record_failure.
5529         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5530         (support_test_verify_impl, support_record_failure)
5531         (support_report_failure, support_report_failure_reset): Declare.
5532         * support/support_test_main.c (adjust_exit_status): New function.
5533         (support_test_main): Call it to incorporate record test failures.
5534         * support/support_test_verify_impl.c: New file.
5535         * support/support_record_failure.c: Likewise.
5536         * support/tst-support_record_failure.c: Likewise.
5537         * support/tst-support_record_failure-2.sh: Likewise.
5538         * support/xunistd.h: Likewise.
5539         * support/xfork.c: Likewise.
5540         * support/xwaitpid.c: Likewise.
5542 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5544         * scripts/check-c++-types.sh: Add comments.
5546 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5548         [BZ #19514]
5549         * resolv/res_send.c: Fix typo in comment.
5550         * sysdeps/i386/i386-mcount.S: Likewise.
5551         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5553         * sysdeps/sparc/sparc-mcount.S: Likewise.
5555 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5557         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5558         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5559         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5560         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5561         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5562         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5563         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5564         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5566 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5568         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5570 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5572         [BZ #17252]
5573         * posix/unistd.h (getentropy): Declare.
5575 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5577         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5578         Remove.
5579         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5580         (cmd): Remove spoof, nospoof, spoofalert.
5581         (parse_line): Ignore spoof-related lines.
5582         (do_init): Do not process RESOLV_SPOOF_CHECK.
5584 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5586         [BZ #20964]
5587         sunrpc: Always obtain AF_INET addresses from NSS.
5588         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5589         * sunrpc/rpc_gethostbyname.c: New file.
5590         * sunrpc/Makefile (routines): Add it.
5591         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5592         * sunrpc/clnt_simp.c (callrpc): Likewise.
5593         * sunrpc/getrpcport.c (getrpcport): Likewise.
5595 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5597         * sunrpc/rpcinfo.c: Remove.
5598         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5600 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5602         [BZ #19387]
5603         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5604         addition.
5605         * string/test-memchr.c (do_test): Remove alignment limitation.
5606         (test_main): Add test that trigger BZ #19387.
5608 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5610         [BZ #7065]
5611         Enable stack protectore if requested by ./configure.
5612         * Makeconfig (+stack-protector): New variable.
5613         (+cflags): Use it.
5615 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5617         [BZ #7065]
5618         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5619         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5620         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5621         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5622         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5624 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5626         [BZ #7065]
5627         * login/Makefile (pt_chown-cflags): Remove.
5628         * nscd/Makefile (CFLAGS-nscd): Likewise.
5629         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5631 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5633         [BZ #7065]
5634         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5635         non-libc-linking testcase.
5637 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5638             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5639             Florian Weimer  <fweimer@redhat.com>
5641         [BZ #7065]
5642         PLT avoidance for __stack_chk_fail*.
5643         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5644         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5645         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5646         __stack_chk_fail_local alias.
5647         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5648         (__stack_chk_fail): Turn into hidden reference to
5649         __stack_chk_fail_local.
5651 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5653         [BZ #7065]
5654         * configure.ac: Add check for unsupported stack-protection level.
5655         (libc_cv_predef_stack_protector): Remove.
5656         (no_ssp): New variable.
5657         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5658         (stack_protector): Set to -fno-stack-protector similarly.
5659         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5660         (libc_cv_asm_set_directive): Likewise.
5661         (libc_cv_protected_data): Likewise.
5662         (libc_cv_z_combreloc): Likewise.
5663         (libc_cv_hashstyle): Likewise.
5664         (libc_cv_has_glob_dat): Likewise.
5665         (libc_cv_output_format): Likewise.
5666         (libc_cv_output_format): Likewise.
5667         (libc_cv_ehdr_start): Likewise.
5668         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5669         (LIBC_LINKER_FEATURE): Likewise.
5670         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5672 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5674         [BZ #7065]
5675         * elf/Makefile (dummy-stack-chk-fail): New.
5676         (librtld.map): Use it.
5678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5680         [BZ #7065]
5681         Compile the dynamic linker without stack protection.
5682         * elf/Makefile (elide-stack-protector): New.
5683         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5684         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5685         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5686         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5688 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5690         [BZ #7065]
5691         * config.make.in (have-ssp, no-stack-protector): New.
5692         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5693         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5694         (CFLAGS-sbrk.op): Likewise.
5695         (CFLAGS-brk.o): Likewise.
5696         (CFLAGS-brk.op): Likewise.
5697         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5698         (CFLAGS-wordcopy.c): Likewise.
5700 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5702         [BZ #7065]
5703         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5704         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5705         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5706         (__ifunc_resolver): Use it.
5707         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5708         inhibit_stack_protector.
5709         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5710         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5711         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5712         (foo_protected_ifunc): Likewise.
5713         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5714         (foo_protected_ifunc): Likewise.
5715         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5716         * sysdeps/nacl/nacl_interface_query.c
5717         (nacl_interface_query_ifunc): Likewise.
5718         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5719         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5720         Likewise.
5721         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5722         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5723         the generated vDSO syscall resolver.
5725 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5726             Florian Weimer  <fweimer@redhat.com>
5728         [BZ #7065]
5729         Initialize the stack guard earlier when linking statically.
5730         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5731         (__pthread_initialize_minimal): Declare.
5732         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5733         declaration.
5734         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5735         stack canary and apply_irel initialization up.  Call
5736         __pthread_initialize_minimal only if linked in.
5737         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5738         constant values.
5739         (__pthread_initialize_minimal): Remove.
5740         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5741         (__pthread_initialize_minimal_internal): Do not call
5742         __libc_setup_tls.
5744 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5746         [BZ #7065]
5747         * configure.ac (libc_cv_ssp): Move up.
5748         (libc_cv_ssp_strong): Likewise.
5749         (libc_cv_ssp_all): New.
5750         (stack_protector): Augment, adding -fstack-protector-all.
5751         (no_stack_protector): New.
5752         (STACK_PROTECTOR_LEVEL): New.
5753         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5754         * manual/install.texi (--enable-stack-protector): Document it.
5755         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5757 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5759         * README.pretty-printers: Must specify CPPFLAGS-* also.
5760         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5761         (CPPFLAGS-test-mutex-printers.c): Define.
5762         (CPPFLAGS-test-condattr-printers.c): Define.
5763         (CPPFLAGS-test-cond-printers.c): Define.
5764         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5765         (CPPFLAGS-test-rwlock-printers.c): Define.
5767         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5768         (tests): Add tst-cancel-getpwuid_r.
5769         * nss/tst-cancel-getpwuid_r.c: New file.
5771         [BZ #11941]
5772         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5773         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5774         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5775         tst-nodelete-dlclose.
5776         (modules-names): Add tst-nodelete-dlclose-dso and
5777         tst-nodelete-dlclose-plugin.
5778         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5779         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5780         ($(objpfx)tst-nodelete-dlclose): Define.
5781         ($(objpfx)tst-nodelete-dlclose.out): Define.
5783 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5785         * scripts/test_printers_common.py: Log GDB output in case of
5786         Python detection failure.
5788 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5790         * configure.ac: Check for python3 or python.
5791         * configure: Regenerated.
5792         * config.make.in (PYTHON): New variable.
5793         * benchtests/Makefile: Don't define PYTHON.
5794         (bench): Define target only if PYTHON was defined.
5795         * Rules: Don't define PYTHON.
5796         Define pretty printer targets only if PYTHON was defined.
5797         (tests-printers): Add to tests-unsupported if PYTHON is not
5798         found.
5799         (python-flags, python-invoke): Remove.
5800         (tests-printers-out): Use PYTHON instead of python-invoke.
5802 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5804         [BZ #20978]
5805         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5806         Compare name == NULL, not name != NULL.
5808         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5809         trailing whitespace removed.
5810         * scripts/config.guess: Update to version 2016-10-02.
5811         * scripts/config.sub: Update to version 2016-11-19.
5812         * scripts/install-sh: Update to version 2016-01-11.22.
5813         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5814         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5816 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5818         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5819         (do_one_test) Restore original string so iteration works.
5820         * string/string-inlines.c (do_test): Create better input strings.
5821         (test_main) Reduce number of testruns.
5822         * string/string-inlines.c (__old_strsep_1c): New function.
5823         (__old_strsep_2c): Likewise.
5824         (__old_strsep_3c): Likewise.
5825         * string/strsep.c (__strsep): Remove case of small delim string.
5826         Call strcspn directly rather than strpbrk.
5827         * string/bits/string2.h (__strsep): Remove define.
5828         (__strsep_1c): Remove.
5829         (__strsep_2c): Remove.
5830         (__strsep_3c): Remove.
5831         (strsep): Remove.
5832         * sysdeps/unix/sysv/linux/internal_statvfs.c
5833         (__statvfs_getflags): Rename to __strsep.
5835 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5837         * csu/libc-tls.c (_dl_tls_setup): Remove.
5838         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5839         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5840         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5842 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5844         [BZ #7065]
5845         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5846         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5848 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5849             Florian Weimer  <fweimer@redhat.com>
5851         [BZ #7065]
5852         * csu/Makefile (tests): Empty assignment and document it.
5853         (tests-static): Remove.
5854         * csu/tst-empty.c: Move to...
5855         * misc/tst-empty.c: ... here.  Switch to new test driver.
5856         * csu/tst-atomic.c: Move to...
5857         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5858         * csu/tst-atomic-long.c: Move to...
5859         * misc/tst-atomic-long.c: ... here.
5860         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5861         tst-atomic-long.
5862         (tests-static): Add tst-empty.
5864 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5866         * manual/nss.texi: Change incorrect @vtable to @table.
5867         * manual/arith.texi: Convert @tables of variables to @vtables
5868         and remove unnecessary indexing.
5869         * manual/filesys.texi: Likewise.
5870         * manual/llio.texi: Likewise.
5871         * manual/memory.texi: Likewise.
5872         * manual/process.texi: Likewise.
5873         * manual/resource.texi: Likewise.
5874         * manual/search.texi: Likewise.
5875         * manual/signal.texi: Likewise.
5876         * manual/socket.texi: Likewise.
5877         * manual/stdio.texi: Likewise.
5878         * manual/sysinfo.texi: Likewise.
5879         * manual/syslog.texi: Likewise.
5880         * manual/terminal.texi: Likewise.
5881         * manual/time.texi: Likewise.
5882         * manual/users.texi: Likewise.
5884 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5886         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5887         (roundeven): New declaration.
5888         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5889         macro.
5890         * math/Versions (roundeven): New libm symbol at version
5891         GLIBC_2.25.
5892         (roundevenf): Likewise.
5893         (roundevenl): Likewise.
5894         * math/Makefile (libm-calls): Add s_roundevenF.
5895         * math/libm-test.inc (roundeven_test_data): New array.
5896         (roundeven_test): New function.
5897         (main): Call roundeven_test.
5898         * math/test-tgmath.c (NCALLS): Increase to 134.
5899         (F(compile_test)): Call roundeven.
5900         (F(roundeven)): New function.
5901         * manual/arith.texi (Rounding Functions): Document roundeven,
5902         roundevenf and roundevenl.
5903         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5904         * include/math.h (roundeven): Use libm_hidden_proto.
5905         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5906         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5907         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5908         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5909         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5910         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5911         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5912         roundeven.
5913         (CFLAGS-nldbl-roundeven.c): New variable.
5914         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5915         * sysdeps/nacl/libm.abilist: Update.
5916         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5925         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5927         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5931         Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5933         Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5935         Likewise.
5936         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5938         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5940         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5942         Likewise.
5943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5944         Likewise.
5945         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5949 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5951         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5952         preprocessor indentation inside #if.
5954 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5956         * math/libm-test.inc (fmt_ftostr): New function.
5957         (print_float, check_float_internal): Replace some uses of
5958         FTOSTR with uses of fmt_ftostr.
5959         (print_max_error, print_complex_max_error, print_function_ulps)
5960         (print_complex_function_ulps): Remove uses of the macros
5961         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5962         * math/test-double.h (FTOSTR): Define to strfromd.
5963         (PRINTF_EXPR): Delete.
5964         (PRINTF_XEXPR): Likewise.
5965         (PRINTF_NEXPR): Likewise.
5966         * math/test-float.h (FTOSTR): Define to strfromf.
5967         (PRINTF_EXPR): Delete.
5968         (PRINTF_XEXPR): Likewise.
5969         (PRINTF_NEXPR): Likewise.
5970         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5971         (PRINTF_EXPR): Delete.
5972         (PRINTF_XEXPR): Likewise.
5973         (PRINTF_NEXPR): Likewise.
5975 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5977         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5978         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5979         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5980         (__lll_lock_elision): Decrement adapt_count while unlocking
5981         instead of before locking.
5982         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5983         (__lll_trylock_elision): Likewise.
5984         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5985         (__lll_unlock_elision): Likewise.
5987 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5989         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5990         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5991         Use __libc_tbegin_retry macro.
5993 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5995         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5996         Add -msoft-float.
5997         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5998         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5999         Use __libc_t* transaction macros instead of __builtin_t*.
6000         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6001         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6003 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6005         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6006         (__lll_lock_elision): Use atomics to load / store adapt_count.
6007         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6008         (__lll_trylock_elision): Likewise.
6010 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6012         Do not require memset elimination in explicit_bzero test.
6013         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6014         (enum test_expectation): Add NO_EXPECTATIONS.
6015         (subtests): NO_EXPECTATIONS for ordinary clear.
6016         (check_test_buffer): Handle NO_EXPECTATIONS.
6017         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6019 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6021         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6022         (fmaxmag): New declaration.
6023         (fminmag): Likewise.
6024         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6025         macro.
6026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6027         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6028         (fmaxmagf): Likewise.
6029         (fmaxmagl): Likewise.
6030         (fminmag): Likewise.
6031         (fminmagf): Likewise.
6032         (fminmagl): Likewise.
6033         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6034         * math/s_fmaxmag_template.c: New file.
6035         * math/s_fminmag_template.c: Likewise.
6036         * math/libm-test.inc (fmaxmag_test_data): New array.
6037         (fmaxmag_test): New function.
6038         (fminmag_test_data): New array.
6039         (fminmag_test): New function.
6040         (main): Call fmaxmag_test and fminmag_test.
6041         * math/test-tgmath.c (NCALLS): Increase to 132.
6042         (F(compile_test)): Call fmaxmag and fminmag.
6043         (F(fminmag)): New function.
6044         (F(fmaxmag)): Likewise.
6045         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6046         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6047         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6048         fminmag.
6049         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6050         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6051         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6052         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6053         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6054         and fminmag.
6055         (CFLAGS-nldbl-fmaxmag.c): New variable.
6056         (CFLAGS-nldbl-fminmag.c): Likewise.
6057         * sysdeps/nacl/libm.abilist: Update.
6058         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6071         Likewise.
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6073         Likewise.
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6075         Likewise.
6076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6077         Likewise.
6078         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6084         Likewise.
6085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6086         Likewise.
6087         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6091 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6093         [BZ #20973]
6094         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6095         wake-up in robust mutexes.
6096         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6098 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6100         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6101         (CFLAGS-bench-fmaxf.c): New rule.
6102         (CFLAGS-bench-fminf.c): Likewise.
6103         * benchtests/fmaxf-inputs: New file.
6104         * benchtests/fminf-inputs: Likewise.
6106         * benchtests/Makefile (bench-math): Add fmin and fmax.
6107         (CFLAGS-bench-fmax.c): New rule.
6108         (CFLAGS-bench-fmin.c): Likewise.
6109         * benchtests/fmax-inputs: New file.
6110         * benchtests/fmin-inputs: Likewise.
6112         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6113         parenthesis.
6114         (CMDLINE_PROCESS): Define using function instead of macro.
6115         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6116         of test-skeleton.
6117         * benchtests/bench-memchr.c: Likewise.
6118         * benchtests/bench-memcmp.c: Likewise.
6119         * benchtests/bench-memcpy-large.c: Likewise.
6120         * benchtests/bench-memcpy.c: Likewise.
6121         * benchtests/bench-memmem.c: Likewise.
6122         * benchtests/bench-memmove-large.c: Likewise.
6123         * benchtests/bench-memmove.c: Likewise.
6124         * benchtests/bench-memset-large.c: Likewise.
6125         * benchtests/bench-memset.c: Likewise.
6126         * benchtests/bench-rawmemchr.c: Likewise.
6127         * benchtests/bench-strcasecmp.c: Likewise.
6128         * benchtests/bench-strcasestr.c: Likewise.
6129         * benchtests/bench-strcat.c: Likewise.
6130         * benchtests/bench-strchr.c: Likewise.
6131         * benchtests/bench-strcmp.c: Likewise.
6132         * benchtests/bench-strcpy.c: Likewise.
6133         * benchtests/bench-strcpy_chk.c: Likewise.
6134         * benchtests/bench-strlen.c: Likewise.
6135         * benchtests/bench-strncasecmp.c: Likewise.
6136         * benchtests/bench-strncmp.c: Likewise.
6137         * benchtests/bench-strncpy.c: Likewise.
6138         * benchtests/bench-strnlen.c: Likewise.
6139         * benchtests/bench-strpbrk.c: Likewise.
6140         * benchtests/bench-strrchr.c: Likewise.
6141         * benchtests/bench-strsep.c: Likewise.
6142         * benchtests/bench-strspn.c: Likewise.
6143         * benchtests/bench-strstr.c: Likewise.
6144         * benchtests/bench-strtok.c: Likewise.
6146 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6148         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6149         stepping identification.
6150         (init_cpu_features): Add handle of Haswell.
6152 2016-11-25  Jim Meyering  <meyering@fb.com>
6154         [BZ #20386]
6155         Let gcc detect assert(a = 1) errors.
6156         * assert/assert.h (assert): Rewrite, retaining the old definintion
6157         when required, but otherwise putting the expression as-is in an "if"
6158         expression (hence, with no added parentheses) within a statement
6159         expression.
6161 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6163         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6164         DSO.
6166 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6168         * Rules (python-flags, python-invoke): New.
6169         ($(test-printers-out)): Use $(python-flags).
6171 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6173         * manual/arith.texi (Math Error Reporting): Document that sNaN
6174         arguments are not considered domain errors.
6176 2016-12-16  Zack Weinberg <zackw@panix.com>
6177             Florian Weimer <fweimer@redhat.com>
6178             Nick Mathewson <nickm@torproject.org>
6180         * string/explicit_bzero.c: New routine.
6181         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6182         * string/Makefile (routines, strop-tests, tests): Add them.
6183         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6184         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6186         * debug/explicit_bzero_chk.c: New routine.
6187         * debug/Makefile (routines): Add it.
6188         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6189         * string/bits/string3.h: Fortify explicit_bzero.
6191         * manual/string.texi: Document explicit_bzero.
6192         * NEWS: Mention addition of explicit_bzero.
6194         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6195         data before returning, using explicit_bzero.
6196         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6197         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6198         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6200         * include/string.h: Redirect internal uses of explicit_bzero
6201         to __explicit_bzero_chk[_internal].
6202         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6203         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6204         * sysdeps/arm/nacl/libc.abilist
6205         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6206         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6207         * sysdeps/unix/sysv/linux/arm/libc.abilist
6208         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6209         * sysdeps/unix/sysv/linux/i386/libc.abilist
6210         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6211         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6212         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6213         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6215         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6216         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6218         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6223         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6224         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6225         * sysdeps/unix/sysv/linux/sh/libc.abilist
6226         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6227         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6230         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6231         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6233         Add entries for explicit_bzero and __explicit_bzero_chk.
6235 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6237         * math/fenv.h
6238         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6239         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6240         * math/test-fe-snans-always-signal.c: New file.
6241         * math/Makefile (tests): Add test-fe-snans-always-signal.
6242         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6243         * manual/arith.texi (Infinity and NaN): Document
6244         FE_SNANS_ALWAYS_SIGNAL.
6246 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6248         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6249         bracket.
6251 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6253         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6254         before calling execv.
6256 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6258         [BZ #20971]
6259         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6260         overflow in pointer addition.
6261         * string/test-memchr.c (do_test): Add an argument to pass as
6262         the size on memchr.
6263         (test_main): Add check for SIZE_MAX.
6265 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6267         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6268         (libm-calls): Add w_scalblnF.
6269         * math/w_scalbln.c: Remove.
6270         * math/w_scalblnf.c: Likewise.
6271         * math/w_scalblnl.c: Likewise.
6272         * math/w_scalbln_template.c: New file with type-generic
6273         implementation based on math/w_scalbln.c.
6274         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6275         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6277 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6279         [BZ #20947]
6280         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6281         either is a signaling NaN.
6282         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6283         follow fmaxl more closely.
6284         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6285         when either is a signaling NaN.
6286         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6287         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6288         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6289         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6290         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6291         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6292         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6293         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6294         (fmin_test_data): Likewise.
6296 2016-12-15  Andreas Schwab  <schwab@suse.de>
6298         * support/support_test_main.c (support_test_main): Don't shadow
6299         file-local variable test_pid.
6301 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6303         [BZ #20947]
6304         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6305         either is a signaling NaN.
6306         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6308 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6310         [BZ #20947]
6311         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6312         when either is a signaling NaN.
6313         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6315         * bits/long-double.h: New file.
6316         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6317         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6318         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6319         * sysdeps/mips/bits/long-double.h: Likewise.
6320         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6321         * math/Makefile (headers): Add bits/long-double.h.
6322         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6323         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6324         <bits/wordsize.h>.
6325         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6326         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6327         * math/math.h: Do not include <bits/mathdef.h>.
6328         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6329         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6330         inclusion.
6331         * sysdeps/ia64/bits/mathdef.h: Remove file.
6332         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6333         * sysdeps/mips/bits/mathdef.h: Likewise.
6334         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6335         * sysdeps/s390/bits/mathdef.h: Likewise.
6336         * sysdeps/sparc/bits/mathdef.h: Likewise.
6337         * sysdeps/x86/bits/mathdef.h: Likewise.
6338         * sysdeps/s390/s390-32/bits/wordsize.h
6339         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6340         conditional code.
6341         * sysdeps/s390/s390-64/bits/wordsize.h
6342         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6343         Likewise.
6344         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6345         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6346         Likewise.
6347         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6348         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6351         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6352         Likewise.
6354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6355         <linux/falloc.h>.
6356         (FALLOC_FL_KEEP_SIZE): Remove.
6357         (FALLOC_FL_PUNCH_HOLE): Likewise.
6358         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6359         (FALLOC_FL_ZERO_RANGE): Likewise.
6361 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6363         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6365 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6367         * sysdeps/unix/sysv/linux/renameat.c: New file.
6368         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6370         * sysdeps/unix/sysv/linux/rename.c: New file.
6371         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6373 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6375         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6376         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6377         * string/strtok_r.c (__strtok_r): Optimize for performance.
6378         * string/string-inlines.c (__old_strtok_r_1c): New function.
6379         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6381 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6383         * math/Makefile (gen-libm-calls): Add w_log1pF.
6384         (libm-calls): Remove w_log1pF.
6385         * math/w_log1p.c: Remove.
6386         * math/w_log1pf.c: Likewise.
6387         * math/w_log1pl.c: Likewise.
6388         * math/w_log1p_template.c: New file with type-generic
6389         implementation based on math/w_log1p.c.
6390         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6391         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6393 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6395         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6397 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6399         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6400         kernel version to 4.9.
6402 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6404         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6405         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6407 2016-12-13  Andreas Schwab  <schwab@suse.de>
6409         * sysdeps/powerpc/dl-procinfo.c: Don't define
6410         _dl_powerpc_platforms.
6411         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6412         constants instead of referencing _dl_powerpc_platforms.
6413         (_dl_platform_string): Remove.
6415 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6417         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6419 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6421         * Rules (binaries-shared-tests, binaries-pie-tests)
6422         (binaries-static-tests): Link with $(link-extra-libs-tests).
6423         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6424         Remove $(link-extra-libs-tests).
6426 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6428         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6429         (sysdep_routines): Add strncmp_power9.
6430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6431         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6432         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6433         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6434         (strncmp): Add __strncmp_power9 to ifunc list.
6435         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6437 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6439         [BZ #17252]
6440         Add getentropy, getrandom.
6441         * stdlib/sys/random.h: New file.
6442         (headers): Add it.
6443         * stdlib/Makefile (routines): Add getentropy, getrandom.
6444         (tests): Add tst-getrandom.
6445         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6446         * stdlib/getentropy.c: New file.
6447         * stdlib/getrandom.c: Likewise.
6448         * stdlib/tst-getrandom.c: Likewise.
6449         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6450         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6451         * manual/crypt.texi (Unpredictable Bytes): New section.
6452         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6453         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6455         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6456         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6457         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6458         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6459         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6460         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6461         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6463         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6465         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6471         Likewise.
6472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6474         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6475         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6476         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6477         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6478         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6481         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6482         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6483         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6485 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6487         [BZ #20956]
6488         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6489         as additional compiler barriers.
6490         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6491         (fn2, do_test): Declare with external linkage.
6492         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6493         (do_test): Declare with external linkage.
6494         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6495         (do_test): Declare with external linkage.
6496         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6497         (do_test): Declare with external linkage.
6499 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6501         * support/support_test_main.c (support_test_main): Use correct
6502         timeout.
6504 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6505             Florian Weimer  <fweimer@redhat.com>
6507         [BZ #16421]
6508         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6509         and __u6_addr32 members.
6510         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6511         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6512         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6513         Use __u6_addr32.
6514         * inet/tst-checks.c: Use <support/test-driver.c>
6515         * inet/tst-checks-posix.c: New file.
6516         * inet/Makefile (tests): Add it.
6517         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6519 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6521         New subdirectory support for build and test infrastructure.
6522         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6523         setting install-lib.
6524         * Makeconfig (link-extra-libs-tests): Define.
6525         (+link-pie-tests, +link-static-tests, +link-tests): Use
6526         link-extra-libs-tests.
6527         (rpath-dirs, all-subdirs): Add support.
6528         (built-modules): Add libsupport.
6529         (libsupport): Define.
6530         * support: New directory.
6531         * support/Makefile: New file.
6532         * support/check.c: Likewise.
6533         * support/check.h: Likewise.
6534         * support/delayed_exit.c: Likewise.
6535         * support/ignore_stderr.c: Likewise.
6536         * support/oom_error.c: Likewise.
6537         * support/set_fortify_handler.c: Likewise.
6538         * support/support.h: Likewise.
6539         * support/temp_file-internal.h: Likewise.
6540         * support/temp_file.c: Likewise.
6541         * support/test-driver.c: Likewise.
6542         * support/test-driver.h: Likewise.
6543         * support/test_main.c: Likewise.
6544         * support/write_message.c: Likewise.
6545         * support/xasprintf.c: Likewise.
6546         * support/xcalloc.c: Likewise.
6547         * support/xmalloc.c: Likewise.
6548         * support/xpthread_barrier_destroy.c: Likewise.
6549         * support/xpthread_barrier_init.c: Likewise.
6550         * support/xpthread_barrier_wait.c: Likewise.
6551         * support/xpthread_cancel.c: Likewise.
6552         * support/xpthread_check_return.c: Likewise.
6553         * support/xpthread_cond_wait.c: Likewise.
6554         * support/xpthread_create.c: Likewise.
6555         * support/xpthread_detach.c: Likewise.
6556         * support/xpthread_join.c: Likewise.
6557         * support/xpthread_mutex_lock.c: Likewise.
6558         * support/xpthread_mutex_unlock.c: Likewise.
6559         * support/xpthread_sigmask.c: Likewise.
6560         * support/xpthread_spin_lock.c: Likewise.
6561         * support/xpthread_spin_unlock.c: Likewise.
6562         * support/xrealloc.c: Likewise.
6563         * support/xsignal.h: Likewise.
6564         * support/xthread.h: Likewise.
6565         * support_tempfile.h: Likewise.
6566         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6567         (TEST_DATA_LIMIT): Remove unused macro.
6568         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6569         <support/check.h>.
6570         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6571         (ignore_stderr, set_fortify_handler): Remove.  Now in
6572         <support/support.h>.
6573         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6574         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6575         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6576         (xpthread_join): Remove.  Now in <support/xthread.h>.
6577         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6578         Introduce legacy wrappers.
6579         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6580         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6581         (write_message): Remove.
6582         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6583         test-skeleton.c.
6584         * io/test-open-tmpfile: Likewise.
6585         * io/tst-posix_fallocate-common.c: Likewise.
6586         * libio/tst-fseek.c: Likewise.
6587         * malloc/tst-malloc-backtrace.c: Likewise.
6588         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6589         * malloc/tst-malloc-thread-exit.c: Likewise.
6590         * nptl/tst-cancel7.c: Likewise.
6591         * nptl/tst-cleanup0.c: Likewise.
6592         * posix/tst-posix_fadvise-common.c: Likewise.
6593         * rt/tst-shm.c: Likewise.
6594         * time/bug-getdate1.c: Likewise.
6595         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6596         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6597         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6599 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6601         * Rules [$(run-built-tests) != no] (tests-expected): Add
6602         $(tests-printers).
6603         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6605 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6607         [BZ #20539]
6608         * math/Makefile (install-lib-ldscripts): Add libm.a.
6609         (install_subdir): Remove.
6610         (install-others): Add.
6611         ($(inst_libdir)/libm.a): Add rule for installation as
6612         linker script.
6613         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6615 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6617         * INSTALL: Regenerated.
6618         * Makeconfig: Add comments and whitespace to make the control flow
6619         clearer.
6620         (+link-printers-tests, +link-pie-printers-tests,
6621         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6622         built-rtld-LDFLAGS, link-libc-rpath,
6623         link-libc-tests-after-rpath-link,
6624         link-libc-printers-tests): New.
6625         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6626         link-libc-tests): Use the new variables as required.
6627         * Makerules ($(py-const)): New rule.
6628         generated: Add $(py-const).
6629         * README.pretty-printers: New file.
6630         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6631         (others): Depend on $(py-const).
6632         (tests): Depend on $(tests-printers-programs) or
6633         $(tests-printers-out),
6634         as required.  Pass $(tests-printers) to merge-test-results.sh.
6635         * manual/install.texi: Add requirements for testing the pretty
6636         printers.
6637         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6638         tests-printers, CFLAGS-test-mutexattr-printers.c
6639         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6640         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6641         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6642         * nptl/nptl-printers.py: New file.
6643         * nptl/nptl_lock_constants.pysym: Likewise.
6644         * nptl/test-cond-printers.c: Likewise.
6645         * nptl/test-cond-printers.py: Likewise.
6646         * nptl/test-condattr-printers.c: Likewise.
6647         * nptl/test-condattr-printers.py: Likewise.
6648         * nptl/test-mutex-printers.c: Likewise.
6649         * nptl/test-mutex-printers.py: Likewise.
6650         * nptl/test-mutexattr-printers.c: Likewise.
6651         * nptl/test-mutexattr-printers.py: Likewise.
6652         * nptl/test-rwlock-printers.c: Likewise.
6653         * nptl/test-rwlock-printers.py: Likewise.
6654         * nptl/test-rwlockattr-printers.c: Likewise.
6655         * nptl/test-rwlockattr-printers.py: Likewise.
6656         * scripts/gen-py-const.awk: Likewise.
6657         * scripts/test_printers_common.py: Likewise.
6658         * scripts/test_printers_exceptions.py: Likewise.
6660 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6662         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6663         argument.
6664         (Glibc.build_glibc): Strip installed shared libraries if
6665         requested.
6666         (get_parser): Add --strip option.
6667         (main): Update Context call.
6669 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6670             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6672         [BZ #20847]
6673         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6674         array bounds for else branch.
6675         (__execvpe): Style fixes.
6676         * posix/tst-vfork3.c (run_script): New function.
6677         (create_script): Likewise.
6678         (do_test): Use run_script internal function.
6679         (do_prepare): Use create_script internal function.
6681 2016-12-07  Andreas Schwab  <schwab@suse.de>
6683         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6684         (__elision_available): Don't declare.
6685         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6686         (__elision_available): Don't define.
6687         (elision_init): Don't set __elision_available.
6689 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6691         [BZ #20940]
6692         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6693         return Inf for arguments Inf and sNaN.
6694         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6695         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6696         Likewise.
6697         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6698         Likewise.
6699         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6700         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6701         for arguments Inf and sNaN.  When returning a NaN, compute it by
6702         arithmetic on the arguments.
6703         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6704         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6705         arguments.
6707 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6709         [BZ #20916]
6710         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6711         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6712         to compute result.
6713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6714         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6716 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6718         * include/atomic.h (__atomic_check_size_ls): New.
6719         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6720         atomic_store_release): Use it.
6721         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6722         (elision_adapt, ELIDE_LOCK): Use atomics.
6723         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6724         atomics and improve code comments.
6725         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6726         (__lll_trylock_elision): Likewise.
6728 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6730         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6731         programs.
6733 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6735         [BZ #20916]
6736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6737         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6738         arguments to compute result.
6739         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6740         1 for arguments (sNaN, 0) or (1, sNaN).
6741         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6744         [BZ #20919]
6745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6746         NaN first argument when raised to power 0.
6747         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6748         raising to power zero.
6749         * math/w_powf.c (__powf): Likewise.
6750         * math/w_powl.c (__powl): Likewise.
6751         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6752         pow (0, 0) or pow (NaN, 0).
6754 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6756         [BZ #20918]
6757         * configure.ac: Test for static NSS cryptographic libraries and set
6758         libc_cv_static_nss_crypt.
6759         * configure: Regenerate.
6760         * config.make.in (static-nss-crypt): Define.
6761         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6762         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6763         (CFLAGS-tst-linkall-static.c): Define.
6764         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6765         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6766         ($(objpfx)tst-linkall-static): Define.
6767         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6768         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6770 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6772         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6773         (one-hundred, tst-tls-many-dynamic-modules): Define.
6774         (modules-names): Add $(tst-tls-many-dynamic-modules).
6775         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6776         macros.
6777         (tst-tls-manydynamic): Link against libdl, libpthread.
6778         (tst-tls-manydynamic.out): The test needs the test modules at run
6779         time.
6780         * elf/tst-tls-manydynamic.c: New file.
6781         * elf/tst-tls-manydynamic.h: Likewise.
6782         * elf/tst-tls-manydynamicmod.c: Likewise.
6784 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6786         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6787         (TLS_DTV_UNALLOCATED): Add.
6788         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6789         offsets.
6791 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6795 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6797         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6798         Add -fno-optimize-sibling-calls.
6800 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6802         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6803         New declaration.
6804         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6805         macro.
6806         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6807         New macro.
6808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6810         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6811         (llogbf): Likewise.
6812         (llogbl): Likewise.
6813         * math/Makefile (gen-libm-calls): Add w_llogbF.
6814         (tests): Add test-fp-llogb-constants.
6815         * math/w_llogb_template.c: New file.  Based on
6816         math/w_ilogb_template.c.
6817         * math/libm-test.inc (llogb_test_data): New array.
6818         (llogb_test): New function.
6819         (main): Call llogb_test.
6820         * math/test-fp-llogb-constants.c: New file.  Based on
6821         math/test-fp-ilogb-constants.c.
6822         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6823         (do_test): Call check_return_llogb.
6824         * math/test-tgmath.c (NCALLS): Increase to 126.
6825         (F(compile_test)): Call llogb.
6826         (F(llogb)): New function.
6827         * manual/math.texi (Exponents and Logarithms): Document llogb,
6828         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6829         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6830         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6831         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6833         (CFLAGS-nldbl-llogb.c): New variable.
6834         * sysdeps/nacl/libm.abilist: Update.
6835         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6837         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6838         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6839         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6841         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6844         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6858         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6859         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6861         Likewise.
6862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6863         Likewise.
6864         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6865         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6866         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6868 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6870         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6871         _Float128 instead of long double.
6872         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6874         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6875         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6876         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6877         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6878         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6879         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6880         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6881         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6882         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6883         Likewise.
6885 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6887         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6888         Remove redirection to __strrchr_ppc.
6890 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6892         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6893         (sysdep_routines): Add strcmp_power9.
6894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6895         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6896         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6897         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6898         (strcmp): Add __strcmp_power9 to ifunc list.
6899         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6901 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6903         * bits/fp-logb.h: New file.
6904         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6905         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6906         * sysdeps/x86/bits/fp-logb.h: Likewise.
6907         * math/Makefile (headers): Add bits/fp-logb.h.
6908         * math/math.h: Include <bits/fp-logb.h>.
6909         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6910         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6911         * bits/mathdef.h (FP_ILOGB0): Remove.
6912         (FP_ILOGBNAN): Likewise.
6913         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6914         (FP_ILOGBNAN): Likewise.
6915         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6916         (FP_ILOGBNAN): Likewise.
6917         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6918         (FP_ILOGBNAN): Likewise.
6919         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6920         (FP_ILOGBNAN): Likewise.
6921         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6922         (FP_ILOGBNAN): Likewise.
6923         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6924         (FP_ILOGBNAN): Likewise.
6925         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6926         (FP_ILOGBNAN): Likewise.
6927         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6928         (FP_ILOGBNAN): Likewise.
6929         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6930         (FP_ILOGBNAN): Likewise.
6932         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6933         time module.
6934         (Context.__init__): Initialize self.logsdir_old.
6935         (Context.run_builds): Handle bot action.
6936         (Context.bot_cycle): Copy logs directory before running builds.
6937         (Context.bot_run_self): Take argument for whether to check
6938         subprocess result.  Flush stdout before running subprocess.
6939         (Context.bot): New function.
6940         (get_parser): Allow bot action.
6942 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6944         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6945         Import email.mime.text, email.utils and smtplib modules.
6946         (Context.__init__): Initialize self.bot_config_json.
6947         (Context.run_builds): Handle bot-cycle action.
6948         (Context.load_bot_config_json): New function.
6949         (Context.part_build_old): Likewise.
6950         (Context.bot_cycle): Likewise.
6951         (Context.bot_build_mail): Likewise.
6952         (Context.bot_run_self): Likewise.
6953         (get_parser): Allow bot-cycle action.
6955 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6958         Remove redirection to __stpcpy_ppc.
6960 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6962         Remove __libc_memalign from ld.so because it is unused.
6963         * elf/dl-minimal.c: Update comment on the malloc implementation.
6964         (malloc): Renamed from __libc_memalign, replacing the original
6965         malloc implementation.  Replace the align parameter with
6966         MALLOC_ALIGNMENT.
6967         * elf/Versions (ld): Update comment and remove __libc_memalign.
6968         * sysdeps/nacl/ld.abilist: Likewise.
6969         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6970         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6972         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6973         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6974         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6975         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6976         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6978         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6979         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6980         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6981         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6985         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6986         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6987         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6988         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6989         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6992         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6993         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6994         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6995         * sysdeps/generic/localplt.data (ld.so): Likewise.
6996         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6997         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6998         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6999         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7000         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7001         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7002         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7003         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7004         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7006         (ld.so): Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7008         (ld.so): Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7010         Likewise.
7011         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7012         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7013         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7014         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7015         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7017 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7019         [BZ #16628]
7020         Implement _dl_catch_error, _dl_signal_error in libc.so.
7021         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7022         (catch_hook): Define as thread-local or regular variable,
7023         depending on DL_ERROR_BOOTSTRAP.
7024         (CATCH_HOOK): Remove.
7025         (dl_signal_error, _dl_catch_error): Use
7026         catch_hook.  Add hidden definition for libc.
7027         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7028         for DL_ERROR_BOOTSTRAP only.
7029         * elf/dl-error.c: New file.
7030         * elf/dl-error-minimal.c: Likewise.
7031         * elf/tst-latepthread.c: Likewise.
7032         * elf/tst-latepthreadmod.c: Likewise.
7033         * elf/Makefile (routines): Add dl-error.
7034         (dl-routines): Remove dl-error.
7035         (rtld-routines): Add dl-error-minimal.
7036         [build-shared] (tests): Add tst-latepthread.
7037         (module-names): Add tst-latepthreadmod.
7038         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7039         symbol.
7040         (tst-latepthreadmod.so): Link against libpthread.
7041         (tst-latepthread): Link against libdbl.
7042         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7043         _dl_catch_error.
7044         [ld] (GLIBC_PRIVATE): Likewise.
7045         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7046         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7047         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7048         directly.
7049         * elf/dl-tsd.c: Remove file.
7050         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7051         _dl_catch_error, _dl_signal_error.
7052         (_dl_initial_error_catch_tsd): Remove definition.
7053         (do_preload): Remove initialization of dl_error_catch_tsd.
7054         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7055         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7056         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7057         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7058         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7059         set dl_error_catch_tsd.
7060         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7061         _dl_error_catch_tsd member.
7062         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7063         members.
7064         (_dl_initial_error_catch_tsd): Remove declaration.
7065         (_dl_dprintf): Provide definition for use outside of ld.so.
7066         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7067         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7068         prototype for libc.
7069         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7070         _dl_catch_error.
7071         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7072         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7073         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7074         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7075         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7076         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7077         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7078         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7079         Likewise.
7080         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7082         (ld.so): Likewise.
7083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7084         (ld.so): Likewise.
7085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7088         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7089         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7090         Likewise.
7091         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7092         Likewise.
7093         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7095 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7097         [BZ #4099]
7098         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7099         _IO_BUFSIZ (8192).
7101 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7103         * PROJECTS: Remove file.
7105 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7107         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7109 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7110             Steve Ellcey  <sellcey@caviumnetworks.com>
7112         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7113         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7114         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7115         fxstatat.
7116         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7117         lxstat.
7118         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7119         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7120         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7121         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7122         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7123         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7124         __xstat.
7126 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7128         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7129         Define.
7130         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7131         definition.
7133 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7135         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7136         version and turn into strong alias.  Remove compat symbol.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7139         (__longjmp): Remove.
7141 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7143         * bits/fp-fast.h: New file.
7144         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7145         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7146         * math/Makefile (headers): Add bits/fp-fast.h.
7147         * math/math.h: Include <bits/fp-fast.h>.
7148         * bits/mathdef.h (FP_FAST_FMA): Remove.
7149         (FP_FAST_FMAF): Likewise.
7150         (FP_FAST_FMAL): Likewise.
7151         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7152         (FP_FAST_FMAF): Likewise.
7153         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7154         (FP_FAST_FMAF): Likewise.
7155         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7156         (FP_FAST_FMAF): Likewise.
7157         (FP_FAST_FMAL): Likewise.
7158         * sysdeps/arm/bits/mathdef.h: Remove file.
7159         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7160         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7161         * sysdeps/tile/bits/mathdef.h: Likewise.
7163 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7165         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7166         * math/w_ilogb.c: Remove.
7167         * math/w_ilogbf.c: Likewise.
7168         * math/w_ilogbl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7170         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7171         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7172         (libm-calls): Remove w_ilogbF.
7173         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7174         (LDOUBLE_ilogbl_libm_version): New macro.
7176         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7178         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7179         [!__STRICT_ANSI__ && !__cplusplus].
7181 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7183         [BZ #20750]
7184         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7185         of PIC.
7187 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7188             Yury Norov  <ynorov@caviumnetworks.com>
7189             Steve Ellcey  <sellcey@caviumnetworks.com>
7191         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7192         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7193         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7194         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7195         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7196         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7197         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7198         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7199         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7200         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7201         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7202         to get correct reg name for ILP32.
7203         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7204         (RELA_SIZE): New Macro.
7205         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7206         to support ILP32.
7207         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7208         cast for ILP32 mode.
7209         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7210         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7211         * sysdeps/aarch64/memset.S (__memset): Ditto.
7212         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7213         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7214         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7215         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7216         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7217         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7218         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7219         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7220         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7221         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7222         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7223         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7224         change PTR_MANGLE call to use register numbers instead of names.
7225         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7226         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7227         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7228         * sysdeps/aarch64/start.S (_start): Ditto.
7229         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7230         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7231         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7232         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7233         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7234         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7235         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7236         Make defined values dependent on __ILP32__.
7237         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7238         (sem_t): Change __align type.
7239         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7240         PTR_SIZE): New Macros.
7241         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7242         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7243         Set when in ILP32 mode.
7244         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7245         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7246         Set elf flags for ILP32.
7247         (add_system_dir): Set ILP32 library directories.
7248         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7249         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7250         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7251         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7252         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7253         New Macros.
7254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7256 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7258         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7259         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7260         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7262 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7264         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7265         <asm/cachectl.h>.
7267 2016-11-27  Zack Weinberg  <zackw@panix.com>
7269         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7270         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7272 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7274         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7275         error_t to fix usage in C++ programs.
7277 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7279         * scripts/build-many-glibcs.py: Import datetime module.
7280         (Context.__init__): Load JSON build state.  Initialize list of
7281         status logs.
7282         (Context.run_builds): Update saved build state.
7283         (Context.add_makefile_cmdlist): Update list of status logs.
7284         (Context.load_build_state_json): New function.
7285         (Context.store_build_state_json): Likewise.
7286         (Context.clear_last_build_state): Likewise.
7287         (Context.update_build_state): Likewise.
7288         (CommandList.status_logs): Likewise.
7290 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7292         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7293         script being executed.
7294         (Context.get_script_text): New function.
7295         (Context.exec_self): Likewise.
7296         (Context.checkout): Re-exec script if changed by checkout process.
7298 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7300         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7301         (setpayloadsig): New declaration.
7302         * math/Versions (setpayloadsig): New libm symbol at version
7303         GLIBC_2.25.
7304         (setpayloadsigf): Likewise.
7305         (setpayloadsigl): Likewise.
7306         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7307         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7308         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7309         (setpayloadsig_test_data): New array.
7310         (setpayloadsig_test): New function.
7311         (main): Call setpayloadsig_test.
7312         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7313         setpayloadsigf and setpayloadsigl.
7314         * manual/libm-err-tab.pl: Update comment on interfaces without
7315         ulps tabulated.
7316         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7317         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7318         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7319         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7320         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7321         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7322         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7323         setpayloadsig.
7324         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7325         * sysdeps/nacl/libm.abilist: Update.
7326         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7328         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7329         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7331         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7334         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7335         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7336         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7337         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7339         Likewise.
7340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7341         Likewise.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7343         Likewise.
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7345         Likewise.
7346         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7354         Likewise.
7355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7356         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7357         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7359         * scripts/build-many-glibcs.py: Import json module.
7360         (Context.__init__): Take replace_sources argument.  Load
7361         versions.json.
7362         (Context.load_versions_json): New function.
7363         (Context.store_json): Likewise.
7364         (Context.store_versions_json): Likewise.
7365         (Context.set_component_version): Likewise.
7366         (Context.checkout): Update versions.json.  Check for and handle
7367         changes of version.  Prefer previously explicitly specified
7368         version to default version.
7369         (Context.checkout_vcs): Return a revision identifier.
7370         (Context.git_checkout): Likewise.
7371         (Context.gcc_checkout): Likewise.
7372         (get_parser): Add --replace-sources option.
7373         (main): Pass replace_sources argument to Context call.
7375 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7377         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7378         * nptl/allocatestack.c (allocate_stack): Likewise.
7379         (__reclaim_stacks): Likewise.
7380         (setxid_signal_thread): Obtain pid through syscall.
7381         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7382         (sighandle_setxid): Likewise.
7383         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7384         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7385         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7386         Likewise.
7387         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7388         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7389         comment.
7390         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7391         * nptl/descr.h (struct pthread): Change comment about pid value.
7392         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7393         pid assert.
7394         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7395         Do not set pid value.
7396         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7397         pid cache check.
7398         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7399         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7400         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7401         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7402         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7403         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7404         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7405         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7406         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7407         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7408         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7409         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7410         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7411         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7412         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7413         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7414         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7415         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7416         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7417         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7418         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7419         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7420         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7421         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7422         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7425         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7427         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7428         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7429         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7430         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7431         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7432         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7433         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7434         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7435         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7436         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7437         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7438         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7439         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7440         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7443         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7444         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7445         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7447         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7448         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7449         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7450         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7451         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7452         struct access.
7453         (clone_test): Remove function.
7454         (do_test): Rewrite to take in consideration pid is not cached anymore.
7456 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7458         * bits/flt-eval-method.h: New file.
7459         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7460         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7461         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7462         * math/Makefile (headers): Add bits/flt-eval-method.h.
7463         * math/math.h: Include <bits/flt-eval-method.h>.
7464         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7465         [__USE_ISOC99] (double_t): Likewise.
7466         * bits/mathdef.h (float_t): Remove.
7467         (double_t): Likewise.
7468         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7469         (double_t): Likewise.
7470         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7471         (double_t): Likewise.
7472         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7473         (double_t): Likewise.
7474         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7475         (double_t): Likewise.
7476         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7477         (double_t): Likewise.
7478         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7479         (double_t): Likewise.
7480         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7481         (double_t): Likewise.
7482         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7483         (double_t): Likewise.
7484         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7485         (double_t): Likewise.
7486         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7487         (double_t): Likewise.
7488         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7489         (double_t): Likewise.
7490         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7491         (double_t): Likewise.
7492         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7493         (double_t): Likewise.
7495 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7497         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7498         instead of PIC.
7500 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7502         [BZ #20859]
7503         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7504         (-0x7fffffff) instead of 0x80000001.
7505         * math/test-fp-ilogb-constants.c: New file.
7506         * math/Makefile (tests): Add test-fp-ilogb-constants.
7508 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7510         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7511         (_init): Use it in place of hardcoded R_MIPS_JALR.
7512         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7513         (_init): Use it in place of hardcoded R_MIPS_JALR.
7514         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7515         (_init): Use it in place of hardcoded R_MIPS_JALR.
7517 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7519         [BZ #20787]
7520         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7521         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7522         (double_t): Do not define to double if [__x86_64__] when
7523         __FLT_EVAL_METHOD__ is nonzero.
7524         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7525         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7526         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7527         test-flt-eval-method-387 and test-flt-eval-method-sse.
7528         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7529         variable.
7530         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7532 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7534         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7535         use of -fno-isolate-erroneous-paths options for tilepro.
7537 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7539         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7540         structure initialization is no longer needed.
7542 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7544         [BZ #20855]
7545         * bits/mathdef.h (float_t): Define to float.
7546         * math/test-flt-eval-method.c: New file.
7547         * math/Makefile (tests): Add test-flt-eval-method.
7548         (CFLAGS-test-flt-eval-method.c): New variable.
7550 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7552         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7553         and __fstatfs.  Make them aliases of __fstatfs64 if
7554         STATFS_IS_STATFS64 is set to non-zero.
7555         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7556         and __statfs64.
7557         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7558         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7559         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7560         for __statfs and statfs.
7561         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7562         to 0.
7563         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7564         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7565         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7566         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7567         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7568         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7571         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7572         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7573         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7574         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7576 2016-11-22  Andreas Schwab  <schwab@suse.de>
7578         * misc/mkstemp.c: Include <fcntl.h>.
7579         * misc/mkstemps.c: Likewise.
7580         * misc/mkostemp.c: Likewise.
7581         * misc/mkostemps.c: Likewise.
7583 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7585         [BZ #20847]
7586         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7587         array bounds.
7588         (__execvpe): Likewise.
7590 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7592         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7593         -fno-isolate-erroneous-paths options for tilepro.
7595 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7597         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7598         to 0 when in 32 bit mode.
7599         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7600         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7601         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7602         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7604         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7605         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7606         XSTAT_IS_XSTAT64 test.
7607         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7608         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7609         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7610         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7611         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7612         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7613         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7614         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7615         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7616         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7617         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7619 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7621         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7622         (setpayload): New declaration.
7623         * math/Versions (setpayload): New libm symbol at version
7624         GLIBC_2.25.
7625         (setpayloadf): Likewise.
7626         (setpayloadl): Likewise.
7627         * math/Makefile (libm-calls): Add s_setpayloadF.
7628         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7629         test_Ff_b1_data.
7630         (RUN_TEST_Ff_b1): New macro.
7631         (RUN_TEST_LOOP_Ff_b1): Likewise.
7632         (canonicalize_test_data): Update type.
7633         (setpayload_test_data): New array.
7634         (setpayload_test): New function.
7635         (main): Call setpayload_test.
7636         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7637         setpayloadf and setpayloadl.
7638         * manual/libm-err-tab.pl: Update comment on interfaces without
7639         ulps tabulated.
7640         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7641         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7642         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7643         Likewise.
7644         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7645         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7646         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7647         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7648         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7649         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7650         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7651         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7652         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7653         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7654         setpayload.
7655         (CFLAGS-nldbl-setpayload.c): New variable.
7656         * sysdeps/nacl/libm.abilist: Update.
7657         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7659         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7660         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7665         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7670         Likewise.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7672         Likewise.
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7674         Likewise.
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7676         Likewise.
7677         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7679         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7683         Likewise.
7684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7685         Likewise.
7686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7690 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7692         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7693         * include/unistd.h: Extend comment about __access_noerrno return
7694         semantics.
7695         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7696         (access_common): Correct typo for EACCES.
7698 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7700         * sysdeps/tile/math-tests.h: New file.
7702         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7703         (__old_set_dataplane): Rename from set_dataplane and make a
7704         compatibility symbol.
7705         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7706         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7707         sys/dataplane.h.
7709 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7711         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7712         script quote words in command output to log suitably for input to
7713         the shell.
7715 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7716             Maciej W. Rozycki  <macro@imgtec.com>
7718         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7719         `.Lno_weak_fn' label.
7720         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7721         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7723 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724             Yury Norov  <ynorov@caviumnetworks.com>
7726         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7727         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7728         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7729         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7730         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7732         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7734         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7735         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7736         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7737         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7738         (sysdep_routines): Remove oldgetrlimit64.
7739         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7740         (sysdep_routines): Likewise.
7741         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7742         (sysdep_routines): Likewise.
7743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7744         [$(subdir) = resource] (sysdep_routines): Likewise.
7745         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7746         [$(subdir) = resource] (sysdep_routines): Likewise.
7747         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7748         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7749         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7750         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7751         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7752         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7753         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7754         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7755         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7756         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7757         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7758         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7759         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7760         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7761         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7762         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7763         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7764         setrlimit and getrlimit.
7765         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7766         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7767         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7770         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7771         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7772         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7773         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7774         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7775         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7776         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7777         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7778         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7779         (__old_getrlimit64): Add compatibility symbol.
7780         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7782 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7784         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7785         newly built gmp, mpfr and mpc.
7787         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7789 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7791         * conform/Makefile (linknamespace-libs): Rename to
7792         linknamespace-libs-thr.
7793         (linknamespace-libs-posix): New variable.
7794         (linknamespace-libs-xsi): Likewise.
7795         (linknamespace-libs-XPG3): Include libcrypt.a.
7796         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7797         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7798         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7799         (linknamespace-libs-XOPEN2K): Likewise.
7800         (linknamespace-libs-XOPEN2K8): Likewise.
7801         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7803         [BZ #20829]
7804         * stdio-common/Versions (__snprintf): Add to version
7805         GLIBC_PRIVATE.
7806         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7807         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7808         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7809         of snprintf.
7810         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7812 2016-11-16  Zack Weinberg  <zackw@panix.com>
7814         * string/string.h: Remove obsolete comment stating that
7815         strcoll_l and strxfrm_l have not yet been standardized.
7817 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7819         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7820         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7821         __access_noerrno.
7822         * io/access.c (__access_noerrno): New function.
7823         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7824         (hurd_fail_seterrno): Likewise.
7825         (access_common): Likewise.
7826         (__access_noerrno): Likewise.
7827         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7828         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7829         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7830         macro.
7832 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7834         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7835         Only declare fpregs if [__SH_FPU_ANY__].
7837 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7839         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7840         Make code unconditional.
7841         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7843 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7845         * manual/sysinfo.texi (S_APPEND): Delete.
7846         (S_IMMUTABLE): Likewise.
7848 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7849             Magnus Granberg  <zorry@gentoo.org>
7850             Mike Frysinger  <vapier@gentoo.org>
7852         [BZ #20662]
7853         * configure.ac (libc_cv_predef_stack_protector): Also check for
7854         __stack_chk_fail_local symbols.
7855         * configure: Regenerated.
7857 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7859         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7860         (libc_hidden_def): Remove redefinition.
7861         (__sigsetjmp): Add hidden definition.
7862         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7863         (libc_hidden_def): Remove redefinition.
7864         (__sigsetjmp): Add hidden definition.
7866 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7868         * scripts/build-many-glibcs.py (os.path): Do not import.
7869         (Context): Inherit explicitly from object.  Remove blank line
7870         between class and docstring.
7871         (Config): Likewise.
7872         (Glibc): Likewise.
7873         (Command): Likewise.
7874         (CommandList): Likewise.
7875         (Context.write_files): Store chmod mode in a variable.
7877         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7878         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7879         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7881 2016-11-14  Zack Weinberg  <zackw@panix.com>
7883         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7884         creating or re-creating it.
7886         * string/bits/string2.h: Fix typo in comment.
7888 2016-11-14  Zack Weinberg  <zackw@panix.com>
7890         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7891         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7892         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7893         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7894         of redirected function names.
7896         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7897         as well.  Document that MESSAGE must be a single string literal.
7899 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7901         * scripts/build-many-glibcs.py: New file.
7903         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7904         (do_test): Disable -Wmaybe-uninitialized around uses of
7905         except_mask.
7907         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7909 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7911         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7912         (atomic_store_release): Provide tilepro-specific implementations.
7914 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7916         * math/math.h (__MATH_TG): New macro.
7917         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7918         [__USE_ISOC99] (signbit): Likewise.
7919         [__USE_ISOC99] (isfinite): Likewise.
7920         [__USE_ISOC99] (isnan): Likewise.
7921         [__USE_ISOC99] (isinf): Likewise.
7922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7925         __MATH_TG and __MATH_EVAL_FMT2.
7926         * sysdeps/generic/math_private.h (fabs_tg): Define using
7927         __MATH_TG.
7928         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7929         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7930         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7931         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7932         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7933         macro.
7934         (__iscanonical): Likewise.
7935         (iscanonical): Define using __MATH_TG.
7937 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7939         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7940         guards.
7942         * sysdeps/unix/sysv/linux/access.c: New file.
7943         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7945 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7947         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7948         and __WORDSIZE32_PTRDIFF_LONG.
7950 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7952         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7954 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7956         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7957         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7958         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7959         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7960         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7962         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7963         * sysdeps/unix/sysv/linux/truncate.c: New file.
7964         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7965         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7966         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7967         Remove.
7968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7969         Likewise.
7971         * posix/tst-truncate-common.c: New file.
7972         * posix/tst-truncate.c: Use tst-truncate-common.c.
7973         * posix/tst-truncate64.c: Likewise and add LFS tests.
7974         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7975         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7976         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7977         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7978         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7980         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7981         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7982         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7983         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7984         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7985         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7986         Remove.
7987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7988         Likewise.
7990 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7992         [BZ #20790]
7993         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7994         to MAXLINESIZE.
7995         * sunrpc/bug20790.x: New file.
7996         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7997         variable.
7998         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7999         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8001         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8003         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8005         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8006         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8007         calloc, realloc, free, memalign and __libc_memalign rather than
8008         making them optional.
8010         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8011         for libc.so.
8013 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8015         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8016         ptw-lseek64.
8017         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8018         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8019         Likewise.
8020         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8021         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8022         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8023         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8024         * sysdeps/unix/sysv/linux/lseek.c: New file.
8025         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8026         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8027         __libc_lseek64 from auto-generation.
8028         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8029         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8031 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8033         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8034         * nptl/tst-cleanup1.c (do_test): Likewise.
8035         * nptl/tst-cleanup3.c (do_test): Likewise.
8036         * nptl/tst-key1.c (do_test): Likewise.
8037         * nptl/tst-key2.c (tf, do_test): Likewise.
8038         * nptl/tst-key3.c (tf, do_test): Likewise.
8039         * nptl/tst-stdio1.c (do_test): Likewise.
8040         * nptl/tst-stdio2.c (do_test): Likewise.
8042         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8043         * nptl/tst-kill6.c (handler): Likewise.
8044         * nptl/tst-tls2.c (CB): Likewise.
8045         * nptl/tst-tls3.c (CB): Likewise.
8047 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8049         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8051 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8052             Steve Ellcey  <sellcey@caviumnetworks.com>
8054         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8055           __ASSUME_ST_INO_64_BIT as 0
8056         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8057         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8058           over the code where __ASSUME_ST_INO_64_BIT is used.
8059         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8060         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8061         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8063 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8065         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8066         Document ABI exposure of the __kind offset.
8067         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8068         Mention reason for the __kind offset exposure in the ABI.
8069         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8070         Likewise.
8071         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8072         Likewise.
8073         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8074         Likewise.
8075         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8076         (struct __pthread_mutex_s): Likewise.
8077         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8078         Likewise.
8079         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8080         Likewise.
8081         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8082         Likewise.
8083         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8084         Likewise.
8085         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8086         Likewise.
8087         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8088         Likewise.
8089         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8090         (struct __pthread_mutex_s): Likewise.
8091         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8092         (struct __pthread_mutex_s): Likewise.
8093         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8094         Likewise.
8096 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8098         * test-skeleton.c: Document do_test usage.
8100 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8102         * iconv/gconv.h (__gconv_info): Define __data element using a
8103         zero-length array.
8105 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8107         * math/test-tgmath2.c: Split up test function.
8109 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8111         * Rules (tests-expected): New variable, depending on
8112         $(run-built-tests).
8113         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8114         $(tests).
8116         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8117         $(tests-unsupported).
8119 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8121         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8122         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8124 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #20768]
8127         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8128         __fegetenv instead of fegetenv.
8130         [BZ #14139]
8131         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8132         (find_files): Obtain platform name from libm-test-ulps-name and
8133         store in %pplatforms.
8134         (canonicalize_platform): Remove.
8135         (print_platforms): Use $pplatforms directly.
8136         (by_platforms): Do not allow for platforms missing from
8137         %pplatforms.
8138         * sysdeps/aarch64/libm-test-ulps-name: New file.
8139         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8140         * sysdeps/arm/libm-test-ulps-name: Likewise.
8141         * sysdeps/generic/libm-test-ulps-name: Likewise.
8142         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8143         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8144         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8145         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8146         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8147         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8148         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8149         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8150         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8151         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8152         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8153         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8154         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8155         * sysdeps/sh/libm-test-ulps-name: Likewise.
8156         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8157         * sysdeps/tile/libm-test-ulps-name: Likewise.
8158         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8160         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8162         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8163         (test-xfail-check-execstack): New variable.
8165         * sysdeps/mips/localplt.data: New file.
8167 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8168             Steve Ellcey  <sellcey@caviumnetworks.com>
8170         * bits/wordsize.h: Add documentation.
8171         * sysdeps/aarch64/bits/wordsize.h : New file
8172         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8173         definitions.
8174         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8175         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8176         with #if instead of #ifdef.
8177         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8178         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8179         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8180         Add or change defines.
8181         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8182         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8183         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8184         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8185         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8186         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8187         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8188         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8189         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8190         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8191         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8192         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8193         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8194         * sysdeps/x86/bits/wordsize.h: Likewise.
8196 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8197             Kevin Petit  <kevin.petit@arm.com>
8199         * sysdeps/aarch64/memchr.S (__memchr): New file.
8201 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8203         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8205 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8207         [BZ #19398]
8208         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8209         $(linknamespace-symlists-tests).
8211 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8213         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8215 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8216             Carlos O'Donell  <carlos@redhat.com>
8218         [Bug #20729]
8219         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8220         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8221         for -Os related change.
8223 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8225         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8227 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8229         [BZ #19673]
8230         * manual/math.texi (Exponents and Logarithms): Correct description
8231         of clog10.
8233 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8235         [Bz #20729]
8236         * locale/weight.h: Include libc-internal.h.
8237         * locale/weightwc.h: Likewise.
8238         * nptl/nptl_dbP.h: Likewise.
8240 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8242         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8243         when it is MACH_PORT_NULL.
8245 2016-10-31  Andreas Schwab  <schwab@suse.de>
8247         [BZ #20707]
8248         * posix/glob.c (glob): Initialize pglob before checking for
8249         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8250         valid brace expression despite GLOB_BRACE.
8251         * posix/globtest.sh: Test it.
8253 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8255         [BZ #20729]
8256         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8257         Define.
8258         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8259         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8260         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8261         for seq2.back_us and seq1.back_us only for -Os compiles.
8262         * locale/weightwc.h (findix): Likewise.
8263         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8264         DB_GET_FIELD_ADDRESS only for -Os compiles.
8265         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8266         for slen only for -Os compiles.
8267         * string/strcoll_l.c (get_next_seq): Ignore
8268         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8269         for -Os compiles.
8271         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8272         * include/crypt.h: New file.
8274 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8276         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8277         from test-skeleton.c.
8278         (statclass): Replace calls to write with calls to write_message.
8280 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8282         * math/math.h
8283         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8284         New macro.
8285         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8286         Likewise.
8287         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8288         Likewise.
8289         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8290         SNANL.
8291         * math/test-double.h (snan_value_MACRO): New macro.
8292         * math/test-float.h (snan_value_MACRO): Likewise.
8293         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8294         * math/libm-test.inc (issignaling_test_data): Add tests of
8295         snan_value_MACRO.
8297 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8299         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8300         behavior when eliding a lock not held by the current thread.
8301         * sysdeps/powerpc/nptl/elide.h: Likewise.
8303 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8305         [BZ #20728]
8306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8307         branch to _exit() by a function call.
8309 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8311         * malloc/malloc.c: Update chunk layout comments.
8312         (chunk_main_arena): Update comment.
8314 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8316         * crypt/sha256.c, crypt/sha256-block.c,
8317         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8318         sha256_process_block to __sha256_process_block.
8319         * crypt/sha512.c, crypt/sha512-block.c,
8320         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8321         sha512_process_block to __sha512_process_block.
8323 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8325         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8327         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8329 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8331         [BZ #20019]
8332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8333         definition in unrelocated shared library.
8334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8336 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8338         [BZ #20729]
8339         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8340         * sysdeps/unix/sysv/linux/i386/Makefile
8341         (uses-6-syscall-arguments): Define.
8342         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8343         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8344         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8345         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8346         Likewise.
8347         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8348         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8349         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8350         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8351         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8352         (CFLAGS-fallocate64.os): Likewise.
8353         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8354         (CFLAGS-pthread_rwlock_timedrdlock.os)
8355         (CFLAGS-pthread_rwlock_timedwrlock.o)
8356         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8357         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8358         (CFLAGS-sem_timedwait.os): Likewise.
8360 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8362         * elf/tst-linkall-static.c: New file.
8363         * elf/Makefile (tests-static): Add tst-linkall-static.
8364         (tst-linkall-static): Link against static libraries.
8366 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8368         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8369         mmaped chunks.
8371 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8373         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8374         members to mchunk_prev_size, mchunk_size.
8375         (chunk_main_arena): Reverse sense and rename from
8376         chunk_non_main_arena.
8377         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8378         mchunk_size instead of size.
8379         (set_non_main_arena): Define.
8380         (chunksize): Use chunksize_nomask instead of direct member access.
8381         (chunksize_nomask): Define.
8382         (next_chunk): Use chunksize instead of direct member access.
8383         (prev_size, set_prev_size): Define.
8384         (prev_chunk): Use prev_size instead of direct member access.
8385         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8386         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8387         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8388         (mchunk_prev_size, mchunk_size): Poison tokens.
8389         (unlink): Use chunksize_nomask, prev_size accessors.
8390         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8391         (do_check_free_chunk): Use prev_size accessor.
8392         (sysmalloc): Use set_prev_size, set_head accessors.
8393         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8394         (__libc_free): Use chunksize_nomask accessor.
8395         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8396         chunk_main_arena accessors.
8397         (_int_free): Use chunksize_nomask, prev_size accessors.
8398         (malloc_consolidate): Use chunksize, prev_size accessors.
8399         (_int_realloc): Use chunksize_nomask accessor.
8400         (_int_memalign): Use set_prev_size accessor.
8401         (__malloc_info): Use chunksize_nomask accessor.
8402         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8403         accessors.
8404         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8405         (heap_trim): Use chunksize_nomask, prev_size accessors.
8407 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8409         [BZ #19380]
8410         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8411         for inexact results.
8412         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8413         of inexact result where mpfr_subnormalize is the only inexact
8414         step.
8415         * stdlib/tst-strtod-round-data.h: Regenerated.
8416         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8417         Define to 0.
8418         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8420 2016-10-27  David S. Miller  <davem@davemloft.net>
8422         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8424 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8426         * malloc/malloc.c (do_set_mallopt_check): New function.
8427         (do_set_mmap_threshold): Likewise.
8428         (do_set_mmaps_max): Likewise.
8429         (do_set_top_pad): Likewise.
8430         (do_set_perturb_byte): Likewise.
8431         (do_set_trim_threshold): Likewise.
8432         (do_set_arena_max): Likewise.
8433         (do_set_arena_test): Likewise.
8434         (__libc_mallopt): Use them.
8436 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8438         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8439         (canonicalize): New declaration.
8440         * math/Versions (canonicalize): New libm symbol at version
8441         GLIBC_2.25.
8442         (canonicalizef): Likewise.
8443         (canonicalizel): Likewise.
8444         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8445         * math/s_canonicalize_template.c: New file.
8446         * math/libm-test.inc: Update comment on functions tested and
8447         testing of NaN payloads.
8448         (TEST_NAN_PAYLOAD): New macro.
8449         (NO_TEST_INLINE): Update value.
8450         (XFAIL_TEST): Likewise.
8451         (ERRNO_UNCHANGED): Likewise.
8452         (ERRNO_EDOM): Likewise.
8453         (ERRNO_ERANGE): Likewise.
8454         (IGNORE_RESULT): Likewise.
8455         (NON_FINITE): Likewise.
8456         (TEST_SNAN): Likewise.
8457         (NO_TEST_MATHVEC): Likewise.
8458         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8459         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8460         (struct test_Ffp_b1_data): New type.
8461         (RUN_TEST_Ffp_b1): New macro.
8462         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8463         (canonicalize_test_data): New array.
8464         (canonicalize_test): New function.
8465         (main): Call canonicalize_test.
8466         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8467         canonicalizef and canonicalizel.
8468         * manual/libm-err-tab.pl: Update comment on interfaces without
8469         ulps tabulated.
8470         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8471         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8472         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8473         canonicalize.
8474         (CFLAGS-nldbl-canonicalize.c): New variable.
8475         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8476         to ...
8477         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8478         ... here.
8479         (do_test): Also test canonicalizel.
8480         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8481         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8482         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8483         file.
8484         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8485         Use libm_hidden_def.
8486         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8487         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8488         (do_test): Also test canonicalizel.
8489         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8490         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8491         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8492         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8493         libm_hidden_def.
8494         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8495         macro.
8496         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8497         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8498         * sysdeps/nacl/libm.abilist: Update.
8499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8512         Likewise.
8513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8514         Likewise.
8515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8516         Likewise.
8517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8518         Likewise.
8519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8525         Likewise.
8526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8527         Likewise.
8528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8532         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8533         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8534         getpayload.
8535         (CFLAGS-nldbl-getpayload.c): New variable.
8537 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8539         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8540         integer from the format string.
8542 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8544         [BZ #19473]
8545         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8546         declarations.
8547         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8548         weak aliases.
8549         * malloc/hooks.c (__malloc_get_state): Remove definition.
8550         (malloc_get_state): New stub implementation as
8551         compatibility symbol.
8552         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8553         compat symbol.
8554         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8555         malloc_set_state.
8556         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8558 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8560         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8561         (names): Turn into concatenation of strings.
8562         (gconv_init): Adapt iteration over names.
8564 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8566         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8567         make const.
8568         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8569         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8570         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8571         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8572         character in sbconv.
8573         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8574         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8575         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8577 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8579         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8581         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8582         (M_TRIM_THRESHOLD): Likewise.
8584         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8585         (M_ARENA_MAX): Likewise.
8586         * malloc/malloc.c: Remove obsolete comment.
8588         * manual/memory.texi: Add environment variable alternatives to
8589         setting mallopt parameters.
8591 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8593         * include/atomic.h
8594         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8595         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8597 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8599         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8600         * stdlib/tst-strfrom.h: New file.
8601         * stdlib/tst-strfrom.c: New file.
8602         * stdlib/tst-strfrom-locale.c: New file.
8604         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8605         * stdlib/bug-strtod2.c: Likewise.
8606         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8607         * stdlib/tst-strtod6.c: Likewise.
8608         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8610 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8612         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8613         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8614         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8615         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8616         * stdlib/stdlib.h (strfromd): New declaration.
8617         (strfromf): Likewise.
8618         (strfroml): Likewise.
8619         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8620         strfrom.
8621         * stdlib/strfromd.c: New file.
8622         * stdlib/strfromf.c: Likewise.
8623         * stdlib/strfroml.c: Likewise.
8624         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8625         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8626         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8627         * sysdeps/arm/nacl/libc.abilist: Update.
8628         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8631         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8632         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8633         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8634         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8635         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8637         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8638         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8640         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8641         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8647         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8648         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8649         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8650         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8653         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8657 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8659         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8660         instead of cmpli.
8661         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8662         instead of cmpli.
8664 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8666         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8667         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8668         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8669         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8670         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8671         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8673 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8675         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8676         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8677         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8678         SYSCALL_LL64_PRW.
8679         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8680         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8681         __ASSUME_PRW_DUMMY_ARG.
8682         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8683         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8684         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8685         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8686         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8687         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8689 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8691         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8693 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8695         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8696         "C++", to override a potential extern "C" directive around the
8697         header file inclusion.
8699 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8701         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8703 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8705         * sysdeps/powerpc/fpu/fenv_private.h:
8706         (_FPU_MASK_ALL): Rename to...
8707         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8708         XE FPSCR bits.
8710         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8712         (_FPU_MASK_ROUNDING): Rename to...
8713         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8714         NI bits.
8716         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8717         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8718         bits and rounding bits.
8720         (__libc_feholdbits_ppc): New inline function to mask, set,
8721         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8722         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8723         (libc_feholdexcept_setround_ppc): Likewise.
8725         (__libc_femergeenv_ppc): New function to dynamically mask both
8726         old and new FP environments and merge.
8727         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8728         (libc_feresetround_ppc): Likewise.
8729         (libc_feupdateenv_test_ppc): Likewise.
8730         (libc_feupdateenv_ppc): Likewise.
8732         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8733         of ISA RN bits, and update macro names.
8734         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8735         effectively the same as the previously mentioned function.
8737         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8738         usage with fe_resetround_ppc.
8740         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8741         to be used.
8742         (libc_feholdexcept_setround_ctxf): Likewise.
8743         (libc_feholdexcept_setround_ctxl): Likewise.
8745 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8747         [BZ #20715]
8748         * math/math.h [__cplusplus] (iszero): Define as function template.
8749         * math/Makefile [CXX] (tests): Add test-math-iszero.
8750         (CFLAGS-test-math-iszero.cc): Set.
8751         * math/test-math-iszero.cc: New file.
8753 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #20660]
8756         * sysdeps/arm/e_sqrt.c: New file.
8757         * sysdeps/arm/e_sqrtf.c: Likewise.
8759 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #20718]
8762         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8763         not use floating-point comparisons to test sign.
8764         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8765         Likewise.
8767         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8768         (getpayload): New declaration.
8769         * math/Versions (getpayload): New libm symbol at version
8770         GLIBC_2.25.
8771         (getpayloadf): Likewise.
8772         (getpayloadl): Likewise.
8773         * math/Makefile (libm-calls): Add s_getpayloadF.
8774         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8775         (struct test_f_f_data): Add comment.
8776         (RUN_TEST_fp_f): New macro.
8777         (RUN_TEST_LOOP_fp_f): Likewise.
8778         (getpayload_test_data): New array.
8779         (getpayload_test): New function.
8780         (main): Call getpayload_test.
8781         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8782         descriptor.
8783         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8784         getpayloadf and getpayloadl.
8785         * manual/libm-err-tab.pl: Update comment on interfaces without
8786         ulps tabulated.
8787         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8788         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8789         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8792         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8793         * sysdeps/nacl/libm.abilist: Update.
8794         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8795         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8796         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8797         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8798         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8799         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8800         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8801         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8802         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8803         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8804         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8805         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8807         Likewise.
8808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8809         Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8811         Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8815         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8816         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8817         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8818         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8820         Likewise.
8821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8822         Likewise.
8823         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8824         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8825         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8827 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8829         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8830         tst-fallocate{64}.
8831         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8832         on syscall return.
8834 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8836         [BZ #20689]
8837         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8838         usable.
8840 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8842         * sysdeps/generic/nan-high-order-bit.h: New file.
8843         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8844         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8845         * sysdeps/hppa/math_private.h: Remove file.
8846         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8847         not define here.
8848         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8849         <nan-high-order-bit.h>.
8850         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8851         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8852         <nan-high-order-bit.h>.
8853         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8854         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8855         <nan-high-order-bit.h>.
8856         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8857         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8858         <nan-high-order-bit.h>.
8859         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8860         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8861         <nan-high-order-bit.h>.
8862         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8863         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8864         <nan-high-order-bit.h>.
8865         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8866         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8867         <nan-high-order-bit.h>.
8868         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8869         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8870         <nan-high-order-bit.h>.
8871         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8872         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8873         <nan-high-order-bit.h>.
8874         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8875         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8876         <nan-high-order-bit.h>.
8877         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8878         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8879         <nan-high-order-bit.h>.
8880         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8881         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8882         <nan-high-order-bit.h>.
8883         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8884         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8885         <nan-high-order-bit.h>.
8886         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8887         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8888         <nan-high-order-bit.h>.
8889         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8890         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8891         <nan-high-order-bit.h>.
8892         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8893         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8894         <nan-high-order-bit.h>.
8895         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8896         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8897         <nan-high-order-bit.h>.
8898         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8899         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8900         <nan-high-order-bit.h>.
8901         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8903 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8905         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8907 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8909         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8910         abort-instr.h.
8911         (EFAULT): Remove conditional define.
8912         (ENOSYS): Likewise.
8913         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8914         instead of conditional branch instructions.
8916 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8918         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8919         (totalordermag): New declaration.
8920         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8921         New macro.
8922         * math/Versions (totalordermag): New libm symbol at version
8923         GLIBC_2.25.
8924         (totalordermagf): Likewise.
8925         (totalordermagl): Likewise.
8926         * math/Makefile (libm-calls): Add s_totalordermagF.
8927         * math/libm-test.inc (totalordermag_test_data): New array.
8928         (totalordermag_test): New function.
8929         (main): Call totalordermag_test.
8930         * math/test-tgmath.c (NCALLS): Increase to 125.
8931         (F(compile_test)): Call totalordermag.
8932         (F(totalordermag)): New function.
8933         * manual/arith.texi (FP Comparison Functions): Document
8934         totalordermag, totalordermagf and totalordermagl.
8935         * manual/libm-err-tab.pl: Update comment on interfaces without
8936         ulps tabulated.
8937         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8938         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8939         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8944         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8945         totalordermag.
8946         (CFLAGS-nldbl-totalordermag.c): New variable.
8947         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8948         (do_test): Also test totalordermagl.
8949         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8950         Likewise.
8951         * sysdeps/nacl/libm.abilist: Update.
8952         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8954         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8957         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8958         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8959         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8960         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8963         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8965         Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8967         Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8969         Likewise.
8970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8971         Likewise.
8972         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8973         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8974         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8975         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8976         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8982         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8983         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8985 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8987         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8988         boolean.
8990 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8992         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8993         raising FE_INVALID with feraisexcept in case where part of
8994         argument is infinite, subtract that part of argument from itself.
8995         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8996         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8997         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8999 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9001         * math/libm-test.inc (totalorder_test_data): Add more tests.
9003 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9005         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9006         Undefine weak_alias and add a comment why mips64 require
9007         versioning.
9009 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9011         [BZ #20647]
9012         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9013         maximum CPUID level is less than 2.
9015 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9017         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9018         (totalorder): New declaration.
9019         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9020         New macro.
9021         * math/Versions (totalorder): New libm symbol at version
9022         GLIBC_2.25.
9023         (totalorderf): Likewise.
9024         (totalorderl): Likewise.
9025         * math/Makefile (libm-calls): Add s_totalorderF.
9026         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9027         string.
9028         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9029         (qnan_value_pl): Likewise.
9030         (snan_value_pl): Likewise.
9031         (qnan_value): Define using qnan_value_pl.
9032         (snan_value): Define using snan_value_pl.
9033         (struct test_ff_i_data): Add comment about which tests use this
9034         structure.
9035         (RUN_TEST_ff_b): New macro.
9036         (RUN_TEST_LOOP_ff_b): Likewise.
9037         (totalorder_test_data): New array.
9038         (totalorder_test): New function.
9039         (main): Call totalorder_test.
9040         * math/test-tgmath.c (NCALLS): Increase to 122.
9041         (F(compile_test)): Call totalorder.
9042         (F(totalorder)): New function.
9043         * manual/arith.texi (FP Comparison Functions): Document
9044         totalorder, totalorderf and totalorderl.
9045         * manual/libm-err-tab.pl: Update comment on interfaces without
9046         ulps tabulated.
9047         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9048         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9049         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9050         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9051         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9052         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9053         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9054         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9055         totalorder.
9056         (CFLAGS-nldbl-totalorder.c): New variable.
9057         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9058         file.
9059         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9060         Add test-totalorderl-ldbl-128ibm.
9061         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9062         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9063         test-totalorderl-ldbl-96.
9064         * sysdeps/nacl/libm.abilist: Update.
9065         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9066         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9067         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9068         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9069         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9070         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9071         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9072         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9073         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9074         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9075         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9076         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9078         Likewise.
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9080         Likewise.
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9082         Likewise.
9083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9084         Likewise.
9085         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9086         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9087         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9091         Likewise.
9092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9093         Likewise.
9094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9096         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9098 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9100         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9101         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9102         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9103         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9104         remove ENOSYS implementation.
9105         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9106         Consolidate all Linux implementations.
9108 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9110         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9111         * resolv/herror.c (herror): Cast away const-ness.
9112         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9113         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9115 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9117         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9118         instead of M_NAN + M_NAN.
9119         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9121 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9123         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9124         unused variable 'p'.
9126 2016-10-09  Alan Modra  <amodra@gmail.com>
9127             Andreas Schwab  <schwab@linux-m68k.org>
9129         [BZ #20554]
9130         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9131         [PIC && !SHARED]: Set up PIC register for PLT call.
9133 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9135         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9136         conditional on value of [__FLT_EVAL_METHOD__].
9137         * math/test-iseqsig-excess-precision.c: New file.
9138         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9140 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9142         * math/s_iseqsig_template.c: Include math-private.h.
9144         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9145         * posix/tst-posix_fadvise.c: New file.
9146         * posix/tst-posix_fadvise64.c: Likewise.
9147         * posix/tst-posix_fadvise-common.c: Likewise.
9148         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9149         (__ASSUME_FADVISE64_64_6ARG): Define.
9150         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9151         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9153         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9154         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9155         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9156         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9159         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9160         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9161         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9164         Likewise.
9165         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9166         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9167         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9168         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9169         Alias to __posix_fadvise64_l32.
9170         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9171         Add compat definition to posix_fadvise64.
9172         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9173         Add versioned definition to posix_fadvise64.
9174         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9175         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9176         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9177         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9178         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9180         * io/Makefile (tests): Add tst-posix_fallocate and
9181         tst-posix_fallocate64.
9182         * io/tst-posix_fallocate-common.c: New file.
9183         * io/tst-posix_fallocate.c: Likewise.
9184         * io/tst-posix_fallocate64.c: Likewise.
9185         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9186         file.
9187         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9190         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9191         Likewise.
9192         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9194         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9195         SYSCALL_LL to pass both offset and len arguments.
9196         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9197         Likewise.
9198         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9199         __libc_pwrite64 alias used by posix_fallocate64.
9201         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9202         tst-fallocate64.
9203         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9204         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9205         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9206         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9207         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9208         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9209         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9210         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9211         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9212         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9213         macro on offset argument.
9214         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9215         SYSCALL_LL64 on offset argument.
9217         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9218         tst-fallocate64.
9219         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9220         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9221         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9222         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9223         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9224         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9225         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9226         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9227         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9228         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9229         macro on offset argument.
9230         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9231         SYSCALL_LL64 on offset argument.
9232         * test-skeleton.c (FAIL_RET): Add macro.
9233         (FAIL_EXIT): Likewise.
9234         (FAIL_EXIT1): Likewise.
9235         (_FAIL): Likewise.
9237 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9239         [BZ #20629]
9240         resolv: Remove RES_USEBSTRING and its implementation.
9241         * resolv/resolv.h (RES_USEBSTRING): Remove.
9242         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9243         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9244         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9245         (labellen): Remove extended label types support.
9246         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9247         * resolv/res_init.c (res_setoptions): Likewise.
9248         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9250 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9252         resolv: Remove RES_NOIP6DOTINT and its implementation.
9253         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9254         (RES_NOIP6DOTINT): Remove.
9255         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9256         handling.
9257         * resolv/res_debug.c (p_option): Likewise.
9258         * resolv/res_init.c (res_setoptions): Likewise.
9259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9261 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9263         resolv: Deprecate unimplemented flags.
9264         * misc/sys/cdefs.h (__glibc_macro_warning1)
9265         (__glibc_macro_warning): Define.
9266         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9267         (RES_KEEPTSIG): Mark as deprecated.
9268         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9269         RES_NOCHECKNAME, RES_KEEPTSIG.
9270         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9272 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9274         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9275         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9276         Use strong_alias to create symbols for glibc verison 2.19.
9278 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9280         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9282 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9284         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9286 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9288         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9290 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9293         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9294         in header for using it as type for ifunc function because __GI_* symbols
9295         for ppc32 do not target the ifunc symbols.
9296         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9298 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9300         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9301         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9302         libc_ifunc_hidden_def.
9303         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9304         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9305         Redirect ifunced function in header for using it as type of ifunc'ed
9306         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9307         function for __GI_* symbol.
9308         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9309         * include/libc-symbols.h
9310         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9312 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9314         [BZ #20478]
9315         * sysdeps/s390/multiarch/ifunc-resolve.h
9316         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9317         to create ifunc symbols.
9318         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9319         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9320         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9321         for using it as type for ifunc function.
9322         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9323         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9324         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9325         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9326         * sysdeps/s390/multiarch/strcat.c: Likewise.
9327         * sysdeps/s390/multiarch/strchr.c: Likewise.
9328         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9329         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9330         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9331         * sysdeps/s390/multiarch/strlen.c: Likewise.
9332         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9333         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9334         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9335         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9336         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9337         * sysdeps/s390/multiarch/strspn.c: Likewise.
9338         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9339         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9340         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9341         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9342         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9343         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9344         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9345         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9346         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9347         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9348         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9349         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9351 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9353         * include/libc-symbols.h (__ifunc_resolver):
9354         New macro is used by __ifunc* macros.
9355         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9356         depending on HAVE_GCC_IFUNC.
9357         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9358         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9360         Redirect ifunced function in header for using as type for ifunc function.
9361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9366         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9367         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9369         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9370         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9374         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9380         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9381         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9382         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9383         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9384         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9385         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9386         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9387         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9388         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9389         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9390         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9391         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9392         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9393         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9395         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9396         instead of libc_ifunc() macro.
9397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9400 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9402         * config.h.in (HAVE_GCC_IFUNC): New undef.
9403         * configure.ac: Add check if gcc supports attribute ifunc feature.
9404         * configure: Regenerated.
9405         * manual/install.texi: Add recommendation for gcc with
9406         indirect-function support.
9407         * INSTALL: Regenerated.
9409 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9411         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9412         macro.
9413         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9414         (__iseqsig): New declaration.
9415         * math/s_iseqsig_template.c: New file.
9416         * math/Versions (__iseqsigf): New libm symbol at version
9417         GLIBC_2.25.
9418         (__iseqsig): Likewise.
9419         (__iseqsigl): Likewise.
9420         * math/libm-test.inc (iseqsig_test_data): New array.
9421         (iseqsig_test): New function.
9422         (main): Call iseqsig_test.
9423         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9424         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9425         * manual/libm-err-tab.pl: Update comment on interfaces without
9426         ulps tabulated.
9427         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9428         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9429         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9430         * sysdeps/nacl/libm.abilist: Update.
9431         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9433         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9434         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9435         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9436         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9437         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9438         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9439         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9440         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9441         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9442         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9444         Likewise.
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9446         Likewise.
9447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9448         Likewise.
9449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9450         Likewise.
9451         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9452         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9453         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9454         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9455         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9457         Likewise.
9458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9459         Likewise.
9460         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9461         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9462         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9464 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9466         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9467         do_sincos_2, sloww, sloww1): Update comments.
9469         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9470         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9472         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9473         K boolean and rename it.
9474         (__sin): Adjust.
9475         (__cos): Adjust.
9477 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9478             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9480         * manual/nss.texi: Fix typos in the manual.
9482 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9484         * manual/contrib.texi: Fix typos in the manual.
9486         * manual/maint.texi: Fix typos in the manual.
9488         * manual/install.texi: Fix typos in the manual.
9489         * INSTALL: Regenerated.
9491         * manual/lang.texi: Fix typos in the manual.
9493         * manual/probes.texi: Fix typos in the manual.
9495         * manual/threads.texi: Fix typos in the manual.
9497         * manual/debug.texi: Fix typos in the manual.
9499         * manual/crypt.texi: Fix typos in the manual.
9501         * manual/conf.texi: Fix typos in the manual.
9503         * manual/sysinfo.texi: Fix typos in the manual.
9505         * manual/users.texi: Fix typos in the manual.
9507         * manual/job.texi: Fix typos in the manual.
9509         * manual/process.texi: Fix typos in the manual.
9511         * manual/argp.texi: Fix typos in the manual.
9512         * manual/getopt.texi: Likewise.
9513         * manual/startup.texi: Likewise.
9515         * manual/signal.texi: Fix typos in the manual.
9517         * manual/setjmp.texi: Fix typos in the manual.
9519         * manual/resource.texi: Fix typos in the manual.
9521         * manual/time.texi: Fix typos in the manual.
9523         * manual/arith.texi: Fix typos in the manual.
9525         * manual/math.texi: Fix typos in the manual.
9527         * manual/syslog.texi: Fix typos in the manual.
9529         * manual/terminal.texi: Fix typos in the manual.
9531         * manual/socket.texi: Fix typos in the manual.
9533         * manual/filesys.texi: Fix typos in the manual.
9535         * manual/llio.texi: Fix typos in the manual.
9537         * manual/stdio.text: Fix typos in the manual.
9539 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9541         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9542         instead of K1.
9544         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9545         SHIFT_QUADRANT and make it bool.
9546         (do_sincos_2): Likewise.
9547         (sloww): Likewise.
9548         (sloww1): Likewise.
9549         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9550         (__cos): Likewise.
9552 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9554         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9556 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9558         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9559         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9560         0x7fffffffL].
9561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9563 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9565         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9566         inline by __inline__.
9567         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9568         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9569         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9570         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9571         sigset_t from signal.h.
9572         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9573         which is already required.
9575 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9577         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9579 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9581         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9582         (struct tcp_repair_window): New type.
9584 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9586         * libio/tst-memstream3.c: Include string.h.
9588 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9590         [BZ #18241]
9591         [BZ #20181]
9592         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9593         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9594         write position is at the end the buffer.
9595         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9596         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9597         (_IO_str_seekoff): Set correct offset from negative displacement and
9598         set EINVAL for invalid ones.
9599         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9600         buffer length.
9601         (_IO_wstr_switch_to_get_mode): New function.
9602         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9603         set EINVAL for invalid ones.
9604         * libio/tst-memstream3.c: New file.
9605         * libio/tst-wmemstream3.c: Likewise.
9606         * manual/examples/memstrm.c: Remove warning when priting size_t.
9608 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9610         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9611         macro to use __builtin_fma.
9612         * sysdeps/x86_64/fpu/dla.h: Remove file.
9614         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9615         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9616         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9618 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9620         [BZ #20292]
9621         * elf/Makefile (routines): Add dl-addr-obj.
9622         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9623         tst-_dl_addr_inside_object.
9624         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9625         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9626         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9627         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9628         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9629         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9630         * elf/dl-open.c: Likewise.
9631         * elf/dl-addr-obj.c: New file.
9632         * elf/tst-_dl_addr_inside_object.c: New file.
9634 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9636         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9637         <bits/iscanonical.h>.
9638         * bits/iscanonical.h: New file.
9639         * math/s_iscanonicall.c: Likewise.
9640         * math/Versions (__iscanonicall): New libm symbol at version
9641         GLIBC_2.25.
9642         * math/libm-test.inc (iscanonical_test_data): New array.
9643         (iscanonical_test): New function.
9644         (main): Call iscanonical_test.
9645         * math/Makefile (headers): Add bits/iscanonical.h.
9646         (type-ldouble-routines): Add s_iscanonicall.
9647         * manual/arith.texi (Floating Point Classes): Document
9648         iscanonical.
9649         * manual/libm-err-tab.pl: Update comment on interfaces without
9650         ulps tabulated.
9651         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9652         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9654         Likewise.
9655         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9656         test-iscanonical-ldbl-128ibm.
9657         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9658         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9659         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9660         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9665         Likewise.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9667         Likewise.
9668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9669         Likewise.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9675 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9677         * string/bits/string3.h: Remove C++ style comments.
9679 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9681         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9682         instead of ternary condition.
9683         (do_sincos_2): Likewise.
9684         (__sin): Likewise.
9685         (__cos): Likewise.
9686         (slow): Likewise.
9687         (sloww): Likewise.
9688         (sloww1): Likewise.
9689         (bsloww): Likewise.
9690         (bsloww1): Likewise.
9692         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9693         instead of ternary condition.
9694         (do_sin_slow): Likewise.
9695         (do_sincos_1): Likewise.
9696         (do_sincos_2): Likewise.
9697         (__cos): Likewise.
9698         (sloww): Likewise.
9699         (sloww1): Likewise.
9700         (sloww2): Likewise.
9701         (bsloww): Likewise.
9702         (bsloww1): Likewise.
9703         (bsloww2): Likewise.
9705         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9706         check from here...
9707         (slow2): ... and here...
9708         (__sin): ... to here.
9710 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9712         * math/math.h
9713         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9714         Cast argument to its own type.
9715         * math/test-iszero-excess-precision.c: New file.
9716         * math/Makefile (tests): Add test-iszero-excess-precision.
9717         (CFLAGS-test-iszero-excess-precision.c): New variable.
9719 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9721         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9722         field, add err field.
9723         (__spawni_child): Report error through err member instead of pipe.
9724         (__spawnix): Likewise.
9726 2016-09-28  Zack Weinberg  <zackw@panix.com>
9728         * scripts/check-installed-headers.sh: Generalize treatment of
9729         sys/elf.h to all target architectures.
9731         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9732         deleted typedef ucontext_t.
9734 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9736         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9737         (__INTERNAL_SYSCALL1): Likewise.
9738         (__INTERNAL_SYSCALL2): Likewise.
9739         (__INTERNAL_SYSCALL3): Likewise.
9740         (__INTERNAL_SYSCALL4): Likewise.
9741         (__INTERNAL_SYSCALL5): Likewise.
9742         (__INTERNAL_SYSCALL6): Likewise.
9743         (__INTERNAL_SYSCALL7): Likewise.
9744         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9745         (__INTERNAL_SYSCALL_NARGS): Likewise.
9746         (__INTERNAL_SYSCALL_DISP): Likewise.
9747         (INTERNAL_SYSCALL_CALL): Likewise.
9748         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9749         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9750         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9751         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9752         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9753         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9754         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9755         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9756         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9757         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9758         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9759         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9760         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9762 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9764         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9765         macro.
9766         * math/libm-test.inc (iszero_test_data): New array.
9767         (iszero_test): New function.
9768         (main): Call iszero_test.
9769         * manual/arith.texi (Floating Point Classes): Document iszero.
9770         * manual/libm-err-tab.pl: Update comment on interfaces without
9771         ulps tabulated.
9773 2016-09-23  Zack Weinberg  <zackw@panix.com>
9775         * scripts/check-installed-headers.sh: New script.
9776         * Rules: In each directory that defines header files to be installed,
9777         run check-installed-headers.sh on them as a special test.
9778         * Makefile: Likewise for the headers installed at top level.
9780         * include/aliases.h, include/alloca.h, include/argz.h
9781         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9782         * include/elf.h, include/envz.h, include/err.h
9783         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9784         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9785         * include/link.h, include/malloc.h, include/mcheck.h
9786         * include/mntent.h, include/netinet/ether.h
9787         * include/nss.h, include/obstack.h, include/printf.h
9788         * include/pty.h, include/resolv.h, include/rpc/auth.h
9789         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9790         * include/rpc/clnt.h, include/rpc/des_crypt.h
9791         * include/rpc/key_prot.h, include/rpc/netdb.h
9792         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9793         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9794         * include/rpc/rpc_msg.h, include/rpc/svc.h
9795         * include/rpc/svc_auth.h, include/rpc/xdr.h
9796         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9797         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9798         * include/rpcsvc/ypupd.h, include/shadow.h
9799         * include/stdio_ext.h, include/sys/epoll.h
9800         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9801         * include/sys/prctl.h, include/sys/profil.h
9802         * include/sys/statfs.h, include/sys/sysctl.h
9803         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9804         * sysdeps/arm/nacl/include/bits/setjmp.h
9805         * sysdeps/mips/include/sys/asm.h
9806         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9807         * sysdeps/unix/sysv/linux/include/sys/timex.h
9808         * sysdeps/x86/fpu/include/bits/fenv.h:
9809         Add #ifndef _ISOMAC guard around internal declarations.
9810         Add multiple-inclusion guard if not already present.
9812 2016-09-23  Zack Weinberg  <zackw@panix.com>
9814         * sysdeps/generic/sys/ucontext.h
9815         * sysdeps/arm/sys/ucontext.h
9816         * sysdeps/i386/sys/ucontext.h
9817         * sysdeps/m68k/sys/ucontext.h
9818         * sysdeps/mips/sys/ucontext.h
9819         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9820         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9821         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9822         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9823         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9824         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9825         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9826         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9827         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9828         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9829         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9830         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9831         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9832         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9833         Include both bits/sigcontext.h and bits/sigstack.h.
9834         Fix grammar error in comment, if present.
9836         * bits/sigstack.h
9837         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9838         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9839         * sysdeps/unix/sysv/linux/bits/sigstack.h
9840         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9841         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9842         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9843         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9844         * bits/sigcontext.h
9845         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9846         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9847         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9848         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9849         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9850         as well as signal.h, if this was not already allowed.  Request
9851         definition of size_t if necessary.  Minimize semantically-null
9852         differences across files.
9854 2016-09-23  Zack Weinberg  <zackw@panix.com>
9856         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9857         Remove all logic conditional on __need macros.  Move all the
9858         conditionally defined types to their own headers...
9859         * time/bits/types/clock_t.h: Define clock_t here.
9860         * time/bits/types/clockid_t.h: Define clockid_t here.
9861         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9862         * time/bits/types/struct_timespec.h: Define struct timespec here.
9863         * time/bits/types/struct_timeval.h: Define struct timeval here.
9864         * time/bits/types/struct_tm.h: Define struct tm here.
9865         * time/bits/types/time_t.h: Define time_t here.
9866         * time/bits/types/timer_t.h: Define timer_t here.
9867         * time/Makefile: Install the new headers.
9869         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9870         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9871         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9872         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9873         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9874         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9875         * sysdeps/unix/sysv/linux/bits/resource.h
9876         * sysdeps/unix/sysv/linux/bits/timex.h
9877         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9878         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9879         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9880         * sysdeps/unix/sysv/linux/sys/acct.h
9881         * sysdeps/unix/sysv/linux/sys/timerfd.h
9882         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9883         * time/sys/time.h, time/sys/timeb.h
9884         Use the new bits/types headers.
9886         * include/time.h: Remove __need logic.
9887         * include/bits/time.h
9888         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9889         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9890         * include/bits/types/struct_itimerspec.h
9891         * include/bits/types/struct_timespec.h
9892         * include/bits/types/struct_timeval.h
9893         * include/bits/types/struct_tm.h:
9894         New wrapper headers.
9896 2016-09-23  Zack Weinberg  <zackw@panix.com>
9898         * sysdeps/mach/hurd/net/if_ppp.h
9899         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9900         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9901         if __USE_MISC is defined, to ensure struct ifreq is declared.
9903         * inet/netinet/ether.h: Condition all function prototypes
9904         on __USE_MISC, to ensure struct ether_addr is declared.
9906         * socket/bits/types/struct_osockaddr.h: New header.
9907         * include/bits/types/struct_osockaddr.h: New wrapper.
9908         * socket/Makefile: Install the new header.
9909         * socket/sys/socket.h, inet/protocols/talkd.h:
9910         Refer to bits/types/struct_osockaddr.h for the definition of
9911         struct osockaddr.
9913 2016-09-23  Zack Weinberg  <zackw@panix.com>
9915         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9916         * inet/protocols/routed.h, inet/protocols/talkd.h
9917         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9918         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9919         * sysdeps/generic/netinet/if_ether.h
9920         * sysdeps/generic/netinet/in_systm.h
9921         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9922         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9923         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9924         * sysdeps/mach/hurd/net/if_arp.h
9925         * sysdeps/mach/hurd/net/if_ppp.h
9926         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9927         * sysdeps/unix/sysv/linux/bits/in.h
9928         * sysdeps/unix/sysv/linux/net/ethernet.h
9929         * sysdeps/unix/sysv/linux/net/if_arp.h
9930         * sysdeps/unix/sysv/linux/net/if_ppp.h
9931         * sysdeps/unix/sysv/linux/net/if_shaper.h
9932         * sysdeps/unix/sysv/linux/net/route.h
9933         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9934         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9935         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9936         * sysdeps/unix/sysv/linux/netipx/ipx.h
9937         * sysdeps/unix/sysv/linux/sys/acct.h
9938         * include/arpa/nameser.h, include/resolv.h:
9939         Change all uses of u_char to unsigned char,
9940         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9941         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9942         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9943         and u_int64_t and u_quad_t to uint64_t.
9945         * mach/sys/reboot.h: Remove two casts of integer literals
9946         to the types they already have.
9948         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9949         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9950         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9951         from referring to 'unsigned char' to 'uint8_t' for consistency with
9952         the macro definition below.
9954         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9955         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9956         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9957         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9958         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9959         * sysdeps/unix/sysv/linux/sys/acct.h
9960         * include/arpa/nameser.h, include/resolv.h:
9961         Fix indentation disrupted by mechanical edits.
9963         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9964         * sysdeps/generic/netinet/in_systm.h
9965         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9966         * sysdeps/gnu/netinet/udp.h
9967         * sysdeps/unix/sysv/linux/net/ethernet.h
9968         * sysdeps/unix/sysv/linux/net/if_arp.h
9969         * sysdeps/unix/sysv/linux/net/if_ppp.h
9970         * sysdeps/unix/sysv/linux/net/if_shaper.h
9971         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9972         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9973         * sysdeps/unix/sysv/linux/netipx/ipx.h
9974         * sysdeps/unix/sysv/linux/sys/acct.h
9975         Include stdint.h for uintNN_t definitions.
9976         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9978 2016-09-23  Zack Weinberg  <zackw@panix.com>
9980         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9981         * sysdeps/unix/sysv/linux/netrose/rose.h:
9982         Include sys/socket.h and netax25/ax25.h.
9984         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9985         * resolv/arpa/nameser_compat.h:
9986         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9988         * sysdeps/unix/sysv/linux/sys/quota.h:
9989         Use __caddr_t instead of caddr_t.
9990         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9991         Use __clockid_t instead of clockid_t.
9993         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9995         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9996         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9997         expanding it.
9999         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10000         Define __glibc_c99_flexarr_available to 1 when the compiler
10001         supports C99-compatible flexible array members, 0 otherwise.
10002         * sysdeps/unix/sysv/linux/bits/socket.h
10003         * sysdeps/mach/hurd/bits/socket.h
10004         * bits/socket.h: Use __glibc_c99_flexarr_available in
10005         definitions of struct cmsghdr and CMSG_DATA.
10007 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10009         * manual/nss.texi (NSS Modules Interface): Adjust function return
10010         type to enum nss_status.  Document errnop argument.  Clarify
10011         h_errnop semantics.  Fix cross-reference formatting.
10012         (NSS Module Function Internals): Mention that *errnop needs to be
10013         set on failure, but not to zero.
10015 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10017         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10018         (get_random_name): New functions.
10019         (check_wrapper_flags_mode): Use linkat to give the new file a name
10020         determined by get_random_name.
10021         (do_test): Add calls to test open64 and openat64.
10023 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10025         * test-skeleton.c: Remove #include <stdarg.h>.
10027 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10029         [BZ #19826]
10030         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10031         initialization of static TLS entries.
10032         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10033         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10035 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10037         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10038         _hurd_malloc_fork_prepare.
10039         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10040         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10041         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10042         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10043         (_hurd_fork_child_hook): Drop malloc_fork_child.
10044         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10045         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10046         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10047         after locking locks (notably hurd_dtable_lock). Call
10048         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10049         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10050         __malloc_fork_unlock_child.
10051         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10053 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10055         * soft-fp/extendhftf2.c: New.
10056         * soft-fp/fixhfti.c: Likewise.
10057         * soft-fp/fixunshfti.c: Likewise.
10058         * soft-fp/floattihf.c: Likewise.
10059         * soft-fp/floatuntihf.c: Likewise.
10060         * soft-fp/half.h: Likewise.
10061         * soft-fp/trunctfhf2.c: Likewise.
10063 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10065         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10066         macro.
10067         * math/libm-test.inc (issubnormal_test_data): New array.
10068         (issubnormal_test): New function.
10069         * manual/arith.texi (Floating Point Classes): Document
10070         issubnormal.
10071         * manual/libm-err-tab.pl: Update comment on interfaces without
10072         ulps tabulated.
10074         * sysdeps/generic/stdint.h: Define
10075         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10076         <bits/libc-header-start.h> instead of including <features.h>.
10077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10110         * manual/arith.texi (Integers): Document these macros for types
10111         specified by width properties.
10112         * manual/lang.texi (Width of Type): Document these macros for
10113         other standard typedefs.
10114         * stdlib/tst-width-stdint.c: New file.
10115         * stdlib/Makefile (tests): Add tst-width-stdint.
10117 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10119         [BZ #20016]
10120         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10121         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10122         Move ...
10123         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10124         ... here, as compatibility symbols in a new file.
10125         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10126         * resolv/res_init.c (__res_vinit): Adjust member names.
10127         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10128         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10129         (res_send_rhook): Remove.
10130         (struct __res_state): Rename qhook, rhook members.
10132 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10134         malloc: Use __libc_lock wrappers.
10135         * malloc/arena.c (list_lock, free_list_lock): Define using
10136         __libc_lock_define_initialized.
10137         (arena_lock): Adjust formatting.
10138         * malloc/malloc.c (struct malloc_state): Define mutex using
10139         __libc_lock_define.
10140         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10141         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10142         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10143         (mutex_unlock, mutex_trylock): Remove.
10144         (__pthread_initialize): Remove unused macro.
10145         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10146         (mutex_unlock, mutex_trylock): Remove.
10148 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10150         [BZ #20592]
10151         Remove RR type classification macros.
10152         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10153         (ns_t_udp_p, ns_t_xfr_p): Remove.
10155 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10157         Remove misleading version information.
10158         * resolv/arpa/nameser.h (__NAMESER): Remove.
10159         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10161 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10163         Remove the always-defined BIND_4_COMPAT macro.
10164         * resolv/arpa/nameser.h: Unconditionally include
10165         <arpa/nameser_compat.h>.
10166         (BIND_4_COMPAT): Remove.
10167         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10169 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10171         [BZ #20591]
10172         Remove obsolete DNSSEC support.
10173         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10174         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10175         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10176         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10177         (ns_cert_types): Add comment.
10178         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10179         separately.
10180         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10181         (dst_s_dns_key_id): Remove.
10182         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10183         variables.
10185 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10187         [BZ #20524]
10188         * manual/string.texi (String/Array Comparison): Clarify the
10189         strverscmp behavior.
10191 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10193         * test-skeleton.c (xasprintf): Add function.
10194         * io/tst-open-tmpfile.c: New test.
10195         * io/Makefile (tests): Add it.
10197 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10199         Avoid running $(CXX) during build to obtain header file paths.
10200         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10201         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10202         * Makerules (cstdlib, cmath): Remove variables.  Use
10203         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10204         * configure: Regenerate.
10206 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10208         * Makeconfig (all-object-suffixes): Include .op only if
10209         $(build-profile).
10211 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10213         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10214         conditionals.  Do not define PATH_MAX.
10216 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10218         * posix/Makefile (tests): Add tst-spawn3.
10219         * posix/tst-spawn3.c: New file.
10220         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10221         if it is already opened for open action.
10223         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10224         all signals when executing the clone vfork child.
10225         (SIGALL_SET): Remove macro.
10227         * nptl/Makefile (tests): Add tst-exec5.
10228         * nptl/tst-exec5.c: New file.
10229         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10230         asynchronous cancellation.
10232 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10234         * hurd/exc2signal.c: #include <hurd/signal.h>
10235         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10236         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10237         accordingly.
10238         * mach/mach_error.c (mach_error): Fix old-style function definition.
10239         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10241 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10243         * math/Makefile (libm-calls): Remove s_nanF.
10244         (gen-libm-calls): Add s_nanF.
10246         * math/s_nan.c: Refactor into ...
10247         * math/s_nan_template.c: New file.
10249         * math/s_nanf.c: Removed.
10250         * math/s_nanl.c: Removed.
10251         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10252         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10254         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10255         (LDOUBLE_nanl_libm_version): New macro.
10257         * sysdeps/generic/math-type-macros-double.h:
10258         (M_STRTO_NAN): New macro.
10259         * sysdeps/generic/math-type-macros-float.h: Likewise.
10260         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10262         * sysdeps/generic/math-type-macros.h: Document
10263         M_STRTO_NAN.
10265 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10267         * math/s_nanf.c: Remove __nanf undef.
10268         * math/s_nan.c: Remove __nan undef.
10269         * math/s_nanl.c: Remove __nanl undef.
10271         * sysdeps/generic/math_private.h (__nan): Remove macro
10272         override.
10273         (__nanf): Likewise.
10274         (__nanl): Likewise.
10276 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10278         * math/Makefile (gen-all-calls): New variable.
10279         (generated): Replace gen-libm-calls with gen-all-calls.
10280         (gen-libm-templates.stmp): Likewise.  Also, ensure
10281         the output directory exists or is created and add
10282         dependency on the Makefile.
10283         (calls): Move s_ldexpF into gen-calls.
10284         (gen-calls): New variable.
10286         * math/s_ldexpf.c: Removed.
10287         * math/s_ldexpl.c: Removed.
10288         * math/s_ldexp.c: Refactored into ...
10289         * math/s_ldexp_template.c: New file.
10291         * sysdeps/generic/math-type-macros-double.h: Remove
10292         redundant fall-through definition of declare_mgen_alias.
10293         (declare_mgen_alias_2): New macro.
10295         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10296         New macro for function aliased to two exported symbols.
10298         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10299         new template file.
10300         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10302 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10304         * Makeconfig (all-object-suffixes): Remove .og.
10305         * Makerules (elide-routines.og): Remove.
10306         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10307         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10308         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10310 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10312         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10313         .os objects.
10315 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10317         [BZ #20615]
10318         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10319         fpu directory by non-fpu.
10320         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10321         on non-fpu directory from a fpu directory.
10323 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10325         * include/limits.h: Define
10326         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10327         <bits/libc-header-start.h> instead of including <features.h>.
10328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10339         * manual/lang.texi (Width of Type): Document these macros.
10340         * stdlib/tst-width.c: New file.
10341         * stdlib/Makefile (tests): Add tst-width.
10343 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10345         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10346         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10348 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10350         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10351         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10352         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10354 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10356         [BZ #18243]
10357         * rt/Makefile (test): Add tst-shm-cancel.
10358         * rt/tst-shm-cancel.c: New file.
10359         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10361         [BZ #18243]
10362         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10363         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10364         definition.
10365         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10366         uncontended case.
10367         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10368         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10369         (tf): Fix check for uncontended case.
10370         (do_test): Likewise.
10371         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10372         (tf): Fix check for uncontended case.
10373         (do_test): Likewise.
10374         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10375         (tf): Fix check for uncontended case.
10376         (do_test): Likewise.
10377         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10378         (tf): Fix check for uncontended case.
10379         (do_test): Likewise.
10381         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10382         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10384         [BZ #15765]
10385         * nptl/Makefile (tests): Add tst-sem16.
10386         * nptl/tst-sem16.c: New file.
10387         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10389         * nptl/sem_open.c (sem_open): Init pad value to 0.
10390         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10391         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10393 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10395         [BZ #20611]
10396         * inet/Makefile (routines): Add inet6_scopeid_pton.
10397         (tests): Add tst-inet6_scopeid_pton.
10398         * inet/inet6_scopeid_pton.c: New file.
10399         * inet/net-internal.h: Likewise.
10400         * inet/tst-inet6_scopeid_pton.c: New test.
10401         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10402         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10405 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10407         Remove support for compiling wrappers with PTW.
10408         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10409         * nptl/Makefile (pthread-compat-wrappers): Define.
10410         (libpthread-routines): Use pthread-compat-wrappers.
10411         * sysdeps/unix/sysv/linux/alpha/Makefile
10412         (libpthread-routines, libpthread-shared-only-routines): Remove
10413         ptw- prefix.
10414         * sysdeps/s390/nptl/Makefile
10415         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10416         * sysdeps/ia64/nptl/Makefile
10417         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10418         * sysdeps/nacl/Makefile (libpthread-routines): Use
10419         pthread-compat-wrappers to filter the routines list instead of the
10420         ptw- prefix.
10422 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10424         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10425         with L() and remove explicit suffix, convert real literals
10426         which can be equivalentally substituted with integers, and
10427         transform -L(x) to L(-x).
10429         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10430         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10431         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10432         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10433         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10434         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10435         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10437         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10438         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10439         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10440         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10442         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10443         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10444         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10445         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10447         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10448         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10449         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10450         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10451         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10452         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10453         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10454         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10455         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10456         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10457         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10458         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10459         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10460         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10461         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10462         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10463         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10464         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10465         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10466         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10467         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10468         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10469         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10470         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10471         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10472         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10473         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10474         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10475         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10476         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10477         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10478         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10480 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10482         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10484 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10486         * malloc/Makefile (tests): Remove individual static test names
10487         and just add all of tests-static.
10489         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10491 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10493         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10494         file.
10496         * sysdeps/sparc/fpu/fegetmode.c: New file.
10497         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10499         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10500         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10502         * sysdeps/s390/fpu/fegetmode.c: New file.
10503         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10505         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10506         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10507         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10508         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10509         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10510         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10512         * sysdeps/mips/fpu/fegetmode.c: New file.
10513         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10515         * sysdeps/m68k/fpu/fegetmode.c: New file.
10516         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10518         * sysdeps/ia64/fpu/fegetmode.c: New file.
10519         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10521         * sysdeps/hppa/fpu/fegetmode.c: New file.
10522         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10524         * sysdeps/arm/fegetmode.c: New file.
10525         * sysdeps/arm/fesetmode.c: Likewise.
10527         * sysdeps/alpha/fpu/fegetmode.c: New file.
10528         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10530         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10531         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10533         * math/fegetmode.c: New file.
10534         * math/fesetmode.c: Likewise.
10535         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10536         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10537         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10538         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10539         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10541         declaration.
10542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10543         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10544         typedef.
10545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10546         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10547         (femode_t): New typedef.
10548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10549         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10550         (femode_t): New typedef.
10551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10552         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10553         (femode_t): New typedef.
10554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10555         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10556         (femode_t): New typedef.
10557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10558         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10559         (femode_t): New typedef.
10560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10561         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10562         (femode_t): New typedef.
10563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10564         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10565         (femode_t): New typedef.
10566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10567         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10568         (femode_t): New typedef.
10569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10570         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10571         (femode_t): New typedef.
10572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10573         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10574         (femode_t): New typedef.
10575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10576         declaration.
10577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10578         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10579         (femode_t): New typedef.
10580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10581         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10582         (femode_t): New typedef.
10583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10584         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10585         (femode_t): New typedef.
10586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10587         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10588         (femode_t): New typedef.
10589         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10590         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10591         (femode_t): New typedef.
10592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10593         * manual/arith.texi (FE_DFL_MODE): Document macro.
10594         (fegetmode): Document function.
10595         (fesetmode): Likewise.
10596         * math/Versions (fegetmode): New libm symbol at version
10597         GLIBC_2.25.
10598         (fesetmode): Likewise.
10599         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10600         (tests): Add test-femode and test-femode-traps.
10601         * math/test-femode-traps.c: New file.
10602         * math/test-femode.c: Likewise.
10603         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10604         alias for __fe_dfl_env.
10605         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10606         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10607         (__fe_dfl_mode): Likewise.
10608         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10609         version GLIBC_2.25.
10610         * sysdeps/nacl/libm.abilist: Update.
10611         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10612         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10613         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10614         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10615         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10616         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10618         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10620         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10624         Likewise.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10628         Likewise.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10632         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10633         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10635         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10644 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10646         [BZ #20495]
10647         [BZ #20508]
10648         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10649         processors, set Use_dl_runtime_resolve_slow and set
10650         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10651         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10652         New.
10653         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10654         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10655         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10656         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10657         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10658         if Use_dl_runtime_resolve_opt is set.  Use
10659         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10660         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10661         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10662         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10663         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10664         New.
10665         (_dl_runtime_resolve_opt): Likewise.
10666         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10667         defined.
10669 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10671         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10672         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10674 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10676         Convert malloc to __libc_lock.  Automated part, using this Perl
10677         s/// command:
10678           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10679             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10680         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10681         conversion.
10683 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10685         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10686         (linknamespace-symlists-tests): Likewise.
10687         (linknamespace-header-tests): Likewise.
10689 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10691         [BZ #19810]
10692         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10693         * elf/tst-noload.c: New test case.
10694         * elf/Makefile (tests): Add tst-noload.
10696 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10698         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10700         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10701         not any more.
10703         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10705 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10707         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10708         (do_cos_slow): Likewise.
10709         (do_sin): Likewise.
10710         (do_sin_slow): Likewise.
10711         (slow): Likewise.
10712         (slow1): Likewise.
10713         (slow2): Likewise.
10714         (sloww): Likewise.
10715         (sloww1): Likewise.
10716         (sloww2): Likewise.
10717         (bsloww): Likewise.
10718         (bsloww1): Likewise.
10719         (bsloww2): Likewise.
10720         (cslow2): Likewise.
10722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10724         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10725         arguments.  Consolidate input partitioning from callers here.
10726         (do_cos_slow): Likewise.
10727         (do_sin): Likewise.
10728         (do_sin_slow): Likewise.
10729         (do_sincos_1): Remove the no longer necessary input partitioning.
10730         (do_sincos_2): Likewise.
10731         (__sin): Likewise.
10732         (__cos): Likewise.
10733         (slow1): Likewise.
10734         (slow2): Likewise.
10735         (sloww1): Likewise.
10736         (sloww2): Likewise.
10737         (bsloww1): Likewise.
10738         (bsloww2): Likewise.
10739         (cslow2): Likewise.
10741 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10743         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10744         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10745         outside of allocated array.
10747 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10749         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10750         instead of MB_CUR_MAX to avoid variable-length array.
10752 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10754         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10755         (type-double-routines): Add k_rem_pio2.
10756         (type-float-routines): Add k_rem_pio2f.
10758         * sysdeps/generic/math_private.h:
10759         (__kernel_rem_pio2l): Removed.
10761         * math/k_rem_pio2l.c: Removed.
10762         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10763         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10764         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10765         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10767 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10769         * math/Makefile (gen-libm-calls): Add s_fmin
10770         (libm-calls): Remove above.
10772         * math/s_fmin.c: Refactor into ...
10773         * math/s_fmin_template.c: New file.
10775         * math/s_fminf.c: Removed.
10776         * math/s_fminl.c: Removed.
10777         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10778         (LDOUBLE_fmin_libm_version): New macro.
10780         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10781         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10783 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10785         * math/Makefile: (gen-libm-calls): Add s_fmax.
10786         (libm-calls): Remove above.
10788         * math/s_fmax.c: Refactor into ...
10789         * math/s_fmax_template.c: New file.
10790         * math/s_fmaxf.c: Removed.
10791         * math/s_fmaxl.c: Removed.
10793         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10794         (LDOUBLE_fmaxl_libm_version): New macro.
10796         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10797         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10799         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10800         s_fmin.c to pick the aarch64 version of the file.
10801         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10802         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10804 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10806         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10807         (libm-calls): Remove above.
10809         * math/s_nextdown.c: Refactor into ...
10810         * math/s_nextdown_template.c: New file.
10811         * math/s_nextdownf.c: Removed.
10812         * math/s_nextdownl.c: Removed.
10814         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10816 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10818         * math/Makefile (gen-libm-calls): Add s_fdim.
10819         (libm-calls): Move to above.
10821         * math/s_fdim.c: Renamed and refactored into to ...
10822         * math/s_fdim_template.c: New file.
10823         * math/s_fdiml.c: Removed.
10824         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10825         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10827         * sysdeps/generic/math-type-macros-double.h:
10828         (declare_mgen_alias): Don't declare if already declared.
10829         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10830         Likewise.
10832         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10833         (declare_mgen_alias): Don't declare if already declared.
10834         (M_LIBM_NEED_COMPAT): Likewise.
10835         (declare_mgen_libm_compat): Likewise.
10836         (LDOUBLE_fdiml_libm_version): New macro.
10838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10839         Include math/s_fdim.c now that ldbl-opt version is not needed.
10840         (declare_mgen_alias): New macro to disable aliasing.
10842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10843         (declare_mgen_alias): Likewise.
10844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10845         (declare_mgen_alias): Likewise.
10846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10847         (declare_mgen_alias): Likewise.
10848         (M_LIBM_NEED_COMPAT): Likewise.
10850 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10852         [BZ #20525]
10853         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10854         Include <linux/quota.h>.
10855         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10856         and btodb.
10857         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10858         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10859         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10860         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10861         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10862         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10863         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10864         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10865         types.
10866         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10867         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10869 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10871         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10872         (gammal_positive): Fix spacing.
10873         (__ieee754_gammal_r): Likewise.
10875 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10877         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10878         (_Float128): Define as long double, always.
10879         (L): Apply long double type suffix, always.
10881         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10882         _Float128, excepting comments.
10884         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10885         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10886         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10887         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10888         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10889         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10890         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10891         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10893         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10894         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10895         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10896         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10897         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10898         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10899         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10900         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10901         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10902         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10903         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10904         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10905         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10906         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10907         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10908         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10909         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10910         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10911         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10913         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10914         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10915         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10916         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10917         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10918         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10919         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10920         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10921         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10922         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10923         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10924         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10925         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10926         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10927         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10928         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10929         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10930         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10931         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10932         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10933         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10934         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10935         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10938         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10939         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10940         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10941         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10942         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10943         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10944         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10945         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10947         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10948         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10949         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10950         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10953         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10954         _Float128, and include math_private.h.
10955         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10957         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10958         long double semantics.
10959         (_Float128): Likewise.
10960         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10961         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10962         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10963         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10965 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10967         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10968         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10969         * sysdeps/s390/configure: Regenerated.
10970         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10971         instruction for raising over-/underflow if z196 zarch is supported
10972         by default.
10973         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10975 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10977         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10978         it point to a dumb buffer for RPC to fill it.
10980 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10982         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10983         instead of if/else.
10984         (do_sin_slow): Likewise.
10985         (do_sincos_1): Use fabs instead of if/else.
10986         (do_sincos_2): Likewise.
10987         (__sin): Likewise.
10988         (__cos): Likewise.
10989         (slow2): Likewise.
10990         (sloww): Likewise.
10991         (sloww1): Likewise.  Drop argument M.
10992         (sloww2): Use fabs instead of if/else.
10993         (bsloww): Likewise.
10994         (bsloww1): Likewise.
10995         (bsloww2): Likewise.
10997         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10998         fall through comment.
10999         (do_sincos_1): Likewise.
11001         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11002         Consolidate switch cases 0 and 2.
11004 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11006         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11007         (libm-calls): Remove the above.
11009         * math/s_cexp_template.c: Update using type-generic macros.
11010         * math/s_clog10_template.c: Likewise.
11011         * math/s_cpow_template.c: Likewise.
11012         * math/s_clog_template.c: Likewise.
11013         * math/s_cproj_template.c: Likewise.
11014         * math/s_csqrt_template.c: Likewise.
11016         * math/s_cexp.c: Removed.
11017         * math/s_cexpf.c: Removed.
11018         * math/s_cexpl.c: Removed.
11019         * math/s_clog10.c: Removed.
11020         * math/s_clog10f.c: Removed.
11021         * math/s_clog10l.c: Removed.
11022         * math/s_cpow.c: Removed.
11023         * math/s_cpowf.c: Removed.
11024         * math/s_cpowl.c: Removed.
11025         * math/s_clog.c: Removed.
11026         * math/s_clogf.c: Removed.
11027         * math/s_clogl.c: Removed.
11028         * math/s_cproj.c: Removed.
11029         * math/s_cprojf.c: Removed.
11030         * math/s_cprojl.c: Removed.
11031         * math/s_csqrt.c: Removed.
11032         * math/s_csqrtf.c: Removed.
11033         * math/s_csqrtl.c: Removed.
11035         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11036         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11037         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11038         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11039         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11040         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11042         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11043         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11044         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11045         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11046         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11047         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11048         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11049         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11050         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11051         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11052         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11054         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11055         version.
11057         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11058         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11059         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11060         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11062 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11064         * s_cexp_template.c: Copy of s_cexp.c.
11065         * s_clog_template.c: Copy of s_clog.c.
11066         * s_clog10_template.c: Copy of s_clog10.c.
11067         * s_cpow_template.c: Copy of s_cpow.c.
11068         * s_cproj_template.c: Copy of s_cproj.c.
11069         * s_csqrt_template.c: Copy of s_csqrt.c.
11071 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11073         [BZ #20517]
11074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11075         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11076         exported.
11078 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11080         * math/fetestexceptflag.c: New file.
11081         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11082         Stefan Liebler.
11083         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11084         (fetestexceptflag): New function declaration.
11085         * manual/arith.texi (fetestexceptflag): Document function.
11086         * math/Versions (fetestexceptflag): New libm symbol at version
11087         GLIBC_2.25.
11088         * math/Makefile (libm-support): Add fetestexceptflag.
11089         (tests): Add test-fetestexceptflag.
11090         * math/test-fetestexceptflag.c: New file.
11091         * sysdeps/nacl/libm.abilist: Update.
11092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11105         Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11111         Likewise.
11112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11118         Likewise.
11119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11120         Likewise.
11121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11125 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11127         [BZ #20432]
11128         Avoid strong references to malloc-internal symbols when linking
11129         statically, to support statically interposed mallocs.
11130         * include/libc-symbols.h (call_function_static_weak): New macro.
11131         * malloc/Makefile (tests): Add tst-interpose-nothread,
11132         tst-interpose-thread, tst-interpose-static-nothread,
11133         tst-interpose-static-thread.
11134         (tests-static): Add tst-interpose-static-nothread,
11135         tst-interpose-static-thread.
11136         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11137         tst-interpose-aux-thread.o.
11138         (test-extras): Add tst-interpose-aux-nothread,
11139         tst-interpose-aux-thread.
11140         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11141         tst-interpose-aux-nothread.o.
11142         (tst-interpose-thread, tst-interpose-static-thread): Link with
11143         tst-interpose-aux-thread.o and libthread.
11144         * malloc/tst-interpose-aux-nothread.c: New file.
11145         * malloc/tst-interpose-aux-thread.c: Likewise.
11146         * malloc/tst-interpose-aux.c: Likewise.
11147         * malloc/tst-interpose-aux.h: Likewise.
11148         * malloc/tst-interpose-nothread.c: Likewise.
11149         * malloc/tst-interpose-skeleton.c: Likewise.
11150         * malloc/tst-interpose-static-nothread.c: Likewise.
11151         * malloc/tst-interpose-static-thread.c: Likewise.
11152         * malloc/tst-interpose-thread.c: Likewise.
11153         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11154         * sysdeps/mach/hurd/fork.c (__fork): Only call
11155         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11156         __malloc_fork_unlock_child if defined.
11157         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11159 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11161         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11162         timespec C99 designated initialization.
11164 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11166         [BZ #19946]
11167         Avoid expected SIGALRM signals.
11168         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11169         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11170         (xpthread_create, xpthread_detach, xpthread_join)
11171         (delayed_exit_thread, delayed_exit): New functions.
11172         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11173         (tf): Use xpthread_cond_wait.
11174         (do_test): Likewise.  Replace alarm with delayed_exit.
11175         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11176         (do_test): Call delayed_exit.  Report failure.
11177         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11178         (do_test): Call delayed_exit.
11179         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11180         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11181         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11182         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11183         error.
11184         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11185         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11186         error.
11187         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11188         (do_test): Call delayed_exit.
11189         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11190         (do_test): Call delayed_exit.
11191         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11192         (do_test): Call delayed_exit instead of alarm.  Use
11193         xpthread_mutex_lock.
11194         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11195         (do_test): Call delayed_exit instead of alarm.  Use
11196         xpthread_mutex_lock.
11197         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11198         (do_test): Call delayed_exit instead of alarm.
11199         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11200         (do_test): Call delayed_exit instead of alarm.  Use
11201         xpthread_spin_lock.
11202         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11203         (do_test): Call delayed_exit instead of alarm.  Use
11204         xpthread_join.
11206 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11208         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11209         adjust CFA when allocating register save area on re-aligned
11210         stack.
11212 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11214         * string/tst-cmp.c: New test.
11215         * string/Makefile (tests): Add it.
11217 2016-08-25  Mark Wielaard  <mark@klomp.org>
11219         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11220         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11221         (check_tree_recurse): Use newly defined accessors.
11222         (check_tree): Likewise.
11223         (maybe_split_for_insert): Likewise.
11224         (__tfind): Likewise.
11225         (__tdelete): Likewise.
11226         (trecurse): Likewise.
11227         (tdestroy_recurse): Likewise.
11228         (__tsearch): Likewise. And add asserts for malloc alignment.
11229         (__twalk): Cast root to node in case CHECK_TREE is defined.
11231 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11233         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11235 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11237         * math/Makefile (libm-gen-calls): Add
11238         catan, catanh, ctan, ctanh.
11239         (libm-calls): Remove the above.
11241         * math/s_catan_template.c: Update using type-generic macros.
11242         * math/s_catanh_template.c: Likewise.
11243         * math/s_ctan_template.c: Likewise.
11244         * math/s_ctanh_template.c: Likewise.
11246         * math/s_catanf.c: Removed.
11247         * math/s_catan.c: Removed.
11248         * math/s_catanl.c: Removed.
11249         * math/s_catanhf.c: Removed.
11250         * math/s_catanh.c: Removed.
11251         * math/s_catanhl.c: Removed.
11252         * math/s_ctanf.c: Removed.
11253         * math/s_ctan.c: Removed.
11254         * math/s_ctanl.c: Removed.
11255         * math/s_ctanhf.c: Removed.
11256         * math/s_ctanh.c: Removed.
11257         * math/s_ctanhl.c: Removed.
11259         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11260         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11261         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11262         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11263         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11264         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11266         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11267         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11268         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11269         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11271 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11273         * s_catan_template.c: Copy of s_catan.c.
11274         * s_catanh_template.c: Copy of s_catanh.c.
11275         * s_ctan_template.c: Copy of s_ctan.c.
11276         * s_ctanh_template.c: Copy of s_ctanh.c.
11278 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11280         * math/Makefile (gen-libm-calls): Move
11281         casin, casinh, csin, csinh here.
11282         (libm-calls): Remove the above.
11284         * math/s_casin_template.c: Update using type-generic macros.
11285         * math/s_casinh_template.c: Likewise.
11286         * math/s_csin_template.c: Likewise.
11287         * math/s_csinh_template.c: Likewise.
11288         * math/k_casinh_template.c: Likewise.
11290         * math/s_casinf.c: Removed.
11291         * math/s_casin.c: Removed.
11292         * math/s_casinl.c: Removed.
11293         * math/s_casinh.c: Removed.
11294         * math/s_casinhf.c: Removed.
11295         * math/s_casinhl.c: Removed.
11296         * math/s_csin.c: Removed.
11297         * math/s_csinf.c: Removed.
11298         * math/s_csinl.c: Removed.
11299         * math/s_csinh.c: Removed.
11300         * math/s_csinhf.c: Removed.
11301         * math/s_csinhl.c: Removed.
11302         * math/k_casinh.c: Removed.
11303         * math/k_casinhf.c: Removed.
11304         * math/k_casinhl.c: Removed.
11306         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11307         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11308         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11309         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11311         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11312         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11313         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11314         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11315         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11316         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11317         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11318         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11320         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11321         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11322         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11323         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11325         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11326         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11327         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11328         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11330 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11332         * s_casin_template.c: Copy of s_casin.c.
11333         * s_casinh_template.c: Copy of s_casinh.c.
11334         * s_csin_template.c: Copy of s_csin.c.
11335         * s_csinh_template.c: Copy of s_csinh.c.
11336         * k_casinh_template.c: Copy of k_casinh.c.
11338 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11340         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11342 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11344         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11345         (mul_split) Remove, rename as mul_splitl, remove
11346         redundant float.h include, and include via mul_splitl.h
11348         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11349         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11350         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11351         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11352         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11354         * math/mul_splitl.h: New file.
11356         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11357         Move into mul_split.h, and remove redundant float.h include.
11359         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11360         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11364         * math/mul_split.h: New file.
11366 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11368         * math/Makefile (libm-gen-calls): Move
11369         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11370         (libm-calls): Remove above.
11372         * math/s_cacos_template.c: Update using type-generic macros.
11373         * math/s_cacosh_template.c: Likewise.
11374         * math/s_ccos_template.c: Likewise.
11375         * math/s_ccosh_template.c: Likewise.
11377         * math/s_cacosf.c: Removed.
11378         * math/s_cacos.c: Removed.
11379         * math/s_cacosl.c: Removed.
11380         * math/s_cacoshf.c: Removed.
11381         * math/s_cacosh.c: Removed.
11382         * math/s_cacoshl.c: Removed.
11383         * math/s_ccosf.c: Removed.
11384         * math/s_ccos.c: Removed.
11385         * math/s_ccosl.c: Removed.
11386         * math/s_ccoshf.c: Removed.
11387         * math/s_ccosh.c: Removed.
11388         * math/s_ccoshl.c: Removed.
11390         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11391         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11392         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11393         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11394         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11395         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11397         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11398         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11399         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11400         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11402         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11403         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11404         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11405         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11407 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11409         * s_cacos_template.c: Copy of s_cacos.c.
11410         * s_cacosh_template.c: Copy of s_cacosh.c.
11411         * s_ccos_template.c: Copy of s_ccos.c.
11412         * s_ccosh_template.c: Copy of s_ccosh.c.
11414 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11416         * stdlib/tst-strtod-round-skeleton.c:
11417         Refactored from tst-strtod-round.c.
11419         (L_): New macro to apply literal modifier.
11420         (FNPFX): New macro to select str or wcs prefix.
11421         (CHAR): New macro to choose wchar_t or char.
11422         (STRM): New macro to choose printf for tested character type.
11424         (STRTO): New macro to choose appropriate string -> real function.
11425         (FNPFXS): Stringitized version of FNPFX.
11426         (STR): Support for above macro.
11427         (STRX): Likewise.
11429         (TEST): Update with above macros.
11430         (test): Likewise.
11431         (GEN_ONE_TEST): Likewise.
11432         (test_in_one_mode): Likewise.
11434         * stdlib/tst-strtod-round.c: New file.
11435         * wcsmbs/tst-wcstod-round.c: New file.
11437         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11438         (tst-wcstod-round): Add libm depencency for fesetround.
11440 2016-08-19  Zack Weinberg  <zackw@panix.com>
11442         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11444 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11446         [BZ #20477]
11447         * resolv/res_hconf.c (do_init): Use atomic access.
11448         * resolv/res_hconf.h: Add comments.
11449         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11450         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11453 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11455         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11456         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11457         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11458         Likewise.
11460 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11462         [BZ #16907]
11463         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11464         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11465         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11466         (__attribute__): Remove definition.
11468 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11470         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11471         Remove unused sqrtl declaration.
11473 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11475         * math/Makefile: (gen-libm-templates.stmp): New rule.
11476         (libm-calls): Move carg conj cimag and cabs into ...
11477         (gen-libm-calls): New variable.
11478         (generated): Inform Make objects from gen-libm-calls
11479         may be generated.
11481         * sysdeps/generic/math-type-macros.h: New file.
11482         * sysdeps/generic/math-type-macros-float.h: Likewise.
11483         * sysdeps/generic/math-type-macros-double.h: Likewise.
11484         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11485         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11486         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11488         * math/cabs.c: Refactor into
11489         * math/cabs_template.c: new file.
11490         * math/cabsf.c: Removed.
11491         * math/cabsl.c: Removed.
11492         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11493         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11495         * math/carg.c: Refactor into
11496         * math/carg_template.c: new file.
11497         * math/cargf.c: Removed.
11498         * math/cargl.c: Removed.
11499         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11500         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11502         * math/conj.c: Refactor into
11503         * math/conj_template.c: new file.
11504         * math/conjf.c: Removed.
11505         * math/conjl.c: Removed.
11506         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11507         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11509         * math/cimag.c: Refactor into
11510         * math/cimag_template.c: new file.
11511         * math/cimagf.c: Removed.
11512         * math/cimagl.c: Removed.
11513         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11514         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11516         * math/cimag.c: Refactor into
11517         * math/cimag_template.c: new file.
11518         * math/cimagf.c: Removed.
11519         * math/cimagl.c: Removed.
11520         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11521         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11523 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11525         Reduce time to expected nptl/tst-once5 failure.
11526         * nptl/tst-once5.cc (TIMEOUT): Define.
11528 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11530         [BZ #20452]
11531         Avoid additional copies of objects in libc.a in static libraries.
11532         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11533         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11534         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11535         rt-sysdep.
11536         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11537         Add nptl-sysdep.
11538         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11539         Add ptw-sysdep.
11540         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11541         rt-sysdep.
11542         * sysdeps/unix/sysv/linux/alpha/Makefile
11543         (libpthread-shared-only-routines): Add ptw-sysdep,
11544         ptw-sigprocmask, ptw-rt_sigaction.
11545         * sysdeps/unix/sysv/linux/ia64/Makefile
11546         (librt-shared-only-routines): Add rt-sysdep.
11547         * sysdeps/unix/sysv/linux/i386/Makefile
11548         (libpthread-shared-only-routines): Add libc-do-syscall.
11549         * sysdeps/unix/sysv/linux/microblaze/Makefile
11550         (libpthread-shared-only-routines): Add sysdep.
11551         * sysdeps/unix/sysv/linux/powerpc/Makefile
11552         (librt-shared-only-routines): Add rt-sysdep.
11553         (libpthread-shared-only-routines): Add sysdep.
11554         * sysdeps/unix/sysv/linux/s390/Makefile
11555         (librt-shared-only-routines): Add rt-sysdep.
11556         * sysdeps/unix/sysv/linux/sparc/Makefile
11557         (librt-shared-only-routines): Add rt-sysdep.
11558         (libpthread-shared-only-routines): Add sysdep.
11559         * sysdeps/unix/sysv/linux/tile/Makefile
11560         (libpthread-shared-only-routines): Likewise.
11562 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11564         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11565         Mask implicit bit out of unpacked value.
11566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11570         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11572         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11574         * sysdeps/s390/fpu/fesetexcept.c: New file.
11576         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11577         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11578         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11580         * sysdeps/mips/fpu/fesetexcept.c: New file.
11582         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11584         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11586         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11588         * sysdeps/arm/fesetexcept.c: New file.
11590         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11592         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11594         * math/fesetexcept.c: New file.
11595         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11596         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11597         * math/fenv.h: Define
11598         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11599         <bits/libc-header-start.h> instead of including <features.h>.
11600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11601         declaration.
11602         * manual/arith.texi (fesetexcept): Document function.
11603         * math/Versions (fesetexcept): New libm symbol at version
11604         GLIBC_2.25.
11605         * math/Makefile (libm-support): Add fesetexcept.
11606         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11607         * math/test-fesetexcept.c: New file.
11608         * math/test-fesetexcept-traps.c: Likewise.
11609         * sysdeps/nacl/libm.abilist: Update.
11610         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11611         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11612         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11613         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11623         Likewise.
11624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11625         Likewise.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11627         Likewise.
11628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11629         Likewise.
11630         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11631         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11632         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11633         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11634         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11636         Likewise.
11637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11640         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11641         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11643 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11645         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11646         New.
11647         (do_test): Apply default_stack_size_in_mb if not set.
11648         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11650 2016-08-15  Andreas Schwab  <schwab@suse.de>
11652         [BZ #20435]
11653         CVE-2016-6323
11654         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11655         as .cantunwind.
11657 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11659         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11660         comment from fraiseexcpt.c.
11662         * math/test-fexcept.c (feraiseexcept_exact): New function.
11663         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11664         (test_except): Likewise.
11666 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11668         [BZ #20455]
11669         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11670         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11671         to be restored.
11673         * math/test-fexcept-traps.c: New file.
11674         * math/test-fexcept.c: Likewise.
11675         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11676         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11677         macro.
11678         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11679         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11681 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11683         * include/atomic.h (atomic_fetch_and_relaxed,
11684         atomic_fetch_and_release, atomic_fetch_or_release,
11685         atomic_fetch_xor_release): New.
11687 2016-08-06  Christian Seiler  <christian@iwakd.de>
11689         [BZ #20444]
11690         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11691         MACH_PORT_NULL.
11693 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11695         * math/s_fdim.c: Avoid alias renamed.
11696         * math/s_fdimf.c: Likewise.
11697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11698         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11699         Add s_fdimf-vis3, s_fdim-vis3.
11700         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11701         (CFLAGS-s_fdim-vis3.c): Likewise.
11702         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11703         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11705 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11708         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11709         Remove s_fdimf-vis3, s_fdim-vis3.
11710         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11711         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11718         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11719         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11721 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11723         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11724         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11725         -Wa,-Av9a -mvis.
11727 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11729         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11730         LIT() to individual constants in simple expressions
11731         after splitting on spaces.
11732         (_apply_lit): Rename replaced version, and use it to
11733         apply to what appears to be a token.
11735         * math/libm-test.inc: Fix many, many issues with
11736         spacing.
11738 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11740         * math/math.h: Move comment about <bits/mathdef.h> definitions
11741         above inclusion of <bits/mathdef.h>.  Do not mention
11742         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11744 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11746         * include/atomic.h (atomic_exchange_relaxed): New.
11748 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11750         * math/e_scalb.c: Do not include <fenv.h>.
11751         (invalid_fn): Do calculation resulting in NaN instead of raising
11752         FE_INVALID and returning a NaN explicitly.
11753         * math/e_scalbf.c: Do not include <fenv.h>.
11754         (invalid_fn): Do calculation resulting in NaN instead of raising
11755         FE_INVALID and returning a NaN explicitly.
11756         * math/e_scalbl.c: Do not include <fenv.h>.
11757         (invalid_fn): Do calculation resulting in NaN instead of raising
11758         FE_INVALID and returning a NaN explicitly.
11760 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11762         * po/de.po: Updated from Translation Project.
11763         * po/fi.po: Likewise.
11764         * po/sv.po: Likewise.
11766 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11768         [BZ #20452]
11769         Use sysdep.o from libc.a in static libraries.
11770         * sysdeps/unix/sysv/linux/i386/Makefile
11771         (libpthread-shared-only-routines): Add sysdep.
11772         (librt-shared-only-routines): Likewise.
11774 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11776         * math/tgmath.h (nextdown): Define if
11777         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11778         (nextup): Likewise.
11780         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11781         macro.
11782         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11783         Document.
11784         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11785         Document macro.
11786         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11787         (exp10f): Likewise.
11788         (exp10l): Likewise.
11789         * math/bits/mathcalls.h (exp10): Declare if
11790         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11792         * manual/arith.texi (nextup): Fix typo in last change.
11794 2016-08-03  Zack Weinberg  <zackw@panix.com>
11796         [BZ #19239]
11797         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11798         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11799         define major, minor, and makedev to issue deprecation warnings on use.
11800         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11801         previously-activated deprecation warnings for these macros and prevent
11802         subsequent inclusions of this header from having any effect.
11803         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11804         including <sys/sysmacros.h>, and undefine it again afterward.
11806 2016-08-03  Zack Weinberg  <zackw@panix.com>
11808         * sysdeps/generic/sys/sysmacros.h: Delete file.
11809         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11810         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11811         * bits/sysmacros.h: ... here; this encoding is now the generic
11812         encoding.  Now defines only the following macros:
11813         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11814         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11815         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11817         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11818         bits/sysmacros.h and the above new macros to generate the
11819         public implementations of major, minor, and makedev.
11820         * misc/tst-makedev.c: New test.
11821         * include/sys/sysmacros.h: New wrapper.
11823         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11824         (routines): Add makedev.
11825         (tests): Add tst-makedev.
11826         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11827         gnu_dev_makedev.
11828         * posix/Makefile (headers): Remove sys/sysmacros.h.
11829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11831         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11832         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11833         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11834         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11835         * sysdeps/unix/sysv/linux/arm/libc.abilist
11836         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11837         * sysdeps/unix/sysv/linux/i386/libc.abilist
11838         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11839         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11840         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11841         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11842         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11843         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11844         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11845         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11846         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11851         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11852         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11853         * sysdeps/unix/sysv/linux/sh/libc.abilist
11854         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11855         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11858         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11859         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11860         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11861         Add GLIBC_2.25.
11863         * include/features.h (__glibc_clang_prereq): New macro.
11864         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11865         (__attribute_deprecated_msg__): New macros.
11867 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11869         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11870         macro.
11871         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11872         * manual/arith.texi (issignaling): Document as ISO from TS
11873         18661-1:2014.
11874         (nextup): Likewise.
11875         (nextupf): Likewise.
11876         (nextupl): Likewise.
11877         (nextdown): Likewise.
11878         (nextdownf): Likewise.
11879         (nextdownl): Likewise.
11880         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11881         macro.
11882         * math/math.h: Define
11883         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11884         <bits/libc-header-start.h> instead of including <features.h>.
11885         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11886         [__USE_GNU].
11887         * math/bits/mathcalls.h (nextdown): Declare if
11888         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11889         (nextup): Likewise.
11890         (__issignaling): Likewise.
11892 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11894         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11895         check, and remove __glibc_likely hint
11896         from FP_INFINITE check.
11897         * s_csinhf.c (__csinhf): Likewise.
11899         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11900         hint from FP_INFINITE check.
11901         * s_csinhl.c (__csinhl): Likewise.
11903 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11905         * math/Makefile (libm-calls): Insert F placeholder into
11906         object names.  Move w_lgamma_compat* routines into
11907         (libm-compat-calls): New variable.
11908         (libm-compat-calls-ldouble-yes): New variable.
11909         (calls): Insert F placeholder.
11910         (generated): Redefine using new type-foreach macro call.
11911         (routines): Likewise.
11913         (types): New variable to hold a list of symbolic names
11914         for each type supported by the target machine.
11915         (libm-routines): Redefine using new types variable.
11916         (type-foreach): macro to replace fooF with the
11917         appropriately suffixed foo for each types.
11919         (type-ldouble-suffix): New variable.
11920         (type-ldouble-routines): Likewise.
11921         (type-ldouble-yes): Likewise.
11922         (type-double-suffix): Likewise.
11923         (type-double-routines): Likewise.
11924         (type-float-suffix): Likewise.
11925         (type-float-routines): Likewise.
11927         (dbl-only-routines): Remove.
11928         (long-c-yes): Likewise.
11929         (long-m-routines): Likewise.
11930         (long-m-support): Likewise.
11931         (long-m-yes): Likewise.
11932         (test-longdouble-yes): Likewise.
11934         (test-float.o): Simplify by increasing the scope of the
11935         recipe which adds libm-test.stmp to the vector types.
11936         (test-ifloat.o): Likewise.
11937         (test-float-finite.o): Likewise.
11938         (test-double.o): Likewise
11939         (test-idouble.o): Likewise.
11940         (test-double-finite.o): Likewise.
11941         (test-ldouble.o): Likewise
11942         (test-ildoubl.o): Likewise.
11943         (test-ldouble-finite.o): Likewise.
11945         (libm-tests): Redefine type tests using foreach and the
11946         list of types in types.
11948         (CPPFLAGS-test-ildoubl.c): Rename to
11949         (CPPFLAGS-test-ildouble.c): New variable
11951         * math/test-ildoubl.c: Rename to
11952         * math/test-ildouble.c: New file.
11954 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11956         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11957         Use fabsl instead of fabs.
11958         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11959         Likewise.
11960         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11961         Add long double suffix to constant to ensure proper
11962         promotion to long double.
11964 2016-08-03  Tom Tromey  <tom@tromey.com>
11966         [BZ #20311]
11967         * nptl_db/Makefile (headers): Add proc_service.h.
11968         * nptl_db/proc_service.h: Add include guard.  Use
11969         __BEGIN/__END_DECLS.
11970         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11971         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11972         arguments.
11975 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11977         [BZ #17730]
11978         Avoid using memalign for TCB allocations.
11979         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11980         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11981         Avoid alignment gap in the TLS_DTV_AT_TP case.
11982         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11983         determine the pointer to free.
11984         * nptl/tst-tls3-malloc.c: New test.
11985         * nptl/Makefile (tests): Add it.
11986         (tst-tls3-malloc): Link with libdl, libpthread.
11987         (LDFLAGS-tst-tls3-malloc): Set.
11988         (tst-tls3-malloc.out): Depend on DSO used in test.
11990 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11992         [BZ #17730]
11993         Avoid using memalign for TLS allocations.
11994         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11995         is_static member with to_free member.
11996         (union dtv): Use struct dtv_pointer.
11997         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11998         dtv_pointer instead of is_static.
11999         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12000         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12001         instead of val.
12002         (allocate_dtv_entry): New function.
12003         (allocate_and_init): Return struct dtv_pointer.  Call
12004         allocate_dtv_entry instead of __libc_memalign.
12005         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12006         instead of val.
12007         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12008         instead of is_static.  Adjust call to allocate_and_init.
12009         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12010         struct dtv_pointer instead of val.
12012 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12014         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12015         (MALLOC_ALIGN_MASK): Move ...
12016         * malloc/malloc-internal.h: ... to here.
12017         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12019 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12021         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12022         (UDP_ENCAP_GTP1U): Likewise.
12024         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12025         (PF_MAX): Update value.
12026         (AF_QIPCRTR): New macro.
12028 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12030         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12031         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12032         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12034         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12035         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12036         s_truncf-vis3, s_trunc-vis3.
12037         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12038         (CFLAGS-s_ceil-vis3.c): Likewise.
12039         (CFLAGS-s_floorf-vis3.c): Likewise.
12040         (CFLAGS-s_floor-vis3.c): Likewise.
12041         (CFLAGS-s_truncf-vis3.c): Likewise.
12042         (CFLAGS-s_trunc-vis3.c): Likewise.
12043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12051         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12052         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12053         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12054         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12056 2016-08-02  David S. Miller  <davem@davemloft.net>
12058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12059         (__nearbyint_vis3): Don't check for sNaN before float register is
12060         loaded with the incoming argument.
12061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12062         (__nearbyintf_vis3): Likewise.
12063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12064         Likewise.
12065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12066         Likewise.
12068         * string/test-strncmp.c (do_test_limit): Make sure the test data
12069         stream is aligned as required for the type "CHAR".
12070         (do_test): Likewise.
12072 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12074         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12075         by beq instructions jumping to the end of the function.
12076         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12077         clobber list. Use "i" constraint instead of "X".
12078         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12079         of "X".
12081 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12083         * bits/libc-header-start.h: New file.
12084         * Makefile (headers): Add bits/libc-header-start.h.
12085         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12086         (__GLIBC_USE): New macro.
12087         * libio/stdio.h: Define
12088         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12089         <bits/libc-header-start.h> instead of including <features.h>.
12090         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12091         (open_memstream): Likewise.
12092         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12093         (__asprintf): Likewise.
12094         (asprintf): Likewise.
12095         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12096         (getdelim): Likewise.
12097         (getline): Likewise.
12098         * string/string.h: Define
12099         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12100         <bits/libc-header-start.h> instead of including <features.h>.
12101         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12102         (strndup): Likewise.
12103         * wcsmbs/wchar.h: Define
12104         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12105         <bits/libc-header-start.h> instead of including <features.h>.
12106         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12107         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12109 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12111         Support linking against compatibility symbols, for use in tests.
12112         * include/libc-symbols.h (symbol_version_reference): New macro.
12113         (symbol_version): Use it.
12114         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12115         (compat_symbol): Use compat_symbol_reference.
12116         (compat_symbol_1, compat_symbol_2): Remove.
12117         (compat_symbol_reference, compat_symbol_reference_1)
12118         (compat_symbol_reference_2): New macro.  Use
12119         symbol_version_reference.
12121 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12123         [BZ #19469]
12124         * malloc/Makefile (CPPFLAGS): Compile tests with
12125         -DTEST_NO_MALLOPT.
12126         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12128 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12130         [BZ #20033]
12131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12132         finite version.
12133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12135         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12136         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12137         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12138         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12139         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12140         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12144         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12150         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12151         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12152         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12153         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12154         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12155         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12156         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12157         in zero power.
12159 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12161         [BZ #20370]
12162         * malloc/arena.c (get_free_list): Update comment.  Assert that
12163         arenas on the free list have no attached threads.
12164         (remove_from_free_list): New function.
12165         (reused_arena): Call it.
12167 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12169         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12170         when it is a NaN.
12171         [_IEEE_FP_INEXACT] Remove.
12172         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12173         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12174         when it is a NaN.
12175         [_IEEE_FP_INEXACT] Remove.
12176         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12177         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12178         when it is a NaN.
12179         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12180         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12181         when its absolute value is greater than 0x1.0p52.
12182         [_IEEE_FP_INEXACT] Remove.
12183         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12184         when its absolute value is greater than 0x1.0p23.
12185         [_IEEE_FP_INEXACT] Remove.
12187 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12189         * version.h (RELEASE): Set to "development"
12190         (VERSION): Set to 2.24.90.
12191         * NEWS: Add 2.25 section.
12193         * version.h (RELEASE): Set to "stable"
12194         (VERSION): Set to 2.24.
12195         * include/features.h (__GLIBC_MINOR__): Set to 24.
12197         * NEWS: Add 2.24 fixed bugs.
12198         * po/libc.pot: Regenerate.
12200 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12203         [$(subdir) = math] (libm-sysdep_routines): Remove.
12204         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12205         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12206         s_truncf-vis3, s_trunc-vis3.
12207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12209         file.
12210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12243         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12244         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12245         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12246         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12247         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12248         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12249         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12250         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12251         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12252         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12254 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12256         [BZ #20384]
12257         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12258         test-double-libmvec-sincos-avx-main.o,
12259         test-double-libmvec-sincos-avx2-main.o,
12260         test-double-libmvec-sincos-main.o,
12261         test-float-libmvec-sincosf-avx-main.o,
12262         test-float-libmvec-sincosf-avx2-main.o and
12263         test-float-libmvec-sincosf-main.o.
12264         test-float-libmvec-sincosf-avx512-main.o.
12265         ($(objpfx)test-double-libmvec-sincos): Also link with
12266         $(objpfx)test-double-libmvec-sincos-main.o.
12267         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12268         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12269         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12270         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12271         ($(objpfx)test-float-libmvec-sincosf): Also link with
12272         $(objpfx)test-float-libmvec-sincosf-main.o.
12273         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12274         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12275         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12276         test-double-libmvec-sincos-avx512-main.o and
12277         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12278         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12279         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12280         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12281         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12282         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12283         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12284         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12285         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12286         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12287         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12288         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12289         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12290         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12291         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12292         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12293         -DREQUIRE_AVX2.
12294         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12295         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12296         -DREQUIRE_AVX512F.
12297         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12298         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12299         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12301         file.
12302         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12303         Likewise.
12304         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12305         Likewise.
12306         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12307         Likewise.
12308         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12309         Likewise.
12310         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12311         Likewise.
12312         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12313         Likewise.
12314         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12315         Likewise.
12317 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12319         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12321 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12323         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12324         and typo in a comment about AT_HWCAP entry.
12326 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12328         * sysdeps/aarch64/libm-test-ulps: Updated.
12330 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12332         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12333         of r13 as it is not restored in mvcle case.
12335 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12337         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12338         Rename "ret" to "__ret".
12339         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12340         inline_syscall5, inline_syscall6): Likewise.
12342 2016-07-19   Will Newton  <will.newton@gmail.com>
12344         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12345         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12346         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12347         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12348         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12350 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12352         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12353         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12354         -mfpmath=387 with $(rtld-CFLAGS).
12355         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12356         $(rtld-CFLAGS).
12358 2016-07-18   Ross Burton  <ross.burton@intel.com>
12359              Khem Raj  <raj.khem@gmail.com>
12361         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12362         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12363         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12364         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12365         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12366         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12367         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12368         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12369         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12370         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12371         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12372         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12373         R_METAG_TLS_DTPOFF): New.
12375 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12376             Matt Clay  <mclay@lycos.com>
12378         [BZ #20357]
12379         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12380         to call __mpsin/__mpcos and to negate values.
12381         * math/auto-libm-test-in: Add test.
12382         * math/auto-libm-test-out: Regenerate.
12384 2016-07-18  Zack Weinberg  <zackw@panix.com>
12386         * grp/Makefile: Don't install the internal header grp-merge.h.
12388 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12390         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12392 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12394         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12396 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12398         [BZ #15368]
12399         * sysdeps/unix/sysv/linux/nptl-signals.h
12400         (__nptl_clear_internal_signals): New function.
12401         (__libc_signal_block_all): Likewise.
12402         (__libc_signal_block_app): Likewise.
12403         (__libc_signal_restore_set): Likewise.
12404         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12405         implementation.
12406         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12407         the cached pid/tid value in pthread structure.
12409 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12411         [BZ #20347]
12412         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12414 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12416         [BZ #20348]
12417         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12418         preadv64, pwrite64 and pwritev64.
12420 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12422         [BZ #20350]
12423         * posix/tst-preadwrite.c: Renamed to ...
12424         * posix/tst-preadwrite-common.c: This.
12425         (PREAD): Removed.
12426         (PWRITE): Likewise.
12427         (STRINGIFY): Likewise.
12428         (STRINGIFY2): Likewise.
12429         (do_prepare): Make it static and remove function arguments.
12430         (do_test): Likewise.
12431         (PREPARE): Updated.
12432         (TEST_FUNCTION): New.
12433         (name): Make it static.
12434         (fd): Likewise.
12435         (do_prepare): Use create_temp_file.
12436         (do_test): Renamed to ...
12437         (do_test_with_offset): This.  Make it static and accept offset.
12438         Properly check return value of PWRITE and PREAD.  Return bytes
12439         read.  Don't close fd nor unlink name.
12440         * posix/tst-preadwrite.c: Rewrite.
12441         * posix/tst-preadwrite64.c: Likewise.
12443 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12445         [BZ #20309]
12446         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12447         -mtls-dialect=gnu2 works.
12448         * configure: Regenerated.
12449         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12450         (tests): Add tst-gnu2-tls1.
12451         (modules-names): Add tst-gnu2-tls1mod.
12452         ($(objpfx)tst-gnu2-tls1): New.
12453         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12454         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12455         * elf/tst-gnu2-tls1.c: New file.
12456         * elf/tst-gnu2-tls1mod.c: Likewise.
12457         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12458         bytes for push in the PLT entry to align the stack.
12460 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12462         [BZ #20349]
12463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12465 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12467         [BZ #18707]
12468         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12469         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12471 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12473         * sysdeps/unix/sysv/linux/sysdep.h
12474         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12475         guards.
12476         * misc/tst-preadvwritev-common.c: New file.
12477         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12478         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12479         a check for files larger than 2GB.
12481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12482         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12483         * sysdeps/unix/sysv/linux/pread.c
12484         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12485         __OFF_T_MATCHES_OFF64_T.
12486         * sysdeps/unix/sysv/linux/pread64.c
12487         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12488         * sysdeps/unix/sysv/linux/preadv.c
12489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12490         * sysdeps/unix/sysv/linux/preadv64.c
12491         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12492         * sysdeps/unix/sysv/linux/pwrite.c
12493         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12494         * sysdeps/unix/sysv/linux/pwrite64.c
12495         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12496         * sysdeps/unix/sysv/linux/pwritev.c
12497         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12498         * sysdeps/unix/sysv/linux/pwritev64.c
12499         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12501 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12504         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12506 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12508         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12510 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12512         [BZ #20240]
12513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12514         (CFLAGS-s_modf-ppc32.c): New variable.
12515         (CFLAGS-s_modff-ppc32.c): Likewise.
12516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12517         (CFLAGS-s_modf-ppc64.c): Likewise.
12518         (CFLAGS-s_modff-ppc64.c): Likewise.
12520 2016-07-07  Andreas Schwab  <schwab@suse.de>
12522         [BZ #20263]
12523         * nptl/tst-robust10.c: New test.
12524         * nptl/Makefile (tests): Add tst-robust10.
12526 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12528         [BZ #20263]
12529         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12531 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12533         * sysdeps/s390/linkmap.h (struct link_map_machine):
12534         Remove member gotplt and add member jmprel.
12535         * sysdeps/s390/s390-32/dl-machine.h
12536         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12537         instead of gotplt with &got[3].
12538         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12539         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12541 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12543         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12545 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12547         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12548         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12549         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12550         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12551         * libio/vtables.c (_IO_vtable_check)
12552         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12553         * libio/libioP.h (IO_set_accept_foreign_vtables)
12554         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12556 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12558         [BZ #20314]
12559         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12560         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12561         $(common-objpfx)cmath.
12562         ($(common-objpfx)cstdlib): New target.
12563         ($(common-objpfx)cmath): Likewise.
12565 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12567         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12569 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12571         [BZ #20327]
12572         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12573         are not part of the string.
12575 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12577         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12578         * nptl/tst-cancel4-common.h (fifoname): New variable.
12579         (fifofd): Likewise.
12580         (cl_fifo): New function.
12581         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12582         SIGINT.
12583         (tf_open): Add early cancel test.
12585 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12587         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12589 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12591         * sysdeps/generic/ldsodefs.h
12592         (dl_symbol_visibility_binds_local_p): New inline function.
12593         * elf/dl-addr.c (determine_info): Treat hidden and internal
12594         symbols as local.
12595         * elf/dl-lookup.c (do_lookup_x): Likewise.
12596         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12598 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12600         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12601         invalid exception for a sNaN input.
12602         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12603         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12604         (__nearbyint_vis3): Likewise
12605         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12606         (__nearbyintf_vis3): Likewise
12607         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12608         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12609         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12610         Likewise.
12611         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12612         Likewise.
12614 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12616         [BZ #20139]
12617         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12618         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12619         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12620         2.24 or above.
12621         (HAVE_AVX512_ASM_SUPPORT): Removed.
12622         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12623         * sysdeps/x86_64/configure: Regenerated.
12624         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12625         check unconditional.
12626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12627         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12628         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12629         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12630         Likewise.
12631         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12632         Likewise.
12633         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12634         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12635         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12636         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12637         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12638         Likewise.
12639         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12640         Likewise.
12641         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12642         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12644         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12646         Likewise.
12647         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12648         Likewise.
12649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12650         Likewise.
12651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12652         Likewise.
12653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12654         Likewise.
12655         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12656         Likewise.
12657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12658         Likewise.
12659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12660         Likewise.
12661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12662         Likewise.
12663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12664         Likewise.
12665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12666         Likewise.
12668 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12670         [BZ #20024]
12671         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12673         of this implementation of vector function.
12674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12675         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12677         Likewise.
12678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12680         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12681         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12682         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12683         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12684         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12685         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12686         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12687         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12688         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12689         for testing vector sincos with fixed ABI.
12690         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12691         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12692         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12693         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12694         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12695         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12696         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12697         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12698         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12699         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12700         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12701         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12702         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12703         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12704         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12705         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12707 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12709         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12711 2016-06-30  Anton Blanchard  <anton@samba.org>
12713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12714         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12715         s_sinf-ppc64.
12716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12719         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12721 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12725         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12726         e_expf-ppc64.
12727         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12728         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12730         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12732 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12734         [BZ #20277]
12735         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12736         when SHARED is defined.
12738 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12740         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12741         (index_arch_Prefer_ERMS): Likewise.
12742         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12743         __memcpy_erms for Prefer_ERMS.
12744         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12745         (__memmove_erms): Enabled for libc.a.
12746         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12747         __memmove_erms or Prefer_ERMS.
12748         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12749         __mempcpy_erms for Prefer_ERMS.
12750         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12751         __memset_erms for Prefer_ERMS.
12753 2016-06-30  Andreas Schwab  <schwab@suse.de>
12755         [BZ #20262]
12756         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12757         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12758         of memory.
12760 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12762         [BZ #18645]
12763         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12764         (test-extras): Add tst-cleanupx4aux.
12765         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12766         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12767         tst-cleanupx4aux.o.
12768         * nptl/tst-cleanupx4aux.c: New file.
12770 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12772         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12774 2016-06-29  Andreas Schwab  <schwab@suse.de>
12776         [BZ #20260]
12777         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12778         address before the beginning of the string as an integer to avoid
12779         array-bounds warning.
12781 2016-06-28  Richard Henderson  <rth@redhat.com>
12783         * elf/elf.h (EM_BPF): New.
12784         (EM_NUM): Update.
12785         (R_BPF_NONE, R_BPF_MAP_FD): New.
12787         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12788         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12789         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12790         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12791         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12792         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12793         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12794         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12795         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12796         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12797         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12798         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12799         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12800         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12801         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12802         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12803         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12804         (EM_NUM): Update.
12806 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12808         [BZ #18960]
12809         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12810         Set _nl_current_LC_CATEGORY_used to two instead of one.
12812 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12814         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12815         (do_test): ... this.
12816         (TEST_FUNCTION): New macro.
12817          Include test-skeleton.c.
12818         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12819         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12821 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12823         [BZ #15479]
12824         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12825         floating-point environment rather than just control word.
12826         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12827         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12828         floating-point environment, with "invalid" exceptions merged in,
12829         rather than just control word.
12830         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12831         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12832         "inexact" exceptions.
12834         [BZ #15479]
12835         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12836         floating-point environment rather than just control word.
12837         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12838         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12839         floating-point environment, with "invalid" exceptions merged in,
12840         rather than just control word.
12841         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12842         * math/libm-test.inc (floor_test_data): Do not allow spurious
12843         "inexact" exceptions.
12845         [BZ #15479]
12846         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12847         floating-point environment rather than just control word.
12848         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12849         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12850         floating-point environment, with "invalid" exceptions merged in,
12851         rather than just control word.
12852         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12853         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12854         "inexact" exceptions.
12856 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12858         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12859         __libc_vfork.
12860         (__vfork) [IS_IN (libc)]: Remove alias.
12861         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12862         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12863         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12865 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12867         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12868         of atomic_compare_and_exchange_bool_rel.
12869         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12870         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12871         catomic_compare_and_exchange_bool_rel): Remove.
12872         * sysdeps/aarch64/atomic-machine.h
12873         (atomic_compare_and_exchange_bool_rel): Likewise.
12874         * sysdeps/alpha/atomic-machine.h
12875         (atomic_compare_and_exchange_bool_rel): Likewise.
12876         * sysdeps/arm/atomic-machine.h
12877         (atomic_compare_and_exchange_bool_rel): Likewise.
12878         * sysdeps/mips/atomic-machine.h
12879         (atomic_compare_and_exchange_bool_rel): Likewise.
12880         * sysdeps/microblaze/atomic-machine.h
12881         ( __arch_compare_and_exchange_bool_8_rel,
12882         __arch_compare_and_exchange_bool_16_rel): Likewise.
12883         * sysdeps/powerpc/atomic-machine.h
12884         ( __arch_compare_and_exchange_bool_8_rel,
12885         __arch_compare_and_exchange_bool_16_rel): Likewise.
12886         * sysdeps/powerpc/powerpc32/atomic-machine.h
12887         ( __arch_compare_and_exchange_bool_32_rel,
12888         __arch_compare_and_exchange_bool_64_rel): Likewise.
12889         * sysdeps/powerpc/powerpc64/atomic-machine.h
12890         ( __arch_compare_and_exchange_bool_32_rel,
12891         __arch_compare_and_exchange_bool_64_rel): Likewise.
12892         * sysdeps/tile/atomic-machine.h
12893         (atomic_compare_and_exchange_bool_rel): Likewise.
12895 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12897         [BZ #20296]
12898         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12899         when either argument is a NaN.
12900         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12901         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12903         * math/libm-test.inc (snan_value_ld): New macro.
12904         (isgreater_test_data): Add sNaN tests.
12905         (isgreaterequal_test_data): Likewise.
12906         (isless_test_data): Likewise.
12907         (islessequal_test_data): Likewise.
12908         (islessgreater_test_data): Likewise.
12909         (isunordered_test_data): Likewise.
12910         (nextafter_test_data): Likewise.
12911         (nexttoward_test_data): Likewise.
12912         (remainder_test_data): Likewise.
12913         (remquo_test_data): Likewise.
12914         (significand_test_data): Likewise.
12915         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12917 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12919         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12920         environment macros are defined.
12921         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12923 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12925         [BZ #20191]
12926         Implement vtable verification in libio.
12927         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12928         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12929         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12930         _IO_new_file_init_internal instead of _IO_file_init.
12931         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12932         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12933         * libio/Makefile (routines): Add vtables.
12934         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12935         (_IO_init): Remove, not for internal use.
12936         (_IO_init_internal): Declare, internal replacement for _IO_init.
12937         (_IO_file_init): Remove, not for internal use.
12938         (_IO_new_file_init): Remove, not for internal use.
12939         (_IO_new_file_init_internal): Declare, internal replacement for
12940         _IO_new_file_init.
12941         (_IO_old_file_init): Remove, not for internal use.
12942         (_IO_old_file_init_internal): Declare, internal replacement for
12943         _IO_old_file_init.
12944         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12945         internal use.
12946         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12947         Declare.
12948         (libio_vtable): New macro.
12949         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12950         functions.
12951         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12952         _IO_new_file_init.
12953         (_IO_new_file_init): New externally visible wrapper which disables
12954         vtable verification.
12955         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12956         Define as vtables.
12957         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12958         (_IO_init): New externally visible wrapper which disables
12959         vtable verification.
12960         * libio/iofdopen.c (_IO_new_fdopen): Call
12961         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12962         comment.
12963         * libio/iofopen.c (__fopen_internal): Call
12964         _IO_new_file_init_internal instead of _IO_file_init.
12965         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12966         Define as vtables.
12967         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12968         _IO_new_file_init_internal instead of _IO_file_init.
12969         * libio/iopopen.c (_IO_new_popen): Likewise.
12970         (_IO_proc_jumps): Define as vtable.
12971         * libio/iovdprintf.c (_IO_vdprintf): Call
12972         _IO_new_file_init_internal instead of _IO_file_init.
12973         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12974         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12975         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12976         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12977         _IO_old_file_init.
12978         (_IO_old_file_init): New externally visible wrapper which disables
12979         vtable verification.
12980         (_IO_old_file_jumps): Define as vtable.
12981         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12982         _IO_old_file_init_internal instead of _IO_old_file_init.
12983         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12984         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12985         (_IO_old_proc_jumps): Define as vtable.
12986         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12987         Define as vtables.
12988         * libio/vtables.c: New file.
12989         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12990         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12991         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12992         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12993         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12994         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12995         instead of _IO_init.
12997 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12999         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13001 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13003         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13004         potentially unused.
13006 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13008         * test-skeleton.c (write_message): New function.
13009         * malloc/tst-mallocfork2.c (write_message): Remove.
13010         * debug/tst-longjmp_chk2.c (write_indented): New function.
13011         (write_message): Remove.
13012         (stackoverflow_handler): Call write_indented.
13014 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13016         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13017         "inexact" exceptions after fnstenv.
13018         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13019         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13020         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13022 2015-06-22  Zack Weinberg  <zackw@panix.com>
13024         * sysdeps/generic/bits/hwcap.h: Moved to ...
13025         * bits/hwcap.h: Here.
13027 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13029         * sysdeps/aarch64/memcpy.S (memcpy):
13030         Further tuning for performance.
13032 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13034         [BZ #20284]
13035         * malloc/arena.c (reused_arena): Do not return NULL if we start
13036         out with a non-corrupted arena.
13038 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13040         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13041         * misc/tst-preadvwritev.c: New file.
13042         * misc/tst-preadvwritev64.c: Likewise.
13043         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13044         usage.
13045         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13046         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13047         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13048         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13050 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13052         [BZ #19654]
13053         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13057         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13058         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13059         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13060         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13061         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13062         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13063         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13064         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13065         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13069         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13070         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13071         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13072         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13073         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13074         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13075         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13076         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13077         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13078         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13080 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13082         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13083         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13085 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13087         * sysdeps/aarch64/memcpy.S (memcpy):
13088         Rewrite of optimized memcpy and memmove.
13089         * sysdeps/aarch64/memmove.S (memmove): Remove
13090         memmove code (merged into memcpy.S).
13092 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13094         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13095         * sysdeps/generic/dl-dtv.h: New file.
13096         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13097         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13098         (dtv_t): Remove.
13099         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13100         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13101         (dtv_t): Remove.
13102         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13103         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13104         (dtv_t): Remove.
13105         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13106         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13107         (dtv_t): Remove.
13108         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13109         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13110         (dtv_t): Remove.
13111         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13112         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13113         (dtv_t): Remove.
13114         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13115         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13116         (dtv_t): Remove.
13117         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13118         (dtv_t): Remove.
13119         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13120         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13121         (dtv_t): Remove.
13122         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13123         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13124         (dtv_t): Remove.
13125         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13126         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13127         (dtv_t): Remove.
13128         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13129         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13130         (dtv_t): Remove.
13131         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13132         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13133         (dtv_t): Remove.
13134         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13135         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13136         (dtv_t): Remove.
13137         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13138         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13139         (dtv_t): Remove.
13140         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13141         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13142         (dtv_t): Remove.
13144 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13146         Revert symbol poisoning of  __malloc_initialize_hook.
13147         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13148         poisoning.
13149         * malloc/Makefile: Remove un-poisoning.
13150         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13151         instead of old__malloc_initialize_hook.
13152         * malloc/malloc-hooks.h: Likewise.
13153         * malloc/malloc.c: Likewise.
13154         * malloc/mcheck-init.c: Likewise.
13156 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13158         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13160 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13162         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13163         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13164         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13165         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13167 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13169         * NEWS: Mention addition of nextup and nextdown.
13170         * manual/arith.texi: Document nextup and nextdown.
13171         * manual/libm-err-tab.pl: Add nextup and nextdown.
13172         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13173         * math/Versions (libm): Add GLIBC_2.24.
13174         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13175         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13176         Add new test.
13177         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13178         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13179         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13180         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13181         (nextup_test_data): Likewise.
13182         (nextdown_test_data): Likewise.
13183         * math/s_nextdown.c: New file.
13184         * math/s_nextdownf.c: Likewise.
13185         * math/s_nextdownl.c: Likewise.
13186         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13187         F(nextup): New function.
13188         F(nextdown): Likewise.
13189         * math/tgmath.h: Add nextup and nextdown.
13190         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13191         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13192         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13193         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13194         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13195         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13196         Add nextup and nextdown.
13197         (CFLAGS-nldbl-nextup.c): New variable.
13198         (CFLAGS-nldbl-nextdown.c): Likewise.
13199         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13200         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13201         * sysdeps/nacl/libm.abilist: Update.
13202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13204         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13206         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13208         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13210         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13220         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13221         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13222         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13223         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13226         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13227         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13228         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13229         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13231 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13233         * manual/pattern.texi: Fix typos & grammar errors.
13235 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13237         * manual/search.texi: Fix typos & grammar errors.
13239 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13241         * manual/message.texi: Fix typos & grammar errors.
13243 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13245         * manual/contrib.texi: Fix spelling typos.
13246         * manual/crypt.texi: Likewise.
13247         * manual/filesys.texi: Likewise.
13248         * manual/locale.texi: Likewise.
13249         * manual/message.texi: Likewise.
13250         * manual/nss.texi: Likewise.
13251         * manual/string.texi: Likewise.
13253 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13255         * manual/locale.texi: Fix typos & grammar errors.
13257 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13259         * manual/charset.texi: Fix typos & grammar errors.
13261 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13263         * manual/string.texi: Fix typos.
13265 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13267         * manual/ctype.texi: Fix typos.
13269 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13271         * manual/memory.texi: Fix various typos & grammar errors.
13273 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13275         [BZ #20255]
13276         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13277         * math/libm-test.inc (fdim_test_data): Add another test.
13279         [BZ #6796]
13280         [BZ #20255]
13281         [BZ #20256]
13282         * math/s_fdim.c: Include <math_private.h>.
13283         (__fdim): Use math_narrow_eval on result.
13284         * math/s_fdimf.c: Include <math_private.h>.
13285         (__fdimf): Use math_narrow_eval on result.
13286         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13287         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13288         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13289         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13290         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13291         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13292         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13293         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13294         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13295         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13296         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13297         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13298         overflow.  Add sNaN tests.
13300         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13301         fpclassify.
13302         * math/s_fdimf.c (__fdimf): Likewise.
13303         * math/s_fdiml.c (__fdiml): Likewise.
13305 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13307         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13308         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13310         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13311         ifunc'ed strcasecmp/strncasecmp.
13312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13313         [EALIGN]: Removed.
13314         [END]: Likewise.
13315         [__strcasecmp]: Define instead of the above to control symbol name.
13316         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13317         for __strcasecmp_power8.
13318         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13319         for __strncasecmp_power8.
13320         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13321         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13322         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13323         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13324         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13325         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13327 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13329         [BZ #20252]
13330         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13331         arguments when second argument is a NaN.
13332         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13333         qNaN tests.
13335         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13336         (conj_test_data): Likewise.
13337         (copysign_test_data): Likewise.
13338         (creal_test_data): Likewise.
13339         (fma_test_data): Likewise.
13340         (fmod_test_data): Likewise.
13342         [BZ #20250]
13343         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13344         itself.
13345         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13346         zero input to itself.
13347         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13348         Likewise.
13349         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13350         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13351         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13352         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13353         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13355 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13357         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13358         * nptl/tst-cancel4-common.c: New file.
13359         * nptl/tst-cancel4-common.h: Likewise.
13360         * nptl/tst-cancel4.c: Move common definitions to
13361         tst-cancel4-common.{c,h} file.
13362         * nptl/tst-cancel4_1.c: New test.
13363         * nptl/tst-cancel4_2.c: New test.
13365 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13367         [BZ #20248]
13368         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13369         (write_message): New function.
13370         (stackoverflow_handler): Call it instead of printf, to avoid
13371         excessive stack usage by printf.
13372         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13374 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13376         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13377         (prio_inherit_missing): Remove define.
13378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13379         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13380         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13381         Likewise.
13382         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13383         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13386         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13387         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13389 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13391         [BZ #19670]
13392         [BZ #19672]
13394         * io/test-lfs.c (do_prepare): Use xmalloc.
13395         * io/tst-fcntl.c (do_prepare): Likewise.
13396         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13397         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13398         * login/tst-utmp.c (do_prepare): Likewise.
13399         * posix/tst-exec.c (do_prepare): Likewise.
13400         * posix/tst-pathconf.c (prepare): Likewise.
13401         * posix/tst-spawn.c (do_prepare): Likewise.
13402         * posix/tst-truncate.c (do_prepare): Likewise.
13403         * rt/tst-aio.c (do_prepare): Likewise.
13404         * rt/tst-aio64.c (do_prepare): Likewise.
13406 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13408         [BZ #20237]
13409         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13410         (get*ent): Set entidx to NULL during initialization.  If entidx is
13411         NULL, start iteration from the beginning.
13413 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13415         * malloc/malloc.c (musable): Return correct size for dumped fake
13416         mmapped chunk.
13418 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13420         [BZ #20222]
13421         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13422         (_IO_cookie_write): Likewise.
13423         (_IO_cookie_seek): Likewise.
13424         (_IO_cookie_close): Likewise.
13425         (_IO_old_cookie_seek): Likewise.
13426         (set_callbacks): New function.
13427         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13429 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13431         * locale/programs/localedef.c (oldstyle_tables): Remove.
13432         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13434 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13436         [BZ #20240]
13437         * math/Makefile (CFLAGS-s_modf.c): New variable.
13438         (CFLAGS-s_modff.c): Likewise.
13439         (CFLAGS-s_modfl.c): Likewise.
13440         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13442 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13444         [BZ #20215]
13445         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13446         [!__GNUC_PREREQ (3,2)]: Likewise.
13448 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13450         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13451         (msghdr.msg_controllen): Likewise.
13452         (cmsghdr.cmsg_len): Likewise.
13453         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13454         ptw-oldsendmsg.
13455         (CFLAGS-oldrecvmsg.c): Remove rule.
13456         (CFLAGS-oldsendmsg.c): Likewise.
13457         (CFLAGS-recvmsg.c): Add rule.
13458         (CFLAGS-sendmsg.c): Likewise.
13459         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13460         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13461         (CFLAGS-recvmsg.c): Remove rule.
13462         (CFLAGS-sendmsg.c): Likewise.
13463         (CFLAGS-oldrecvmsg.c): Likewise.
13464         (CFLAGS-oldsendmsg.c): Likewise.
13465         (CFLAGS-recvmmsg.c): Likewise.
13466         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13467         to kernel defined interfaces.
13468         (msghdr.msg_controllen): Likewise.
13469         (cmsghdr.cmsg_len): Likewise.
13470         (msghdr.__glibc_reserved1): Remove member.
13471         (msghdr.__glibc_reserved2): Likewise.
13472         (cmsghdr.__glibc_reserved1): Likewise.
13473         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13474         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13475         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13476         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13477         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13478         version.
13479         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13480         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13481         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13482         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13483         Remove recvmsg and sendmsg.
13484         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13485         Likewise.
13486         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13487         Likewise.
13488         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13489         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13490         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13491         Likewise.
13492         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13493         Likewise.
13494         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13495         [libc] (GLIBC_2.24): Likewise.
13496         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13497         Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13499         Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13501         [libc] (GLIBC_2.24): Likewise.
13502         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13505         Likewise.
13506         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13507         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13508         Likewise.
13509         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13510         Likewise.
13511         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13512         Likewise.
13513         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13514         Likewise.
13515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13516         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13517         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13518         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13519         version for {recv,send,recm,sendm}msg.
13520         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13521         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13530         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13531         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13533         Likewise.
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13535         Likewise.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13538         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13539         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13540         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13541         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13543         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13547         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13548         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13550 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13552         [BZ #19564]
13553         Remove __malloc_initialize_hook from the API.
13554         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13555         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13556         #pragma GCC poison.
13557         * malloc/malloc-hooks.h: New file.
13558         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13559         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13560         (old__malloc_initialize_hook): Rename from
13561         __malloc_initialize_hook to evade poisoning.  Turn into compat
13562         symbol.
13563         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13564         __malloc_initialize_hook.
13565         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13566         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13567         * manual/memory.texi (Hooks for Malloc): Remove
13568         __malloc_initialize_hook.  Adjust hook example.
13570 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13572         [BZ #20235]
13573         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13574         itself.
13575         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13576         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13578         [BZ #20234]
13579         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13580         infinity or NaN input to itself.
13582         [BZ #20233]
13583         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13584         to itself.
13586         [BZ #20232]
13587         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13588         itself.
13590 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13592         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13593         __libc_start_main via GOT.
13595 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13597         * sysdeps/x86_64/memcopy.h: New file.
13598         * sysdeps/x86_64/wordcopy.c: Likewise.
13600 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13602         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13603         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13604         <cstdlib>.
13605         (optimization_barrier): New.
13606         (do_test): Use it.  Call quick_exit in the global namespace.
13607         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13608         instead of <cstdlib>, <thread>.
13609         (optimization_barrier): New.
13610         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13611         Call quick_exit in the global namespace.
13612         (do_test): Call optimization_barrier.  Use pthread_create,
13613         pthread_join instead of std::thread.
13615 2016-06-09  Andreas Schwab  <schwab@suse.de>
13617         [BZ #19755]
13618         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13619         new entries in auto-propagate mode.
13620         * nscd/grpcache.c (cache_addgr): Likewise.
13622 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13624         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13625         New functions.
13626         (add_temp_file): Use them.
13628 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13630         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13632 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13634         [BZ #20229]
13635         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13636         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13637         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13639         [BZ #20228]
13640         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13641         itself.
13642         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13643         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13645         [BZ #20227]
13646         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13647         itself.
13648         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13649         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13650         * math/libm-test.inc (log_test_data): Add sNaN tests.
13652         [BZ #20226]
13653         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13654         itself.
13655         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13656         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13657         (exp10_test_data): Likewise.
13658         (expm1_test_data): Likewise.
13660         [BZ #20225]
13661         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13662         itself.
13663         * math/s_ldexpf.c (__ldexpf): Likewise.
13664         * math/s_ldexpl.c (__ldexpl): Likewise.
13665         * math/w_scalbln.c (__w_scalbln): Likewise.
13666         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13667         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13668         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13669         (scalbln_test_data): Likewise.
13671         [BZ #20224]
13672         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13673         argument to itself.
13674         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13676 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13678         [BZ #19776]
13679         * sysdeps/x86_64/memcpy.S: Make it dummy.
13680         * sysdeps/x86_64/mempcpy.S: Likewise.
13681         * sysdeps/x86_64/memmove.S: New file.
13682         * sysdeps/x86_64/memmove_chk.S: Likewise.
13683         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13684         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13685         * sysdeps/x86_64/memmove.c: Removed.
13686         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13688         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13689         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13690         Likewise.
13691         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13692         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13694         memcpy-sse2-unaligned, memmove-avx-unaligned,
13695         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13697         (__libc_ifunc_impl_list): Replace
13698         __memmove_chk_avx512_unaligned_2 with
13699         __memmove_chk_avx512_unaligned.  Remove
13700         __memmove_chk_avx_unaligned_2.  Replace
13701         __memmove_chk_sse2_unaligned_2 with
13702         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13703         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13704         with __memmove_avx512_unaligned.  Replace
13705         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13706         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13707         with __memcpy_chk_avx512_unaligned.  Remove
13708         __memcpy_chk_avx_unaligned_2.  Replace
13709         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13710         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13711         Replace __memcpy_avx512_unaligned_2 with
13712         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13713         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13714         with __mempcpy_chk_avx512_unaligned.  Remove
13715         __mempcpy_chk_avx_unaligned_2.  Replace
13716         __mempcpy_chk_sse2_unaligned_2 with
13717         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13718         Replace __mempcpy_avx512_unaligned_2 with
13719         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13720         Replace __mempcpy_sse2_unaligned_2 with
13721         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13722         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13723         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13724         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13725         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13726         (ENTRY): Removed.
13727         (END): Likewise.
13728         (ENTRY_CHK): Likewise.
13729         (libc_hidden_builtin_def): Likewise.
13730         Don't include ../memcpy.S.
13731         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13732         __memcpy_chk_avx512_unaligned_erms and
13733         __memcpy_chk_avx512_unaligned.  Use
13734         __memcpy_chk_avx_unaligned_erms and
13735         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13736         Default to __memcpy_chk_sse2_unaligned.
13737         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13738         Change function suffix from unaligned_2 to unaligned.
13739         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13740         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13741         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13742         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13743         (ENTRY): Removed.
13744         (END): Likewise.
13745         (ENTRY_CHK): Likewise.
13746         (libc_hidden_builtin_def): Likewise.
13747         Don't include ../mempcpy.S.
13748         (mempcpy): New.  Add a weak alias.
13749         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13750         __mempcpy_chk_avx512_unaligned_erms and
13751         __mempcpy_chk_avx512_unaligned.  Use
13752         __mempcpy_chk_avx_unaligned_erms and
13753         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13754         Default to __mempcpy_chk_sse2_unaligned.
13756 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13758         [BZ #19881]
13759         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13760         into ...
13761         * sysdeps/x86_64/memset.S: This.
13762         (__bzero): Removed.
13763         (__memset_tail): Likewise.
13764         (__memset_chk): Likewise.
13765         (memset): Likewise.
13766         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13767         defined.
13768         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13769         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13770         (__memset_zero_constant_len_parameter): Check SHARED instead of
13771         PIC.
13772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13773         memset-avx2 and memset-sse2-unaligned-erms.
13774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13775         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13776         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13777         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13778         (__bzero): Enabled.
13779         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13780         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13781         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13782         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13783         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13784         (memset): Removed.
13785         (__memset_chk): Likewise.
13786         (MEMSET_SYMBOL): New.
13787         (libc_hidden_builtin_def): Replace __memset_sse2 with
13788         __memset_sse2_unaligned.
13789         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13790         __memset_chk_sse2 and __memset_chk_avx2 with
13791         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13792         Use __memset_chk_sse2_unaligned_erms or
13793         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13794         __memset_chk_avx512_unaligned_erms and
13795         __memset_chk_avx512_unaligned.
13797 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13799         * math/gen-auto-libm-test.c (fp_format_desc): remove
13800         suffix member.
13801         (output_generic_value): Remove usage of suffix member,
13802         and the resulting unuse of the fp_format argument.
13803         (output_for_one_input_case): Remove unused fp_format
13804         parameter.
13806         * math/auto-libm-test-out: Regenerate.
13808         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13809         usage with TEST_COND_ibm128.
13810         (TEST_COND_flt_32): Remove.
13811         (TEST_COND_dbl_64): Remove.
13812         (TEST_COND_ldbl_96_intel): Remove.
13813         (TEST_COND_ldbl_96_m68k): Remove.
13814         (TEST_COND_ldbl_128): Remove.
13816 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13818         * auto-libm-test-in:
13819         Replace flt-32 usage with binary32.
13820         Replace dbl-64 usage with binary64.
13821         Replace ldbl-intel-96 usage with intel96.
13822         Replace ldbl-m68k-96 usage with m68k96.
13823         Replace ldbl-128ibm usage with ibm128.
13824         Replace ldbl-128 usage with binary128.
13826         * auto-libm-test-out: Regenerate.
13828 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13830         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13831         (parse_ulps): Dynamically generate type name matching
13832         string from all_floats.
13833         (get_ulps): Generate the ulps as an array instead.
13834         (output_ulps): Dynamically compose the type based
13835         on the number of supported formats, and print
13836         the indices as type specific helper macros.
13838         * math/libm-test.inc: Remove comment about CHOOSE.
13839         (ulp_data): Generate the type in libm-test-ulps.h.
13840         (ULP_IDX): New macro.
13841         (find_ulps): Update usage of max_ulp.
13843         * math/test-double-vlen2.h (CHOOSE): Remove.
13844         * math/test-double-vlen4.h (CHOOSE): Likewise.
13845         * math/test-double-vlen8.h (CHOOSE): Likewise.
13846         * math/test-float.c (CHOOSE): Likewise.
13847         * math/test-float-finite.c (CHOOSE): Likewise.
13848         * math/test-double.c (CHOOSE): Likewise.
13849         * math/test-double-finite.c (CHOOSE): Likewise.
13850         * math/test-idouble.c (CHOOSE): Likewise.
13851         * math/test-ifloat.c (CHOOSE): Likewise.
13852         * math/test-ildoubl.c (CHOOSE): Likewise.
13853         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13854         * math/test-ldouble.c (CHOOSE): Likewise.
13856         * math/test-float.h (TEST_FLOAT): Remove.
13857         * math/test-double.h (TEST_DOUBLE): Likewise.
13858         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13860 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13862         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13863         (parse_args): Strip C suffix from floating point literals
13864         typed with 'f' and wrap them with LIT().
13866         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13867         (test_ff_f_data_nexttoward): Rename to
13868         (test_fj_f_data): New struct.
13869         (nexttoward_test_data): Relabel tests as
13870         TEST_fj_f instead of TEST_ff_f.
13872 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13874         Emacs bug 23726.
13875         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13876         (__libc_realloc): Correct size computation for dumped fake mmapped
13877         chunks.
13879 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #20219]
13882         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13883         to itself.
13884         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13886         [BZ #20218]
13887         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13888         to itself.
13889         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13891 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13893         [BZ #20195]
13894         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13895         check to ...
13896         (init_cpu_features): Here.
13898 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13900         [BZ #20214]
13901         * sysdeps/unix/sysv/linux/bits/in.h
13902         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13903          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13904         Define to 1.
13905         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13906          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13907         Define to 0.
13908         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13909         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13911 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13913         [BZ #20198]
13914         * stdlib/Makefile (tests): Add tst-quick_exit, and
13915         tst-thread-quick_exit.
13916         [ifeq ($(have-cxx-thread_local),yes)]
13917         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13918         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13919         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13920         (LDLIBS-tst-thread-quick_exit): Likewise.
13921         [ifneq ($(have-cxx-thread_local),yes)]
13922         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13923         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13924         If run_dtors is true call __call_tls_dtors.
13925         (exit): Call __run_exit_handlers with run_dtors set to true.
13926         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13927         definition.
13928         * stdlib/quick_exit.c (quick_exit): Remove function.
13929         (__new_quick_exit): New function.
13930         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13931         function.
13932         * stdlib/tst-quick_exit.cc: New file.
13933         * stdlib/tst-thread-quick_exit.cc: New file.
13934         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13935         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13936         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13937         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13938         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13939         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13940         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13941         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13942         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13943         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13944         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13945         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13946         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13948         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13949         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13955         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13956         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13957         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13958         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13961         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13962         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13965 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13967         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13968         a typo in comments.
13970 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #20213]
13973         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13974         argument to itself.
13975         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13977 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13979         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13980         required flags.
13981         (CFLAGS-pwritev64.c): Likewise.
13982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13984         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13985         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13986         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13987         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13988         syscall from auto-generation.
13989         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13990         [WORDSIZE == 64] (pwritev64): Remove macro.
13991         [!PWRITEV] (PWRITEV): Likewise.
13992         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13993         [!PWRITEV] (PWRITE): Likewise.
13994         [!PWRITEV] (OFF_T): Likewise.
13995         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13996         (LO_HI_LONG): Remove macro.
13997         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13998         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13999         (PWRITEV): Remove macro.
14000         (PWRITEV_REPLACEMENTE): Likewise.
14001         (PWRITE): Likewise.
14002         (OFF_T): Likewise.
14003         (pwritev64): New function.
14004         * nptl/tst-cancel4.c (tf_writev): Add test.
14006         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14007         required flags.
14008         (CFLAGS-preadv64.c): Likewise.
14009         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14010         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14011         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14012         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14013         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14014         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14015         syscall from auto-generation.
14016         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14017         [WORDSIZE == 64] (preadv64): Remove macro.
14018         [!PREADV] (PREADV): Likewise.
14019         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14020         [!PREADV] (PREAD): Likewise.
14021         [!PREADV] (OFF_T): Likewise.
14022         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14023         (LO_HI_LONG): Remove macro.
14024         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14025         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14026         (PREADV): Remove macro.
14027         (PREADV_REPLACEMENTE): Likewise.
14028         (PREAD): Likewise.
14029         (OFF_T): Likewise.
14030         (preadv64): New function.
14031         * nptl/tst-cancel4.c (tf_preadv): Add test.
14033 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14035         [BZ #20212]
14036         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14037         argument to itself.
14038         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14040 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14042         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14043         New symbol defined as libc_hidden_def.
14044         (strcasestr): Became a weak alias to __strcasestr.
14045         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14046         according to multi-arch support.  Move __stpncpy hidden
14047         definition from here to...
14048         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14049         symbol stpncpy.
14050         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14051         libc_hidden_builtin_def.
14052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14053         memset symbol to use when multi-arch support is available.
14055 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14057         * dlfcn/tst-rec-dlopen.c: Include string.h.
14059 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14061         * manual/install.texi: Remove mention of --without-tls
14062         * INSTALL: Regenerate.
14064 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14066         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14067         Remove.
14068         (call_function, interposed_malloc_called): New variables.
14069         (malloc): New function.
14070         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14071         and clear call_function as needed.
14073 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14075         * include/wchar.h (__wmemset): Use __typeof.
14077 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14079         * include/wchar.h (__wmemset): Declare function without typeof.
14081 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14083         [BZ #20205]
14084         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14085         exponent when incrementing negative subnormal with low mantissa
14086         word zero.
14087         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14088         Add another test.
14090 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14092         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14093         __wmemset instead of wmemset.
14095 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14097         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14098         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14099         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14100         __USE_KERNEL_IPV6_DEFS to 0.
14101         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14102         Update comment.
14104 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14106         [BZ #19861]
14107         Do not use IFUNC resolver with potentially unrelocated symbol.
14108         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14109         (DEFINE_FORK): Remove macro and inline definition.
14110         (fork_alias): Renamed from fork_ifunc.
14111         (__fork_alias): Renamed from __fork_ifunc.
14113 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14115         [BZ 19653]
14116         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14117         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14119 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14121         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14122         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14123         i386-linux-gnu).
14124         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14125         Set to no.
14126         * sysdeps/mach/hurd/configure: Refresh.
14128 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14130         [BZ #20178]
14131         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14132         on failure instead of exit.
14134 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14136         [BZ #3629]
14137         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14138         of POSIX.1-2008.
14140 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14142         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14143           Use PLT entry for calling _hurd_self_sigstate.
14145 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14147         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14148         available logical processors with SMT level type sharing L2
14149         cache for Intel processors.
14151 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #20160]
14154         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14155         argument to itself before returning the result.
14156         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14157         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14158         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14159         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14160         Likewise.
14161         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14162         Likewise.
14163         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14164         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14165         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14166         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14167         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14168         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14170         [BZ #20160]
14171         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14172         argument to itself before returning the result.
14173         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14174         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14175         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14177         Likewise.
14178         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14179         Likewise.
14180         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14181         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14182         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14183         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14184         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14185         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14187 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14189         * libm-test.inc: Replace usage of M_El with
14190         (lit_e): New macro.
14192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14194         * libm-test.inc: Replace usage of M_PI_4l with
14195         (lit_pi_4_d): New macro.
14197 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14199         * libm-test.inc: Replace usage of M_PIl with
14200         (lit_pi): New macro.
14202 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14204         * libm-test.inc: Replace usage of M_PI2l with
14205         (lit_pi_2_d): New macro.
14207         * math/test-double.h (LITM): New macro.
14208         * math/test-float.h (LITM): Likewise.
14209         * math/test-ldouble.h (LITM): Likewise.
14211 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14213         * libm-test.inc (M_PI_34l): Rename to
14214         (lit_pi_3_m_4_d): New Macro.
14215         (M_PI_34_LOG10El): Rename to
14216         (lit_pi_3_m_4_ln10_m_d): New Macro.
14217         (M_PI2_LOG10El): Rename to
14218         (lit_pi_2_ln10_m_d):  New Macro.
14219         (M_PI4_LOG10El): Rename to
14220         (lit_pi_4_ln10_m_d):  New Macro.
14221         (M_PI_LOG10El): Rename to
14222         (lit_pi_ln10_d):  New Macro.
14224 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14226         [BZ #20157]
14227         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14228         determine whether to negate low half if [_ARCH_PPCGR], and integer
14229         comparison otherwise.
14230         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14231         determine whether to negate low half.
14233         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14234         (NO_TEST_INLINE_DOUBLE): Likewise.
14235         (TEST_COND_x86_64): Likewise.
14236         (TEST_COND_x86): Likewise.
14237         (M_PI_6l): Likewise.
14239 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14241         * math/libm-test.inc:
14242         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14243         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14244         (TEST_LDOUBLE): Update usage to evaluate as true if
14245         the guarded tests match the property being tested.
14246         (LDBL_MAX_EXP): Change to MAX_EXP.
14247         (LDBL_MIN_EXP): Change to MIN_EXP.
14248         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14249         nexttoward tests.
14251 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14253         * math/libm-test.inc:
14254         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14255         (TYPE_MIN): Likewise.
14256         (TYPE_TRUE_MIN): Likewise.
14257         (TYPE_MAX): Likewise.
14258         (MIN_EXP): Likewise.
14259         (MAX_EXP): Likewise.
14260         (MANT_DIG): Likewise.
14262         (FSTR_MAX): New macro.
14263         (__CONCATX): Likewise.
14264         (QTYPE_STR): Likewise.
14265         (TEST_COND_binary32): Likewise.
14266         (TEST_COND_binary64): Likewise.
14267         (TEST_COND_binary128): Likewise.
14268         (TEST_COND_ibm128): Likewise.
14269         (TEST_COND_intel96): Likewise.
14270         (TEST_COND_m68k96): Likewise.
14272         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14273         (TEST_COND_dbl_64): Likewise.
14274         (TEST_COND_ldbl_96_intel): Likewise.
14275         (TEST_COND_ldbl_96_m68k): Likewise.
14276         (TEST_COND_ldbl_128): Likewise.
14277         (TEST_COND_ldbl_128ibm): Likewise.
14279         (plus_zero): Redefine using LIT macro.
14280         (minus_zero): Likewise.
14281         (plus_infty): Redefine as (INF).
14282         (minux_infty): Redefine as (-INF).
14283         (max_value): Redefine as TYPE_MAX.
14284         (min_value): Redefine as TYPE_MIN.
14285         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14287         (print_float): Refactor to use snprintf to convert FLOAT values
14288         to string. This brings it closer to dropin replacement of strtof
14289         for the TS 18661 defined types.
14290         (update_stats): Likewise.
14291         (print_complex_function_ulps): Likewise.
14292         (print_max_error): Likewise.
14293         (print_complex_max_error): Likewise.
14294         (check_float_internal): Likewise.
14296         * math/test-float.h (PREFIX): New macro.
14297         (LIT): Likewise.
14298         (TYPE_STR): Likewise.
14299         (FTOSTR): Likewise.
14301         * math/test-double.h (PREFIX): New macro.
14302         (LIT): Likewise.
14303         (TYPE_STR): Likewise.
14304         (FTOSTR): Likewise.
14306         * math/test-ldouble.h (PREFIX): New macro.
14307         (LIT): Likewise.
14308         (TYPE_STR): Likewise.
14309         (FTOSTR): Likewise.
14311 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14313         [BZ #20156]
14314         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14315         to itself when zero or not finite.
14316         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14318         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14319         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14321 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14323         [BZ #20153]
14324         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14325         x * x + x for infinities and NaNs.
14327         [BZ #20151]
14328         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14329         argument to itself before returning result.
14330         (__ieee754_y0l): Likewise.
14331         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14332         (__ieee754_y1l).
14334         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14335         (atan_test_data): Likewise.
14336         (ceil_test_data): Likewise.
14337         (cos_test_data): Likewise.
14338         (cosh_test_data): Likewise.
14339         (erf_test_data): Likewise.
14340         (exp2_test_data): Likewise.
14341         (fabs_test_data): Likewise.
14342         (floor_test_data): Likewise.
14343         (ilogb_test_data): Likewise.
14344         (j0_test_data): Likewise.
14345         (j1_test_data): Likewise.
14346         (jn_test_data): Likewise.
14347         (lgamma_test_data): Likewise.
14348         (lrint_test_data): Likewise.
14349         (llrint_test_data): Likewise.
14350         (logb_test_data): Likewise.
14351         (lround_test_data): Likewise.
14352         (llround_test_data): Likewise.
14353         (nearbyint_test_data): Likewise.
14354         (rint_test_data): Likewise.
14355         (round_test_data): Likewise.
14356         (sin_test_data): Likewise.
14357         (sincos_test_data): Likewise.
14358         (sinh_test_data): Likewise.
14359         (sqrt_test_data): Likewise.
14360         (tan_test_data): Likewise.
14361         (tanh_test_data): Likewise.
14362         (tgamma_test_data): Likewise.
14363         (trunc_test_data): Likewise.
14364         (y0_test_data): Likewise.
14365         (y1_test_data): Likewise.
14366         (yn_test_data): Likewise.
14368         * math/libm-test.inc: Update comment about NaN testing.
14369         (TEST_SNAN): New macro.
14370         (snan_value): Likewise.
14371         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14372         (fpclassify_test_data): Add sNaN tests.
14373         (isfinite_test_data): Likewise.
14374         (isinf_test_data): Likewise.
14375         (isnan_test_data): Likewise.
14376         (isnormal_test_data): Likewise.
14377         (issignaling_test_data): Likewise.
14378         (signbit_test_data): Likewise.
14379         * math/gen-libm-test.pl (%beautify): Add snan_value.
14380         (show_exceptions): Add argument $test_snan.
14381         (parse_args): Handle snan_value as non-finite.  Update call to
14382         show_exceptions.
14383         * math/Makefile (libm-test-no-inline-cflags): Add
14384         -fsignaling-nans.
14386 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14388         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14389         (CFLAGS-oldsendmsg.c): Add rule.
14390         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14391         Correct recvmsg symbol name.
14392         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14393         Likewise.
14395 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14397         * sysdeps/unix/sysv/linux/Makefile
14398         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14399         oldsendmmsg.
14400         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14401         sendmmsg.
14402         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14403         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14404         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14405         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14407         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14408         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14410         Likewise.
14411         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14412         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14413         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14414         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14415         iovlen and controllen fields to adjust to POSIX specification.
14416         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14418         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14419         and change to correct expected type.
14420         (msghdr.msg_controllen): Likewise.
14421         (cmsghdr.cmsg_len): Likewise.
14422         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14423         expected POSIX assumption about the size.
14424         (msghdr.msg_controllen): Likewise.
14425         (msghdr.__glibc_reserved1): Likewise.
14426         (msghdr.__glibc_reserved2): Likewise.
14427         (cmsghdr.cmsg_len): Likewise.
14428         (cmsghdr.__glibc_reserved1): Likewise.
14429         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14430         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14431         (CFLAGS-sendmsg.c): Remove rule.
14432         (CFLAGS-recvmsg.c): Likewise.
14433         (CFLAGS-oldsendmsg.c): Add rule.
14434         (CFLAGS-oldrecvmsg.c): Likewise.
14435         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14436         recvmsg and sendmsg.
14437         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14438         Likewise.
14439         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14440         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14441         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14442         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14443         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14444         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14445         Likewise.
14446         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14447         Likewise.
14448         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14449         Likewise.
14450         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14451         Likewise.
14452         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14453         Likewise.
14454         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14455         Likewise.
14456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14457         (GLIBC_2.24): Likewise.
14458         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14459         Likewise.
14460         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14461         Likewise.
14462         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14463         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14464         Likewise.
14465         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14466         Likewise.
14467         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14468         Likewise.
14469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14470         (GLIBC_2.24): Likewise.
14471         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14472         Likewise.
14473         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14474         Likewise.
14475         * sysdeps/unix/sysv/linux/Makefile
14476         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14477         (CFLAGS-sendmsg.c): Add rule.
14478         (CFLAGS-recvmsg.c): Likewise.
14479         (CFLAGS-oldsendmsg.c): Likewise.
14480         (CFLAGS-oldrecvmsg.c): Likewise.
14481         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14482         initialization.
14483         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14484         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14485         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14486         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14487         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14488         iovlen and controllen fields to adjust to POSIX specification.
14489         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14491         added recvmsg and sendmsg.
14492         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14493         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14494         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14495         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14497         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14498         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14499         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14500         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14502         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14503         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14505         Likewise.
14506         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14508         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14509         Likewise.
14510         Likewise.
14511         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14512         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14513         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14515         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14518         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14520         Likewise.
14521         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14522         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14524         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14525         from auto-generation.
14526         (sendmsg): Likewise.
14527         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14528         (sendmsg): Likewise.
14529         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14530         (sendmsg): Likewise.
14531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14532         (sendmsg): Likewise.
14533         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14534         (sendmsg): Likewise.
14535         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14536         (sendmsg): Likewise.
14537         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14538         Likewise.
14539         (sendmsg): Likewise.
14540         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14541         (sendmsg): Likewise.
14542         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14544         Remove.
14545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14546         Likewise.
14547         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14548         Undefine.
14549         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14550         Likewise.
14551         * sysdeps/unix/sysv/linux/kernel-features.h
14552         (__ASSUME_SENDMSG_SYSCALL): Define.
14553         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14556         Remove.
14557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14558         Likewise.
14559         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14560         Undefine.
14561         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14565         Remove.
14566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14567         Likewise.
14568         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14569         Undefine.
14570         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14571         Likewise.
14572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14573         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14574         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14576         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14577         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14578         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14579         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14580         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14582 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14584         * stdlib/gen-tst-strtod-round.c: Add backslash to
14585         compile command in comment.
14586         (printfp): Remove the literal suffix, and define an infinite
14587         value as INF to avoid expansion clash with INFINITY.
14588         (round_str): Remove the literal suffix.
14589         (round_for_all): Likewise, remove the now duplicate ldbl-64
14590         entry, and remove some magic constants.
14592         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14593         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14594         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14595         (_CONCAT): New macro.
14596         (CONCAT): Likewise.
14597         (CHOOSE_ld): Likewise.
14598         (CHOOSE_f): Likewise.
14599         (CHOOSE_d): Likewise.
14600         (FTYPE_MEMBER): Likewise.
14601         (BOOL_MEMBER): Likewise.
14602         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14603         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14604         (_XNTRY): Likewise.
14605         (XNTRY): Likewise.
14606         (_ENTRY): Likewise.
14607         (ENTRY): Likewise.
14608         (test_exactness): Generate members via macro.
14609         (test_results): Likewise.
14610         (test): Update members.
14611         (TEST): Redefine using new macros.
14612         (INF): New macro.
14613         (fetestmodes): New structure.
14614         (do_test): Refactor to be type generic.
14615         (test_in_one_mode): Refactor duplicate code into
14616         (GEN_ONE_TEST): New macro.
14618         * stdlib/tst-strtod-round-data.h: Regenerate.
14620         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14621         Extend to pass additional arbitrary parameters to
14622         generators.
14624 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #15479]
14627         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14628         floating-point state after first floating-point operation on
14629         input.  Restore full floating-point state instead of just rounding
14630         mode.
14631         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14632         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14633         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14634         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14635         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14637         [BZ #15479]
14638         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14639         floating-point state after first floating-point operation on
14640         input.  Restore full floating-point state instead of just rounding
14641         mode.
14642         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14643         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14644         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14645         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14646         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14648 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14650         [BZ #19727]
14651         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14652         valid high surrogate.
14653         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14654         of an utf16 surrogate.
14655         * iconv/gconv_simple.c (BODY): Likewise.
14656         * iconvdata/bug-iconv12.c: New file.
14657         * iconvdata/Makefile (tests): Add bug-iconv12.
14659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14661         [BZ #19726]
14662         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14663         outptrp in case of an illegal input.
14664         * iconv/tst-iconv6.c: New file.
14665         * iconv/Makefile (tests): Add tst-iconv6.
14667 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14669         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14670         an error in case of a value in range of an utf16 low surrogate.
14672 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14674         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14675         an error in case of a value in range of an utf16 low surrogate.
14677 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14679         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14680         Move to ...
14681         * sysdeps/s390/Makefile: ... here.
14682         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14683         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14684         (BRANCH_ON_COUNT): New define.
14685         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14686         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14687         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14688         run on s390-32, too.
14689         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14690         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14691         run on s390-32, too.
14692         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14693         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14694         run on s390-32, too.
14696 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14698         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14699         etf3eh or new vector loop-variant.
14701 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14703         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14704         etf3eh or new vector loop-variant.
14706 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14708         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14709         or new vector loop-variant.
14711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14713         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14714         Rename to TR_LOOP and usage of tr instead of troo instruction.
14716 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14718         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14719         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14721 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14723         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14724         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14725         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14726         New override define.
14727         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14729 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14731         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14732         * sysdeps/s390/configure.ac: Add test for S390 vector register
14733         support in gcc.
14734         * sysdeps/s390/configure: Regenerated.
14736 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14738         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14739         Install file from $(objpfx)gconv-modules.
14740         ($(objpfx)gconv-modules): Concatenate architecture specific file
14741         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14742         * sysdeps/s390/gconv-modules: New file.
14743         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14744         Deleted.
14745         ($(objpfx)gconv-modules-s390): Deleted.
14746         (sysdeps-gconv-modules): New variable.
14748 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14750         [BZ #15479]
14751         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14752         of immediate operand to rounding instruction.
14753         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14754         Likewise.
14755         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14756         Likewise.
14757         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14758         Likewise.
14760 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14762         * math/libm-test.inc (MIN_EXP): Directly define as
14763         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14765 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14767         * math/libm-test.inc (MANT_DIG): Directly define as
14768         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14770 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14772         * stdlib/gen-tst-strtod-round.c (main):
14773           Change usage to more closely match the generated
14774           output.  Add usage and compilation instructions.
14775           (string_to_fp): Add and use FILE* parameter as
14776           output target.
14777           (print_fp): Likewise.
14778           (round_str): Likewise.
14779           (round_for_all): Likewise.
14780         * stdlib/tst-strtod-round.c (tests): Move into
14781         * stdlib/tst-strtod-round-data.h: New file.
14783 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14785         [BZ #15479]
14786         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14787         (__round): Do not force "inexact" exception.
14788         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14789         variable.
14790         (__round): Do not force "inexact" exception.
14791         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14792         (__roundf): Do not force "inexact" exception.
14793         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14794         (__roundl): Do not force "inexact" exception.
14795         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14796         (__roundl): Do not force "inexact" exception.
14797         * math/libm-test.inc (round_test_data): Do not allow spurious
14798         "inexact" exceptions.
14800         [BZ #15479]
14801         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14802         exception in comment.
14803         (huge): Remove variable.
14804         (__floor): Do not force "inexact" exception.
14805         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14806         "inexact" exception in comment.
14807         (huge): Remove variable.
14808         (__floor): Do not force "inexact" exception.
14809         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14810         exception in comment.
14811         (huge): Remove variable.
14812         (__floorf): Do not force "inexact" exception.
14813         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14814         exception in comment.
14815         (huge): Remove variable.
14816         (__floorl): Do not force "inexact" exception.
14818         [BZ #15479]
14819         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14820         exception in comment.
14821         (huge): Remove variable.
14822         (__ceil): Do not force "inexact" exception.
14823         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14824         "inexact" exception in comment.
14825         (huge): Remove variable.
14826         (__ceil): Do not force "inexact" exception.
14827         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14828         (__ceilf): Do not force "inexact" exception.
14829         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14830         exception in comment.
14831         (huge): Remove variable.
14832         (__ceill): Do not force "inexact" exception.
14834 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14836         * config.h.in (BIND_NOW): New.
14837         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14838         * configure: Regenerated.
14839         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14840         indirect branch via the GOT slot.
14842 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14844         [BZ #19765]
14845         * sysdeps/s390/mempcpy.S: New File.
14846         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14848         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14849         Add mempcpy variants.
14850         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14851         (memcpy): Adjust to be usable from mempcpy entry point.
14852         (__memcpy_mvcle): Likewise.
14853         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14854         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14855         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14856         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14857         (__memcpy_z10): Likewise.
14858         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14860 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14862         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14863         Remove __GI_ symbol.
14864         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14865         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14866         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14867         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14868         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14869         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14871 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14873         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14874         Use cghi instead of chi to compare 64bit value.
14876 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14878         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14879         Jump to 1MB check before executing mvc-loop.
14881 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14883         [BZ #6527]
14884         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14885         unconditionally.
14886         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14888 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14890         * stdlib/tst-strtod6.c (do_test): Use new type generic
14891         invocation of the test function.
14892         (test): Refactor into ...
14893         (TEST_STRTOD): New macro base function.
14895 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14897         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14898         (TEST_STRTOD): New macro.
14899         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14901 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14903         * stdlib/tst-strtod6.c (do_test): Use new type generic
14904         invocation of the test function.
14905         (test): Refactor into ...
14906         (TEST_STRTOD): New macro base function.
14908 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14910         CVE-2016-4429
14911         [BZ #20112]
14912         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14913         payload.
14915 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14917         [BZ #20111]
14918         * bits/sockaddr.h (_SS_SIZE): Define.
14919         * bits/socket.h (_SS_SIZE): Remove.
14920         (_SS_PADSIZE): Adjust to account for all padding.
14921         (struct sockaddr_storage): Update comment.  Avoid implicit
14922         padding.
14923         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14924         (_SS_PADSIZE): Adjust to account for all padding.
14925         (struct sockaddr_storage): Update comment.  Avoid implicit
14926         padding.
14927         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14928         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14929         (_SS_PADSIZE): Adjust to account for all padding.
14930         (struct sockaddr_storage): Update comment.  Avoid implicit
14931         padding.
14932         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14933         __SS_SIZE is 126 in this version.
14934         * inet/tst-sockaddr.c: New file.
14935         * inet/Makefile (tests): Add tst-sockaddr.c
14936         (tst-sockaddr.c): Compile with non-strict aliasing.
14938 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14940         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14941         [XPG3 || XPG4].
14942         (NL_ARGMAX): Also expect for [XPG3].
14943         (NL_LANGMAX): Likewise.
14944         (NL_MSGMAX): Likewise.
14945         (NL_NMAX): Likewise.
14946         (NL_SETMAX): Likewise.
14947         (NL_TEXTMAX): Likewise.
14948         (NZERO): Likewise.
14949         (TMP_MAX): Likewise.
14950         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14951         variable.
14953         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14954         (PF_MAX): Update value.
14955         (AF_KCM): New macro.
14956         (SOL_NETBEUI): Likewise.
14957         (SOL_LLC): Likewise.
14958         (SOL_DCCP): Likewise.
14959         (SOL_NETLINK): Likewise.
14960         (SOL_TIPC): Likewise.
14961         (SOL_RXRPC): Likewise.
14962         (SOL_PPPOL2TP): Likewise.
14963         (SOL_BLUETOOTH): Likewise.
14964         (SOL_PNPIPE): Likewise.
14965         (SOL_RDS): Likewise.
14966         (SOL_IUCV): Likewise.
14967         (SOL_CAIF): Likewise.
14968         (SOL_ALG): Likewise.
14969         (SOL_NFC): Likewise.
14970         (SOL_KCM): Likewise.
14971         (MSG_BATCH): New enum value and macro.
14973 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14975         [BZ #18185]
14976         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14977         sharing L2 cache to 2 for Knights Landing.
14979 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14981         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14982         (FTW_DP): Do not expect for [XPG3 || XPG4].
14983         (FTW_SL): Do not expect for [XPG3].
14984         (FTW_SLN): Likewise.
14985         (FTW_PHYS): Likewise.
14986         (FTW_MOUNT): Likewise.
14987         (FTW_DEPTH): Likewise.
14988         (FTW_CHDIR): Likewise.
14989         (nftw): Likewise.
14990         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14991         variable.
14993 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14995         * manual/errno.texi: Fix various typos & grammar errors.
14997 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14999         * manual/intro.texi: Fix duplicated typo.
15001 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15003         [BZ #13304]
15004         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15005         <float.h>, <math_private.h> and <stdlib.h>.
15006         (add_split): New function.
15007         (mul_split): Likewise.
15008         (ext_val): New typedef.
15009         (store_ext_val): New function.
15010         (mul_ext_val): New function.
15011         (compare): New function.
15012         (add_split_ext): New function.
15013         (__fmal): After checking for Inf, NaN and zero, compute result as
15014         an exact sum of scaled double values in round-to-nearest before
15015         adding those up and adjusting for other rounding modes.
15016         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15017         tests of fma.
15018         * math/auto-libm-test-out: Regenerated.
15020 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15022         [BZ #20119]
15023         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15024         processor level type mask for CPUID with EAX == 11.
15026 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15028         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15029         logical threads if the HTT bit is 0.
15030         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15031         (index_cpu_HTT): Likewise.
15032         (reg_HTT): Likewise.
15034 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15036         [BZ #20115]
15037         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15038         Remove alignments on jump targets.
15040 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15042         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15043         (getpwent): Likewise.
15044         (setpwent): Likewise.
15045         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15046         variable.
15048         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15049         (remque): Likewise.
15050         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15051         variable.
15053 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15055         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15056         not being tested.
15058 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15060         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15061         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15062         call.
15063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15064         (__condvar_cleanup1): Likewise.
15066 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15068         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15069         New
15070         (__pthread_unwind): Renamed to ...
15071         (PTHREAD_UNWIND): This.
15072         (__pthread_enable_asynccancel): Replace
15073         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15075 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15077         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15078         (CLONE_NEWCGROUP): New macro.
15080         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15081         (Q_GETNEXTQUOTA): New macro.
15083 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15085         [BZ #19907]
15086         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15087         buffer updated by the previous run.
15088         * string/test-memcpy.c (do_one_test): Likewise.
15089         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15090         * string/test-memmove.c (do_one_test): Likewise.
15092 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15094         [BZ #20094]
15095         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15096         not [__USE_XOPEN].
15097         (unlockpt): Likewise.
15098         (ptsname): Likewise.
15099         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15100         variable.
15102         [BZ #20076]
15103         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15104         instead of [__USE_UNIX98].
15105         (S_ISSOCK): Likewise.
15106         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15107         variable.
15109         [BZ #20074]
15110         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15111         [__USE_POSIX].
15112         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15113         variable.
15115         [BZ #20051]
15116         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15117         (ttyslot): Do not declare.
15118         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15119         (ttyslot): New prototype.
15120         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15121         variable.
15122         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15124 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15126         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15128 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15130         Fix race condition in tst-mallocfork2, use fewer resources.
15131         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15132         to current process group.
15133         (signal_sender): Yield in the non-sleeping case.
15135 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15137         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15138         (ecvt): Likewise.
15139         (fcvt): Likewise.
15140         (gcvt): Likewise.
15141         (getsubopt): Likewise.
15142         (grantpt): Likewise.
15143         (initstate): Likewise.
15144         (l64a): Likewise.
15145         (mktemp): Likewise.
15146         (mkstemp): Likewise.
15147         (ptsname): Likewise.
15148         (random): Likewise.
15149         (realpath): Likewise.
15150         (setstate): Likewise.
15151         (srandom): Likewise.
15152         (ttyslot): Likewise.
15153         (unlockpt): Likewise.
15154         (valloc): Likewise.
15156         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15157         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15158         variable.
15160 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15162         [BZ #20072]
15163         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15164         init_cpu_features only if SHARED is defined.
15165         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15167 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15169         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15170         non-inclusive caches on Intel processors.
15172 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15174         * malloc/malloc.c (dumped_main_arena_start)
15175         (dumped_main_arena_end): New variables.
15176         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15177         (do_check_chunk): Skip dumped fake mmapped chunks.
15178         (munmap_chunk): Likewise.
15179         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15180         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15181         mmapped chunks.
15182         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15183         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15184         and dumped_main_arena_end to cover the dumped heap.
15186 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15188         * conform/data/time.h-data (getdate_err): Do not expect for
15189         [XPG3].
15190         (getdate): Likewise.
15191         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15192         variable.
15194         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15195         (F_ULOCK): Likewise.
15196         (F_TEST): Likewise.
15197         (F_TLOCK): Likewise.
15198         (useconds_t): Likewise.
15199         (intptr_t): Do not expect for [XPG3] or [XPG4].
15200         (brk): Do not expect for [XPG3]
15201         (fchown): Likewise.
15202         (fchdir): Likewise.
15203         (ftruncate): Likewise.
15204         (getdtablesize): Likewise.
15205         (gethostid): Likewise.
15206         (getpagesize): Likewise.
15207         (getpgid): Likewise.
15208         (getsid): Likewise.
15209         (getwd): Likewise.
15210         (lchown): Likewise.
15211         (lockf): Likewise.
15212         (readlink): Likewise.
15213         (sbrk): Likewise.
15214         (setpgrp): Likewise.
15215         (setregid): Likewise.
15216         (setreuid): Likewise.
15217         (symlink): Likewise.
15218         (sync): Likewise.
15219         (truncate): Likewise.
15220         (ualarm): Likewise.
15221         (usleep): Likewise.
15222         (vfork): Likewise.
15223         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15224         variable.
15226         [BZ #20054]
15227         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15228         not [__USE_UNIX98].
15229         * conform/data/unistd.h-data (gethostname): Do not expect for
15230         [XPG3].
15232         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15233         [!POSIX] (S_IFBLK): Likewise.
15234         [!POSIX] (S_IFCHR): Likewise.
15235         [!POSIX] (S_IFIFO): Likewise.
15236         [!POSIX] (S_IFREG): Likewise.
15237         [!POSIX] (S_IFDIR): Likewise.
15238         [!POSIX] (S_IFLNK): Likewise.
15239         [!POSIX] (S_IFSOCK): Likewise.
15240         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15241         variable.
15242         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15244 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15246         * sysdeps/aarch64/memset.S (__memset):
15247         Rewrite of optimized memset.
15249 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15251         [BZ #19703]
15252         Partially async-signal-safe fork for single-threaded processes.
15253         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15254         variable.  Do not acquire and reset/release malloc and libio locks
15255         in single-threaded processes.
15256         * malloc/tst-mallocfork2.c: New file.
15257         * malloc/Makefile (tests): Add it.
15259 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15261         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15262         argument.  Use scratch buffer instead of extend_alloca.
15263         (gethosts): Use scratch buffer instead of extend_alloca.
15264         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15265         extend_alloca.
15266         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15268 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15270         [BZ #20055]
15271         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15272         instead of [__USE_UNIX98].
15273         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15274         [__USE_UNIX98].
15275         * conform/data/termios.h-data (tcgetsid): Do not expect for
15276         [XPG3].
15277         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15278         variable.
15279         (test-xfail-XPG4/termios.h/conform): Likewise.
15281 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15283         Do not use mcheck in localedef.
15284         * locale/programs/localedef.c (turn_on_mcheck)
15285         (__malloc_initialize_hook): Remove.
15287 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15289         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15290         * sysdeps/s390/s390-64/Makefile: Likewise.
15292 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15294         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15295         Remove ifunc-defines.sym.
15296         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15297         Likewise.
15298         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15299         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15300         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15301         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15302         rtld-global-offsets.sym.
15303         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15304         * sysdeps/x86/cpu-features-offsets.sym: This.
15305         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15306         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15308 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15310         [BZ #20073]
15311         * io/sys/stat.h (fchmod): Declare for
15312         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15313         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15314         variable.
15316         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15317         [XPG3] (S_IFSOCK): Likewise.
15318         [XPG3] (S_ISVTX): Likewise.
15319         [XPG3] (S_ISLNK): Likewise.
15320         [XPG3] (S_ISSOCK): Likewise.
15321         [XPG3] (fchmod): Likewise.
15322         [XPG3] (lstat): Likewise.
15323         [XPG3] (mknod): Likewise.
15325         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15326         [XPG3].  Expect type long and XFAIL for [XPG4].
15327         (st_blocks): Likewise.
15329         [BZ #20044]
15330         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15331         (pthread_atfork): New prototype.
15332         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15333         variable.
15335         [BZ #20043]
15336         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15337         prototype.
15339 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15341         [BZ #20017]
15342         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15343         gmtime.
15345 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15347         [BZ #19994]
15348         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15349         flag in _res.options.
15351 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15353         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15354         [XPG3 || XPG4].
15355         (blksize_t): Likewise.
15356         (clockid_t): Likewise.
15357         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15358         variable.
15359         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15361 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15363         * sysdeps/unix/sysv/linux/s390/init-first.c:
15364         Add VDSO_SYMBOL(getcpu).
15365         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15366         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15367         Add VDSO_SYMBOL(getcpu).
15368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15369         New define HAVE_GETCPU_VSYSCALL.
15370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15372 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15374         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15375         instead of <sysdeps/x86_64/cacheinfo.c>.
15376         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15377         * sysdeps/x86/cacheinfo.c: Here.
15379 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15381         * malloc/malloc-internal.h: Adjust header file guard.
15383 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15385         [BZ #19787]
15386         * inet/getnameinfo.c (check_sprintf_result): New function.
15387         (CHECKED_SNPRINTF): New macro.
15388         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15389         to the host buffer.
15390         (gni_host_local): Use checked_copy to copy the host name.
15391         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15392         (gni_serv_local): Use checked_copy to copy the service name.
15393         (getnameinfo): Remove unnecessary truncation of result buffers.
15395 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15397         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15398         in case of inet_ntop failure.
15400 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15402         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15403         avoid long lines.
15404         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15405         variables.
15406         (gni_host_inet, gni_host_local): Add comment.
15407         (gni_host): Add comment.  Use temporary to avoid long lines.
15409 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15411         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15412         registers specifiers where general purpose registers specifiers should
15413         have been used.
15415 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15417         [BZ #19779]
15418         CVE-2016-1234
15419         Avoid copying names of directory entries.
15420         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15421         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15422         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15423         (struct readdir_result): New type.
15424         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15425         (GL_READDIR): New macros.
15426         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15427         (convert_dirent, convert_dirent64): New functions.
15428         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15429         convert_dirent64.  Adjust references to the readdir result.
15430         * sysdeps/unix/sysv/linux/i386/glob64.c:
15431         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15432         * posix/bug-glob2.c (LONG_NAME): Define.
15433         (filesystem): Add LONG_NAME.
15434         (my_DIR): Increase the size of room_for_dirent.
15436 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15438         [BZ #20041]
15439         * misc/sys/select.h (__need_timespec): Only define if
15440         [__USE_XOPEN2K].
15441         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15442         variable.
15443         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15444         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15445         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15447 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15448             Segher Boessenkool  <segher@gcc.gnu.org>
15450         [BZ #20004]
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15452         (__novec_swapcontext): Add missing load.
15454 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15456         [BZ #20023]
15457         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15458         <time.h>.
15459         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15460         variable.
15461         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15463 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15466         flags CLONE_VM compare.
15468 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15470         [BZ #20031]
15471         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15472         completely empty.
15474 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15476         [BZ #19573]
15477         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15478         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15479         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15480         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15481         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15482         (hesiod_free_list): Mark as hidden.
15483         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15484         res_set, res_get.
15485         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15486         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15487         (hesiod_init): Remove obsolete res_ninit call.
15488         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15489         (hesiod_bind): Do not call init.
15490         (get_txt_records): Use res_mkquery, res_send instead of
15491         res_nmkquery, res_nsend.
15492         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15493         instead of _nss_hesiod_init.
15494         (_nss_hesiod_initgroups_dyn): Likewise.
15495         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15496         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15497         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15499 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15501         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15502         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15504 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15506         * hesiod/hesiod.h: Remove RCS keyword.
15507         * hesiod/hesiod_p.h: Likewise.
15509         * hesiod/hesiod.c: Likewise.
15511 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15513         [BZ #12450]
15514         * locale/iso-639.def: Add Samogitian/sgs.
15516 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15518         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15520         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15522 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15523             Carlos O'Donell  <carlos@redhat.com>
15525         [BZ #19072]
15526         * grp/Makefile (headers): Add grp-merge.h
15527         (routines): Add grp-merge.
15528         * grp/getgrgid_r.c: Include grp-merge.h.
15529         (DEEPCOPY_FN): Define.
15530         (MERGE_FN): Define.
15531         * grp/getgrname_r.c: Include grp-merge.h.
15532         (DEEPCOPY_FN): Define.
15533         (MERGE_FN): Define.
15534         * grp/grp-merge.c: New file.
15535         * grp/grp-merge.h: New file.
15536         * include/grp-merge.h: New file.
15537         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15538         __copy_grp@GLIBC_PRIVATE.
15539         * manual/nss.texi (Actions in the NSS configuration): Describe
15540         return, continue, and merge.
15541         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15542         (DEEPCOPY_FN): Define.
15543         (MERGE_FN): Define.
15544         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15545         (DEEPCOPY_FN): Define.
15546         (MERGE_FN): Define.
15547         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15548         [!MERGE_FN]: Define __merge_einval.
15549         (CHECK_MERGE): Define.
15550         (REENTRANT_NAME): Process merge if do_merge is true.
15551         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15552         (__nss_getent_r): Likewise.
15553         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15554         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15556 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15558         [BZ #20012]
15559         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15560         length to calculate the buffer to read.
15561         (fmemopen_write): Set the buffer position based on bytes written.
15562         (fmemopen_seek): Return EINVAL for invalid whence modes.
15564         [BZ #19957]
15565         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15566         tst-getpid2.
15567         (test): Add tst-clone2.
15568         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15569         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15570         pid/tid fields for CLONE_VM.
15571         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15572         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15573         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15574         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15575         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15576         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15577         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15578         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15580         Likewise.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15582         Likewise.
15583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15584         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15585         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15586         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15587         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15588         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15589         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15590         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15592 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15594         [BZ #19642]
15595         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15596         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15597         (gni_serv_local, gni_serv): New functions extracted from
15598         getnameinfo.
15599         (getnameinfo): Call gni_host and gni_serv to perform the
15600         processing.  Always free scratch buffer.
15602 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15604         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15605         remaining bytes in the dest string, with zeros.
15607 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15609         [BZ #20010]
15610         CVE-2016-3706
15611         * sysdeps/posix/getaddrinfo.c
15612         (convert_hostent_to_gaih_addrtuple): New function.
15613         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15614         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15615         AF_INET data.
15617 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15619         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15620         callback function gl_readdir.
15621         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15622         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15623         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15624         memcpy to copy the name.
15625         * manual/pattern.texi (Calling Glob): Document requirements for
15626         implementations of the gl_readdir callback function.
15627         * manual/examples/mkdirent.c: New example.
15628         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15629         per the manual guidance.
15630         * posix/tst-gnuglob.c (my_readdir): Likewise.
15632 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15634         [BZ #20014]
15635         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15636         not [__USE_POSIX].
15637         (getchar_unlocked): Likewise.
15638         (putc_unlocked): Likewise.
15639         (putchar_unlocked): Likewise.
15640         (flockfile): Likewise.
15641         (ftrylockfile): Likewise.
15642         (funlockfile): Likewise.
15643         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15644         variable.
15645         (test-xfail-XPG4/stdio.h/conform): Likewise.
15647         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15648         Expect constant.
15649         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15650         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15651         variable.
15652         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15653         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15655         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15656         [__USE_LARGEFILE64] (off64_t): Likewise.
15657         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15658         variable.
15660 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15662         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15664 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15666         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15667         * resolv/res_init.c: Likewise.
15668         * resolv/res_mkquery.c: Likewise.
15670 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15672         * resolv/res_init.c (isascii): Do not define.  Use definition in
15673         <ctype.h>.
15674         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15675         (LOG_AUTH): Remove.
15676         (SPRINTF): Remove, adjust caller.
15677         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15679 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15681         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15682         SUNSECURITY conditional.
15683         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15687         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15688         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15689         Remove BSD-related preprocessor conditionals.
15690         * conf/portability.h: Remove.
15692 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15694         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15695         * resolv/res_data.c: Likewise.
15697 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15699         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15700         * resolv/res_data.c: Remove code conditional on ultrix.
15702 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15704         * resolv/res_init.c (RFC1535): Do not define.  Remove
15705         RFC1535 preprocessor conditionals.
15706         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15707         because there configuration options which make the resolver
15708         behavior different.
15710 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15712         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15713         RESOLVSORT preprocessor conditionals.
15714         * resolv/nss_dns/dns-host.c: Likewise.
15715         * resolv/res_init.c: Likewise.
15717 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15719         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15720         is never defined.
15722 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15724         * inet/inet_lnaof.c: Remove SCSS keyword.
15725         * inet/inet_mkadr.c: Likewise.
15726         * inet/inet_net.c: Likewise.
15727         * inet/inet_netof.c: Likewise.
15728         * inet/rcmd.c: Likewise.
15729         * inet/rexec.c: Likewise.
15730         * inet/ruserpass.c: Likewise.
15732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15734         * resolv/inet_addr.c: Remove _LIBC conditionals.
15735         * resolv/res_data.c: Likewise.
15736         * resolv/res_init.c: Likewise.
15737         * resolv/res_mkquery.c: Likewise.
15738         * resolv/res_libc.c: Update comment.
15739         * resolv/README: Update.
15741 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15743         * resolv/gethnamaddr.c: Remove SCSS keyword.
15744         * resolv/herror.c: Likewise.
15745         * resolv/inet_addr.c: Likewise.
15746         * resolv/inet_net_ntop.c: Likewise.
15747         * resolv/inet_net_pton.c: Likewise.
15748         * resolv/inet_neta.c: Likewise.
15749         * resolv/inet_ntop.c: Likewise.
15750         * resolv/inet_pton.c: Likewise.
15751         * resolv/ns_date.c: Remove RCS keyword.
15752         * resolv/ns_name.c: Likewise.
15753         * resolv/ns_netint.c: Likewise.
15754         * resolv/ns_parse.c: Likewise.
15755         * resolv/ns_print.c: Likewise.
15756         * resolv/ns_samedomain.c: Likewise.
15757         * resolv/ns_ttl.c: Likewise.
15758         * resolv/nsap_addr.c: Likewise.
15759         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15760         * resolv/res_data.c: Remove RCS keyword.
15761         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15762         * resolv/res_init.c: Likewise.
15763         * resolv/res_mkquery.c: Likewise.
15764         * resolv/res_query.c: Likewise.
15765         * resolv/res_send.c: Likewise.
15767 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15769         * conform/data/stdio.h-data (fdopen): Expect also for
15770         [XPG3 || XPG4].
15772         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15773         (fseeko): Likewise.
15774         (ftello): Likewise.
15775         (ftrylockfile): Likewise.
15776         (funlockfile): Likewise.
15777         (getc_unlocked): Likewise.
15778         (getchar_unlocked): Likewise.
15779         (putc_unlocked): Likewise.
15780         (putchar_unlocked): Likewise.
15782 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15784         [BZ #19868]
15785         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15786         DNS packet syntax checks (which were not needed before).  Skip
15787         over non-PTR records.
15789 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15791         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15792         definition.  Include <stddef.h> instead.
15794 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15796         [BZ #19831]
15797         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15798         function.
15799         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15800         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15802 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15804         [BZ #19862]
15805         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15806         (getanswer_r): Do not call syslog.
15807         (gaih_getanswer_slice): Likewise.
15808         * resolv/gethnamaddr.c (AskedForGot): Remove.
15809         (getanswer): Do not call syslog.
15810         (gethostbyaddr): Likewise.
15812 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15814         * conform/data/signal.h-data (union sigval): Expect also if
15815         [XOPEN2K].
15816         (struct sigevent): Likewise.
15817         (SIGEV_NONE): Likewise.
15818         (SIGEV_SIGNAL): Likewise.
15819         (SIGEV_THREAD): Likewise.
15820         (SIGRTMIN): Likewise.
15821         (SIGRTMAX): Likewise.
15822         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15823         variable.
15824         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15826 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15828         [BZ #19830]
15829         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15830         (gaih_getanswer_slice): Likewise.
15831         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15832         Also check for availability of RR metadata.
15834 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15836         [BZ #19825]
15837         * resolv/res_send.c (send_vc): Remove early *resplen2
15838         initialization.  Set *resplen2 on socket error.  Call
15839         close_and_return_error for other errors.
15841 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15843         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15844         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15845         (SCM_IUCV_TRGCLS): New define.
15847 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15849         [BZ #20005]
15850         * libio/fmemopen.c (fmemopen_write): Update internal position after
15851         write.
15852         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15853         * stdio-common/tst-fmemopen4.c: New file..
15855 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15857         [BZ #19996]
15858         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15859         not [__USE_XOPEN2K].
15860         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15861         variable.
15863         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15864         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15865         variable.
15867         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15868         [__USE_XOPEN2K8].
15869         [__USE_LARGEFILE64] (off64_t): Likewise.
15870         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15871         variable.
15873 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #19989]
15876         * libio/stdio.h (cuserid): Do not declare if
15877         [__USE_XOPEN2K && !__USE_GNU].
15878         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15879         variable.
15881 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15883         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15884         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15886         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15887         ifunc'ed strcspn.
15888         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15889         [EALIGN]: Removed.
15890         [END]: Likewise
15891         [STRSPN]: Define instead of the above to control symbol name.
15892         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15893         New file.
15894         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15895         Likewise.
15896         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15897         Likewise.
15898         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15899         Likewise.
15900         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15901         [INITIAL_MASK]: New macro.
15902         [STRCSPN]: Likewise.
15903         [UPDATE_MASK]: Likewise.
15904         [USE_AS_STRCSPN]: Likewise.
15906 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15908         [BZ #19931]
15909         * stdio-common/tst-vfprintf-width-prec.c: New file.
15910         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15911         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15912         (generated): Add mtrace-related files.
15913         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15914         (tst-%-mem.out): New pattern rule, replaces
15915         tst-printf-bz18872-mem.out.
15916         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15917         specifier, deallocate any previously allocated work buffer.
15919 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15921         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15922         Add nop before __startcontext, add explaining comments.
15924 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15926         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15927         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15928         completely different API.
15930         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15931         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15932         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15933         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15934         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15935         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15936         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15937         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15938         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15939         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15941 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15943         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15945 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15947         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15948         when it is the default of 0.
15950 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15952         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15953         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15954         (sysdep_routines): Add new strcasestr targets.
15955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15956         (__libc_ifunc_impl_list): Likewise.
15957         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15958         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15959         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15960         * sysdeps/powerpc/powerpc64/power8/Makefile:
15961         New file to add strcasestr-ppc64 to sysdep_routines.
15962         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15963         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15965 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15967         * benchtests/Makefile (wcsmbs-benchset): Include only for
15968         native builds and runs.
15969         (LOCALES): Likewise.
15970         (bench-build): Build timing-type here instead of the bench
15971         target.  Generate locale only for native builds.
15972         * benchtests/README: Add note for cross-building.
15974         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15976         * benchtests/README: Update README to include instructions on
15977         using bench-build.
15979         * Makefile.in (bench-build): New target.
15980         * Rules (PHONY): Add bench-build target.
15981         * benchtests/Makefile (bench): Depend on bench-build.
15982         (bench-build): New target.
15984 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15986         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15987         profil_reply_port.
15988         (profile_waiter): Do not initialize profil_reply_port.
15989         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15990         frequency instead of tick length in us.
15992 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15994         [BZ #18712]
15995         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15996         (__old_mempcpy_small): Likewise.
15997         (__old_strcpy_small): Likewise.
15998         (__old_stpcpy_small): Likewise.
15999         (__old_strpbrk_c2): Fix compat symbol name.
16000         (__old_strpbrk_c3): Likewise.
16001         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16002         (__mempcpy_small): Remove.
16003         (__strcpy_small): Remove.
16004         (__stpcpy_small): Remove.
16006 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16008         [BZ #19400]
16009         * locale/iso-639.def: Add the Talossan/tzl language.
16011 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16013         [BZ #16983]
16014         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16015         comment.  Add "ln" to strchr check on postal_fmt.
16017 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16019         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16020         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16021         tel_dom_fmt.
16023 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16025         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16026         (sysdep_routines): Added __strlen_power8.
16027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16028         __strlen_power8 entry.
16029         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16030         Implementation for POWER8.
16031         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16032         for __strlen_power8.
16033         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16034         Implementation for POWER8.
16036 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16038         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16040 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16042         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16043         Goldmont and Airmont processors.
16045 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16047         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16048         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16049         (__STRING2_SMALL_GET32): Remove.
16050         (memset): Remove.
16051         (__memset_1): Remove.
16052         (__memset_gc): Remove.
16053         (__mempcpy): Remove.
16054         (mempcpy): Remove.
16055         (__mempcpy_args): Remove.
16056         (strchr): Remove.
16057         (strcpy): Remove.
16058         (strcpy_args): Remove.
16059         (__stpcpy_args): Remove.
16060         (__strcmp_cc): Remove.
16061         (__strcmp_gc): Remove.
16062         (strstr): Remove.
16064 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16066         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16067         * nis/nis_call.c (nis_server_cache_add): Likewise.
16069 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16071         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16073 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16075         * malloc/arena.c (__malloc_fork_lock_parent)
16076         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16077         internal_function attribute.
16079 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16081         * stdio-common/printf_fp.c (__printf_fp_l):
16082         Rename ___printf_fp_l to __printf_fp_l and
16083         remove strong alias. Use libc_hidden_def instead
16084         of ldbl_hidden_def macro.
16086 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16088         Remove malloc hooks from fork handler.  They are no longer needed
16089         because malloc runs right before fork, and no malloc calls from
16090         other fork handlers are not possible anymore.
16091         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16092         declarations.
16093         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16094         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16095         (atfork_recursive_cntr): Remove.
16096         (__malloc_fork_lock_parent): Do not override malloc hooks and
16097         thread_arena.
16098         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16099         thread_arena.
16100         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16101         thread_arena instead of save_arena.
16103 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16105         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16106         (thread_atfork, thread_atfork_static): Remove.
16107         * sysdeps/mach/hurd/malloc-machine.h:
16108         (thread_atfork, thread_atfork_static): Remove.
16110 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16112         [BZ #19431]
16113         Run the malloc fork handler as late as possible to avoid deadlocks.
16114         * malloc/malloc-internal.h: New file.
16115         * malloc/malloc.c: Include it.
16116         * malloc/arena.c (ATFORK_MEM): Remove.
16117         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16118         Update comment.
16119         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16120         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16121         Remove outdated comment.
16122         (ptmalloc_init): Do not call thread_atfork.  Remove
16123         thread_atfork_static.
16124         * malloc/tst-malloc-fork-deadlock.c: New file.
16125         * Makefile (tests): Add tst-malloc-fork-deadlock.
16126         (tst-malloc-fork-deadlock): Link against libpthread.
16127         * manual/memory.texi (Aligned Memory Blocks): Update safety
16128         annotation comments.
16129         * sysdeps/nptl/fork.c (__libc_fork): Call
16130         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16131         __malloc_fork_unlock_child.
16132         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16134 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16136         [BZ #19613]
16137         Remove union wait.
16138         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16139         (w_stopsig, w_stopval): Remove.
16140         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16141         stat_loc argument.
16142         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16143         (__WAIT_STATUS_DEFN): Remove.
16144         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16145         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16146         (wait, wait3, wait4): Use int * for the stat_loc argument.
16147         * posix/wait.c (__wait): Likewise.
16148         * posix/wait3.c (__wait3): Likewise.
16149         * posix/wait4.c (__wait4): Likewise.
16150         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16151         (__WAIT_STATUS_DEFN): Remove.
16152         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16153         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16154         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16155         argument.
16156         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16157         * sysdeps/posix/wait3.c (__wait3): Likewise.
16158         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16159         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16160         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16161         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16162         stat_loc argument.
16163         * manual/process.texi (BSD Wait Functions): Remove union wait.
16165 2016-04-13  Andreas Schwab  <schwab@suse.de>
16167         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16168         (test-extras): Add tst-tlsalign-vars.
16169         * math/Makefile: Wrap long lines.
16170         (libm-vec-test-wrappers): Define.
16171         (test-extras): Add $(libm-vec-test-wrappers).
16172         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16173         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16174         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16175         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16176         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16177         (extra-test-objs): Add corresponding objects.
16179 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16181         [BZ #19928]
16182         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16183         New.
16184         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16185         times of shared cache size.
16186         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16187         (VMOVNT): New.
16188         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16189         (VMOVNT): Likewise.
16190         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16191         (VMOVNT): Likewise.
16192         (VMOVU): Changed to movups for smaller code sizes.
16193         (VMOVA): Changed to movaps for smaller code sizes.
16194         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16195         comments.
16196         (PREFETCH): New.
16197         (PREFETCH_SIZE): Likewise.
16198         (PREFETCHED_LOAD_SIZE): Likewise.
16199         (PREFETCH_ONE_SET): Likewise.
16200         Rewrite to use forward and backward loops, which move 4 vector
16201         registers at a time, to support overlapping addresses and use
16202         non temporal store if size is above the threshold and there is
16203         no overlap between destination and source.
16205 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16207         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16208         Include dl-vdso.
16209         * sysdeps/unix/sysv/linux/mips/Versions: Add
16210         __vdso_clock_gettime.
16211         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16212         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16213         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16214         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16215         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16216         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16217         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16218         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16219         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16221 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16223         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16224         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16225         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16227         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16228         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16231         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16233         syscalls generation.
16234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16235         [__NR_pwrite64] (__NR_write): Remove define.
16236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16237         [__NR_pwrite64] (__NR_write): Remove define.
16238         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16239         Remove define.
16240         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16241         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16242         Remove define.
16243         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16244         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16245         Linux implementation as base.
16246         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16248         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16249         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16254         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16255         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16256         syscall generation.
16257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16258         [__NR_pread64] (__NR_pread): Remove define.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16260         [__NR_pread64] (__NR_pread): Likewise.
16261         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16262         define.
16263         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16264         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16265         Remove define.
16266         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16267         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16268         Linux implementation as base.
16269         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16270         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16271         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16273         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16274         definition.
16275         (__ALIGNMENT_COUNT): Likewise.
16276         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16277         (__ALIGNMENT_COUNT): Likewise.
16278         (SYSCALL_LL): New define.
16279         (SYSCALL_LL64): Likewise.
16280         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16281         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16282         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16283         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16285         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16286         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16288         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16289         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16290         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16292 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16294         [BZ #19865]
16295         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16296         original buffer before retry.
16298 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16300         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16301         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16302         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16303         GLRO(dl_auxv) list.
16304         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16305         including <ldsodefs.h>.
16306         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16308 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16310         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16311         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16312         $(CPPFLAGS).
16314 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16316         [BZ #17950]
16317         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16318         Add -mfpmath=387.
16320 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16322         * sysdeps/i386/configure.ac: Change == to = when calling test.
16323         * sysdeps/x86_64/configure.ac: Likewise.
16324         * sysdeps/i386/configure: Regenerated.
16325         * sysdeps/x86_64/configure: Likewise.
16327 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16329         [BZ #16137]
16330         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16331         * benchtests/bench-strcoll.c (input_files): Likewise.
16332         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16333         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16334         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16336 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16338         [BZ #19929]
16339         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16340         [__USE_XOPEN2K8 && !__USE_GNU].
16341         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16342         variable.
16344         [BZ #19925]
16345         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16346         define if [!__USE_MISC && __USE_XOPEN2K].
16347         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16348         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16349         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16350         Likewise.
16351         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16352         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16353         variable.
16354         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16356 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16358         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16359         (sysdep_routines): Add new strspn targets.
16360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16361         (__libc_ifunc_impl_list): Add strspn.
16362         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16363         New file.
16364         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16365         Likewise.
16366         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16367         Likewise.
16368         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16369         Likewise.
16371 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16373         * misc/hsearch_r.c: Include <limits.h>.
16375 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16377         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16379 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16381         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16382         (MEMCPY_SYMBOL): New.
16383         (MEMPCPY_SYMBOL): Likewise.
16384         (MEMMOVE_CHK_SYMBOL): Likewise.
16385         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16386         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16387         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16388         Provide alias for memcpy in libc.a and ld.so.
16390 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16392         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16393         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16394         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16395         Disabled fro now.
16396         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16397         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16399 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16401         * benchtests/Makefile (string-benchset): Add memcpy-large,
16402         memmove-large and memset-large.
16403         * benchtests/bench-memcpy-large.c: New file.
16404         * benchtests/bench-memmove-large.c: Likewise.
16405         * benchtests/bench-memmove-large.c: Likewise.
16406         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16408 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16410         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16411         32-bit displacement to avoid long nop between instructions.
16413 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16415         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16416         a comment on VMOVU and VMOVA.
16418 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16420         [BZ #19633]
16421         Use specified locale for number formatting in strfmon_l.
16422         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16423         (__nl_lookup_word): New inline functions.
16424         * include/printf.h (__print_fp_l): Declare.
16425         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16426         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16427         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16428         (___printf_fp): New function.
16429         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16430         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16431         * stdlib/tst-strfmon_l.c (do_test): New test.
16432         * stdlib/Makefile (tests): Add kt.
16433         (LOCALES): Build additional locales.
16434         (tst-strfmon_l.out): Require locales.
16436 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16438         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16439         if not in libc.
16440         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16441         Likewise.
16442         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16443         Likewise.
16444         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16445         Likewise.
16447 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16449         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16450         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16451         with unaligned_erms.
16452         (__memmove_erms): Skip if source == destination.
16453         (__memmove_unaligned_erms): Don't check source == destination
16454         first.
16456 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16458         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16459         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16461 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16463         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16464         * string/strspn.c (strspn): Likewise.
16466 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16468         * benchtests/bench-memset.c (do_test): Support 64-byte
16469         alignment.
16470         (test_main): Test 64-byte alignment.
16472 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16474         * benchtests/bench-memmove.c (test_main): Test 64-byte
16475         alignment.
16477 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16479         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16481 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16483         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16484         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16485         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16487         * string/strpbrk.c (strpbrk): Rewrite function.
16488         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16489         (__strpbrk_c2): Likewise.
16490         (__strpbrk_c3): Likewise.
16491         * string/string-inlines.c
16492         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16493         Likewise.
16494         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16495         Likewise.
16497         * string/strspn.c (strcspn): Rewrite function.
16498         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16499         (__strspn_c1): Remove inline function.
16500         (__strspn_c2): Likewise.
16501         (__strspn_c3): Likewise.
16502         * string/string-inlines.c
16503         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16504         compatibility symbol.
16505         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16506         Likewise.
16507         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16508         Likewise.
16509         * string/string-inlines.c: Include generic version.
16511 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16512             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16514         * string/Version (libc): Add GLIBC_2.24.
16515         * string/strcspn.c (strcspn): Rewrite function.
16516         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16517         (__strcspn_c1): Remove inline function.
16518         (__strcspn_c2): Likewise.
16519         (__strcspn_c3): Likewise.
16520         * string/string-inline.c
16521         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16522         compatibility symbol.
16523         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16524         Likewise.
16525         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16526         Likewise.
16527         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16529 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16531         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16532         Use ahi instead of aghi to adjust stack pointer.
16534 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16536         [BZ #19853]
16537         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16538         TEST to take significant digits as second parameter.
16539         [TEST]: Redefine in terms of TEST_N taking 30
16540         significant digits.
16541         (do_test): Add test case to demonstrate precision
16542         failure in the ldbl-128ibm printf.
16543         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16544         (__mpn_extract_long_double): Carry 7 extra intermediate
16545         bits of precision to aide computing difference when
16546         signs differ.
16548 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16550         [BZ #19881]
16551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16552         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16553         memset-avx512-unaligned-erms.
16554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16555         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16556         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16557         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16558         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16559         __memset_sse2_unaligned_erms, __memset_erms,
16560         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16561         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16562         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16563         file.
16564         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16565         Likewise.
16566         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16567         Likewise.
16568         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16569         Likewise.
16571 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16573         [BZ #19776]
16574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16575         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16576         memmove-avx512-unaligned-erms.
16577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16578         (__libc_ifunc_impl_list): Test
16579         __memmove_chk_avx512_unaligned_2,
16580         __memmove_chk_avx512_unaligned_erms,
16581         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16582         __memmove_chk_sse2_unaligned_2,
16583         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16584         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16585         __memmove_avx512_unaligned_erms, __memmove_erms,
16586         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16587         __memcpy_chk_avx512_unaligned_2,
16588         __memcpy_chk_avx512_unaligned_erms,
16589         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16590         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16591         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16592         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16593         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16594         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16595         __mempcpy_chk_avx512_unaligned_erms,
16596         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16597         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16598         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16599         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16600         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16601         __mempcpy_erms.
16602         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16603         file.
16604         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16605         Likewise.
16606         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16607         Likewise.
16608         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16609         Likewise.
16611 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16613         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16614         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16615         (La_s390_64_regs): Likewise.
16616         (La_s390_32_retval): Append vector register lrv_v24.
16617         (La_s390_64_retval): Likeweise.
16618         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16619         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16620         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16621         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16623 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16625         [BZ #19916]
16626         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16627         to create a non-vector/vector version for _dl_runtime_resolve and
16628         _dl_runtime_profile. Move implementation to ...
16629         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16630         (_dl_runtime_resolve) Save and restore fpr/vrs.
16631         (_dl_runtime_profile) Save and restore vrs and fix some issues
16632         if _dl_call_pltexit is called.
16633         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16634         Choose the correct resolver function if running on a machine with vx.
16635         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16636         to create a non-vector/vector version for _dl_runtime_resolve and
16637         _dl_runtime_profile. Move implementation to ...
16638         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16639         (_dl_runtime_resolve) Save and restore fpr/vrs.
16640         (_dl_runtime_profile) Save and restore vrs and fix some issues
16641         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16642         Choose the correct resolver function if running on a machine with vx.
16644 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16646         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16648 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16650         [BZ #19509]
16651         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16652         skip_map != NULL.
16653         * elf/tst-dlsym-error.c: New file.
16654         * elf/Makefile (tests): Add tst-dlsym-error.
16655         (tst-dlsym-error): Link against libdl.
16657 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16660         (__ASSUME_FUTIMESAT): Remove macro.
16661         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16663 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16665         [BZ #19879]
16666         CVE-2016-3075
16667         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16668         copy name.
16670 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16672         [BZ #19837]
16673         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16674         error if parse_line fails.
16676 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16678         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16679         (index_cpu_ERMS): Likewise.
16680         (reg_ERMS): Likewise.
16682 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16684         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16685         PER_LINUX_FDPIC): Add.
16687 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16690         memcpy-avx512-no-vzeroupper.
16691         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16692         to ...
16693         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16694         (MEMCPY): Don't define.
16695         (MEMCPY_CHK): Likewise.
16696         (MEMPCPY): Likewise.
16697         (MEMPCPY_CHK): Likewise.
16698         (MEMPCPY_CHK): Renamed to ...
16699         (__mempcpy_chk_avx512_no_vzeroupper): This.
16700         (MEMPCPY_CHK): Renamed to ...
16701         (__mempcpy_chk_avx512_no_vzeroupper): This.
16702         (MEMCPY_CHK): Renamed to ...
16703         (__memmove_chk_avx512_no_vzeroupper): This.
16704         (MEMCPY): Renamed to ...
16705         (__memmove_avx512_no_vzeroupper): This.
16706         (__memcpy_avx512_no_vzeroupper): New alias.
16707         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16709 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16711         [BZ #18858]
16712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16713         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16714         and mempcpy-avx512-no-vzeroupper.
16715         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16716         New.
16717         (MEMPCPY): Likewise.
16718         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16719         (MEMPCPY_CHK): New.
16720         (MEMPCPY): Likewise.
16721         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16722         (MEMPCPY): Likewise.
16723         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16724         (MEMPCPY): Likewise.
16725         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16726         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16727         Likewise.
16728         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16729         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16731 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16732              Amit Pawar  <Amit.Pawar@amd.com>
16734         [BZ #19583]
16735         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16736         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16737         processors.  Set Fast_Copy_Backward for AMD Excavator
16738         processors.
16739         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16740         New.
16741         (index_arch_Fast_Unaligned_Copy): Likewise.
16742         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16743         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16745 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16747         [BZ #19791]
16748         * resolv/res_send.c (close_and_return_error): New function.
16749         (send_dg): Initialize *resplen2 after reopen failure.  Call
16750         close_and_return_error for error returns.  On error paths without
16751         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16752         successful return.
16754 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16756         [BZ #19860]
16757         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16758         zero if the compiler does not provide the AVX512F bit.
16760 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16762         [BZ #19848]
16763         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16764         from 8 to 4.
16765         (__ieee754_powl): Compare integer exponent against 4 not 8.
16766         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16767         from 8 to 4.
16768         (__ieee754_powl): Compare integer exponent against 4 not 8.
16769         * math/auto-libm-test-in: Add more tests of pow.
16770         * math/auto-libm-test-out: Regenerated.
16771         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16774 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16776         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16777         Make code unconditional.
16778         [!__NR_utimensat]: Remove conditional code.
16779         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16780         Make code unconditional.
16781         [!__NR_utimensat]: Remove conditional code.
16782         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16783         Make code unconditional.
16784         [!__NR_utimensat]: Remove conditional code.
16786 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16788         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16789         Make code unconditional.
16791 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16793         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16794         call-clobbered %eax on retry path.
16795         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16797 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16799         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16800         Don't set %rcx twice before "rep movsb".
16802 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16804         [BZ #19583]
16805         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16806         inline.  Check family before setting family, model and
16807         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16808         bits here.
16809         (init_cpu_features): Replace HAS_CPU_FEATURE and
16810         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16811         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16812         for Intel processors with usable AVX2.  Call get_common_indeces
16813         for other processors with family == NULL.
16814         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16815         (CPU_FEATURES_ARCH_P): Likewise.
16816         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16817         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16819 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16821         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16822         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16823         $(shared-thread-library) instead of hardcoding the path to libpthread.
16825 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16827         * sysdeps/unix/sysv/linux/kernel-features.h
16828         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16829         * sysdeps/unix/sysv/linux/getdents.c
16830         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16831         [!have_no_getdents64_defined]: Likewise.
16832         (__GETDENTS): Remove __have_no_getdents64 conditional.
16834 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16837         Remove macro.
16838         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16839         <kernel-features.h>.
16840         (signalfd) [__NR_signalfd4]: Make code unconditional.
16841         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16843 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16845         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16846         style.
16848 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16850         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16851         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16852         __pthread_unwind.
16853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16854         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16855         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16856         (__condvar_cleanup1): Likewise.
16858 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16860         [BZ #19822]
16861         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16862         move it to the final $@ location.
16864 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16866         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16867         access where posix_spawn success and pid argument is null.
16868         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16869         success case.
16871 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16873         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16875         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16877         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16878         and __fcntl.
16879         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16880         __fcntl only.
16881         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16882         adding attribute_hidden to __open and __fcntl.
16884         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16885         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16886         depend on libc-modules.h,
16887         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16889 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16891         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16892         Remove macro.
16893         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16894         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16895         entry.
16897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16898         Remove macro.
16899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16900         include <kernel-features.h>.
16901         [!__ASSUME_FALLOCATE]: Remove conditional code.
16902         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16904 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16906         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16907         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16909         (_ZGVdN4v_cos_avx2): Likewise.
16910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16911         (_ZGVdN4v_cos): Likewise.
16912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16913         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16915         (_ZGVdN4v_exp_avx2): Likewise.
16916         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16917         (_ZGVdN4v_exp): Likewise.
16918         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16919         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16920         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16921         (_ZGVdN4v_log_avx2): Likewise.
16922         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16923         (_ZGVdN4v_log): Likewise.
16924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16925         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16926         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16927         (_ZGVdN4vv_pow_avx2): Likewise.
16928         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16929         (_ZGVdN4vv_pow): Likewise.
16930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16931         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16933         (_ZGVdN4v_sin_avx2): Likewise.
16934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16935         (_ZGVdN4v_sin): Likewise.
16936         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16937         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16939         (_ZGVdN4vvv_sincos_avx2): Likewise.
16940         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16941         (_ZGVdN4vvv_sincos): Likewise.
16942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16943         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16945         (_ZGVbN4v_cosf_sse4): Likewise.
16946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16947         (_ZGVdN8v_cosf_avx2): Likewise.
16948         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16949         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16951         (_ZGVbN4v_expf_sse4): Likewise.
16952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16953         (_ZGVdN8v_expf_avx2): Likewise.
16954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16955         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16957         (_ZGVbN4v_logf_sse4): Likewise.
16958         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16959         (_ZGVdN8v_logf_avx2): Likewise.
16960         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16961         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16963         (_ZGVbN4vv_powf_sse4): Likewise.
16964         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16965         (_ZGVdN8vv_powf_avx2): Likewise.
16966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16967         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16969         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16971         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16973         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16975         (_ZGVbN4v_sinf_sse4): Likewise.
16976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16977         (_ZGVdN8v_sinf_avx2): Likewise.
16978         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16979         Use JUMPTARGET to call callee.
16980         (WRAPPER_IMPL_SSE2_ff): Likewise.
16981         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16982         (WRAPPER_IMPL_AVX): Likewise.
16983         (WRAPPER_IMPL_AVX_ff): Likewise.
16984         (WRAPPER_IMPL_AVX_fFF): Likewise.
16985         (WRAPPER_IMPL_AVX512): Likewise.
16986         (WRAPPER_IMPL_AVX512_ff): Likewise.
16987         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16988         Likewise.
16989         (WRAPPER_IMPL_SSE2_ff): Likewise.
16990         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16991         (WRAPPER_IMPL_AVX): Likewise.
16992         (WRAPPER_IMPL_AVX_ff): Likewise.
16993         (WRAPPER_IMPL_AVX_fFF): Likewise.
16994         (WRAPPER_IMPL_AVX512): Likewise.
16995         (WRAPPER_IMPL_AVX512_ff): Likewise.
16996         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16998 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17000         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17001         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17002         qualifier.
17003         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17004         internal_function qualifiers.
17006 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17008         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17009         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17010         * math/atest-exp.c (exp_mpn): Mark chk unused.
17011         * math/atest-exp2.c (exp_mpn): Likewise.
17012         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17013         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17015 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17018         Remove macro.
17019         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17020         <kernel-features.h>.
17021         [__NR_ppoll]: Make code unconditional.
17022         [!__ASSUME_PPOLL]: Remove conditional code.
17024         * sysdeps/unix/sysv/linux/kernel-features.h
17025         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17026         (__ASSUME_ACCEPT4): Likewise.
17027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17028         Define.
17029         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17030         Likewise.
17031         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17032         Likewise.
17033         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17034         Likewise.
17035         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17036         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17037         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17038         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17039         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17040         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17041         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17042         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17043         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17044         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17045         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17046         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17047         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17048         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17049         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17051         Likewise.
17052         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17053         Likewise.
17054         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17055         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17056         0x040300].
17057         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17058         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17059         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17060         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17061         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17062         0x030300].
17063         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17064         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17065         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17066         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17067         0x040300].
17068         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17069         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17071         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17072         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17073         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17074         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17075         0x030300].
17076         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17077         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17078         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17079         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17080         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17081         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17084         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17085         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17086         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17087         0x040300].
17088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17089         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17090         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17091         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17092         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17094         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17095         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17096         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17097         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17099         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17102         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17103         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17104         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17105         Likewise.
17106         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17107         Likewise.
17109 2016-03-15  Andreas Schwab  <schwab@suse.de>
17111         [BZ #19257]
17112         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17113         statp->_u._ext.nscount as loop count.
17115 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17117         * math/test-signgam-finite-c99.c: Also #undef
17118         __LIBC_INTERNAL_MATH_INLINES.
17119         * math/test-signgam-main.c: Likewise.
17121 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17123         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17124         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17125         (MADV_FREE): Likewise.
17126         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17127         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17128         EPOLLEXCLUSIVE.
17130 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17132         * timezone/README: Remove mention of checktab.awk. Mention wiki
17133         SharedSourceFiles.
17135 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17137         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17138         WUNTRACED.
17140 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17142         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17143         order to match the type of p when calling atomic_exchange_acq().
17145 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17147         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17148         cfi_offset calls.
17149         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17150         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17151         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17152         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17153         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17155 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17157         * timezone/checktab.awk: Removed.
17159 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17161         * manual/math.texi (Errors in Math Functions): Document relaxed
17162         accuracy goals for IBM long double.
17163         * math/libm-test.inc (test_exceptions): Always allow spurious
17164         "underflow" and "inexact" exceptions for IBM long double.
17166 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17168         [BZ #19762]
17169         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17170         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17171         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17172         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17173         (bit_arch_*): This for feature array.
17174         (bit_*): Renamed to ...
17175         (bit_cpu_*): This for cpu array.
17176         (index_*): Renamed to ...
17177         (index_arch_*): This for feature array.
17178         (index_*): Renamed to ...
17179         (index_cpu_*): This for cpu array.
17180         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17181         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17182         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17183         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17184         bit_##name with index_cpu_##name and bit_cpu_##name.
17185         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17186         bit_##name with index_arch_##name and bit_arch_##name.
17188 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17190         [BZ #19792]
17191         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17192         Terminate FDE before return label.
17194 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17196         [BZ #19790]
17197         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17198         (rintl): Define as macro.
17199         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17200         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17201         of fesetround.  Ensure results are evaluated before end of scope.
17202         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17203         USE_AS_NEARBYINTL and include s_rintl.c.
17204         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17205         Disable exception traps in new environment.
17206         (libc_feholdsetround_ppc_ctx): Likewise.
17208 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17210         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17211         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17212         (tst_audit10_aux) [__AVX512F__]: ... here.
17214 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17216         * include/sys/auxv.h: New file.
17218 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17220         [BZ #19759]
17221         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17223 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17225         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17226         operand modifier.
17227         (feclearexcept): Likewise.
17229 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17231         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17232         to reflect the entire 32-bit HWCAP.
17233         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17234         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17236 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17238         [BZ #19783]
17239         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17240         $(test-via-rtld-prefix).
17241         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17243 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17245         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17246         union wait.  Report any non-zero exit status as error.
17248 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17250         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17251         configured with --enable-hardcoded-path-in-tests.
17253 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17255         [BZ #19677]
17256         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17257         (__ieee754_remainderl): Put zero low parts in canonical form.
17258         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17259         file.  Based on
17260         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17261         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17262         with wrapper round test-fmodrem-ldbl-128ibm.c.
17263         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17264         file.
17265         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17266         Likewise.
17267         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17268         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17270 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17272         [BZ #19610]
17273         * elf/ldconfig.c (opt_link): Update comment.
17274         (options): Update help string for option -X.
17275         (search_dir): Unlink stale symbolic link only if updating symbolic
17276         links.
17277         * elf/tst-ldconfig-X.sh: New file.
17278         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17279         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17281 2016-03-07  Andreas Schwab  <schwab@suse.de>
17283         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17284         needed arguments.
17286 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17288         [BZ #15333]
17289         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17290         to lstat64.
17292 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17294         * libio/filedoalloc.c (isatty): Remove.
17295         (local_isatty): Add comment.  Call __isatty directly.
17296         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17297         * libio/wfiledoalloc.c (isatty): Remove.
17298         (_IO_wfile_doallocate): Update comment.
17300 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17302         [BZ #19269]
17303         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17304         tst-audit4-aux.o.
17305         (tst-audit10): Depend on tst-audit10-aux.o.
17306         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17307         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17308         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17309         instead of inline AVX code.
17310         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17311         instead of inline AVX512 code.
17312         * sysdeps/x86_64/tst-audit4-aux.c: New file
17313         * sysdeps/x86_64/tst-audit10-aux.c: New file
17315         [BZ #19648]
17316         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17318 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17320         [BZ #14750]
17321         [BZ #10354]
17322         [BZ #18433]
17323         * include/sched.h (__clone): Add hidden prototype.
17324         (__clone2): Likewise.
17325         * include/unistd.h (__dup): Likewise.
17326         * posix/Makefile (tests): Add tst-spawn2.
17327         * posix/tst-spawn2.c: New file.
17328         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17329         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17330         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17331         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17332         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17333         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17334         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17335         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17336         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17337         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17338         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17340         Likewise.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17342         Likewise.
17343         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17344         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17345         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17346         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17347         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17348         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17349         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17350         * sysdeps/unix/sysv/linux/nptl-signals.h
17351         (____nptl_is_internal_signal): New function.
17352         * sysdeps/unix/sysv/linux/spawni.c: New file.
17354         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17355         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17356         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17357         * posix/tst-execvp2.c (do_test): Likewise.
17358         * posix/tst-execvp3.c (do_test): Likewise.
17359         * posix/tst-execvp4.c (do_test): Likewise.
17360         * posix/tst-execvpe1.c: New file.
17361         * posix/tst-execvpe2.c: Likewise.
17362         * posix/tst-execvpe3.c: Likewise.
17363         * posix/tst-execvpe4.c: Likewise.
17364         * posix/tst-execvpe5.c: Likewise.
17365         * posix/tst-execvpe6.c: Likewise.
17367         [BZ #19534]
17368         * posix/execl.c (execl): Remove dynamic memory allocation.
17369         * posix/execle.c (execle): Likewise.
17370         * posix/execlp.c (execlp): Likewise.
17372 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17374         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17375         Replace .text with .text.avx512.
17376         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17377         Likewise.
17379 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17381         * sysdeps/generic/libnsl.abilist: New file.
17382         * sysdeps/generic/libutil.abilist: New file.
17384 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17386         [BZ #19762]
17387         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17388         HAS_ARCH_FEATURE with Fast_Rep_String.
17389         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17390         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17391         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17392         Likewise.
17393         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17394         Likewise.
17395         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17397         Likewise.
17398         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17399         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17400         Likewise.
17402 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17404         [BZ #19745]
17405         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17406         with *%rax in call.
17408 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17410         [BZ #19745]
17411         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17412         with *__libc_start_main@GOTPCREL(%rip) in call.
17414 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17416         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17417         inside conditional for nonempty $(CXX).
17419         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17420         nonempty.
17422         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17423         to test for empty $(CXX) rather than $(CXX) of "no".
17425 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17427         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17429 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17430             H.J. Lu  <hongjiu.lu@intel.com>
17432         [BZ #18880]
17433         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17434         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17435         enable __memcpy_ssse3_back.
17437 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17439         [BZ #19758]
17440         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17441         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17443 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17445         [BZ #19490]
17446         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17447         (__fentry__): Likewise.
17449 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17451         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17452         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17454 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17456         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17457         __mcount_internal directly.
17458         (C_LABEL(__fentry__)): Likewise.
17459         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17460         directly.
17462 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17464         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17465         (__start_context): Call __setcontext directly.
17467 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17469         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17470         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17471         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17472         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17473         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17474         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17475         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17476         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17477         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17478         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17479         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17480         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17481         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17482         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17483         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17484         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17485         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17487         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17488         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17489         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17491         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17492         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17493         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17494         Remove conditional code.
17495         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17496         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17497         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17498         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17499         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17500         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17501         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17502         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17503         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17504         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17506         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17508 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17510         * NEWS (2.23): Fix typo in bug 19048 text.
17512 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17514         [BZ #14259]
17515         * Makeconfig: Rename msgcatdir to localedir.
17516         Rename inst_msgcatdir to inst_localedir.
17517         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17518         * config.make.in: Add localedir.
17519         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17520         (ldd-rewrite): Likewise.
17521         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17522         (install-others): Use inst_localedir.
17523         (CPPFLAGS): Use localedir.
17524         * locale/Makefile (locale-CPPFLAGS): Likewise.
17525         * po/Makefile (mo-installed): Use inst_localedir.
17527         [BZ #19575]
17528         * localedata/charmaps/GB18030: Update comments regarding PAU to
17529         non-PUA mappings.
17531 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17533         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17534         test for header.
17535         * sysdeps/unix/sysv/linux/configure: Regenerated.
17536         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17537         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17538         Remove conditional code.
17539         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17541         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17542         Define to 3.2.0.
17543         (arch_minimum_kernel): Likewise.
17544         * sysdeps/unix/sysv/linux/configure: Regenerated.
17545         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17546         Define to 2.6.32.
17547         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17548         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17549         (arch_minimum_kernel): Define to 2.6.32.
17550         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17551         * README: Document Linux 3.2 requirement.
17552         * manual/install.texi (Linux): Document Linux 3.2 headers
17553         requirement.
17554         * INSTALL: Regenerated.
17556 2016-02-24  Andreas Schwab  <schwab@suse.de>
17558         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17559         if !NO_LONG_DOUBLE.
17561 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17563         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17564         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17566 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17568         [BZ #19512]
17569         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17571 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17573         * posix/tst-dir.c: Include libc-internal.h.
17575 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17577         [BZ #19056]
17578         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17579         * manual/filesys.texi (Reading/Closing Directory): Mention
17580         deprecaion.
17581         * posix/tst-dir.c (main): Disable deprecation warning in test.
17583 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17585         [BZ #19679]
17586         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17587         Renamed to ...
17588         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17589         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17590         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17591         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17592         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17593         * sysdeps/x86_64/dl-trampoline.h
17594         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17595         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17597 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17599         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17601 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17603         * elf/elf.h (R_386_GOT32X): New.
17604         (R_386_NUM): Update.
17605         (R_X86_64_GOTPCRELX: New.
17606         (R_X86_64_REX_GOTPCRELX): New.
17607         (R_X86_64_NUM): Update.
17609 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17611         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17613 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17615         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17616         assign attr->stackaddr to it, and adjust it down when
17617         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17618         [_STACK_GROWS_UP]: Delete assert.
17619         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17620         Implement stack grows up logic.
17621         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17622         stack grows up logic.
17624 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17626         * NEWS: Update with 2.24 template.
17628 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17630         [BZ #19678]
17631         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17632         Ensure +0.0 is returned when taking the next value below the least
17633         positive value.
17635 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17637         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17638         available.  Do not define NO_THREADS.
17639         * malloc/malloc.c: Do not check NO_THREADS.
17640         * malloc/arena.c: Likewise.
17642 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17644         * malloc/malloc.c (__libc_mallinfo): Update comment.
17645         (struct malloc_par): Remove max_total_mem member, it was always 0.
17646         (int_mallinfo): Store 0 into usmblks (no functional change).
17647         * malloc/hooks.c (struct malloc_state): Document that
17648         max_total_mem is always 0.
17649         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17650         always 0.
17651         * manual/memory.texi (Statistics of Malloc): Likewise.
17653 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17655         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17656         * malloc/arena.c (arena_max): Remove.
17657         (heap_trim, _int_new_arena): Do not update arena_max.
17659 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17661         * resolv/res_init.c (res_ninit): Update comment.
17663 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17665         [BZ #19505]
17666         * posix/spawn_int.h: Add headers and include guard.
17667         (__spawn_valid_fd): New function.
17668         * posix/spawn_faction_addopen.c
17669         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17670         * posix/spawn_faction_addclose.c
17671         (posix_spawn_file_actions_addclose): Likewise.
17672         * posix/spawn_faction_adddup2.c
17673         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17674         second file descriptor.
17675         * posix/spawn_valid_fd.c: New file.
17676         * posix/tst-posix_spawn-fd.c: New file.
17677         * posix/Makefile (routines): Add spawn_valid_fd.
17678         (tests): Add tst-posix_spawn-fd.
17680 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17682         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17683         (do_test): Limit the number of arenas, so that we can use fewer
17684         outer threads.  Limit timeout to 3 seconds, in preparation for a
17685         larger TIMEOUT value.
17687 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17689         [BZ #19674]
17690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17691         sign in overflowing and underflowing results when overflow or
17692         underflow is detected early.  Include sign in result before rather
17693         than after scaling.
17695         [BZ #19603]
17696         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17697         (__ieee754_remainderl): Adjust sign of integer version of low part
17698         when taking absolute value of high part.
17699         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17700         * math/libm-test.inc (remainder_test_data): Add another test.
17701         (remquo_test_data): Likewise.
17703 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17705         [BZ #19602]
17706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17707         equal high parts and both low parts zero specially.
17708         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17709         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17710         Add test-fmodl-ldbl-128ibm.
17712         [BZ #19595]
17713         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17714         common logic for all cases of shifting subnormal results.  Do not
17715         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17716         exponent to ldbl_insert_mantissa in subnormal case.
17718         [BZ #19594]
17719         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17720         on high and low parts then adjust result and use
17721         ldbl_canonicalize_int if needed.
17723         [BZ #19593]
17724         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17725         on high part and __floor or __ceil on low part then use
17726         ldbl_canonicalize_int if needed.
17728         [BZ #19592]
17729         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17730         high and low parts then use ldbl_canonicalize_int if needed.
17732         [BZ #17899]
17733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17734         New function.
17735         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17736         on high and low parts then use ldbl_canonicalize_int if needed.
17738 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17740         * configure: Regenerated.
17742         * po/libc.pot: Regenerated.
17744         * po/be.po: Updated translation.
17745         * po/bg.po: Likewise.
17746         * po/ca.po: Likewise.
17747         * po/cs.po: Likewise.
17748         * po/da.po: Likewise.
17749         * po/el.po: Likewise.
17750         * po/eo.po: Likewise.
17751         * po/es.po: Likewise.
17752         * po/fi.po: Likewise.
17753         * po/fr.po: Likewise.
17754         * po/gl.po: Likewise.
17755         * po/hr.po: Likewise.
17756         * po/hu.po: Likewise.
17757         * po/ia.po: Likewise.
17758         * po/id.po: Likewise.
17759         * po/it.po: Likewise.
17760         * po/ja.po: Likewise.
17761         * po/lt.po: Likewise.
17762         * po/nb.po: Likewise.
17763         * po/nl.po: Likewise.
17764         * po/pt_BR.po: Likewise.
17765         * po/rw.po: Likewise.
17766         * po/sk.po: Likewise.
17767         * po/sl.po: Likewise.
17768         * po/sv.po: Likewise.
17769         * po/tr.po: Likewise.
17770         * po/zh_CN.po: Likewise.
17771         * po/zh_TW.po: Likewise.
17773         * version.h (RELEAES): Set to "development".
17774         (VERSION): Set to 2.23.90.
17776         * version.h (RELEASE): Set to "stable".
17777         (VERSION): Set to 2.23.
17778         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17780         * NEWS: Updated fixed bugs.
17782 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17783             Wilco Dijkstra  <wdijkstr@arm.com>
17785         [BZ #19462]
17786         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17787         (_STRING_INLINE_unaligned): This.
17788         * include/string.h: Include <string_private.h>.
17789         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17790         _STRING_INLINE_unaligned.
17791         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17792         (_STRING_INLINE_unaligned): New.
17793         * sysdeps/aarch64/string_private.h: New file.
17794         * sysdeps/generic/string_private.h: Likewise.
17795         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17796         * sysdeps/s390/string_private.h: Likewise.
17797         * sysdeps/x86/string_private.h: Likewise.
17798         * sysdeps/m68k/m680x0/m68020/bits/string.h
17799         (_STRING_ARCH_unaligned): Renamed to ...
17800         (_STRING_INLINE_unaligned): This.
17801         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17802         to ...
17803         (_STRING_INLINE_unaligned): This.
17804         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17805         to ...
17806         (_STRING_INLINE_unaligned): This.
17807         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17808         to ...
17809         (_STRING_INLINE_unaligned): This.
17811 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17812             H.J. Lu  <hongjiu.lu@intel.com>
17814         [BZ #19590]
17815         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17816         relocation.
17818 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17820         [BZ #18665]
17821         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17822         *herrno_p.
17823         (gaih_getanswer): Document functional behviour. Return tryagain
17824         if any result is tryagain.
17825         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17826         when freed.
17827         * resolv/res_send.c: Add copyright text.
17828         (__libc_res_nsend): Document that MAXPACKET is expected.
17829         (send_vc): Document. Remove buffer reuse.
17830         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17831         size of the buffer. Add Dprint for truncated UDP buffer.
17833 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17835         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17836         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17837         * INSTALL: Regenerate.
17839 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17840             Jonathan Wakely  <jwakely@redhat.com>
17841             Carlos O'Donell  <carlos@redhat.com>
17843         [BZ 19439]
17844         * math/Makefile (tests): Add test-math-isinff.
17845         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17846         * math/bits/mathcalls.h [__USE_MISC]: Use
17847         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17848         functions not in C++11 and which don't conflict e.g. isinff,
17849         isinfl etc.
17850         * math/test-math-isinff.cc: New file.
17852 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17854         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17856 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17858         [BZ #19529]
17859         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17861 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17863         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17865 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #19550]
17868         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17869         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17870         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17871         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17872         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17873         New syscall entry.
17874         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17875         New syscall entry.
17876         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17877         syscall entry.
17879 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17881         [BZ #18240]
17882         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17883         unsigned int wraparound.
17885 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17887         [BZ #18240]
17888         * misc/bug18240.c: New test.
17889         * misc/Makefile (tests): Add it.
17891 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17892             Joseph Myers  <joseph@codesourcery.com>
17894         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17895         load in branch delay slot when less than a word of input left.
17897 2016-01-27  Andreas Schwab  <schwab@suse.de>
17899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17900         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17901         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17902         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17904 2016-01-26  David S. Miller  <davem@davemloft.net>
17906         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17908 2016-01-25  David S. Miller  <davem@davemloft.net>
17910         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17911         __sqrtl_finite.
17912         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17913         instead using versioned_symbol.
17914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17915         of entries.
17917         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17918         __sqrtl_finite to GLIBC_2.23
17920 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17922         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17924 2016-01-25  Andreas Schwab  <schwab@suse.de>
17926         [BZ #17514]
17927         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17928         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17929         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17930         * nptl/tst-mutex-errorcheck.c: New file.
17932 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17934         [BZ #18560]
17935         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17936         (IPCOP_semop): Likewise.
17937         (IPCOP_semget): Likewise.
17938         (IPCOP_semctl): Likewise.
17939         (IPCOP_msgsnd): Likewise.
17940         (IPCOP_msgrcv): Likewise.
17941         (IPCOP_msgget): Likewise.
17942         (IPCOP_msgctl): Likewise.
17943         (IPCOP_shmat): Likewise.
17944         (IPCOP_shmdt): Likewise.
17945         (IPCOP_shmget): Likewise.
17946         (IPCOP_shmctl): Likewise.
17948 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17950         * string/tst-endian.c: Include <libc-internal.h>.
17951         (do_test): Ignore tautological-compare warnings around
17952         "htobeXX (beXXtoh (i)) != i" and
17953         "htoleXX (leXXtoh (i)) != i" if-statements.
17955 2016-01-24  David S. Miller  <davem@davemloft.net>
17957         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17958         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17959         alias.
17960         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17961         __sqrtl_finite.
17963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17965 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17967         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17968         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17969         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17971 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17973         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17974         (thread_func): Use new function to simplify barrier check.
17975         (do_test): Use new function to simplify checking barrier exit
17976         code, and actually join the child thread.
17978 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17980         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17981         semicolon.
17982         (__libc_tend): Likewise.
17983         (__libc_tabort): Likewise.
17985 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17987         * sysdeps/nios2/libm-test-ulps: Update.
17988         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17989         (__gtsf2): Likewise.
17990         (__unorddf2): Likewise.
17991         (__unordsf2): Likewise.
17992         (__ledf2): Likewise.
17994 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17996         * nis/nis_table.c (__follow_path): Disable diagnostic for
17997         uninitialized variable that is a false positive for gcc 4.7.
17998         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18000 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18002         * sysdeps/nacl/lowlevellock-futex.h
18003         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18004         Always evaluate PRIVATE argument.
18006 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18008         [BZ #19490]
18009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18010         (pthread_cond_broadcast): Use ENTRY/END
18011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18012         (pthread_cond_signal): Likewise.
18013         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18014         Likewise.
18015         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18016         Likewise.
18017         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18018         Likewise.
18020 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18022         * sysdeps/ieee754/dbl-64/s_finite.c
18023         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18024         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18025         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18026         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18027         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18030         (__gtsf2): Add as optional for libc.so.
18031         (__unordsf2): Likewise.
18032         (__signbit): Remove for libc.so.
18033         (__signbitl): Likewise.
18035 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18037         * iconvdata/bug-iconv11.c (test_ibm93x):
18038         Use %zu printf format specifier for size_t argument.
18040 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18042         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18043         already-recorded ulps.
18044         * sysdeps/arm/libm-test-ulps: Regenerated.
18045         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18046         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18047         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18049 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18050             Paul Pluzhnikov  <ppluzhnikov@google.com>
18052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18053         assembler not supporting AVX-512.
18055 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18057         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18059 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18061         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18062         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18064         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18066         * sysdeps/arm/libm-test-ulps: Regenerated.
18068 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18070         [BZ #19451]
18071         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18073 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18075         [BZ #19486]
18076         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18077         * sysdeps/generic/fix-fp-int-convert-overflow.h
18078         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18079         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18080         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18081         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18082         Likewise.
18083         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18084         Avoid conversions to long int where inexact exceptions
18085         could be raised.
18086         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18087         Likewise.
18088         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18089         Avoid conversions to long long int where inexact exceptions
18090         could be raised.
18091         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18092         Likewise.
18094 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18096         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18097         * configure: Regenerated.
18099 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18101         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18103 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18105         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18106         outside of comment.
18108 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18110         * nptl/tst-barrier1.c: Add description on first line.
18111         * nptl/tst-barrier2.c: Likewise.
18112         * nptl/tst-barrier3.c: Likewise.
18113         * nptl/tst-barrier4.c: Likewise.
18114         * nptl/tst-barrier5.c: Likewise.
18116 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18118         [BZ #18868]
18119         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18121 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18125         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18126         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18127         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18128         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18129         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18130         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18131         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18132         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18135 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18137         [BZ #13065]
18138         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18139         new implementation.
18140         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18141         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18142         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18143         (BARRIER_IN_THRESHOLD): New macro.
18144         * nptl/pthread_barrierattr_setpshared.c
18145         (pthread_barrierattr_setpshared): Clean up.
18146         * nptl/tst-barrier4.c: Correct comment.
18147         * nptl/tst-barrier5.c: New file.
18148         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18149         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18150         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18151         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18152         * nptl/lowlevelbarrier.sym: Remove.
18153         * nptl/DESIGN-barrier.txt: Remove.
18154         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18155         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18156         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18157         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18158         error.
18159         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18160         implementation.
18162 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18164         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18165         (do_child): Mask SIGRTMIN while thr is running.
18167 2016-01-15  Martin Sebor  <msebor@redhat.com>
18169         [BZ #19432]
18170         * iconvdata/Makefile: Add bug-iconv11.
18171         * iconvdata/bug-iconv11.c: New test.
18172         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18173         * iconvdata/ibm933.c: Same.
18174         * iconvdata/ibm935.c: Same.
18175         * iconvdata/ibm937.c: Same.
18176         * iconvdata/ibm939.c: Same.
18178 2016-01-15  Martin Sebor  <msebor@redhat.com>
18180         [BZ #19443]
18181         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18182         [DEBUG] (_ufc_set_bits): Declare used.
18183         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18184         [DEBUG] (print_all): Declare used.
18185         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18186         operands of the ternary ?: expression to target type.
18187         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18188         calling the undeclared abort.
18189         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18191 2016-01-15  Martin Sebor  <msebor@redhat.com>
18193         [BZ #18755]
18194         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18195         warnings.
18196         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18197         (__gai_create_helper_thread): Same.
18198         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18199         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18200         to suppress -Wmaybe-uninitialized warnings.
18202 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18204         [BZ #19465]
18205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18206         inside if.
18207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18208         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18211 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18213         [BZ #19466]
18214         * time/tst-mktime2.c (time_t_max): Removed.
18215         (time_t_min): Likewise.
18216         (TYPE_SIGNED): New.
18217         (TYPE_MINIMUM): Likewise.
18218         (TYPE_MAXIMUM): Likewise.
18219         (TIME_T_MIN): Likewise.
18220         (TIME_T_MAX): Likewise.
18221         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18222         and TIME_T_MIN.
18223         (do_test): Likewise.
18225 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18227         [BZ #19467]
18228         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18229         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18231 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18233         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18235 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18237         * benchtests/Makefile (PYTHON): Define.
18238         (bench-func): Use $(PYTHON) to run python scripts.
18239         ($(objpfx)bench-%.c): Likewise.
18241 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18243         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18244         leading slash when `file_name' is "/".
18246 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18248         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18249         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18250         Likewise.
18251         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18252         Likewise.
18253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18256         enum constant and macro.
18257         (PTRACE_SETSIGMASK): Likewise.
18258         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18259         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18260         (PTRACE_GETSIGMASK): Likewise.
18261         (PTRACE_SETSIGMASK): Likewise.
18262         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18264         Likewise.
18265         (PTRACE_SETSIGMASK): Likewise.
18266         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18267         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18268         (PTRACE_GETSIGMASK): Likewise.
18269         (PTRACE_SETSIGMASK): Likewise.
18270         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18271         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18272         Likewise.
18273         (PTRACE_SETSIGMASK): Likewise.
18274         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18276         Likewise.
18277         (PTRACE_SETSIGMASK): Likewise.
18278         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18279         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18280         Likewise.
18281         (PTRACE_SETSIGMASK): Likewise.
18282         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18284 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18285             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18287         [BZ #19439]
18288         * math/bits/mathcalls.h
18289         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18290         prototype.
18291         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18293 2016-01-11  Andreas Schwab  <schwab@suse.de>
18295         [BZ #19253]
18296         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18297         cache when TZDEFRULES was used.
18298         * time/tst-tzname.c: New file.
18299         * time/Makefile (test): Add tst-tzname.
18300         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18301         * timezone/Makefile (test-zones): Add $(posixrules-file).
18302         ($(testdata)/$(posixrules-file)): New rule.
18304 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18306         Fix doc quoting problems with Texinfo 5
18307         Without this change, in the info file output, Texinfo 5 quotes code
18308         in text with undirected single quotes 'like this' and generates
18309         code examples that with many PDF readers cannot be cut out of PDFs
18310         and pasted into code.
18311         * manual/libc.texinfo: Configure the libc manual like the GNU
18312         Emacs manual, by using @documentencoding and setting
18313         txicodequoteundirected and txicodequotebacktick.  This way,
18314         Texinfo 5 quotes code in text with directed single quotes ‘like
18315         this’ and produces examples that can be cut out of PDFs.  This
18316         change causes Texinfo 5 to generate info files that contain UTF-8
18317         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18318         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18320 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18322         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18323         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18324         barriers to their respective compiler built-ins.
18325         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18326         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18327         * sysdeps/powerpc/sysdep.h: Likewise.
18328         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18329         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18330         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18332 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18334         * scripts/config.guess: Revert previous shebang change.
18335         * scripts/config.sub: Likewise.
18336         * scripts/mkinstalldirs: Likewise.
18338 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18340         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18341         PPC_FEATURE2_HAS_IEEE128.
18342         * sysdeps/powerpc/dl-procinfo.c:
18343         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18345 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18347         [BZ #19415]
18348         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18349         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18350         (_dl_lookup_address): Rewrite using function resolver trampoline.
18351         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18352         two bits in address.
18354 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18356         * longlong.h: Change !__SHMEDIA__ to
18357         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18358         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18360 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18361             Joseph Myers  <joseph@codesourcery.com>
18362             Mark Shinwell  <shinwell@codesourcery.com>
18363             Andrew Stubbs  <ams@codesourcery.com>
18364             Rich Felker <dalias@libc.org>
18366         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18368 2016-01-07  Richard Henderson  <rth@redhat.com>
18370         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18372 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18374         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18375         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18376         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18377         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18378         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18380 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18381             Joseph Myers  <joseph@codesourcery.com>
18383         * timezone/private.h: Update from tzcode 2015g.
18384         * timezone/tzfile.h: Likewise.
18385         * timezone/tzselect.ksh: Likewise.
18386         * timezone/zdump.c: Likewise.
18387         * timezone/zic.c: Likewise.
18388         * timezone/ialloc.c: Remove file.
18389         * timezone/scheck.c: Likewise.
18390         * timezone/Makefile (extra-objs): Remove variable.
18391         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18392         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18393         -Wno-maybe-uninitialized.
18394         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18395         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18396         (CFLAGS-ialloc.c): Remove variable.
18397         (CFLAGS-scheck.c): Likewise.
18398         * timezone/README: Update list of files from tzcode.
18400 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18402         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18403         instead of __fxprintf when _LIBC is undefined.
18405 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18407         * catgets/test-gencat.sh: Remove space after shebang.
18408         * conform/GlibcConform.pm: Likewise.
18409         * conform/check-header-lists.sh: Likewise.
18410         * conform/conformtest.pl: Likewise.
18411         * conform/linknamespace.pl: Likewise.
18412         * conform/list-header-symbols.pl: Likewise.
18413         * debug/catchsegv.sh: Likewise.
18414         * elf/genrtldtbl.awk: Likewise.
18415         * elf/tst-pathopt.sh: Likewise.
18416         * elf/tst-rtld-load-self.sh: Likewise.
18417         * grp/tst_fgetgrent.sh: Likewise.
18418         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18419         * iconvdata/gen-8bit-gap.sh: Likewise.
18420         * iconvdata/gen-8bit.sh: Likewise.
18421         * iconvdata/run-iconv-test.sh: Likewise.
18422         * intl/tst-gettext.sh: Likewise.
18423         * intl/tst-gettext2.sh: Likewise.
18424         * intl/tst-gettext4.sh: Likewise.
18425         * intl/tst-gettext6.sh: Likewise.
18426         * intl/tst-translit.sh: Likewise.
18427         * io/ftwtest-sh: Likewise.
18428         * libio/test-freopen.sh: Likewise.
18429         * locale/gen-translit.pl: Likewise.
18430         * malloc/tst-mtrace.sh: Likewise.
18431         * manual/check-safety.sh: Likewise.
18432         * manual/libc-texinfo.sh: Likewise.
18433         * manual/tsort.awk: Likewise.
18434         * manual/xtract-typefun.awk: Likewise.
18435         * nptl/tst-cancel-wrappers.sh: Likewise.
18436         * nptl/tst-tls6.sh: Likewise.
18437         * posix/globtest.sh: Likewise.
18438         * posix/tst-getconf.sh: Likewise.
18439         * posix/wordexp-tst.sh: Likewise.
18440         * scripts/check-c++-types.sh: Likewise.
18441         * scripts/check-local-headers.sh: Likewise.
18442         * scripts/config.guess: Likewise.
18443         * scripts/config.sub: Likewise.
18444         * scripts/cpp: Likewise.
18445         * scripts/cross-test-ssh.sh: Likewise.
18446         * scripts/documented.sh: Likewise.
18447         * scripts/evaluate-test.sh: Likewise.
18448         * scripts/gen-libc-abis: Likewise.
18449         * scripts/gen-sorted.awk: Likewise.
18450         * scripts/list-fixed-bugs.py: Likewise.
18451         * scripts/merge-test-results.sh: Likewise.
18452         * scripts/mkinstalldirs: Likewise.
18453         * scripts/rellns-sh: Likewise.
18454         * scripts/test-installation.pl: Likewise.
18455         * scripts/update-copyrights: Likewise.
18456         * stdio-common/tst-printf.sh: Likewise.
18457         * stdio-common/tst-unbputc.sh: Likewise.
18458         * stdlib/tst-fmtmsg.sh: Likewise.
18459         * stdlib/tst-setcontext3.sh: Likewise.
18460         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18461         * sysdeps/unix/make-syscalls.sh: Likewise.
18463 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18465         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18466         asm stw with atomic_exchange_rel.  Add explanatory comment.
18467         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18468         Likewise.
18470 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18472         [BZ #19122]
18473         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18474         * sysdeps/generic/dl-unistd.h: New file.
18475         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18477 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18479          [BZ #19122]
18480          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18481          * sysdeps/generic/dl-mman.h: New file.
18482          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18484 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18486         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18487         trailing whitespace removed.
18488         * scripts/config.guess: Update to version 2016-01-01.
18489         * scripts/config.sub: Update to version 2016-01-01.
18490         * scripts/move-if-change: Update from gnulib.
18492 2016-01-04  Anton Blanchard  <anton@samba.org>
18494         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18495         for array indices.
18496         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18498 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18500         * NEWS: Update copyright dates.
18501         * catgets/gencat.c (print_version): Likewise.
18502         * csu/version.c (banner): Likewise.
18503         * debug/catchsegv.sh: Likewise.
18504         * debug/pcprofiledump.c (print_version): Likewise.
18505         * debug/xtrace.sh (do_version): Likewise.
18506         * elf/ldconfig.c (print_version): Likewise.
18507         * elf/ldd.bash.in: Likewise.
18508         * elf/pldd.c (print_version): Likewise.
18509         * elf/sotruss.sh: Likewise.
18510         * elf/sprof.c (print_version): Likewise.
18511         * iconv/iconv_prog.c (print_version): Likewise.
18512         * iconv/iconvconfig.c (print_version): Likewise.
18513         * locale/programs/locale.c (print_version): Likewise.
18514         * locale/programs/localedef.c (print_version): Likewise.
18515         * login/programs/pt_chown.c (print_version): Likewise.
18516         * malloc/memusage.sh (do_version): Likewise.
18517         * malloc/memusagestat.c (print_version): Likewise.
18518         * malloc/mtrace.pl: Likewise.
18519         * manual/libc.texinfo: Likewise.
18520         * nptl/version.c (banner): Likewise.
18521         * nscd/nscd.c (print_version): Likewise.
18522         * nss/getent.c (print_version): Likewise.
18523         * nss/makedb.c (print_version): Likewise.
18524         * posix/getconf.c (main): Likewise.
18525         * scripts/test-installation.pl: Likewise.
18526         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18528         * All files with FSF copyright notices: Update copyright dates
18529         using scripts/update-copyrights.
18530         * intl/plural.c: Regenerated.
18531         * locale/programs/charmap-kw.h: Likewise.
18532         * locale/programs/locfile-kw.h: Likewise.
18534 2016-01-02  Helge Deller  <deller@gmx.de>
18536         [BZ #19285]
18537         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18538         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18539         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18540         (MADV_xxK_PAGES): Remove.
18542 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18544         [BZ #15421]
18545         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18546         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18547         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18548         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18550 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18552         [BZ #19408]
18553         * sysdeps/unix/sysv/linux/personality.c: New file.
18554         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18555         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18556         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18557         (sysdep_routines): Add personality.
18558         (tests): Add tst-personality.
18559         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18561         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18562         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18563         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18564         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18565         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18566         Likewise.
18567         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18568         Likewise.
18569         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18570         Likewise.
18571         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18572         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18573         Likewise.
18575 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18577         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18578         (PATH_ARM_SYSTYPE): Remove.
18579         (PATH_CPUINFO): Likewise.
18580         (IO_BASE_FOOTBRIDGE): Likewise.
18581         (IO_SHIFT_FOOTBRIDGE): Likewise.
18582         (struct platform): Likewise.
18583         (init_iosys): Remove compatibility code for 2.4 kernels.
18584         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18586 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18588         * malloc/tst-malloc-thread-fail.c: New file.
18589         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18590         (tst-malloc-thread-fail): Link against libpthread.
18592 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18594         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18595         (get_parser): New function.
18596         (main): New function.
18598 2015-12-29  Rob Wu  <rob@robwu.nl>
18600         [BZ #19369]
18601         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18603 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18605         [BZ #19270]
18606         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18608 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18610         [BZ #15421]
18611         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18613 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18615         [BZ #13690]
18616         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18617         after releasing it.
18618         (__lll_robust_unlock): Likewise.
18619         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18620         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18621         (lll_robust_unlock): Likewise.
18622         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18623         Prevent warnings in callers.
18625 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18627         * malloc/arena.c (list_lock): Update comment.
18629 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18631         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18632         __parse_hwcap_and_convert_at_platform to libc.a.
18634 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18636         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18637         platform and feature support for POWER9.
18638         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18639         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18640         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18641         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18642         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18643         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18644         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18645         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18647 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18649         Harmonize generic stdio-lock support with nptl
18651         This fixes build when _IO_funlockfile is a macro, fixes build where
18652         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18653         stack unwind.
18655         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18656         _IO_release_lock ): Use cleanup attribute on new
18657         _IO_acquire_lock_file variable instead of assuming that
18658         _IO_release_lock will be called.
18659         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18660         _IO_acquire_lock_needs_exceptions_enabled.
18661         (_IO_acquire_lock_clear_flags2): New macro.
18663 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18665         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18667 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18669         [BZ #19182]
18670         * malloc/arena.c (list_lock): Document lock ordering requirements.
18671         (free_list_lock): New lock.
18672         (ptmalloc_lock_all): Comment on free_list_lock.
18673         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18674         (detach_arena): Update comment.  free_list_lock is now needed.
18675         (_int_new_arena): Use free_list_lock around detach_arena call.
18676         Acquire arena lock after list_lock.  Add comment, including FIXME
18677         about incorrect synchronization.
18678         (get_free_list): Switch to free_list_lock.
18679         (reused_arena): Acquire free_list_lock around detach_arena call
18680         and attached threads counter update.  Add two FIXMEs about
18681         incorrect synchronization.
18682         (arena_thread_freeres): Switch to free_list_lock.
18683         * malloc/malloc.c (struct malloc_state): Update comments to
18684         mention free_list_lock.
18686 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18688         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18689         Remove functions.
18690         (sloww, sloww1): Accept argument to offset quadrant.
18691         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18692         quadrant.
18693         (__sin, __cos): Consolidate common code into new functions.
18694         (reduce_sincos_1, do_sincos_1): New functions.
18695         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18698         code to new functions.
18699         (reduce_sincos_2, do_sincos_2): New functions.
18700         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18702         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18703         common code for sincos.
18704         (__cos) [!IN_SINCOS]: Likewise.
18705         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18706         New function.
18707         (__sincos): Use it.
18709 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18711         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18712         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18713         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18715 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18717         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18720         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18721         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18722         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18723         index_Prefer_No_VZEROUPPER): New feature.
18724         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18725         Prefer_No_VZEROUPPER for Knights Landing.
18727 015-12-18  Torvald Riegel  <triegel@redhat.com>
18729         * math/atest-exp2.c (mp_exp_m1): Remove.
18731 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18733         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18734         syscalls.
18735         (__SYSCALL0): New macro.
18736         (__SYSCALL1): Likewise.
18737         (__SYSCALL2): Likewise.
18738         (__SYSCALL3): Likewise.
18739         (__SYSCALL4): Likewise.
18740         (__SYSCALL5): Likewise.
18741         (__SYSCALL6): Likewise.
18742         (__SYSCALL_CONCAT_X): Likewise.
18743         (__SYSCALL_CONCAT): Likewise.
18744         (__SYSCALL_DIST): Likewise.
18745         (__SYSCALL_CALL): Likewise.
18747 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18749         [BZ #19363]
18750         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18752 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18754         [BZ #19375]
18755         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18756         negative subnormals.
18758 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18761         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18762         (INTERNAL_SYSCALL_NCS): Use it.
18763         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18765 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18767         [BZ #19243]
18768         * malloc/arena.c (get_free_list): Remove assert and adjust
18769         reference count handling.  Add comment about reused_arena
18770         interaction.
18771         (reused_arena): Add comments abount get_free_list interaction.
18772         * malloc/tst-malloc-thread-exit.c: New file.
18773         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18774         (tst-malloc-thread-exit): Link against libpthread.
18776 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18778         [BZ #19367]
18779         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18780         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18781         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18782         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18783         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18785 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18787         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18788         Silvermont optimizations for Knights Landing.
18790 2015-12-15  Andreas Schwab  <schwab@suse.de>
18792         [BZ #17197]
18793         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18794         immediately after emitting SI.
18795         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18796         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18797         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18798         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18799         * iconvdata/bug-iconv10.c: New file.
18800         * iconvdata/Makefile (tests): Add bug-iconv10.
18801         ($(objpfx)bug-iconv10.out): New rule.
18803 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18805         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18806         aliasing violation.
18808 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18810         [BZ #18472]
18811         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18812         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18813         conditionals for them.
18814         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18815         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18817         sys/kdaemon.h.
18818         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18819         compat-only syscall, obsoleted in glibc 2.23.
18820         (create_module): Likewise.
18821         (get_kernel_syms): Likewise.
18822         (query_module): Likewise.
18823         (uselib): Likewise.
18824         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18826 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18828         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18829         <linux/version.h>.
18830         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18831         conditional code.
18832         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18833         and ioshift_name initialization.
18835 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18837         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18838         Fix indentation.
18840 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18842         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18844 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18846         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18848 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18849             Jakub Wilk  <jwilk@debian.org>
18851         [BZ #19347]
18852         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18853         to change the group of the device to the tty group.
18855 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18857         Split large string section; add truncation advice
18858         * manual/examples/strncat.c: Remove.
18859         This example was misleading, as the code would have undefined
18860         behavior if "hello" was longer than SIZE.  Anyway, the manual
18861         shouldn't encourage strncpy+strncat for this sort of thing.
18862         * manual/string.texi (Copying Strings and Arrays): Split into
18863         three sections Copying Strings and Arrays, Concatenating Strings,
18864         and Truncating Strings, as this section was way too long.  All
18865         cross-referenced changed.  Add advice about string-truncation
18866         functions.  Remove misleading strncat example.
18868 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18870         * manual/nss.texi (NSS Modules Interface): Document
18871         NSS_STATUS_NOTFOUND and SUCCESS.
18873 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18875         [BZ 18568]
18876         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18877         201505L, for Unicode 8.
18879 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18881         * locale/C-translit.h: Regenerate.
18883 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18885         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18886         and U+0153.
18888 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18890         [BZ #19351]
18891         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18892         expanding log(1+z), compare z rather than its square with epsilon
18893         to determine when to avoid evaluating the expansion.
18895         [BZ #19350]
18896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18897         Increase overflow threshold.
18899         [BZ #19349]
18900         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18901         when small.
18903         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18905         New macro.
18906         [__LINUX_KERNEL_VERSION >= 0x040300]
18907         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18909         Likewise.
18910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18911         Likewise.
18912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18913         Likewise.
18914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18915         Likewise.
18916         [__LINUX_KERNEL_VERSION >= 0x040300]
18917         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18918         [__LINUX_KERNEL_VERSION >= 0x040300]
18919         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18920         [__LINUX_KERNEL_VERSION >= 0x040300]
18921         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18922         [__LINUX_KERNEL_VERSION >= 0x040300]
18923         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18924         [__LINUX_KERNEL_VERSION >= 0x040300]
18925         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18927         Likewise.
18928         [__LINUX_KERNEL_VERSION >= 0x040300]
18929         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18931         Likewise.
18932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18933         Likewise.
18934         [__LINUX_KERNEL_VERSION >= 0x040300]
18935         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18937         Likewise.
18938         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18939         Likewise.
18940         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18942         Likewise.
18943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18944         Likewise.
18945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18946         Likewise.
18947         [__LINUX_KERNEL_VERSION >= 0x040300]
18948         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18950         Likewise.
18951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18952         Likewise.
18953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18954         Likewise.
18955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18956         Likewise.
18957         [__LINUX_KERNEL_VERSION >= 0x040300]
18958         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18959         [__LINUX_KERNEL_VERSION >= 0x040300]
18960         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18961         [__LINUX_KERNEL_VERSION >= 0x040300]
18962         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18963         [__LINUX_KERNEL_VERSION >= 0x040300]
18964         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18965         [__LINUX_KERNEL_VERSION >= 0x040300]
18966         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18968         Likewise.
18969         [__LINUX_KERNEL_VERSION >= 0x040300]
18970         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18972         Likewise.
18973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18974         Likewise.
18975         [__LINUX_KERNEL_VERSION >= 0x040300]
18976         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18978         Likewise.
18979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18980         Likewise.
18981         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18982         (__ASSUME_SOCKET_SYSCALL): Likewise.
18983         (__ASSUME_BIND_SYSCALL): Likewise.
18984         (__ASSUME_CONNECT_SYSCALL): Likewise.
18985         (__ASSUME_LISTEN_SYSCALL): Likewise.
18986         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18987         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18988         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18989         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18990         (__ASSUME_SEND_SYSCALL): Likewise.
18991         (__ASSUME_SENDTO_SYSCALL): Likewise.
18992         (__ASSUME_RECV_SYSCALL): Likewise.
18993         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18994         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18995         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18996         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18997         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18998         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18999         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19000         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19001         Likewise.
19002         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19003         Likewise.
19004         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19005         Likewise.
19006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19007         Likewise.
19008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19009         Likewise.
19010         [__LINUX_KERNEL_VERSION >= 0x020625]
19011         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19012         [__LINUX_KERNEL_VERSION >= 0x020625]
19013         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19014         [__LINUX_KERNEL_VERSION >= 0x020625]
19015         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19016         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19017         Likewise.
19018         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19019         Likewise.
19020         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19021         Likewise.
19022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19023         Likewise.
19024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19025         Likewise.
19026         [__LINUX_KERNEL_VERSION >= 0x020625]
19027         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19028         [__LINUX_KERNEL_VERSION >= 0x020625]
19029         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19030         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19031         Likewise.
19032         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19033         Likewise.
19035 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19037         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19038         record the current if the current ABI and CPU support the FP64
19039         extension.
19040         (has-modd-spreg): Define to record the current if the current ABI and
19041         CPU support 32-bit floating point values in odd FPU registers.
19042         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19043         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19044         $(has-modd-spreg) equals yes.
19045         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19046         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19047         $(has-modd-spreg) equal yes.
19049 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19051         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19052         basename.
19054 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19056         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19057         (bench-string): ... here.
19058         (bench): Add bench-string.
19059         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19060         to *-benchset to reflect what they are.
19061         (benchset): Adjust.
19063         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19064         cos-inputs.
19066 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19068         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19069         __attribute__ ((__simd__)) for vector math function declarations.
19071 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19073         Fix typo in strncat, wcsncat manual entries
19074         * manual/string.texi (Copying and Concatenation): Fix typos in
19075         sample implementations of strncat and wcsncat, by having them use
19076         the old value of the destination length, not the new one.
19078 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19080         [BZ #16961]
19081         [BZ #16962]
19082         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19083         string on the stack for strtod.
19084         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19085         a string on the stack for strtof.
19086         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19087         constructing a string on the stack for strtold.
19088         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19089         __strtold_nan to GLIBC_PRIVATE.
19090         * math/test-nan-overflow.c: New file.
19091         * math/test-nan-payload.c: Likewise.
19092         * math/Makefile (tests): Add test-nan-overflow and
19093         test-nan-payload.
19095 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19097         Consistency about byte vs character in string.texi
19098         * manual/string.texi (String and Array Utilities):
19099         Distinguish more carefully among bytes, multibyte characters,
19100         and wide characters.  Use "byte" when talking about C 'char',
19101         to distinguish it more clearly from multibyte characters.
19102         Say "wide character" or "multibyte character" instead of
19103         "character", when a wide or multibyte character is intended.
19104         Similarly for "multibyte string" versus "string".
19105         Define these terms more carefully.
19107 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19109         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19110         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19111         Likewise.
19112         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19113         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19114         * sysdeps/sh/math_private.h: New file.
19115         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19116         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19117         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19118         long double function name.
19119         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19120         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19121         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19123         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19125         Remove __finitel, __isinfl, and __isnanl.
19126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19127         Likewise.
19128         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19130         Remove __finitel.
19131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19132         Likewise.
19133         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19135 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19137         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19138         installed libmvec_nonshared.a.
19140 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19142         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19143         (sysdep_routines): Likewise.
19144         (sysdep-rtld-routines): Likewise.
19145         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19146         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19147         * sysdeps/powerpc/Versions: Added new
19148         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19149         * sysdeps/powerpc/hwcapinfo.c: New file.
19150         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19151         and parse hwcap, hwcap2 and platform number information.
19152         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19153         to store HWCAP+HWCAP2 and platform number.
19154         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19155         for HWCAP+HWCAP2 and platform number in the TCB.
19156         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19157         the HWCAP, HWCAP2 and platform number in the TCB.
19158         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19159         (TLS_INIT_TP): Included calls to add the hwcap and
19160         at_platform values in the TCB in TP initialization.
19161         (TLS_DEFINE_INIT_TP): Likewise.
19162         (THREAD_GET_HWCAP): New macro.
19163         (THREAD_SET_HWCAP): Likewise.
19164         (THREAD_GET_AT_PLATFORM): Likewise.
19165         (THREAD_SET_AT_PLATFORM): Likewise.
19166         * sysdeps/powerpc/powerpc32/dl-machine.h:
19167         (dl_platform_init): New function that calls
19168         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19169         powerpc32.
19170         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19171         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19172         this functionality, static linking case.
19173         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19174         linking case.
19175         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19176         __parse_hwcap_and_convert_at_platform for the static linking case.
19177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19178         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19179         ABI list for GLIBC 2.23.
19180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19181         Likewise.
19182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19183         Likewise.
19185 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19187         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19188         * configure: Regenerate.
19189         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19190         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19192 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19194         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19195         * iconvdata/ibm933.c: Likewise.
19196         * iconvdata/ibm935.c: Likewise.
19197         * iconvdata/ibm937.c: Likewise.
19198         * iconvdata/ibm939.c: Likewise.
19200 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19202         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19203         pthread_join.
19204         * nptl/tst-cancel21.c (tf): Likewise.
19206 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19208         [BZ #19313]
19209         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19210         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19211         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19212         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19213         Likewise.
19214         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19215         Likewise.
19216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19217         Likewise.
19218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19219         Likewise.
19220         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19221         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19222         unsigned long int with __CPU_MASK_TYPE.
19224 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19226         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19228 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19230         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19231         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19232         t512.x.
19233         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19235 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19237         [BZ #19214]
19238         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19239         argument to return extended model.  Update family and model
19240         with extended family and model when family == 0x0f.
19241         (init_cpu_features): Updated.
19243 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19245         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19246         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19248         * sysdeps/mach/hurd/mmap64.c: New file.
19250 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19252         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19253         rights for its main user thread in NEWTASK.
19255 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19257         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19258         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19260 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19262         [BZ #14259]
19263         * Makeconfig: Rename localedir to complocaledir.
19264         Rename inst_localedir to inst_complocaledir.
19265         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19266         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19267         * configure.ac: Use libc_cv_complocaledir.
19268         * configure: Regenerate.
19269         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19270         -DCOMPLOCALEDIR.
19271         * locale/findlocale.c: Use COMPLOCALEDIR.
19272         * locale/loadarchive.c: Likewise.
19273         * locale/programs/locale.c: Likewise.
19274         * locale/programs/localedef.c: Likewise.
19275         * locale/programs/locarchive.c: Likewise.
19276         * localedata/Makefile: Use inst_complocaledir.
19277         * sysdeps/gnu/configure: Regenerate.
19278         * sysdeps/hppa/configure: Regenerate.
19279         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19280         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19282         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19283         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19284         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19285         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19287 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19289         [BZ #19058]
19290         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19291         AS_NEEDED.
19292         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19293         workaround.
19294         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19295         libmvec-static-only-routines): Added new file.
19296         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19298 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19300         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19301         of interrupted RPC instead of restoring it.
19303         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19304         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19305         libc_hidden_def.
19306         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19307         into initialized data instead of common. Define rtld_hidden_data_def.
19308         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19309         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19310         libc_hidden_def.
19311         (if_freenameindex): Add libc_hidden_weak.
19312         (if_nameindex): Add libc_hidden_weak.
19313         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19314         __open64.
19315         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19316         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19317         * sysdeps/mach/nanosleep.c: Include <time.h>
19318         (__nanosleep): Rename to __libc_nanosleep.
19319         (__nanosleep): Add weak_alias.
19320         (nanosleep): Update alias.
19322 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19324         * stdlib/strtod_nan.c: New file.
19325         * stdlib/strtod_nan_double.h: Likewise.
19326         * stdlib/strtod_nan_float.h: Likewise.
19327         * stdlib/strtod_nan_main.c: Likewise.
19328         * stdlib/strtod_nan_narrow.h: Likewise.
19329         * stdlib/strtod_nan_wide.h: Likewise.
19330         * stdlib/strtof_nan.c: Likewise.
19331         * stdlib/strtold_nan.c: Likewise.
19332         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19333         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19334         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19335         * wcsmbs/wcstod_nan.c: Likewise.
19336         * wcsmbs/wcstof_nan.c: Likewise.
19337         * wcsmbs/wcstold_nan.c: Likewise.
19338         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19339         strtold_nan.
19340         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19341         wcstof_nan.
19342         * include/stdlib.h (__strtof_nan): Declare and use
19343         libc_hidden_proto.
19344         (__strtod_nan): Likewise.
19345         (__strtold_nan): Likewise.
19346         (__wcstof_nan): Likewise.
19347         (__wcstod_nan): Likewise.
19348         (__wcstold_nan): Likewise.
19349         * include/wchar.h (____wcstoull_l_internal): Declare.
19350         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19351         (____strtoull_l_internal): Remove declaration.
19352         (STRTOF_NAN): Define macro.
19353         (SET_MANTISSA): Remove macro.
19354         (STRTOULL): Likewise.
19355         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19356         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19357         (STRTOF_NAN): Define macro.
19358         (SET_MANTISSA): Remove macro.
19359         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19360         (SET_MANTISSA): Remove macro.
19361         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19362         macro.
19363         (SET_MANTISSA): Remove macro.
19364         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19365         macro.
19366         (SET_MANTISSA): Remove macro.
19367         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19368         (SET_MANTISSA): Remove macro.
19369         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19370         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19371         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19373         [BZ #19266]
19374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19375         upper case and lower case letters inside NAN(), not using TOLOWER.
19376         * stdlib/tst-strtod-nan-locale-main.c: New file.
19377         * stdlib/tst-strtod-nan-locale.c: Likewise.
19378         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19379         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19380         Depend on $(gen-locales).
19381         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19382         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19383         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19384         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19385         Depend on $(gen-locales).
19386         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19388 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19390         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19392         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19394         __finitel, __isinfl, and __isnanl.
19395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19396         Likewise.
19397         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19399         __finitel.
19400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19401         Likewise.
19402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19404 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19406         * malloc/memusage.c (me): Remove redundant getenv call.
19408 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19410         [BZ #19143]
19411         [BZ #19164]
19412         * nptl/check-cpuset.h: Remove.
19413         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19414         Remove CPU set size check.
19415         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19416         Likewise.
19417         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19418         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19419         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19420         (__pthread_setaffinity_new): Remove CPU set size check.
19421         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19422         (__kernel_cpumask_size): Remove.
19423         (__sched_setaffinity_new): Remove CPU set size check.
19424         * manual/threads.texi (Default Thread Attributes): Remove stale
19425         reference to check_cpuset_attr, determine_cpumask_size in comment.
19426         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19427         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19428         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19429         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19430         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19431         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19432         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19433         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19434         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19435         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19436         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19437         skeleton test file.
19438         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19439         tst-affinity-pid.
19441 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19443         * scripts/update-abilist.sh: New file.
19444         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19445         * Makerules (update-all-abi-%, update-all-abi)
19446         (subdir_update-all-abi): New targets.
19447         * elf/Makefile (update-all-abi): New target.
19449 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19451         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19452         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19453         (__libc_lock_define_initialized): Use it.
19454         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19455         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19456         * malloc/malloc.c (main_arena): Likewise.
19457         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19458         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19460 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19462         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19463         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19464         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19465         (PTRACE_O_MASK): Update value.
19466         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19467         New value in enum __ptrace_setoptions.
19468         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19469         (PTRACE_O_MASK): Update value.
19470         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19471         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19472         (PTRACE_O_MASK): Update value.
19473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19474         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19475         (PTRACE_O_MASK): Update value.
19476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19477         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19478         (PTRACE_O_MASK): Update value.
19479         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19480         New value in enum __ptrace_setoptions.
19481         (PTRACE_O_MASK): Update value.
19482         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19483         New value in enum __ptrace_setoptions.
19484         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19485         (PTRACE_O_MASK): Update value.
19487         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19488         New macro.
19489         (PACKET_AUXDATA): Likewise.
19490         (PACKET_ORIGDEV): Likewise.
19491         (PACKET_VERSION): Likewise.
19492         (PACKET_HDRLEN): Likewise.
19493         (PACKET_RESERVE): Likewise.
19494         (PACKET_TX_RING): Likewise.
19495         (PACKET_LOSS): Likewise.
19496         (PACKET_VNET_HDR): Likewise.
19497         (PACKET_TX_TIMESTAMP): Likewise.
19498         (PACKET_TIMESTAMP): Likewise.
19499         (PACKET_FANOUT): Likewise.
19500         (PACKET_TX_HAS_OFF): Likewise.
19501         (PACKET_QDISC_BYPASS): Likewise.
19502         (PACKET_ROLLOVER_STATS): Likewise.
19503         (PACKET_FANOUT_DATA): Likewise.
19504         (PACKET_MR_UNICAST): Likewise.
19506         [BZ #19242]
19507         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19508         (TOUPPER): Likewise.
19509         * stdlib/tst-strtol-locale-main.c: New file.
19510         * stdlib/tst-strtol-locale.c: Likewise.
19511         * stdlib/Makefile (tests): Add tst-strtol-locale.
19512         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19513         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19514         Depend on $(gen-locales).
19515         * wcsmbs/tst-wcstol-locale.c: New file.
19516         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19517         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19518         tr_TR.ISO-8859-9.
19519         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19520         Depend on $(gen-locales).
19522 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19524         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19525         __glibc_likely instead of __builtin_expect.  After falling back to
19526         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19527         system interface to register the code pages as occupied.
19529 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19531         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19532         [!ARM_MATH_PRIVATE_H].
19533         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19534         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19535         [!HPPA_MATH_PRIVATE_H].
19536         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19537         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19538         to [!I386_MATH_PRIVATE_H].
19539         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19540         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19541         Change guard to [!M68K_MATH_PRIVATE_H].
19542         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19543         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19544         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19545         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19546         macro.
19547         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19548         [!MIPS_MATH_PRIVATE_H].
19549         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19550         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19551         [!NIO2_MATH_PRIVATE_H].
19552         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19553         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19554         [!TILE_MATH_PRIVATE_H].
19555         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19557         [BZ #15421]
19558         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19559         initialize with 0 and define as weak alias of __signgam.
19560         * include/math.h [!_ISOMAC] (__signgam): Declare.
19561         * math/Makefile (libm-calls): Add w_lgamma_compat.
19562         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19563         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19564         test-signgam-ullong-init.
19565         (tests-static): Add test-signgam-uchar-static,
19566         test-signgam-uchar-init-static, test-signgam-uint-static,
19567         test-signgam-uint-init-static, test-signgam-ullong-static and
19568         test-signgam-ullong-init-static.
19569         (CFLAGS-test-signgam-uchar.c): New variable.
19570         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19571         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19572         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19573         (CFLAGS-test-signgam-uint.c): Likewise.
19574         (CFLAGS-test-signgam-uint-init.c): Likewise.
19575         (CFLAGS-test-signgam-uint-static.c): Likewise.
19576         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19577         (CFLAGS-test-signgam-ullong.c): Likewise.
19578         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19579         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19580         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19581         * math/Versions (libm): Add GLIBC_2.23.
19582         * math/lgamma-compat.h: New file.
19583         * math/test-signgam-main.c: Likewise.
19584         * math/test-signgam-uchar-init-static.c: Likewise.
19585         * math/test-signgam-uchar-init.c: Likewise.
19586         * math/test-signgam-uchar-static.c: Likewise.
19587         * math/test-signgam-uchar.c: Likewise.
19588         * math/test-signgam-uint-init-static.c: Likewise.
19589         * math/test-signgam-uint-init.c: Likewise.
19590         * math/test-signgam-uint-static.c: Likewise.
19591         * math/test-signgam-uint.c: Likewise.
19592         * math/test-signgam-ullong-init-static.c: Likewise.
19593         * math/test-signgam-ullong-init.c: Likewise.
19594         * math/test-signgam-ullong-static.c: Likewise.
19595         * math/test-signgam-ullong.c: Likewise.
19596         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19597         wrapper of w_lgamma_main.c.
19598         * math/w_lgamma_compat.c: New file.
19599         * math/w_lgamma_compatf.c: Likewise.
19600         * math/w_lgamma_compatl.c: Likewise.
19601         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19602         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19603         defining compatibility symbols.
19604         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19605         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19606         wrapper of w_lgammaf_main.c.
19607         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19608         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19609         defining compatibility symbols.
19610         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19611         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19612         wrapper of w_lgammal_main.c.
19613         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19614         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19615         defining compatibility symbols.
19616         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19617         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19618         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19619         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19620         <lgamma-compat.h>.
19621         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19622         (__ieee754_gamma): Define as alias.
19623         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19624         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19625         <lgamma-compat.h>.
19626         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19627         (__ieee754_gammaf): Define as alias.
19628         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19629         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19630         <lgamma-compat.h>.
19631         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19632         (__ieee754_gammal): Define as alias.
19633         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19634         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19635         <math/w_lgamma_compat.c>.
19636         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19637         Define as alias of __lgamma_compat and use in defining lgammal.
19638         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19639         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19640         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19641         (USE_AS_COMPAT): New macro.
19642         (LGAMMA_OLD_VER): Undefine and redefine.
19643         (lgammal): Do not define here.
19644         (gammal): Only define here if [GAMMA_ALIAS].
19645         * conform/linknamespace.pl (@whitelist): Remove signgam.
19646         * sysdeps/nacl/libm.abilist: Update.
19647         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19648         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19649         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19650         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19651         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19652         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19653         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19654         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19655         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19656         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19657         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19658         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19660         Likewise.
19661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19662         Likewise.
19663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19664         Likewise.
19665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19666         Likewise.
19667         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19668         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19669         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19670         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19671         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19673         Likewise.
19674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19675         Likewise.
19676         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19677         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19678         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19680 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19682         [BZ #16364]
19683         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19684         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19686 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19688         * sysdeps/s390/fpu/bits/mathinline.h:
19689         Use __asm__ [__volatile__] instead of asm [volatile].
19690         * sysdeps/s390/abort-instr.h: Likewise.
19691         * sysdeps/s390/atomic-machine.h: Likewise.
19692         * sysdeps/s390/bits/string.h: Likewise.
19693         * sysdeps/s390/dl-tls.h: Likewise.
19694         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19695         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19696         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19697         * sysdeps/s390/fpu/fesetround.c: Likewise.
19698         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19699         * sysdeps/s390/fpu/s_fma.c: Likewise.
19700         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19701         * sysdeps/s390/memusage.h: Likewise.
19702         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19703         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19704         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19705         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19706         * sysdeps/s390/nptl/tls.h: Likewise.
19707         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19708         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19709         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19710         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19711         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19712         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19713         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19714         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19715         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19716         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19717         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19718         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19719         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19720         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19721         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19722         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19723         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19724         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19725         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19727         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19729         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19731 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19732             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19734         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19735         Add lwarx hint, and use macro for acquire instruction.
19736         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19737         Likewise.
19738         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19739         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19740         update to use new atomic macros.
19742 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19744         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19745         (__lll_trylock_elision): Fix setting of adapt_count.
19746         * sysdeps/unix/sysv/linux/powerpc/htm.h
19747         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19748         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19749         (_ABORT_SYSCALL): Renumber, and clarify definition.
19750         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19752 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19754         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19755         after system headers to prevent MIN/MAX redefinition.  Define
19756         HAVE_ALLOCA to preserve builtin alloca usage.
19758 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19761         static and don't set or restore rounding.
19762         (__cos)[IN_SINCOS]: Likewise.
19763         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19764         (__sincos): Set and restore rounding mode.  Remove check for infinite
19765         or NaN input.
19767         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19769         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19770         as used.
19772 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19774         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19776 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19778         * config.make.in (have-glob-dat-reloc): New.
19779         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19780         target supports GLOB_DAT relocaton. AC_SUBST.
19781         * configure: Regenerated.
19782         * elf/Makefile (tests): Add tst-prelink.
19783         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19784         (tst-prelink-ENV): New.
19785         ($(objpfx)tst-prelink-conflict.out): Likewise.
19786         ($(objpfx)tst-prelink-cmp.out): Likewise.
19787         * sysdeps/x86/tst-prelink.c: Moved to ...
19788         * elf/tst-prelink.c: Here.
19789         * sysdeps/x86/tst-prelink.exp: Moved to ...
19790         * elf/tst-prelink.exp: Here.
19791         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19792         (tst-prelink-ENV): Removed.
19793         ($(objpfx)tst-prelink-conflict.out): Likewise.
19794         ($(objpfx)tst-prelink-cmp.out): Likewise.
19795         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19797 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19799         [BZ #14551]
19800         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19801         (__mpn_construct_long_double): If high part overflows to infinity,
19802         set errno and recompute overflowed result of the correct sign.
19803         * sysdeps/ieee754/ldbl-128ibm/Makefile
19804         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19805         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19806         $(libm).
19807         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19809 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19811         [BZ #15479]
19812         [BZ #19238]
19813         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19814         floating-point state after first operation on input.  Restore full
19815         state rather than just rounding mode.
19816         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19817         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19818         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19820         [BZ #19235]
19821         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19822         add 0.5 to integer arguments.
19823         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19824         Likewise.
19825         (.LC2): New object.
19827 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19829         * scripts/pylintrc (reports): Set to no.
19831 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19833         * elf/dl-load.c (open_verify): Take new argument FD.
19834         Skip __open call if passed FD is not -1.
19835         (_dl_map_object, open_path): Update callers.
19836         * elf/dl-sysdep-open.h: New file.
19837         * elf/dl-load.c: Include it.
19838         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19839         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19840         * sysdeps/nacl/dl-sysdep-open.h: New file.
19841         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19842         from libc to rtld.
19844 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19846         [BZ #19228]
19847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19848         and restore full floating-point state.
19849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19850         Likewise.
19851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19852         Likewise.
19853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19854         Likewise.
19855         * math/test-nearbyint-except-2.c: New file.
19856         * math/Makefile (tests): Add test-nearbyint-except-2.
19858 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19860         [BZ #19178]
19861         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19862         (tst-prelink-ENV): New.
19863         ($(objpfx)tst-prelink-conflict.out): Likewise.
19864         ($(objpfx)tst-prelink-cmp.out): Likewise.
19865         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19866         * sysdeps/x86/tst-prelink.c: New file.
19867         * sysdeps/x86/tst-prelink.exp: Likewise.
19869 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19871         * math/auto-libm-test-in: Add another test of pow.
19872         * math/auto-libm-test-out: Regenerated.
19873         * math/libm-test.inc (pow_test_data): Add another test.
19875 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19877         [BZ #19219]
19878         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19879         weak_alias to nearbyintl.
19881 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19883         * sysdeps/aarch64/bits/string.h: New file.
19884         (_STRING_ARCH_unaligned): Define.
19886 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19888         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19889         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19890         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19891         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19894 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19896         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19897         for original name of the DSO.  Add it to the name list of the DSO
19898         if it is actually given.
19899         (_dl_map_object): Keep track of whether an audit module rewrote
19900         the file name.  If yes, pass the original name to
19901         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19902         debugging is enabled, log the change of the file name.
19903         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19904         _dl_map_object_from_fd.
19905         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19906         * elf/tst-audit11.c: New file
19907         * elf/tst-auditmod11.c: New file.
19908         * elf/tst-audit11mod1.c: New file.
19909         * elf/tst-audit11mod2.c: New file.
19910         * elf/tst-audit11mod2.map: New file.
19911         * elf/tst-audit12.c: New file
19912         * elf/tst-auditmod12.c: New file.
19913         * elf/tst-audit12mod1.c: New file.
19914         * elf/tst-audit12mod2.c: New file.
19915         * elf/tst-audit12mod2.map: New file.
19916         * elf/tst-audit12mod3.c: New file.
19918 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19920         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19921         Don't create weak aliases,
19922         because versioned symbols are created later.
19923         * sysdeps/s390/s390-32/setjmp.S
19924         (setjmp, _setjmp): Remove weak and rename to an unique name
19925         in SHARED case due to existing versioned symbols.
19926         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19928         (getcontext): Create weak alias only in non SHARED case.
19929         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19931 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19933         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19934         (__ASSUME_*_SYSCALL) Define new macros.
19935         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19936         Remove socketcall syscalls.
19937         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19938         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19939         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19940         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19941         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19942         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19944 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19946         [BZ #12926]
19947         Terminate process on invalid netlink response.
19948         * sysdeps/unix/sysv/linux/netlinkaccess.h
19949         (__netlink_assert_response): Declare.
19950         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19951         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19952         (sysdep_routines): Add netlink_assert_response.
19953         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19954         __netlink_assert_response.
19955         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19956         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19957         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19958         __netlink_assert_response.
19960 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19962         [BZ #19178]
19963         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19964         (RTYPE_CLASS_PLT): Likewise.
19965         (RTYPE_CLASS_COPY): Likewise.
19966         (RTYPE_CLASS_TLS): Likewise.
19967         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19968         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19969         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19970         DL_DEBUG_PRELINK.
19972 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19974         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19975         calls with argument -0.5.
19976         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19978         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19979         (libc_cv_z_nodlopen): Likewise.
19980         (libc_cv_z_initfirst): Likewise.
19981         * configure: Regenerated.
19983 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19985         Simplify abilist format to be line-based.
19986         * scripts/abilist.awk: Collect descriptors in the descs variable.
19987         (emit): Write descs variable and sort it
19988         externally, with sort.
19989         * sysdeps/**/*.abilist: Convert to new format.
19991 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19993         [BZ #11460]
19994         * io/Makefile (routines): Add fts64.
19995         (tests): Add tst-fts and tst-fts-lfs.
19996         (CFLAGS-fts64.c): New.
19997         * io/Versions (GLIBC_2.23): New.
19998         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19999         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20000         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20001         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20002         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20003         (FTSENT64): Likewise.
20004         (fts64_children): Likewise.
20005         (fts64_close): Likewise.
20006         (fts64_open): Likewise.
20007         (fts64_read): Likewise.
20008         (fts64_set): Likewise.
20009         * io/fts64.c: New file.
20010         * io/tst-fts.c: New test.
20011         * io/tst-fts-lfs.c: Likewise.
20012         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20013         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20014         fts64_set.
20015         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20016         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20017         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20018         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20019         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20020         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20021         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20022         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20023         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20024         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20025         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20026         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20027         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20029         Likewise.
20030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20031         Likewise.
20032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20034         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20035         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20036         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20037         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20038         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20041         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20042         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20043         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20044         * sysdeps/wordsize-64/fts.c: New file.
20045         * sysdeps/wordsize-64/fts64.c: Likewise.
20046         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20047         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20048         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20049         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20051 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20053         * math/libm-test.inc (NON_FINITE): New macro.
20054         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20055         * math/gen-libm-test.pl (show_exceptions): Add argument
20056         $non_finite.
20057         (parse_args): Update call to show_exceptions.
20058         * math/test-math-finite.h: New file.
20059         * math/test-math-no-finite.h: Likewise.
20060         * math/test-double-finite.c: Likewise.
20061         * math/test-float-finite.c: Likewise.
20062         * math/test-ldouble-finite.c: Likewise.
20063         * math/test-double.c: Include "test-math-no-finite.h".
20064         * math/test-float.c: Include "test-math-no-finite.h".
20065         * math/test-ldouble.c: Include "test-math-no-finite.h".
20066         * math/test-math-inline.h (TEST_FINITE): New macro.
20067         * math/test-math-vector.h (TEST_FINITE): Likewise.
20068         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20069         (libm-tests): Add test-float-finite and test-double-finite.
20070         ($(objpfx)test-float-finite.o): New dependency on
20071         $(objpfx)libm-test.stmp.
20072         ($(objpfx)test-double-finite.o): Likewise.
20073         ($(objpfx)test-ldouble-finite.o): Likewise.
20074         (libm-test-no-inline-cflags): New variable.
20075         (libm-test-finite-cflags): Likewise.
20076         (CFLAGS-test-float-finite.c): Likewise.
20077         (CFLAGS-test-double-finite.c): Likewise.
20078         (CFLAGS-test-ldouble-finite.c): Likewise.
20079         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20080         (CFLAGS-test-double.c): Likewise.
20081         (CFLAGS-test-ldouble.c): Likewise.
20083 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20085         * io/fcntl.c (__fcntl): Add ... to prototype.
20086         * misc/ioctl.c (__ioctl): Likewise.
20087         * misc/syscall.c (syscall): Likewise.
20089 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20091         * scripts/list-fixed-bugs.py: New file.
20093         [BZ #19213]
20094         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20095         returned for argument 1.
20096         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20097         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20098         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20099         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20100         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20101         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20103         [BZ #19211]
20104         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20105         __USE_XOPEN], not if [!__USE_ISOC99].
20106         (lgammaf): Likewise.
20107         (lgammal): Likewise.
20108         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20109         (gammaf): Likewise.
20110         (gammal): Likewise.
20111         * math/test-signgam-finite-c11.c: New file.
20112         * math/test-signgam-finite-c99.c: Likewise.
20113         * math/test-signgam-finite.c: Likewise.
20114         * math/Makefile (tests): Add test-signgam-finite,
20115         test-signgam-finite-c99 and test-signgam-finite-c11.
20116         (CFLAGS-test-signgam-finite.c): New variable.
20117         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20118         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20120         [BZ #19212]
20121         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20122         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20123         500].
20124         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20125         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20126         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20127         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20128         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20129         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20130         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20131         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20132         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20133         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20135         [BZ #19209]
20136         * math/bits/math-finite.h (ldexp): Remove declaration.
20137         (ldexpf): Likewise.
20138         (ldexpl): Likewise.
20140         [BZ #19205]
20141         * math/bits/math-finite.h (acosf): Condition declaration on
20142         [__USE_ISOC99].
20143         (acosl): Likewise.
20144         (acoshf): Likewise.
20145         (acoshl): Likewise.
20146         (asinf): Likewise.
20147         (asinl): Likewise.
20148         (atan2f): Likewise.
20149         (atan2l): Likewise.
20150         (atanhf): Likewise.
20151         (atanhl): Likewise.
20152         (coshf): Likewise.
20153         (coshl): Likewise.
20154         (expf): Likewise.
20155         (expl): Likewise.
20156         (fmodf): Likewise.
20157         (fmodl): Likewise.
20158         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20159         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20160         (j0l): Likewise.
20161         (y0f): Likewise.
20162         (y0l): Likewise.
20163         (j1f): Likewise.
20164         (j1l): Likewise.
20165         (y1f): Likewise.
20166         (y1l): Likewise.
20167         (jnf): Likewise.
20168         (jnl): Likewise.
20169         (ynf): Likewise.
20170         (ynl): Likewise.
20171         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20172         (lgammal_r): Likewise.
20173         (__lgamma_r_finite): New declaration.
20174         (__lgammaf_r_finite): Likewise.
20175         (__lgammal_r_finite): Likewise.
20176         (lgamma): Use __lgamma_r_finite.
20177         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20178         __lgammaf_r_finite.
20179         (lgammal): Condition definition on [__USE_ISOC99].  Use
20180         __lgammal_r_finite.
20181         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20182         __lgamma_r_finite.
20183         (gammaf): Condition definition on [__USE_ISOC99].  Use
20184         __lgammaf_r_finite.
20185         (gammal): Condition definition on [__USE_ISOC99].  Use
20186         __lgammal_r_finite.
20187         (logf): Condition declaration on [__USE_ISOC99].
20188         (logl): Likewise.
20189         (log10f): Likewise.
20190         (log10l): Likewise.
20191         (ldexpf): Likewise.
20192         (ldexpl): Likewise.
20193         (powf): Likewise.
20194         (powl): Likewise.
20195         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20196         __USE_ISOC99].
20197         (remainderf): Condition declaration on [__USE_ISOC99].
20198         (remainderl): Likewise.
20199         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20200         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20201         (scalbl): Likewise.
20202         (sinhf): Condition declaration on [__USE_ISOC99].
20203         (sinhl): Likewise.
20204         (sqrtf): Likewise.
20205         (sqrtl): Likewise.
20207 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20209         * sysdeps/arm/atomic-machine.h
20210         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20211         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20212         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20213         Remove conditional code.
20214         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20215         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20216         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20217         Change conditional to [__ASSEMBLER__].
20218         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20219         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20220         [!__ASSEMBLER__].
20221         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20222         code.
20223         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20224         conditional macro definitions.
20225         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20226         (__arch_compare_and_exchange_val_16_acq): Likewise.
20227         (__arch_compare_and_exchange_val_32_acq): Likewise.
20228         (atomic_exchange_and_add): Likewise.
20229         (atomic_add): Likewise.
20230         (atomic_add_negative): Likewise.
20231         (atomic_add_zero): Likewise.
20232         (atomic_bit_set): Likewise.
20233         (atomic_bit_test_set): Likewise.
20234         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20235         code unconditional.
20236         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20238         * math/test-math-errno.h: New file.
20239         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20240         empty.
20241         (TEST_ERRNO): New macro.
20242         (TEST_EXCEPTIONS): Likewise.
20243         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20244         (TEST_EXCEPTIONS): Likewise.
20245         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20246         * math/test-double.c: Include "test-math-errno.h".
20247         * math/test-float.c: Likewise.
20248         * math/test-ldouble.c: Likewise.
20249         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20250         code unconditional.
20251         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20252         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20253         unconditional.
20254         (test_errno): Only run code if TEST_ERRNO.
20255         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20257 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20259         * nptl/tst-once5.cc: Remove attribution.
20261 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20263         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20264         sqrt, tan, tanh, y0, y1 and yn.
20265         * math/auto-libm-test-out: Regenerated.
20266         * math/libm-test.inc (scalb_test_data): Add more tests.
20267         (scalbn_test_data): Likewise.
20268         (scalbln_test_data): Likewise.
20269         (signbit_test_data): Likewise.
20270         (sin_test_data): Likewise.
20271         (sincos_test_data): Likewise.
20272         (sinh_test_data): Likewise.
20273         (sqrt_test_data): Likewise.
20274         (tan_test_data): Likewise.
20275         (tanh_test_data): Likewise.
20276         (tgamma_test_data): Likewise.
20277         (y0_test_data): Likewise.
20278         (y1_test_data): Likewise.
20279         (yn_test_data): Likewise.
20280         (significand_test_data): Likewise.
20281         * sysdeps/i386/fpu/libm-test-ulps: Update.
20283 2015-11-03  David Kastrup  <dak@gnu.org>
20285         [BZ #18604]
20286         * assert/assert.h (assert): Don't macro-expand failed assertion
20287         expression in error message.
20288         * malloc/malloc.c (assert): Likewise.
20290 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20292         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20293         test.
20294         * configure: Regenerated.
20296 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20298         * math/libm-test.inc (modf_test_data): Add more tests.
20299         (nearbyint_test_data): Likewise.
20300         (nextafter_test_data): Likewise.
20301         (nexttoward_test_data): Likewise.
20302         (pow_test_data): Likewise.
20303         (remainder_test_data): Likewise.
20304         (remquo_test_data): Likewise.
20305         (rint_test_data): Likewise.
20307         [BZ #19201]
20308         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20309         Check for zero remainder in case of large exponents and ensure
20310         correct sign of result in that case.
20311         * math/libm-test.inc (remainder_test_data): Add more tests.
20313         [BZ #6799]
20314         * math/s_nextafter.c: Include <errno.h>.
20315         (__nextafter): Set errno on overflow and underflow.
20316         * math/s_nexttowardf.c: Include <errno.h>.
20317         (__nexttowardf): Set errno on overflow and underflow.
20318         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20319         (__nextafterl): Set errno on overflow and underflow.
20320         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20321         (__nexttoward): Set errno on overflow and underflow.
20322         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20323         (__nexttowardf): Set errno on overflow and underflow.
20324         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20325         (__nextafterf): Set errno on overflow and underflow.
20326         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20327         (__nextafterl): Set errno on overflow and underflow.
20328         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20329         (__nexttoward): Set errno on overflow and underflow.
20330         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20331         (__nexttowardf): Set errno on overflow and underflow.
20332         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20333         (__nextafterl): Set errno on overflow and underflow.
20334         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20335         (__nexttoward): Set errno on overflow and underflow.
20336         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20337         (__nexttowardf): Set errno on overflow and underflow.
20338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20339         (__nexttoward): Set errno on overflow and underflow.
20340         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20341         (__nexttowardf): Set errno on overflow and underflow.
20342         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20343         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20344         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20345         (__nextafterl): Set errno on overflow and underflow.
20346         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20347         setting to be missing on overflow.  Add more tests.
20348         (nexttoward_test_data): Likewise.
20350         * configure.ac (libc_cv_initfini_array): Remove configure test.
20351         * configure: Regenerated.
20353 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20355         [BZ #19189]
20356         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20357         non-finite argument handle arguments with negative sign.
20359         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20360         result from infinite argument.
20361         (j1_test_data): Likewise.
20362         (jn_test_data): Likewise.
20363         (y0_test_data): Likewise.
20364         (y1_test_data): Likewise.
20365         (yn_test_data): Likewise.
20367         [BZ #16171]
20368         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20369         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20370         * math/w_remainderf.c (dremf): Define as weak alias of
20371         __remainderf.
20372         * math/w_remainderl.c (dreml): Define as weak alias of
20373         __remainderl.
20374         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20375         __remainder.
20376         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20377         __remainderf.
20378         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20379         __remainderl.
20380         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20381         weak alias of remainderl.
20382         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20383         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20384         alias of __remainder.
20385         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20386         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20387         strong alias of __remainderl.
20388         (dreml): Use long_double_symbol.
20389         * math/Makefile (libm-calls): Remove w_drem.
20390         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20391         (CFLAGS-nldbl-drem.c): Remove variable.
20392         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20393         * math/w_drem.c: Remove file.
20394         * math/w_dremf.c: Likewise.
20395         * math/w_dreml.c: Likewise.
20396         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20397         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20398         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20400         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20401         * sysdeps/i386/configure: Regenerated.
20402         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20403         * sysdeps/x86_64/configure: Regenerated.
20405         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20406         test.
20407         (libc_cv_visibility_attribute): Likewise.
20408         (libc_cv_protected_data): Test unconditionally.
20409         (libc_cv_broken_visibility_attribute): Remove configure test.
20410         (libc_cv_have_sdata_section): Test unconditionally.
20411         * configure: Regenerated.
20413         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20414         * include/scratch_buffer.h: Include <stddef.h> instead of
20415         <libc-internal.h>.
20416         (struct scratch_buffer): Use max_align_t instead of
20417         libc_max_align_t.
20419 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20421         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20422         instead of extend_alloca.  Change control flow to avoid a goto.
20423         Remove assert which is trivially always true.
20425 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #16068]
20428         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20429         (FE_ALL_EXCEPT_X86): New macro.
20430         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20431         FE_ALL_EXCEPT.  Ensure precision control is included in
20432         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20433         handle "denormal operand exception" and clear FZ and DAZ bits.
20434         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20435         (FE_ALL_EXCEPT_X86): New macro.
20436         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20437         FE_ALL_EXCEPT.  Ensure precision control is included in
20438         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20439         handle "denormal operand exception" and clear FZ and DAZ bits.
20440         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20441         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20442         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20443         test-fenv-x87 and test-fenv-sse-2.
20444         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20446         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20447         * math/test-double.h (BUILD_COMPLEX): New macro.
20448         * math/test-float.h (BUILD_COMPLEX): Likewise.
20449         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20451         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20452         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20453         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20455         instead of DBL_DENORM_MIN in comment.
20456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20457         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20458         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20459         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20461         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20463 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20465         [BZ #19048]
20466         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20467         attached_threads member.
20468         (main_arena): Initialize attached_threads.
20469         * malloc/arena.c (list_lock): Update comment.
20470         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20471         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20472         (deattach_arena): New function.
20473         (_int_new_arena): Initialize arena reference count and deattach
20474         replaced arena.
20475         (get_free_list, reused_arena): Update reference count and deattach
20476         replaced arena.
20477         (arena_thread_freeres): Update arena reference count and only put
20478         unreferenced arenas on the free list.
20480 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20482         [BZ #19181]
20483         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20484         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20485         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20486         * math/test-fenv-clear-main.c: New file.
20487         * math/test-fenv-clear.c: Likewise.
20488         * math/Makefile (tests): Add test-fenv-clear.
20489         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20490         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20491         test-fenv-clear-sse.
20492         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20494         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20495         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20496         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20498 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20500         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20501         static libc.
20503 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20505         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20506         test.
20507         * sysdeps/i386/configure: Regenerated.
20508         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20509         test.
20510         * sysdeps/x86_64/configure: Regenerated.
20511         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20513         memset-avx2 unconditionally instead of conditionally on
20514         [$(config-cflags-avx2) = yes].
20515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20516         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20517         unconditional.
20518         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20519         * sysdeps/x86_64/multiarch/memset_chk.S
20520         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20521         to [IS_IN (libc) && SHARED].
20523 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20525         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20526         configure test.
20527         * sysdeps/arm/configure: Regenerated.
20528         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20529         Define variable if not already defined.
20531         [BZ #17404]
20532         * sysdeps/mips/atomic-machine.h
20533         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20534         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20535         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20537         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20538         unconditional.
20539         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20540         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20541         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20542         unconditional.
20543         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20544         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20545         unconditional.
20546         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20547         * stdlib/setenv.c
20548         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20549         code unconditional.
20550         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20551         Remove conditional code.
20552         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20553         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20554         unconditional.
20555         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20556         code.
20557         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20558         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20559         unconditional.
20560         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20561         code.
20562         * sysdeps/ieee754/ldbl-128/k_tanl.c
20563         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20564         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20565         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20566         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20567         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20568         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20569         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20570         unconditional.
20571         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20572         code.
20573         * sysdeps/ieee754/ldbl-96/k_tanl.c
20574         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20575         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20577         * nptl/tst-initializers1-c11.c: New file.
20578         * nptl/tst-initializers1-gnu11.c: Likewise.
20579         * nptl/Makefile (tests): Add these new tests.
20580         (CFLAGS-tst-initializers1-c11.c): New variable.
20581         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20583         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20584         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20585         instead of -std=gnu99.
20586         * configure.ac (systemtap): Test with -std=gnu11 instead of
20587         -std=gnu99.
20588         * configure: Regenerated.
20589         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20590         in compilation command in comment.
20592         * sysdeps/nptl/configure.ac: Remove file.
20593         * sysdeps/nptl/configure: Remove generated file.
20594         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20595         * configure: Regenerated.
20596         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20597         * config.make.in (have-forced-unwind): Remove variable.
20598         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20599         unconditional.
20600         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20601         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20602         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20603         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20604         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20605         unconditional.
20607 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20609         [BZ #19174]
20610         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20611         .skip_lock_out_of_tbegin_retries.
20612         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20613         (__lll_lock_elision): Likewise, and respect a value of
20614         try_tbegin <= 0.
20616 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20618         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20619         statement.
20621 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20623         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20624         variable.
20625         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20626         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20628         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20629         of -std=c1x -D_ISOC11_SOURCE.
20631         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20632         * configure: Regenerated.
20633         * manual/install.texi (Tools for Compilation): Document
20634         requirement for GCC 4.7 or later.
20635         * INSTALL: Regenerated.
20637 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20639         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20640         on CNT to a conditional jump to 'puntdata'.
20642 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20644         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20645         (libc_cv_gcc_tls_model_attr): Likewise.
20646         * configure: Regenerated.
20648         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20649         * configure: Regenerated.
20650         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20652 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20654         * configure.ac (old_glibc_headers): Remove configure test.
20655         * configure: Regenerated.
20656         * config.make.in (old-glibc-headers): Remove variable.
20657         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20658         (install): Remove dependency on remove-old-headers.
20659         (headers2_0): Remove variable.
20660         (remove-old-headers): Remove rule.
20662         * configure.ac (libc_cv_dot_text): Remove configure test.
20663         (libc_cv_asm_set_directive): Use .text instead of
20664         ${libc_cv_dot_text} in configure test.
20665         * configure: Regenerated.
20667 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20669         [BZ #19168]
20670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20672 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20674         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20675         not support static linking.
20676         * configure: Regenerate.
20678 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20680         * math/libm-test.inc (check_float_internal): Do not special-case
20681         errors up to 0.5 ulp.
20683         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20684         log2.
20685         * math/auto-libm-test-out: Regenerated.
20686         * math/libm-test.inc (MAX_EXP): New macro.
20687         (ilogb_test_data): Add more tests.
20688         (isfinite_test_data): Likewise.
20689         (isgreater_test_data): Likewise.
20690         (isgreaterequal_test_data): Likewise.
20691         (isinf_test_data): Likewise.
20692         (isless_test_data): Likewise.
20693         (islessequal_test_data): Likewise.
20694         (islessgreater_test_data): Likewise.
20695         (isnan_test_data): Likewise.
20696         (isnormal_test_data): Likewise.
20697         (issignaling_test_data): Likewise.
20698         (isunordered_test_data): Likewise.
20699         (j0_test_data): Likewise.
20700         (j1_test_data): Likewise.
20701         (jn_test_data): Likewise.
20702         (lgamma_test_data): Likewise.
20703         (log_test_data): Likewise.
20704         (log10_test_data): Likewise.
20705         (log1p_test_data): Likewise.
20706         (log2_test_data): Likewise.
20707         (logb_test_data): Likewise.
20708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20710         [BZ #18611]
20711         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20712         avoid excess range and precision on underflow.
20713         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20714         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20715         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20717         underflow.
20718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20720         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20721         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20722         * math/auto-libm-test-in: Do not allow missing errno setting for
20723         tests of j1 and jn.
20724         * math/auto-libm-test-out: Regenerated.
20726 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20728         [BZ #15491]
20729         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20730         floating-point environment instead of clearing all exceptions.
20731         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20732         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20733         merging in "invalid" exceptions from frndint.
20734         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20735         * math/test-nearbyint-except.c: New file.
20736         * math/Makefile (tests): Add test-nearbyint-except.
20738 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20740         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20742         * sysdeps/tile/libm-test-ulps: Regenerated.
20744 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20747         (__NR_sync_file_range2): Assume it is always defined.
20748         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20749         (__NR_sync_file_range): Assume it is always defined.
20751 2015-10-22  Andreas Schwab  <schwab@suse.de>
20753         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20754         INTERNAL_SYSCALL_ERRNO.
20755         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20756         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20757         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20758         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20759         Likewise.
20760         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20762 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20764         * io/tst-fcntl.c (fd): New static variable.
20765         (do_prepare): Open temporary file here....
20766         (do_test): ...not here.
20768         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20770 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20772         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20773         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20774         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20775         Moved before "#ifdef __ASSEMBLER__".
20777 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20779         [BZ #19156]
20780         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20781         arguments very close to 0.
20783 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20785         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20786         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20788 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20790         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20791         New.  Defined for GCC 5 and above when not compiling for
20792         profiling.
20793         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20795         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20796         Renamed to ...
20797         (CFLAGS-epoll_pwait.o): This.
20798         (CFLAGS-mmap.c): Renamed to ...
20799         (CFLAGS-mmap.o): This.
20800         (CFLAGS-mmap64.c): Renamed to ...
20801         (CFLAGS-mmap64.o): This.
20802         (CFLAGS-epoll_pwait.os): New.
20803         (CFLAGS-mmap.os): Likewise.
20804         (CFLAGS-mmap64.os): Likewise.
20805         (CFLAGS-semtimedop.os): Likewise.
20806         (CFLAGS-semtimedop.c): Renamed to ...
20807         (CFLAGS-semtimedop.o): This.
20809 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20811         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20812         warning message.
20814 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20816         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20817         * Makefile ($(objpfx)c++-types-check.out): Filter out
20818         $(+gccwarn-c) instead of -Wstrict-prototypes.
20820         * io/fts.c (fts_open): Convert to prototype-style function
20821         definition.
20822         * malloc/mcheck.c (mcheck): Likewise.
20823         (mcheck_pedantic): Likewise.
20824         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20825         internal_function.
20826         (re_search_internal): Likewise.
20827         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20828         prototype-style function definition.
20829         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20830         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20831         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20832         (xdr_utmpptr): Likewise.
20833         (xdr_utmparr): Likewise.
20834         (xdr_utmpidle): Likewise.
20835         (xdr_utmpidleptr): Likewise.
20836         (xdr_utmpidlearr): Likewise.
20838         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20839         log, log10 and log2.
20840         * math/auto-libm-test-out: Regenerated.
20841         * math/libm-test.inc (fmod_test_data): Add more tests.
20842         (fpclassify_test_data): Likewise.
20843         (frexp_test_data): Likewise.
20844         (hypot_test_data): Likewise.
20845         (ilogb_test_data): Likewise.
20847 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20849         * debug/fortify_fail.c (__fortify_fail): Convert to
20850         prototype-style function definition.  Use internal_function.
20851         * libio/genops.c (save_for_backup): Convert to prototype-style
20852         function definition.
20853         * libio/wgenops.c (save_for_wbackup): Likewise.
20854         * login/grantpt.c (grantpt): Likewise.
20855         * login/ptsname.c (ptsname): Likewise.
20856         (__ptsname_r): Likewise.
20857         * login/unlockpt.c (unlockpt): Likewise.
20858         * mach/msgserver.c (__mach_msg_server): Likewise.
20859         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20860         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20861         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20862         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20863         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20864         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20865         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20866         Likewise.
20867         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20868         internal_function.
20869         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20870         prototype-style function definition.
20871         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20872         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20873         (__pthread_create_2_0): Likewise.
20874         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20875         * nptl/register-atfork.c (__register_atfork): Likewise.
20876         * posix/glob.c (glob): Likewise.
20877         * posix/regcomp.c (re_comp): Likewise.
20878         * posix/regexec.c (re_exec): Likewise.
20879         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20880         [!__STDC__]: Remove conditional code.
20881         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20882         [!__STDC__]: Remove conditional code.
20883         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20884         [!__STDC__]: Remove conditional code.
20885         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20886         [!__STDC__]: Remove conditional code.
20887         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20888         [!__STDC__]: Remove conditional code.
20889         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20890         [!__STDC__]: Remove conditional code.
20891         * stdlib/mul.c [__STDC__]: Make code unconditional.
20892         [!__STDC__]: Remove conditional code.
20893         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20894         [!__STDC__]: Remove conditional code.
20895         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20896         [!__STDC__]: Remove conditional code.
20897         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20898         function definition.
20899         (STRTOF): Likewise.
20900         * stdlib/strtod_l.c (__STRTOF): Likewise.
20901         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20902         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20903         (__strtol_l): Likewise.
20904         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20905         [!__STDC__]: Remove conditional code.
20906         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20907         definition.
20908         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20909         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20910         type.
20911         (__strcasecmp): Convert to prototype-style function definition.
20912         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20913         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20914         type.
20915         (__strncasecmp): Convert to prototype-style function definition.
20916         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20917         * sunrpc/xdr.c (xdr_union): Likewise.
20918         * sunrpc/xdr_array.c (xdr_array): Likewise.
20919         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20920         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20921         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20922         Likewise.
20923         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20924         Likewise.
20925         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20926         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20927         Likewise.
20928         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20929         (LOCALE_PARAM_PROTO): Likewise.
20930         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20931         argument type.
20932         (ut_argument_spec): Remove macro.
20933         (ut_argument_spec_iso): Rename to ut_argument_spec.
20934         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20935         prototype-style function definition.
20936         (memcpy_uppcase): Likewise.
20937         (__strftime_internal): Likewise.
20938         (my_strftime): Likewise.
20939         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20940         (LOCALE_PARAM_DECL): Likewise.
20941         [_LIBC] (LOCALE_PARAM): Include argument type.
20942         (__strptime_internal): Convert to prototype-style function
20943         definition.
20944         (strptime): Likewise.
20945         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20946         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20947         type.
20948         (__wcscasecmp): Convert to prototype-style function definition.
20949         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20950         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20951         type.
20952         (__wcsncasecmp): Convert to prototype-style function definition.
20954         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20955         function definition.
20956         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20957         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20958         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20959         * elf/dl-minimal.c (_itoa): Likewise.
20960         * hurd/hurdmalloc.c (malloc): Likewise.
20961         (free): Likewise.
20962         (realloc): Likewise.
20963         * inet/inet6_option.c (inet6_option_space): Likewise.
20964         (inet6_option_init): Likewise.
20965         (inet6_option_append): Likewise.
20966         (inet6_option_alloc): Likewise.
20967         (inet6_option_next): Likewise.
20968         (inet6_option_find): Likewise.
20969         * io/ftw.c (FTW_NAME): Likewise.
20970         (NFTW_NAME): Likewise.
20971         (NFTW_NEW_NAME): Likewise.
20972         (NFTW_OLD_NAME): Likewise.
20973         * libio/iofwide.c (_IO_fwide): Likewise.
20974         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20975         (_IO_str_init_static): Likewise.
20976         (_IO_str_init_readonly): Likewise.
20977         (_IO_str_overflow): Likewise.
20978         (_IO_str_underflow): Likewise.
20979         (_IO_str_count): Likewise.
20980         (_IO_str_seekoff): Likewise.
20981         (_IO_str_pbackfail): Likewise.
20982         (_IO_str_finish): Likewise.
20983         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20984         (_IO_wstr_overflow): Likewise.
20985         (_IO_wstr_underflow): Likewise.
20986         (_IO_wstr_count): Likewise.
20987         (_IO_wstr_seekoff): Likewise.
20988         (_IO_wstr_pbackfail): Likewise.
20989         (_IO_wstr_finish): Likewise.
20990         * locale/programs/localedef.c (normalize_codeset): Likewise.
20991         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20992         (add_locales_to_archive): Likewise.
20993         (delete_locales_from_archive): Likewise.
20994         * malloc/malloc.c (__libc_mallinfo): Likewise.
20995         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20996         * misc/tsearch.c (__tfind): Likewise.
20997         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20998         * nptl/pthread_attr_getdetachstate.c
20999         (__pthread_attr_getdetachstate): Likewise.
21000         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21001         Likewise.
21002         * nptl/pthread_attr_getinheritsched.c
21003         (__pthread_attr_getinheritsched): Likewise.
21004         * nptl/pthread_attr_getschedparam.c
21005         (__pthread_attr_getschedparam): Likewise.
21006         * nptl/pthread_attr_getschedpolicy.c
21007         (__pthread_attr_getschedpolicy): Likewise.
21008         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21009         Likewise.
21010         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21011         Likewise.
21012         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21013         Likewise.
21014         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21015         Likewise.
21016         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21017         (__pthread_attr_init_2_0): Likewise.
21018         * nptl/pthread_attr_setdetachstate.c
21019         (__pthread_attr_setdetachstate): Likewise.
21020         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21021         Likewise.
21022         * nptl/pthread_attr_setinheritsched.c
21023         (__pthread_attr_setinheritsched): Likewise.
21024         * nptl/pthread_attr_setschedparam.c
21025         (__pthread_attr_setschedparam): Likewise.
21026         * nptl/pthread_attr_setschedpolicy.c
21027         (__pthread_attr_setschedpolicy): Likewise.
21028         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21029         Likewise.
21030         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21031         Likewise.
21032         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21033         Likewise.
21034         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21035         Likewise.
21036         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21037         Likewise.
21038         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21039         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21040         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21041         use internal_function.
21042         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21043         prototype-style function definition.
21044         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21045         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21046         internal_function.
21047         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21048         Convert to prototype-style function definition.
21049         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21050         Likewise.
21051         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21052         Likewise.
21053         (__pthread_mutex_unlock): Likewise.
21054         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21055         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21056         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21057         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21058         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21059         * nss/makedb.c (process_input): Likewise.
21060         * posix/fnmatch.c (__strchrnul): Likewise.
21061         (__wcschrnul): Likewise.
21062         (fnmatch): Likewise.
21063         * posix/fnmatch_loop.c (FCT): Likewise.
21064         * posix/glob.c (globfree): Likewise.
21065         (__glob_pattern_type): Likewise.
21066         (__glob_pattern_p): Likewise.
21067         * posix/regcomp.c (re_compile_pattern): Likewise.
21068         (re_set_syntax): Likewise.
21069         (re_compile_fastmap): Likewise.
21070         (regcomp): Likewise.
21071         (regerror): Likewise.
21072         (regfree): Likewise.
21073         * posix/regexec.c (regexec): Likewise.
21074         (re_match): Likewise.
21075         (re_search): Likewise.
21076         (re_match_2): Likewise.
21077         (re_search_2): Likewise.
21078         (re_search_stub): Likewise.  Use internal_function
21079         (re_copy_regs): Likewise.
21080         (re_set_registers): Convert to prototype-style function
21081         definition.
21082         (prune_impossible_nodes): Likewise.  Use internal_function.
21083         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21084         prototype-style function definition.
21085         (inet_net_pton_ipv4): Likewise.
21086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21087         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21088         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21089         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21090         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21091         Make variadic.
21092         * time/strptime_l.c (localtime_r): Convert to prototype-style
21093         function definition.
21094         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21095         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21096         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21097         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21099         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21100         definition.
21101         (_ufc_doit_r): Likewise.
21102         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21103         (_ufc_output_conversion_r): Likewise.
21104         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21105         * inet/rcmd.c (rcmd_af): Likewise.
21106         (rcmd): Likewise.
21107         (ruserok_af): Likewise.
21108         (ruserok): Likewise.
21109         (ruserok2_sa): Likewise.
21110         (ruserok_sa): Likewise.
21111         (iruserok_af): Likewise.
21112         (iruserok): Likewise.
21113         (__ivaliduser): Likewise.
21114         (__validuser2_sa): Likewise.
21115         * inet/rexec.c (rexec_af): Likewise.
21116         (rexec): Likewise.
21117         * inet/ruserpass.c (ruserpass): Likewise.
21118         * locale/programs/xmalloc.c (xcalloc): Likewise.
21119         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21120         * math/w_drem.c (__drem): Likewise.
21121         * math/w_dremf.c (__dremf): Likewise.
21122         * math/w_dreml.c (__dreml): Likewise.
21123         * misc/daemon.c (daemon): Likewise.
21124         * resolv/res_debug.c (p_fqnname): Likewise.
21125         * stdlib/div.c (div): Likewise.
21126         * string/memcmp.c (memcmp_bytes): Likewise.
21127         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21128         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21130         * crypt/cert.c (main): Convert to prototype-style function
21131         definition.
21132         * io/pipe.c (__pipe): Likewise.
21133         * io/pipe2.c (__pipe2): Likewise.
21134         * misc/futimesat.c (futimesat): Likewise.
21135         * misc/utimes.c (__utimes): Likewise.
21136         * posix/execve.c (__execve): Likewise.
21137         * posix/execvp.c (execvp): Likewise.
21138         * posix/execvpe.c (__execvpe): Likewise.
21139         * posix/fexecve.c (fexecve): Likewise.
21140         * socket/socketpair.c (socketpair): Likewise.
21141         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21142         * stdlib/erand48.c (erand48): Likewise.
21143         * stdlib/erand48_r.c (__erand48_r): Likewise.
21144         * stdlib/jrand48.c (jrand48): Likewise.
21145         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21146         * stdlib/lcong48.c (lcong48): Likewise.
21147         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21148         * stdlib/nrand48.c (nrand48): Likewise.
21149         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21150         * stdlib/seed48.c (seed48): Likewise.
21151         * stdlib/seed48_r.c (__seed48_r): Likewise.
21152         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21153         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21154         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21156 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21158         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21159         * configure: Regenerated.
21160         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21161         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21162         unconditional.
21163         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21164         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21165         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21166         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21167         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21168         unconditional.
21169         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21171         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21172         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21174         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21175         function definition.
21176         * crypt/crypt_util.c (__encrypt_r): Likewise.
21177         * libio/genops.c (_IO_no_init): Likewise.
21178         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21179         (_IO_old_fopencookie): Likewise.
21180         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21181         * libio/iogetline.c (_IO_getline): Likewise.
21182         (_IO_getline_info): Likewise.
21183         * libio/iogetwline.c (_IO_getwline): Likewise.
21184         (_IO_getwline_info): Likewise.
21185         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21186         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21187         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21188         (find_entry): Likewise.
21189         (iterate_table): Likewise.
21190         (lookup): Likewise.
21191         * login/forkpty.c (forkpty): Likewise.
21192         * misc/hsearch_r.c (__hsearch_r): Likewise.
21193         * misc/select.c (__select): Likewise.
21194         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21195         Likewise.
21196         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21197         Likewise.
21198         * nptl/old_pthread_cond_timedwait.c
21199         (__pthread_cond_timedwait_2_0): Likewise.
21200         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21201         * nptl/pthread_barrierattr_getpshared.c
21202         (pthread_barrierattr_getpshared): Likewise.
21203         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21204         Likewise.
21205         * nptl/pthread_mutex_setprioceiling.c
21206         (pthread_mutex_setprioceiling): Likewise.
21207         * nptl/pthread_mutexattr_getprioceiling.c
21208         (pthread_mutexattr_getprioceiling): Likewise.
21209         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21210         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21211         Likewise.
21212         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21213         Likewise.
21214         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21215         Likewise.
21216         * socket/recvfrom.c (__recvfrom): Likewise.
21217         * socket/sendto.c (__sendto): Likewise.
21218         * socket/setsockopt.c (__setsockopt): Likewise.
21219         * stdio-common/_itoa.c (_itoa): Likewise.
21220         * stdio-common/_itowa.c (_itowa): Likewise.
21221         * stdio-common/reg-printf.c (__register_printf_specifier):
21222         Likewise.
21223         (__register_printf_function): Likewise.
21224         * stdio-common/tempname.c (__path_search): Likewise.
21225         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21226         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21227         * stdlib/random_r.c (__initstate_r): Likewise.
21228         * stdlib/setenv.c (__add_to_environ): Likewise.
21229         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21230         * streams/getpmsg.c (getpmsg): Likewise.
21231         * streams/putmsg.c (putmsg): Likewise.
21232         * streams/putpmsg.c (putpmsg): Likewise.
21233         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21234         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21235         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21236         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21237         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21238         * sunrpc/svc_udp.c (cache_get): Likewise.
21239         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21240         * sysdeps/mach/hurd/getcwd.c
21241         (__canonicalize_directory_name_internal): Likewise.
21242         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21243         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21244         * sysdeps/mach/hurd/select.c (__select): Likewise.
21245         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21246         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21247         * sysdeps/sparc/nptl/pthread_barrier_init.c
21248         (__pthread_barrier_init): Likewise.
21249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21250         (__pthread_cond_timedwait): Likewise.
21251         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21252         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21253         Likewise.
21254         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21255         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21256         Likewise.
21257         * sysvipc/semtimedop.c (semtimedop): Likewise.
21258         * time/setitimer.c (__setitimer): Likewise.
21259         * time/strftime_l.c (emacs_strftime): Likewise.
21261 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21263         * config.make.in (have-ssp): Delete.
21264         (stack-protector): New variable.
21265         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21266         cache test for -fstack-protector-strong.  Export stack_protector to
21267         the best ssp flag.
21268         * configure: Regenerated.
21269         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21270         * nscd/Makefile (CFLAGS-nscd): Likewise.
21271         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21273 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21275         [BZ #19122]
21276         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21277         attribute_hidden.
21279 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21281         [BZ #18743]
21282         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21283         code to...
21284         (ELIDE_LOCK): ...here.
21285         (__get_new_count): New function with part of the code from
21286         __elide_lock that updates the value of adapt_count after a
21287         transaction abort.
21288         (__elided_trylock): Moved this code to...
21289         (ELIDE_TRYLOCK): ...here.
21291 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21293         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21294         * configure: Regenerate.
21295         * INSTALL: Regenerate.
21296         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21297         and tweak grammar.
21299 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21301         * login/programs/pt_chown.c: Include signal.h
21302         (main): Clear any signal mask from the parent process.
21304 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21306         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21307         * configure: Regenerated.
21308         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21309         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21310         $(gnu89-inline-CFLAGS).
21312         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21313         test.
21314         (libc_cv_asm_weakext_directive): Likewise.
21315         * configure: Regenerated.
21316         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21317         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21318         * include/libc-symbols.h
21319         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21320         #error.
21321         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21322         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21324         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21325         prototype-style function definition.
21326         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21327         * sysdeps/i386/ffs.c (__ffs): Likewise.
21328         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21329         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21330         Likewise.
21331         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21332         Likewise.
21333         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21334         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21335         Likewise.
21336         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21337         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21338         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21339         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21340         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21341         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21342         * sysdeps/mach/hurd/access.c (__access): Likewise.
21343         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21344         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21345         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21346         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21347         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21348         (cthread_getspecific): Likewise.
21349         (cthread_setspecific): Likewise.
21350         (__libc_getspecific): Likewise.
21351         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21352         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21353         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21354         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21355         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21356         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21357         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21358         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21359         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21360         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21361         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21362         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21363         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21364         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21365         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21366         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21367         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21368         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21369         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21370         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21371         * sysdeps/mach/hurd/link.c (__link): Likewise.
21372         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21373         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21374         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21375         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21376         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21377         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21378         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21379         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21380         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21381         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21382         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21383         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21384         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21385         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21386         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21387         * sysdeps/mach/hurd/send.c (__send): Likewise.
21388         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21389         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21390         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21391         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21392         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21393         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21394         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21395         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21396         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21397         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21398         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21399         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21400         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21401         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21402         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21403         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21404         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21405         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21406         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21407         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21408         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21409         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21410         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21411         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21412         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21413         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21414         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21415         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21416         * sysdeps/posix/alarm.c (alarm): Likewise.
21417         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21418         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21419         * sysdeps/posix/dup.c (__dup): Likewise.
21420         * sysdeps/posix/dup2.c (__dup2): Likewise.
21421         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21422         (main): Likewise.
21423         * sysdeps/posix/flock.c (__flock): Likewise.
21424         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21425         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21426         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21427         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21428         * sysdeps/posix/isatty.c (__isatty): Likewise.
21429         * sysdeps/posix/killpg.c (killpg): Likewise.
21430         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21431         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21432         * sysdeps/posix/raise.c (raise): Likewise.
21433         * sysdeps/posix/remove.c (remove): Likewise.
21434         * sysdeps/posix/rename.c (rename): Likewise.
21435         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21436         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21437         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21438         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21439         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21440         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21441         * sysdeps/posix/sigset.c (sigset): Likewise.
21442         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21443         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21444         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21445         * sysdeps/posix/time.c (time): Likewise.
21446         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21447         (ttyname): Likewise.
21448         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21449         * sysdeps/posix/utime.c (utime): Likewise.
21450         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21451         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21452         Likewise.
21453         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21454         (pthread_spin_trylock): Likewise.
21455         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21456         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21457         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21458         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21459         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21460         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21461         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21462         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21463         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21464         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21465         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21466         * sysdeps/s390/ffs.c (__ffs): Likewise.
21467         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21468         Likewise.
21469         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21470         Likewise.
21471         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21472         Likewise.
21473         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21474         (pthread_barrier_destroy): Likewise.
21475         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21476         (__pthread_barrier_wait): Likewise.
21477         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21478         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21479         (__pthread_barrier_wait): Likewise.
21480         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21481         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21482         (memcmp_not_common_alignment): Likewise.
21483         (MEMCMP): Likewise.
21484         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21485         (_wordcopy_fwd_dest_aligned): Likewise.
21486         (_wordcopy_bwd_aligned): Likewise.
21487         (_wordcopy_bwd_dest_aligned): Likewise.
21488         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21489         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21490         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21491         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21492         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21493         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21494         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21495         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21496         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21497         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21498         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21499         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21500         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21501         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21502         * sysdeps/unix/stime.c (stime): Likewise.
21503         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21504         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21505         Likewise.  Use internal_function.
21506         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21507         Convert to prototype-style function definition.
21508         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21509         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21510         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21511         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21512         Likewise.  Use internal_function.
21513         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21514         prototype-style function definition
21515         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21516         Likewise.
21517         (__getlogin_r): Likewise.
21518         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21519         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21520         (__pthread_cond_broadcast): Likewise.
21521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21522         (__pthread_cond_destroy): Likewise.
21523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21524         (__pthread_cond_init): Likewise.
21525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21526         (__pthread_cond_signal): Likewise.
21527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21528         (__pthread_cond_wait): Likewise.
21529         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21530         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21531         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21532         Likewise.
21533         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21534         Likewise.
21535         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21536         Likewise.
21537         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21538         Likewise.
21539         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21541         (__ftruncate64): Likewise.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21543         (truncate64): Likewise.
21544         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21545         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21546         (pthread_getcpuclockid): Likewise.
21547         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21548         Likewise.
21549         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21550         Likewise.
21551         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21552         Likewise.
21553         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21554         Likewise.
21555         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21556         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21557         (__libc_sigaction): Likewise.
21558         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21559         Likewise.
21560         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21561         (__sigprocmask): Likewise.
21562         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21563         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21564         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21565         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21566         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21567         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21568         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21571         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21572         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21573         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21574         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21577         (__sigprocmask): Likewise.
21578         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21579         (cfgetispeed): Likewise.
21580         (cfsetospeed): Likewise.
21581         (cfsetispeed): Likewise.
21582         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21583         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21584         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21585         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21586         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21587         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21588         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21589         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21590         Likewise.
21591         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21592         Likewise.
21593         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21594         Likewise.
21595         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21596         Likewise.
21597         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21599 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21601         sunrpc: Rewrite with explicit TLS access using __thread.
21602         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21603         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21604         directly.
21605         (__rpc_thread_variables): Access thread_rpc_vars directly.
21606         Eliminate redundant assignment of the tvp variable.
21608 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21610         malloc: Rewrite with explicit TLS access using __thread.
21611         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21612         (tsd_setspecific, tsd_getspecific): Remove.
21613         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21614         (tsd_setspecific, tsd_getspecific): Likewise.
21615         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21616         (tsd_setspecific, tsd_getspecific): Likewise.
21617         * malloc/arena.c (thread_arena): New TLS variable.
21618         (arena_key): Remove variable.
21619         (arena_get): Use thread_arena.
21620         (arena_lookup): Remove macro.
21621         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21622         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21623         (_int_new_arena, get_free_list, reused_arena)
21624         (arena_thread_freeres): Use thread_arena.
21625         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21626         tsd_getspecific, tsd_setspecific from safety annotations.
21627         (Allocating Cleared Space): Remove arena_lookup from safety
21628         annotations.
21630 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21632         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21633         struct scratch_buffer instead of extend_alloca.
21635 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21637         * sysdeps/unix/sysv/linux/kernel-features.h
21638         (__ASSUME_SOCK_CLOEXEC): Remove.
21639         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21640         (__have_paccept): Remove unused macro.
21641         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21642         * misc/syslog.c (openlog_internal): Remove fallback code for
21643         !__ASSUME_SOCK_CLOEXEC.
21644         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21645         missing SOCK_CLOEXEC.
21646         * nscd/connections.c (have_sock_cloexec): Remove definition.
21647         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21648         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21649         !__ASSUME_SOCK_CLOEXEC.
21650         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21651         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21652         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21653         definition.
21654         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21655         code for !__ASSUME_SOCK_CLOEXEC.
21657 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21659         [BZ #18982]
21660         * manual/stdio.texi (Variable Arguments Output): Add portability
21661         note, explaining that vfprintf clobbers the va_list pointer.
21663 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21665         * math/libm-test.inc (fabs_test_data): Add more tests.
21666         (fdim_test_data): Likewise.
21667         (fma_test_data): Likewise.
21668         (fmax_test_data): Likewise.
21669         (fmin_test_data): Likewise.
21670         (fmod_test_data): Likewise.
21672 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21674         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21675         data.
21677 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21679         * math/libm-test.inc (ceil_test_data): Add more tests and more
21680         expectations for "inexact".
21681         (floor_test_data): Add more tests.
21682         (round_test_data): Likewise.
21683         (trunc_test_data): Likewise.
21685         * crypt/cert.c (good_bye): Convert to prototype-style function
21686         definition.
21687         (get8): Likewise.
21688         (put8): Likewise.
21689         * crypt/crypt-entry.c (crypt): Likewise.
21690         (__fcrypt): Likewise.
21691         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21692         (_ufc_set_bits): Likewise.
21693         (_ufc_clearmem): Likewise.
21694         (__init_des_r): Likewise.
21695         (shuffle_sb): Likewise.
21696         (shuffle_sb): Likewise.
21697         (_ufc_setup_salt_r): Likewise.
21698         (_ufc_mk_keytab_r): Likewise.
21699         (_ufc_dofinalperm_r): Likewise.
21700         (encrypt): Likewise.
21701         (__setkey_r): Likewise.
21702         (setkey): Likewise.
21703         * crypt/md5.c (md5_init_ctx): Likewise.
21704         (md5_read_ctx): Likewise.
21705         (md5_finish_ctx): Likewise.
21706         (md5_stream): Likewise.
21707         (md5_buffer): Likewise.
21708         (md5_process_bytes): Likewise.
21709         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21710         (__sha256_finish_ctx): Likewise.
21711         (__sha256_process_bytes): Likewise.
21712         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21713         (__sha512_finish_ctx): Likewise.
21714         (__sha512_process_bytes): Likewise.
21715         * ctype/isctype.c (__isctype): Likewise.
21716         * debug/backtrace.c (__backtrace): Likewise.
21717         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21718         * debug/fgets_chk.c (__fgets_chk): Likewise.
21719         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21720         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21721         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21722         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21723         * debug/memset_chk.c (__memset_chk): Likewise.
21724         * debug/strcat_chk.c (__strcat_chk): Likewise.
21725         * debug/strncat_chk.c (__strncat_chk): Likewise.
21726         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21727         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21728         * dirent/dirfd.c (dirfd): Likewise.
21729         * dirent/getdents.c (__getdirentries): Likewise.
21730         * dirent/getdents64.c (getdirentries64): Likewise.
21731         * dirent/rewinddir.c (__rewinddir): Likewise.
21732         * dirent/seekdir.c (seekdir): Likewise.
21733         * dirent/telldir.c (telldir): Likewise.
21734         * elf/sln.c (makesymlinks): Likewise.
21735         (makesymlink): Likewise.
21736         * gmon/gmon.c (__moncontrol): Likewise.
21737         (__monstartup): Likewise.
21738         (write_hist): Likewise.
21739         (write_call_graph): Likewise.
21740         (write_bb_counts): Likewise.
21741         * grp/setgroups.c (setgroups): Likewise.
21742         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21743         * inet/inet_net.c (inet_network): Likewise.
21744         * inet/inet_netof.c (inet_netof): Likewise.
21745         * inet/rcmd.c (rresvport_af): Likewise.
21746         (rresvport): Likewise.
21747         * io/access.c (__access): Likewise.
21748         * io/chdir.c (__chdir): Likewise.
21749         * io/chmod.c (__chmod): Likewise.
21750         * io/chown.c (__chown): Likewise.
21751         * io/close.c (__close): Likewise.
21752         * io/creat.c (creat): Likewise.
21753         * io/creat64.c (creat64): Likewise.
21754         * io/dup.c (__dup): Likewise.
21755         * io/dup2.c (__dup2): Likewise.
21756         * io/dup3.c (__dup3): Likewise.
21757         * io/euidaccess.c (__euidaccess): Likewise.
21758         * io/faccessat.c (faccessat): Likewise.
21759         * io/fchmod.c (__fchmod): Likewise.
21760         * io/fchmodat.c (fchmodat): Likewise.
21761         * io/fchown.c (__fchown): Likewise.
21762         * io/fchownat.c (fchownat): Likewise.
21763         * io/fcntl.c (__fcntl): Likewise.
21764         * io/flock.c (__flock): Likewise.
21765         * io/fts.c (fts_load): Likewise.
21766         (fts_close): Likewise.
21767         (fts_read): Likewise.
21768         (fts_set): Likewise.
21769         (fts_children): Likewise.
21770         (fts_build): Likewise.
21771         (fts_stat): Likewise.
21772         (fts_sort): Likewise.
21773         (fts_alloc): Likewise.
21774         (fts_lfree): Likewise.
21775         (fts_palloc): Likewise.
21776         (fts_padjust): Likewise.
21777         (fts_maxarglen): Likewise.
21778         (fts_safe_changedir): Likewise.
21779         * io/getwd.c (getwd): Likewise.
21780         * io/isatty.c (__isatty): Likewise.
21781         * io/lchown.c (__lchown): Likewise.
21782         * io/link.c (__link): Likewise.
21783         * io/linkat.c (linkat): Likewise.
21784         * io/lseek.c (__libc_lseek): Likewise.
21785         * io/mkdir.c (__mkdir): Likewise.
21786         * io/mkdirat.c (mkdirat): Likewise.
21787         * io/mkfifo.c (mkfifo): Likewise.
21788         * io/mkfifoat.c (mkfifoat): Likewise.
21789         * io/open.c (__libc_open): Likewise.
21790         * io/open64.c (__libc_open64): Likewise.
21791         * io/readlink.c (__readlink): Likewise.
21792         * io/readlinkat.c (readlinkat): Likewise.
21793         * io/rmdir.c (__rmdir): Likewise.
21794         * io/symlink.c (__symlink): Likewise.
21795         * io/symlinkat.c (symlinkat): Likewise.
21796         * io/ttyname.c (ttyname): Likewise.
21797         * io/ttyname_r.c (__ttyname_r): Likewise.
21798         * io/umask.c (__umask): Likewise.
21799         * io/unlink.c (__unlink): Likewise.
21800         * io/unlinkat.c (unlinkat): Likewise.
21801         * io/utime.c (utime): Likewise.
21802         * libio/clearerr.c (clearerr): Likewise.
21803         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21804         * libio/feof.c (_IO_feof): Likewise.
21805         * libio/feof_u.c (feof_unlocked): Likewise.
21806         * libio/ferror.c (_IO_ferror): Likewise.
21807         * libio/ferror_u.c (ferror_unlocked): Likewise.
21808         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21809         * libio/fileno.c (__fileno): Likewise.
21810         * libio/fputc.c (fputc): Likewise.
21811         * libio/fputc_u.c (fputc_unlocked): Likewise.
21812         * libio/fputwc.c (fputwc): Likewise.
21813         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21814         * libio/freopen.c (freopen): Likewise.
21815         * libio/freopen64.c (freopen64): Likewise.
21816         * libio/fseek.c (fseek): Likewise.
21817         * libio/fseeko.c (fseeko): Likewise.
21818         * libio/fseeko64.c (fseeko64): Likewise.
21819         * libio/ftello.c (__ftello): Likewise.
21820         * libio/ftello64.c (ftello64): Likewise.
21821         * libio/fwide.c (fwide): Likewise.
21822         * libio/genops.c (_IO_un_link): Likewise.
21823         (_IO_link_in): Likewise.
21824         (_IO_least_marker): Likewise.
21825         (_IO_switch_to_main_get_area): Likewise.
21826         (_IO_switch_to_backup_area): Likewise.
21827         (_IO_switch_to_get_mode): Likewise.
21828         (_IO_free_backup_area): Likewise.
21829         (_IO_switch_to_put_mode): Likewise.
21830         (__overflow): Likewise.
21831         (__underflow): Likewise.
21832         (__uflow): Likewise.
21833         (_IO_setb): Likewise.
21834         (_IO_doallocbuf): Likewise.
21835         (_IO_default_underflow): Likewise.
21836         (_IO_default_uflow): Likewise.
21837         (_IO_default_xsputn): Likewise.
21838         (_IO_sgetn): Likewise.
21839         (_IO_default_xsgetn): Likewise.
21840         (_IO_sync): Likewise.
21841         (_IO_default_setbuf): Likewise.
21842         (_IO_default_seekpos): Likewise.
21843         (_IO_default_doallocate): Likewise.
21844         (_IO_init): Likewise.
21845         (_IO_old_init): Likewise.
21846         (_IO_default_sync): Likewise.
21847         (_IO_default_finish): Likewise.
21848         (_IO_default_seekoff): Likewise.
21849         (_IO_sputbackc): Likewise.
21850         (_IO_sungetc): Likewise.
21851         (_IO_set_column): Likewise.
21852         (_IO_set_column): Likewise.
21853         (_IO_adjust_column): Likewise.
21854         (_IO_get_column): Likewise.
21855         (_IO_init_marker): Likewise.
21856         (_IO_remove_marker): Likewise.
21857         (_IO_marker_difference): Likewise.
21858         (_IO_marker_delta): Likewise.
21859         (_IO_seekmark): Likewise.
21860         (_IO_unsave_markers): Likewise.
21861         (_IO_nobackup_pbackfail): Likewise.
21862         (_IO_default_pbackfail): Likewise.
21863         (_IO_default_seek): Likewise.
21864         (_IO_default_stat): Likewise.
21865         (_IO_default_read): Likewise.
21866         (_IO_default_write): Likewise.
21867         (_IO_default_showmanyc): Likewise.
21868         (_IO_default_imbue): Likewise.
21869         (_IO_iter_next): Likewise.
21870         (_IO_iter_file): Likewise.
21871         * libio/getc.c (_IO_getc): Likewise.
21872         * libio/getwc.c (_IO_getwc): Likewise.
21873         * libio/iofclose.c (_IO_new_fclose): Likewise.
21874         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21875         * libio/iofflush.c (_IO_fflush): Likewise.
21876         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21877         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21878         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21879         * libio/iofgets.c (_IO_fgets): Likewise.
21880         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21881         * libio/iofgetws.c (fgetws): Likewise.
21882         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21883         * libio/iofopen64.c (_IO_fopen64): Likewise.
21884         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21885         (_IO_cookie_write): Likewise.
21886         (_IO_cookie_seek): Likewise.
21887         (_IO_cookie_close): Likewise.
21888         (_IO_cookie_seekoff): Likewise.
21889         (_IO_old_cookie_seek): Likewise.
21890         * libio/iofputs.c (_IO_fputs): Likewise.
21891         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21892         * libio/iofputws.c (fputws): Likewise.
21893         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21894         * libio/iofread.c (_IO_fread): Likewise.
21895         * libio/iofread_u.c (__fread_unlocked): Likewise.
21896         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21897         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21898         * libio/ioftell.c (_IO_ftell): Likewise.
21899         * libio/iofwrite.c (_IO_fwrite): Likewise.
21900         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21901         * libio/iogets.c (_IO_gets): Likewise.
21902         * libio/iopadn.c (_IO_padn): Likewise.
21903         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21904         (_IO_new_popen): Likewise.
21905         (_IO_new_proc_close): Likewise.
21906         * libio/ioputs.c (_IO_puts): Likewise.
21907         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21908         (_IO_seekoff): Likewise.
21909         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21910         (_IO_seekpos): Likewise.
21911         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21912         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21913         * libio/ioungetc.c (_IO_ungetc): Likewise.
21914         * libio/ioungetwc.c (ungetwc): Likewise.
21915         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21916         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21917         * libio/iowpadn.c (_IO_wpadn): Likewise.
21918         * libio/libc_fatal.c (__libc_fatal): Likewise.
21919         * libio/memstream.c (__open_memstream): Likewise.
21920         (_IO_mem_sync): Likewise.
21921         (_IO_mem_finish): Likewise.
21922         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21923         (_IO_old_file_close_it): Likewise.
21924         (_IO_old_file_finish): Likewise.
21925         (_IO_old_file_fopen): Likewise.
21926         (_IO_old_file_attach): Likewise.
21927         (_IO_old_file_setbuf): Likewise.
21928         (_IO_old_do_write): Likewise.
21929         (old_do_write): Likewise.
21930         (_IO_old_file_underflow): Likewise.
21931         (_IO_old_file_overflow): Likewise.
21932         (_IO_old_file_sync): Likewise.
21933         (_IO_old_file_seekoff): Likewise.
21934         (_IO_old_file_write): Likewise.
21935         (_IO_old_file_xsputn): Likewise.
21936         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21937         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21938         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21939         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21940         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21941         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21942         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21943         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21944         (_IO_old_popen): Likewise.
21945         (_IO_old_proc_close): Likewise.
21946         * libio/oldpclose.c (__old_pclose): Likewise.
21947         * libio/pclose.c (__new_pclose): Likewise.
21948         * libio/peekc.c (_IO_peekc_locked): Likewise.
21949         * libio/putc.c (_IO_putc): Likewise.
21950         * libio/putc_u.c (putc_unlocked): Likewise.
21951         * libio/putchar.c (putchar): Likewise.
21952         * libio/putchar_u.c (putchar_unlocked): Likewise.
21953         * libio/putwc.c (putwc): Likewise.
21954         * libio/putwc_u.c (putwc_unlocked): Likewise.
21955         * libio/putwchar.c (putwchar): Likewise.
21956         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21957         * libio/rewind.c (rewind): Likewise.
21958         * libio/setbuf.c (setbuf): Likewise.
21959         * libio/setlinebuf.c (setlinebuf): Likewise.
21960         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21961         * libio/vscanf.c (_IO_vscanf): Likewise.
21962         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21963         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21964         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21965         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21966         (_IO_switch_to_main_wget_area): Likewise.
21967         (_IO_switch_to_wbackup_area): Likewise.
21968         (_IO_wsetb): Likewise.
21969         (_IO_wdefault_pbackfail): Likewise.
21970         (_IO_wdefault_finish): Likewise.
21971         (_IO_wdefault_uflow): Likewise.
21972         (__woverflow): Likewise.
21973         (__wuflow): Likewise.
21974         (__wunderflow): Likewise.
21975         (_IO_wdefault_xsputn): Likewise.
21976         (_IO_wdefault_xsgetn): Likewise.
21977         (_IO_wdoallocbuf): Likewise.
21978         (_IO_wdefault_doallocate): Likewise.
21979         (_IO_switch_to_wget_mode): Likewise.
21980         (_IO_free_wbackup_area): Likewise.
21981         (_IO_switch_to_wput_mode): Likewise.
21982         (_IO_sputbackwc): Likewise.
21983         (_IO_sungetwc): Likewise.
21984         (_IO_adjust_wcolumn): Likewise.
21985         (_IO_init_wmarker): Likewise.
21986         (_IO_wmarker_delta): Likewise.
21987         (_IO_seekwmark): Likewise.
21988         (_IO_unsave_wmarkers): Likewise.
21989         * libio/wmemstream.c (open_wmemstream): Likewise.
21990         (_IO_wmem_sync): Likewise.
21991         (_IO_wmem_finish): Likewise.
21992         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21993         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21994         * locale/programs/simple-hash.c (init_hash): Likewise.
21995         (delete_hash): Likewise.
21996         (insert_entry): Likewise.
21997         (set_entry): Likewise.
21998         (next_prime): Likewise.
21999         (is_prime): Likewise.
22000         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22001         (xmalloc): Likewise.
22002         (xrealloc): Likewise.
22003         * locale/programs/xstrdup.c (xstrdup): Likewise.
22004         * localedata/collate-test.c (xstrcoll): Likewise.
22005         * localedata/xfrm-test.c (xstrcmp): Likewise.
22006         * login/getlogin_r.c (__getlogin_r): Likewise.
22007         * login/getpt.c (__posix_openpt): Likewise.
22008         * login/login_tty.c (login_tty): Likewise.
22009         * login/setlogin.c (setlogin): Likewise.
22010         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22011         (mach_msg_destroy_port): Likewise.
22012         (mach_msg_destroy_memory): Likewise.
22013         * malloc/mcheck.c (flood): Likewise.
22014         * misc/acct.c (acct): Likewise.
22015         * misc/brk.c (__brk): Likewise.
22016         * misc/chflags.c (chflags): Likewise.
22017         * misc/chroot.c (chroot): Likewise.
22018         * misc/fchflags.c (fchflags): Likewise.
22019         * misc/fstab.c (getfsspec): Likewise.
22020         (getfsfile): Likewise.
22021         * misc/fsync.c (fsync): Likewise.
22022         * misc/ftruncate.c (__ftruncate): Likewise.
22023         * misc/ftruncate64.c (__ftruncate64): Likewise.
22024         * misc/getdomain.c (getdomainname): Likewise.
22025         (getdomainname): Likewise.
22026         * misc/gethostname.c (__gethostname): Likewise.
22027         * misc/getpass.c (getpass): Likewise.
22028         * misc/getttyent.c (skip): Likewise.
22029         (value): Likewise.
22030         * misc/gtty.c (gtty): Likewise.
22031         * misc/hsearch.c (hsearch): Likewise.
22032         (hcreate): Likewise.
22033         * misc/hsearch_r.c (__hcreate_r): Likewise.
22034         (__hdestroy_r): Likewise.
22035         * misc/ioctl.c (__ioctl): Likewise.
22036         * misc/mkdtemp.c (mkdtemp): Likewise.
22037         * misc/mkostemp.c (mkostemp): Likewise.
22038         * misc/mkostemp64.c (mkostemp64): Likewise.
22039         * misc/mkostemps.c (mkostemps): Likewise.
22040         * misc/mkostemps64.c (mkostemps64): Likewise.
22041         * misc/mkstemp.c (mkstemp): Likewise.
22042         * misc/mkstemp64.c (mkstemp64): Likewise.
22043         * misc/mkstemps.c (mkstemps): Likewise.
22044         * misc/mkstemps64.c (mkstemps64): Likewise.
22045         * misc/mktemp.c (__mktemp): Likewise.
22046         * misc/preadv.c (preadv): Likewise.
22047         * misc/preadv64.c (preadv64): Likewise.
22048         * misc/pwritev.c (pwritev): Likewise.
22049         * misc/pwritev64.c (pwritev64): Likewise.
22050         * misc/readv.c (__readv): Likewise.
22051         * misc/revoke.c (revoke): Likewise.
22052         * misc/setdomain.c (setdomainname): Likewise.
22053         * misc/setegid.c (setegid): Likewise.
22054         * misc/seteuid.c (seteuid): Likewise.
22055         * misc/sethostid.c (sethostid): Likewise.
22056         * misc/sethostname.c (sethostname): Likewise.
22057         * misc/setregid.c (__setregid): Likewise.
22058         * misc/setreuid.c (__setreuid): Likewise.
22059         * misc/sstk.c (sstk): Likewise.
22060         * misc/stty.c (stty): Likewise.
22061         * misc/syscall.c (syscall): Likewise.
22062         * misc/syslog.c (setlogmask): Likewise.
22063         * misc/truncate.c (__truncate): Likewise.
22064         * misc/truncate64.c (truncate64): Likewise.
22065         * misc/ualarm.c (ualarm): Likewise.
22066         * misc/usleep.c (usleep): Likewise.
22067         * misc/ustat.c (ustat): Likewise.
22068         * misc/writev.c (__writev): Likewise.
22069         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22070         * nptl/old_pthread_cond_broadcast.c
22071         (__pthread_cond_broadcast_2_0): Likewise.
22072         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22073         Likewise.
22074         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22075         Likewise.
22076         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22077         Likewise.
22078         * nptl/pt-raise.c (raise): Likewise.
22079         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22080         Likewise.
22081         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22082         * nptl/pthread_barrierattr_destroy.c
22083         (pthread_barrierattr_destroy): Likewise.
22084         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22085         Likewise.
22086         * nptl/pthread_barrierattr_setpshared.c
22087         (pthread_barrierattr_setpshared): Likewise.
22088         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22089         Likewise.
22090         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22091         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22092         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22093         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22094         Likewise.
22095         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22096         Likewise.
22097         * nptl/pthread_condattr_getpshared.c
22098         (pthread_condattr_getpshared): Likewise.
22099         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22100         Likewise.
22101         * nptl/pthread_condattr_setpshared.c
22102         (pthread_condattr_setpshared): Likewise.
22103         * nptl/pthread_detach.c (pthread_detach): Likewise.
22104         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22105         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22106         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22107         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22108         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22109         Likewise.
22110         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22111         Likewise.
22112         * nptl/pthread_mutex_getprioceiling.c
22113         (pthread_mutex_getprioceiling): Likewise.
22114         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22115         Likewise.
22116         * nptl/pthread_mutexattr_getprotocol.c
22117         (pthread_mutexattr_getprotocol): Likewise.
22118         * nptl/pthread_mutexattr_getpshared.c
22119         (pthread_mutexattr_getpshared): Likewise.
22120         * nptl/pthread_mutexattr_getrobust.c
22121         (pthread_mutexattr_getrobust): Likewise.
22122         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22123         Likewise.
22124         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22125         Likewise.
22126         * nptl/pthread_mutexattr_setprioceiling.c
22127         (pthread_mutexattr_setprioceiling): Likewise.
22128         * nptl/pthread_mutexattr_setprotocol.c
22129         (pthread_mutexattr_setprotocol): Likewise.
22130         * nptl/pthread_mutexattr_setpshared.c
22131         (pthread_mutexattr_setpshared): Likewise.
22132         * nptl/pthread_mutexattr_setrobust.c
22133         (pthread_mutexattr_setrobust): Likewise.
22134         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22135         Likewise.
22136         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22137         Likewise.
22138         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22139         Likewise.
22140         * nptl/pthread_rwlockattr_getkind_np.c
22141         (pthread_rwlockattr_getkind_np): Likewise.
22142         * nptl/pthread_rwlockattr_getpshared.c
22143         (pthread_rwlockattr_getpshared): Likewise.
22144         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22145         Likewise.
22146         * nptl/pthread_rwlockattr_setkind_np.c
22147         (pthread_rwlockattr_setkind_np): Likewise.
22148         * nptl/pthread_rwlockattr_setpshared.c
22149         (pthread_rwlockattr_setpshared): Likewise.
22150         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22151         Likewise.
22152         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22153         Likewise.
22154         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22155         Likewise.
22156         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22157         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22158         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22159         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22160         * nptl/sem_close.c (sem_close): Likewise.
22161         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22162         * nptl/sem_init.c (__old_sem_init): Likewise.
22163         * nptl/sigaction.c (__sigaction): Likewise.
22164         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22165         * posix/_exit.c (_exit): Likewise.
22166         * posix/alarm.c (alarm): Likewise.
22167         * posix/confstr.c (confstr): Likewise.
22168         * posix/fpathconf.c (__fpathconf): Likewise.
22169         * posix/getgroups.c (__getgroups): Likewise.
22170         * posix/getpgid.c (__getpgid): Likewise.
22171         * posix/group_member.c (__group_member): Likewise.
22172         * posix/pathconf.c (__pathconf): Likewise.
22173         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22174         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22175         * posix/setgid.c (__setgid): Likewise.
22176         * posix/setpgid.c (__setpgid): Likewise.
22177         * posix/setuid.c (__setuid): Likewise.
22178         * posix/sleep.c (__sleep): Likewise.
22179         * posix/sysconf.c (__sysconf): Likewise.
22180         * posix/times.c (__times): Likewise.
22181         * posix/uname.c (__uname): Likewise.
22182         * posix/waitid.c (__waitid): Likewise.
22183         * pwd/getpw.c (__getpw): Likewise.
22184         * resolv/base64.c (b64_pton): Likewise.
22185         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22186         * resolv/gethnamaddr.c (Dprintf): Likewise.
22187         (gethostbyname): Likewise.
22188         (gethostbyname2): Likewise.
22189         (gethostbyaddr): Likewise.
22190         (_sethtent): Likewise.
22191         (_gethtbyname): Likewise.
22192         (_gethtbyname2): Likewise.
22193         (_gethtbyaddr): Likewise.
22194         (map_v4v6_address): Likewise.
22195         (map_v4v6_hostent): Likewise.
22196         (addrsort): Likewise.
22197         (ht_sethostent): Likewise.
22198         (ht_gethostbyname): Likewise.
22199         (ht_gethostbyaddr): Likewise.
22200         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22201         (inet_net_ntop_ipv4): Likewise.
22202         * resolv/inet_neta.c (inet_neta): Likewise.
22203         * resolv/inet_ntop.c (inet_ntop): Likewise.
22204         (inet_ntop4): Likewise.
22205         (inet_ntop6): Likewise.
22206         * resolv/inet_pton.c (__inet_pton): Likewise.
22207         (inet_pton4): Likewise.
22208         (inet_pton6): Likewise.
22209         * resolv/res_debug.c (loc_aton): Likewise.
22210         (loc_ntoa): Likewise.
22211         * resource/getpriority.c (__getpriority): Likewise.
22212         * resource/getrusage.c (__getrusage): Likewise.
22213         * resource/nice.c (nice): Likewise.
22214         * resource/setpriority.c (__setpriority): Likewise.
22215         * resource/setrlimit64.c (setrlimit64): Likewise.
22216         * resource/vlimit.c (vlimit): Likewise.
22217         * resource/vtimes.c (vtimes): Likewise.
22218         * rt/aio_error.c (aio_error): Likewise.
22219         * rt/aio_return.c (aio_return): Likewise.
22220         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22221         * signal/kill.c (__kill): Likewise.
22222         * signal/killpg.c (killpg): Likewise.
22223         * signal/raise.c (raise): Likewise.
22224         * signal/sigaction.c (__sigaction): Likewise.
22225         * signal/sigaddset.c (sigaddset): Likewise.
22226         * signal/sigaltstack.c (sigaltstack): Likewise.
22227         * signal/sigandset.c (sigandset): Likewise.
22228         * signal/sigblock.c (__sigblock): Likewise.
22229         * signal/sigdelset.c (sigdelset): Likewise.
22230         * signal/sigempty.c (sigemptyset): Likewise.
22231         * signal/sigfillset.c (sigfillset): Likewise.
22232         * signal/sighold.c (sighold): Likewise.
22233         * signal/sigignore.c (sigignore): Likewise.
22234         * signal/sigintr.c (siginterrupt): Likewise.
22235         * signal/sigisempty.c (sigisemptyset): Likewise.
22236         * signal/sigismem.c (sigismember): Likewise.
22237         * signal/signal.c (signal): Likewise.
22238         * signal/sigorset.c (sigorset): Likewise.
22239         * signal/sigpause.c (__sigpause): Likewise.
22240         * signal/sigpending.c (sigpending): Likewise.
22241         * signal/sigprocmask.c (__sigprocmask): Likewise.
22242         * signal/sigrelse.c (sigrelse): Likewise.
22243         * signal/sigreturn.c (__sigreturn): Likewise.
22244         * signal/sigset.c (sigset): Likewise.
22245         * signal/sigsetmask.c (__sigsetmask): Likewise.
22246         * signal/sigstack.c (sigstack): Likewise.
22247         * signal/sigsuspend.c (__sigsuspend): Likewise.
22248         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22249         * signal/sysv_signal.c (__sysv_signal): Likewise.
22250         * socket/accept.c (accept): Likewise.
22251         * socket/accept4.c (__libc_accept4): Likewise.
22252         * socket/bind.c (__bind): Likewise.
22253         * socket/connect.c (__connect): Likewise.
22254         * socket/getpeername.c (getpeername): Likewise.
22255         * socket/getsockname.c (__getsockname): Likewise.
22256         * socket/getsockopt.c (getsockopt): Likewise.
22257         * socket/listen.c (__listen): Likewise.
22258         * socket/recv.c (__recv): Likewise.
22259         * socket/recvmsg.c (__recvmsg): Likewise.
22260         * socket/send.c (__send): Likewise.
22261         * socket/sendmsg.c (__sendmsg): Likewise.
22262         * socket/shutdown.c (shutdown): Likewise.
22263         * socket/sockatmark.c (sockatmark): Likewise.
22264         * socket/socket.c (__socket): Likewise.
22265         * stdio-common/ctermid.c (ctermid): Likewise.
22266         * stdio-common/cuserid.c (cuserid): Likewise.
22267         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22268         * stdio-common/remove.c (remove): Likewise.
22269         * stdio-common/rename.c (rename): Likewise.
22270         * stdio-common/renameat.c (renameat): Likewise.
22271         * stdio-common/tempname.c (__gen_tempname): Likewise.
22272         * stdio-common/xbug.c (InitBuffer): Likewise.
22273         (AppendToBuffer): Likewise.
22274         (ReadFile): Likewise.
22275         * stdlib/a64l.c (a64l): Likewise.
22276         * stdlib/drand48_r.c (drand48_r): Likewise.
22277         * stdlib/getcontext.c (getcontext): Likewise.
22278         * stdlib/getenv.c (getenv): Likewise.
22279         * stdlib/l64a.c (l64a): Likewise.
22280         * stdlib/llabs.c (llabs): Likewise.
22281         * stdlib/lldiv.c (lldiv): Likewise.
22282         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22283         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22284         * stdlib/putenv.c (putenv): Likewise.
22285         * stdlib/random.c (__srandom): Likewise.
22286         (__initstate): Likewise.
22287         (__setstate): Likewise.
22288         * stdlib/random_r.c (__srandom_r): Likewise.
22289         (__setstate_r): Likewise.
22290         (__random_r): Likewise.
22291         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22292         * stdlib/setcontext.c (setcontext): Likewise.
22293         * stdlib/setenv.c (setenv): Likewise.
22294         (unsetenv): Likewise.
22295         * stdlib/srand48.c (srand48): Likewise.
22296         * stdlib/srand48_r.c (__srand48_r): Likewise.
22297         * stdlib/swapcontext.c (swapcontext): Likewise.
22298         * stdlib/system.c (__libc_system): Likewise.
22299         * stdlib/tst-strtod.c (expand): Likewise.
22300         * stdlib/tst-strtol.c (expand): Likewise.
22301         * stdlib/tst-strtoll.c (expand): Likewise.
22302         * streams/fattach.c (fattach): Likewise.
22303         * streams/fdetach.c (fdetach): Likewise.
22304         * streams/getmsg.c (getmsg): Likewise.
22305         * streams/isastream.c (isastream): Likewise.
22306         * string/ffs.c (__ffs): Likewise.
22307         * string/ffsll.c (ffsll): Likewise.
22308         * string/memcmp.c (memcmp_common_alignment): Likewise.
22309         (memcmp_not_common_alignment): Likewise.
22310         (MEMCMP): Likewise.
22311         * string/memcpy.c (memcpy): Likewise.
22312         * string/memmove.c (MEMMOVE): Likewise.
22313         * string/memset.c (memset): Likewise.
22314         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22315         * string/strchrnul.c (STRCHRNUL): Likewise.
22316         * string/strerror.c (strerror): Likewise.
22317         * string/strndup.c (__strndup): Likewise.
22318         * string/strverscmp.c (__strverscmp): Likewise.
22319         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22320         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22321         (clnttcp_freeres): Likewise.
22322         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22323         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22324         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22325         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22326         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22327         (xdr_callhdr): Likewise.
22328         * sunrpc/rpcinfo.c (udpping): Likewise.
22329         (tcpping): Likewise.
22330         (pstatus): Likewise.
22331         (pmapdump): Likewise.
22332         (brdcst): Likewise.
22333         (deletereg): Likewise.
22334         (getprognum): Likewise.
22335         (getvers): Likewise.
22336         (get_inet_address): Likewise.
22337         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22338         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22339         (svcudp_stat): Likewise.
22340         (svcudp_recv): Likewise.
22341         (svcudp_reply): Likewise.
22342         (svcudp_getargs): Likewise.
22343         (svcudp_freeargs): Likewise.
22344         (svcudp_destroy): Likewise.
22345         * sunrpc/xdr.c (xdr_bytes): Likewise.
22346         (xdr_netobj): Likewise.
22347         (xdr_string): Likewise.
22348         (xdr_wrapstring): Likewise.
22349         * sunrpc/xdr_float.c (xdr_float): Likewise.
22350         (xdr_double): Likewise.
22351         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22352         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22353         * sysvipc/ftok.c (ftok): Likewise.
22354         * sysvipc/msgctl.c (msgctl): Likewise.
22355         * sysvipc/msgget.c (msgget): Likewise.
22356         * sysvipc/msgrcv.c (msgrcv): Likewise.
22357         * sysvipc/msgsnd.c (msgsnd): Likewise.
22358         * sysvipc/semget.c (semget): Likewise.
22359         * sysvipc/semop.c (semop): Likewise.
22360         * sysvipc/shmat.c (shmat): Likewise.
22361         * sysvipc/shmctl.c (shmctl): Likewise.
22362         * sysvipc/shmdt.c (shmdt): Likewise.
22363         * sysvipc/shmget.c (shmget): Likewise.
22364         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22365         * termios/speed.c (cfgetospeed): Likewise.
22366         (cfgetispeed): Likewise.
22367         (cfsetospeed): Likewise.
22368         (cfsetispeed): Likewise.
22369         * termios/tcflow.c (tcflow): Likewise.
22370         * termios/tcflush.c (tcflush): Likewise.
22371         * termios/tcgetattr.c (__tcgetattr): Likewise.
22372         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22373         * termios/tcgetsid.c (tcgetsid): Likewise.
22374         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22375         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22376         * time/adjtime.c (__adjtime): Likewise.
22377         * time/dysize.c (dysize): Likewise.
22378         * time/ftime.c (ftime): Likewise.
22379         * time/getitimer.c (__getitimer): Likewise.
22380         * time/gettimeofday.c (__gettimeofday): Likewise.
22381         * time/gmtime.c (__gmtime_r): Likewise.
22382         (gmtime): Likewise.
22383         * time/localtime.c (__localtime_r): Likewise.
22384         (localtime): Likewise.
22385         * time/offtime.c (__offtime): Likewise.
22386         * time/settimeofday.c (__settimeofday): Likewise.
22387         * time/stime.c (stime): Likewise.
22388         * time/strftime_l.c (tm_diff): Likewise.
22389         (iso_week_days): Likewise.
22390         * time/strptime.c (strptime): Likewise.
22391         * time/time.c (time): Likewise.
22392         * time/timespec_get.c (timespec_get): Likewise.
22393         * time/tzset.c (tzset_internal): Likewise.
22394         (compute_change): Likewise.
22395         (__tz_compute): Likewise.
22396         * wcsmbs/btowc.c (__btowc): Likewise.
22397         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22398         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22399         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22400         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22401         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22402         * wcsmbs/wcscat.c (__wcscat): Likewise.
22403         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22404         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22405         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22406         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22407         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22408         * wcsmbs/wcslen.c (__wcslen): Likewise.
22409         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22410         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22411         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22412         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22413         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22414         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22415         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22416         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22417         * wcsmbs/wcstok.c (wcstok): Likewise.
22418         * wcsmbs/wctob.c (wctob): Likewise.
22419         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22420         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22421         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22422         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22423         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22424         * wcsmbs/wmemset.c (__wmemset): Likewise.
22425         * wctype/wcfuncs.c (__towlower): Likewise.
22426         (__towupper): Likewise.
22428         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22429         (lll_unlock_elision): Add adapt_count parameter.
22431 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22433         * sysdeps/nptl/configure.ac: Do not give errors based on the
22434         results of top-level configure tests.
22435         * sysdeps/nptl/configure: Regenerated.
22437         * configure.ac (libc_cv_Bgroup): Remove configure test.
22438         * configure: Regenerated.
22439         * config.make.in (have-Bgroup): Remove variable.
22441         * configure.ac (sizeof_long_double): Remove configure test.
22442         * configure: Regenerated.
22443         * config.make.in (sizeof-long-double): Remove variable.
22445         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22446         * configure: Regenerated.
22447         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22448         variable.
22449         (exceptions): Likewise.
22450         * sysdeps/arm/configure: Regenerated.
22451         * config.make.in (exceptions): Remove variable.
22452         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22453         $(exceptions).
22454         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22455         (CFLAGS-vdprintf_chk.c): Likewise.
22456         (CFLAGS-printf_chk.c): Likewise.
22457         (CFLAGS-fprintf_chk.c): Likewise.
22458         (CFLAGS-vprintf_chk.c): Likewise.
22459         (CFLAGS-vfprintf_chk.c): Likewise.
22460         (CFLAGS-gets_chk.c): Likewise.
22461         (CFLAGS-fgets_chk.c): Likewise.
22462         (CFLAGS-fgets_u_chk.c): Likewise.
22463         (CFLAGS-fread_chk.c): Likewise.
22464         (CFLAGS-fread_u_chk.c): Likewise.
22465         (CFLAGS-wprintf_chk.c): Likewise.
22466         (CFLAGS-fwprintf_chk.c): Likewise.
22467         (CFLAGS-vwprintf_chk.c): Likewise.
22468         (CFLAGS-vfwprintf_chk.c): Likewise.
22469         (CFLAGS-fgetws_chk.c): Likewise.
22470         (CFLAGS-fgetws_u_chk.c): Likewise.
22471         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22472         (CFLAGS-fputc.c): Likewise.
22473         (CFLAGS-fputwc.c): Likewise.
22474         (CFLAGS-freopen64.c): Likewise.
22475         (CFLAGS-freopen.c): Likewise.
22476         (CFLAGS-fseek.c): Likewise.
22477         (CFLAGS-fseeko64.c): Likewise.
22478         (CFLAGS-fseeko.c): Likewise.
22479         (CFLAGS-ftello64.c): Likewise.
22480         (CFLAGS-ftello.c): Likewise.
22481         (CFLAGS-fwide.c): Likewise.
22482         (CFLAGS-genops.c): Likewise.
22483         (CFLAGS-getc.c): Likewise.
22484         (CFLAGS-getchar.c): Likewise.
22485         (CFLAGS-getwc.c): Likewise.
22486         (CFLAGS-getwchar.c): Likewise.
22487         (CFLAGS-iofclose.c): Likewise.
22488         (CFLAGS-iofflush.c): Likewise.
22489         (CFLAGS-iofgetpos64.c): Likewise.
22490         (CFLAGS-iofgetpos.c): Likewise.
22491         (CFLAGS-iofgets.c): Likewise.
22492         (CFLAGS-iofgetws.c): Likewise.
22493         (CFLAGS-iofputs.c): Likewise.
22494         (CFLAGS-iofputws.c): Likewise.
22495         (CFLAGS-iofread.c): Likewise.
22496         (CFLAGS-iofsetpos64.c): Likewise.
22497         (CFLAGS-iofsetpos.c): Likewise.
22498         (CFLAGS-ioftell.c): Likewise.
22499         (CFLAGS-iofwrite.c): Likewise.
22500         (CFLAGS-iogetdelim.c): Likewise.
22501         (CFLAGS-iogetline.c): Likewise.
22502         (CFLAGS-iogets.c): Likewise.
22503         (CFLAGS-iogetwline.c): Likewise.
22504         (CFLAGS-ioputs.c): Likewise.
22505         (CFLAGS-ioseekoff.c): Likewise.
22506         (CFLAGS-ioseekpos.c): Likewise.
22507         (CFLAGS-iosetbuffer.c): Likewise.
22508         (CFLAGS-iosetvbuf.c): Likewise.
22509         (CFLAGS-ioungetc.c): Likewise.
22510         (CFLAGS-ioungetwc.c): Likewise.
22511         (CFLAGS-oldfileops.c): Likewise.
22512         (CFLAGS-oldiofclose.c): Likewise.
22513         (CFLAGS-oldiofgetpos64.c): Likewise.
22514         (CFLAGS-oldiofgetpos.c): Likewise.
22515         (CFLAGS-oldiofsetpos64.c): Likewise.
22516         (CFLAGS-oldiofsetpos.c): Likewise.
22517         (CFLAGS-peekc.c): Likewise.
22518         (CFLAGS-putc.c): Likewise.
22519         (CFLAGS-putchar.c): Likewise.
22520         (CFLAGS-putwc.c): Likewise.
22521         (CFLAGS-putwchar.c): Likewise.
22522         (CFLAGS-rewind.c): Likewise.
22523         (CFLAGS-wfileops.c): Likewise.
22524         (CFLAGS-wgenops.c): Likewise.
22525         (CFLAGS-oldiofopen.c): Likewise.
22526         (CFLAGS-iofopen.c): Likewise.
22527         (CFLAGS-iofopen64.c): Likewise.
22528         (CFLAGS-oldtmpfile.c): Likewise.
22529         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22530         (CFLAGS-fprintf.c): Likewise.
22531         (CFLAGS-printf.c): Likewise.
22532         (CFLAGS-vfwprintf.c): Likewise.
22533         (CFLAGS-vfscanf.c): Likewise.
22534         (CFLAGS-vfwscanf.c): Likewise.
22535         (CFLAGS-fscanf.c): Likewise.
22536         (CFLAGS-scanf.c): Likewise.
22537         (CFLAGS-isoc99_vfscanf.c): Likewise.
22538         (CFLAGS-isoc99_vscanf.c): Likewise.
22539         (CFLAGS-isoc99_fscanf.c): Likewise.
22540         (CFLAGS-isoc99_scanf.c): Likewise.
22541         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22542         (CFLAGS-isoc99_fwscanf.c): Likewise.
22543         (CFLAGS-isoc99_vwscanf.c): Likewise.
22544         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22546         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22547         after mkstemp64.
22548         * login/tst-utmp.c (do_prepare): Likewise.
22549         * rt/tst-aio.c (do_prepare): Likewise.
22550         * rt/tst-aio64.c (do_prepare): Likewise.
22552 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22554         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22555         (__lll_lock_elision): Remove adapt_count decrement...
22556         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22557         (__lll_trylock_elision): Likewise.
22558         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22559         (__lll_unlock_elision): ... to here. And utilize
22560         new adapt_count parameter.
22561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22562         (__lll_unlock_elision): Update to include adapt_count
22563         parameter.
22564         (lll_unlock_elision): Pass pointer to adapt_count
22565         variable.
22567 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22569         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22570         Add elision adapt_count parameter to list of arguments.
22571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22572         (lll_unlock_elision): Update with new parameter list
22573         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22574         (lll_unlock_elision): Likewise.
22575         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22576         (lll_unlock_elision): Likewise.
22578 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22580         [BZ #19122]
22581         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22582         attribute_hidden.
22584         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22585         attribute_hidden.
22586         [IS_IN (rtld)] (__strdup): Likewise.
22587         [IS_IN (rtld)] (__strerror_r): Likewise.
22588         [IS_IN (rtld)] (__strsep_g): Likewise.
22589         [IS_IN (rtld)] (memchr): Likewise.
22590         [IS_IN (rtld)] (memcmp): Likewise.
22591         [IS_IN (rtld)] (memcpy): Likewise.
22592         [IS_IN (rtld)] (memmove): Likewise.
22593         [IS_IN (rtld)] (memset): Likewise.
22594         [IS_IN (rtld)] (rawmemchr): Likewise.
22595         [IS_IN (rtld)] (stpcpy): Likewise.
22596         [IS_IN (rtld)] (strchr): Likewise.
22597         [IS_IN (rtld)] (strcmp): Likewise.
22598         [IS_IN (rtld)] (strlen): Likewise.
22599         [IS_IN (rtld)] (strnlen): Likewise.
22600         [IS_IN (rtld)] (strsep): Likewise.
22602         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22603         attribute_hidden.
22604         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22606         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22607         attribute_hidden.
22608         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22610         * include/setjmp.h (__longjmp): Add attribute_hidden.
22611         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22613         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22614         Add attribute_hidden.
22616         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22617         [IS_IN (rtld)] (__open): Likewise.
22618         [IS_IN (rtld)] (__fcntl): Likewise.
22620         * include/dirent.h (__opendirat): Add attribute_hidden.
22621         (__getdents): Likewise.
22622         (__getdents64): Likewise.
22623         (__alloc_dir): Likewise.
22624         [IS_IN (rtld)] (__closedir): Likewise.
22625         [IS_IN (rtld)] (__fdopendir): Likewise.
22626         [IS_IN (rtld)] (__readdir): Likewise.
22627         [IS_IN (rtld)] (__readdir64): Likewise.
22628         [IS_IN (rtld)] (__rewinddir): Likewise.
22630         * include/dlfcn.h (_dl_catch_error): Moved to ...
22631         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22632         attribute_hidden.
22634         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22635         (_itoa_word): Likewise.
22637         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22638         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22639         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22640         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22641         (_dl_higher_prime_number): Likewise.
22642         (_dl_debug_printf_c): Likewise.
22643         (_dl_signal_cerror): Likewise.
22644         (_dl_receive_error): Likewise.
22645         (_dl_reloc_bad_type): Likewise.
22646         (_dl_resolve_conflicts): Likewise.
22647         (_dl_check_all_versions): Likewise.
22648         (_dl_check_map_versions): Likewise.
22649         (_dl_sort_fini): Likewise.
22650         (_dl_debug_initialize): Likewise.
22651         (_dl_init_paths): Likewise.
22652         (_dl_show_auxv): Likewise.
22653         (_dl_next_ld_env_entry): Likewise.
22654         (_dl_important_hwcaps): Likewise.
22655         (_dl_load_cache_lookup): Likewise.
22656         (_dl_update_slotinfo): Likewise.
22657         (_dl_show_scope): Likewise.
22659         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22660         attribute_hidden.
22661         (_wordcopy_fwd_dest_aligned): Likewise.
22662         (_wordcopy_bwd_aligned): Likewise.
22663         (_wordcopy_bwd_dest_aligned): Likewise.
22665         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22666         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22667         Likewise.
22668         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22669         Likewise.
22670         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22672 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22675         GCC 5 requirement.
22677 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22679         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22680         test.
22681         * sysdeps/i386/configure: Regenerated.
22682         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22683         code unconditional.
22685         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22686         test.
22687         (libc_cv_asm_popsection_directive): Likewise.
22688         * configure: Regenerated.
22689         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22690         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22691         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22692         (__make_section_unallocated): Make definition unconditional.
22693         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22694         Remove conditional definition.
22695         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22696         (__make_section_unallocated): Likewise.
22698         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22699         * configure: Regenerated.
22700         * config.make.in (static-libgcc): Remove variable.
22701         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22702         $(static-libgcc).
22703         (build-module-helper): Likewise.
22705         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22706         * configure: Regenerated.
22708 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22710         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22711         (struct char_buffer): New type.
22712         (char_buffer_start, char_buffer_size, char_buffer_error)
22713         (char_buffer_rewind, char_buffer_add): New functions.
22714         (ADDW): Remove macro, replaced by the char_buffer_add function.
22715         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22716         of extend_alloca.  Make control flow more explicit.
22718 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22720         [BZ #19137]
22721         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22722         Add -fomit-frame-pointer.
22723         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22725 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22727         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22728         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22730         only if !__GNUC_PREREQ (5,0).
22731         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22732         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22733         (INTERNAL_SYSCALL_NCS): Likewise.
22734         (LOADREGS_0): New macro for GCC 5.
22735         (ASMARGS_0): Likewise.
22736         (LOADREGS_1): Likewise.
22737         (ASMARGS_1): Likewise.
22738         (LOADREGS_2): Likewise.
22739         (ASMARGS_2): Likewise.
22740         (LOADREGS_3): Likewise.
22741         (ASMARGS_3): Likewise.
22742         (LOADREGS_4): Likewise.
22743         (ASMARGS_4): Likewise.
22744         (LOADREGS_5): Likewise.
22745         (ASMARGS_5): Likewise.
22746         (LOADREGS_6): Likewise.
22747         (ASMARGS_6): Likewise.
22749 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22751         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22752         -fomit-frame-pointer.
22753         (CFLAGS-mmap64.c): Likewise.
22754         (CFLAGS-semtimedop.c): Likewise.
22755         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22756         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22757         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22758         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22760 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22762         [BZ #18928]
22763         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22764         _dl_pointer_guard member.
22765         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22766         initializer.
22767         (security_init): Always set up pointer guard.
22768         (process_envvars): Do not process LD_POINTER_GUARD.
22770 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22772         [BZ #19134]
22773         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22774         (.LC2): Likewise.
22775         (.LC3): Likewise.
22776         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22778 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22780         [BZ #19129]
22781         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22782         r0 and r1.
22784 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22786         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22788 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22790         * include/stap-probe.h: Fix macro definition formatting.
22792 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22794         [BZ #19074]
22795         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22796         load and store num_ifs.
22798 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22800         [BZ #18822]
22801         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22802         (__sched_getaffinity_new): Add libc_hidden_proto and
22803         libc_hidden_def.
22805 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22807         [BZ #19007]
22808         * scripts/localplt.awk: Also allow GOT references.
22809         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22810         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22811         with "+ REL R_386_GLOB_DAT".
22812         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22813         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22815 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22817         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22818         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22819         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22822         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22823         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22824         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22825         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22826         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22827         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22828         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22829         Likewise.
22830         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22832 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #19125]
22835         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22836         <math_private.h> and <stdint.h>.
22837         (__llround): Avoid conversions to and from long long int, and
22838         subtractions, where those might raise spurious exceptions.
22839         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22840         <math_private.h> and <stdint.h>.
22841         (__llroundf): Avoid conversions to and from long long int, and
22842         subtractions, where those might raise spurious exceptions.
22844 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22846         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22847         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22848         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22849         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22851         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22852         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22853         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22854         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22855         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22856         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22857         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22858         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22859         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22860         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22861         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22862         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22863         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22864         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22865         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22866         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22867         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22868         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22869         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22870         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22871         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22872         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22873         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22874         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22875         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22876         (__xstat64_conv): Likewise.
22877         (__xstat32_conv): Likewise.
22879 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22881         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22882         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22883         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22884         <sysdeps/unix/sysv/linux/sysdep.h>.
22885         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22886         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22887         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22888         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22889         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22890         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22891         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22892         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22893         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22898         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22899         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22901         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22902         (sysdep-dl-routines): Add sysdep.
22903         [$(subdir) == nptl] (libpthread-routines): Likewise.
22904         [$(subdir) == rt] (librt-routines): Likewise.
22905         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22906         PIC when branching to SYSCALL_ERROR_LABEL.
22907         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22909         <sysdeps/unix/sysv/linux/sysdep.h>.
22910         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22911         (SYSCALL_ERROR_ERRNO): Removed.
22912         (SYSCALL_ERROR_HANDLER): Changed to empty.
22913         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22914         (__syscall_error): New prototype.
22915         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22916         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22918 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22920         [BZ #19124]
22921         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22922         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22923         _dl_runtime_resolve_avx.
22924         (_dl_runtime_profile_avx512): Make it a hidden alias of
22925         _dl_runtime_profile_avx.
22927 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22929         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22930         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22931         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22932         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22934         [BZ #16422]
22935         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22936         New configure test.
22937         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22938         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22939         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22940         <math_private.h> and <stdint.h>.
22941         (__llrint): Avoid conversions to long long int where those might
22942         raise spurious exceptions.
22943         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22944         <math_private.h> and <stdint.h>.
22945         (__llrintf): Avoid conversions to long long int where those might
22946         raise spurious exceptions.
22948 2015-10-12  Andreas Schwab  <schwab@suse.de>
22950         [BZ #18969]
22951         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22952         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22953         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22954         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22955         $(gen-locales).
22956         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22957         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22958         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22959         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22960         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22961         $(gen-locales).
22962         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22963         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22964         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22965         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22966         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22967         ($(objpfx)tst-ftell-active-handler.out)
22968         ($(objpfx)tst-ftell-append.out)
22969         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22970         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22971         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22972         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22973         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22974         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22975         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22976         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22977         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22978         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22979         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22980         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22981         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22982         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22983         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22984         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22985         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22986         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22987         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22988         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22989         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22990         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22991         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22992         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22993         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22994         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22995         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22996         $(gen-locales).
22997         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22998         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22999         $(gen-locales).
23000         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23001         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23002         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23003         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23004         $(gen-locales).
23005         * libio/tst_wprintf2.c (main): Use explicit locale.
23006         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23008 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23010         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23011         __msg_sig_post.
23012         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23014 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23016         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23019         * sysdeps/arm/libm-test-ulps: Regenerated.
23021         [BZ #15470]
23022         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23024         [BZ #16399]
23025         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23026         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23027         and <fix-fp-int-convert-overflow.h>.
23028         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23029         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23030         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23031         and <fix-fp-int-convert-overflow.h>.
23032         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23033         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23034         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23035         <fix-fp-int-convert-overflow.h>.
23036         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23037         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23038         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23039         <fix-fp-int-convert-overflow.h>.
23040         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23041         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23042         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23043         and <fix-fp-int-convert-overflow.h>.
23044         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23045         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23046         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23047         <limits.h> and <fix-fp-int-convert-overflow.h>.
23048         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23049         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23050         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23051         and <fix-fp-int-convert-overflow.h>.
23052         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23053         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23054         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23055         and <fix-fp-int-convert-overflow.h>.
23056         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23057         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23058         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23060 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23062         [BZ #18589]
23063         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23064         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23065         $(gen-locales).
23067 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23068             Phil Blundell <pb@pbcl.net>
23070         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23071         * nptl/tst-cancel26.c: New file.
23072         * nptl/tst-cancel27.c: Likewise.
23074 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23076         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23077         __ILP32__ isn't defined.
23078         (lrint): Likewise.
23079         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23080         (lrintf): Likewise.
23081         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23082         (lrintl): Likewise.
23083         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23084         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23085         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23087 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23093         file.
23094         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23095         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23097 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23099         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23100         configure test.
23101         * sysdeps/i386/configure: Regenerated.
23102         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23103         configure test.
23104         * sysdeps/x86_64/configure: Regenerated.
23105         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23106         Make code unconditional.
23108         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23109         test.
23110         * sysdeps/i386/configure: Regenerated.
23111         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23112         test.
23113         * sysdeps/x86_64/configure: Regenerated.
23114         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23115         Make code unconditional.
23116         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23117         Likewise.
23118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23119         Likewise.
23120         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23121         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23122         code unconditional.
23123         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23124         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23125         code unconditional.
23126         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23127         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23128         code unconditional.
23129         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23130         code unconditional.
23131         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23132         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23133         code unconditional.
23134         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23135         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23136         code unconditional.
23137         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23138         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23139         code unconditional.
23140         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23141         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23142         code unconditional.
23143         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23144         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23146         [BZ #19095]
23147         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23148         mantissa to long int before shifting left.
23150 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23152         [BZ #19094]
23153         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23154         <limits.h>.
23155         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23156         when result overflows but exception would not result from cast.
23157         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23158         <limits.h>.
23159         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23160         when result overflows but exception would not result from cast.
23161         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23162         <limits.h>.
23163         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23164         when result overflows but exception would not result from cast.
23165         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23166         <limits.h>.
23167         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23168         when result overflows but exception would not result from cast.
23169         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23170         <limits.h>.
23171         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23172         when result overflows but exception would not result from cast.
23173         * math/libm-test.inc (lrint_test_data): Add more tests.
23174         (llrint_test_data): Likewise.
23176 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23178         [BZ #18872]
23179         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23180         Move out from under [$(run-built-tests) = yes] conditional.
23181         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23182         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23184 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23186         [BZ #18589]
23187         * string/Makefile (tests): Add bug-strcoll2.
23188         (LOCALES): Add cs_CZ.UTF-8.
23189         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23191         [BZ #18589]
23192         * string/bug-strcoll2.c: New file.
23193         * locale/categories.def: Revert commit
23194         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23195         * locale/langinfo.h: Likewise.
23196         * locale/localeinfo.h: Likewise.
23197         * locale/C-collate.c: Likewise.
23198         * locale/programs/ld-collate.c (collate_output): Likewise.
23199         * string/strcoll_l.c (STRDIFF): Likewise.
23200         (STRCOLL): Likewise.
23201         * wcsmbs/wcscoll_l.c: Likewise.
23203 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23205         * math/libm-test.inc (lround_test_data): Do not expect the absence
23206         of "inexact" for some tests with non-integer arguments.
23207         (llround_test_data): Likewise.
23209         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23210         test.
23211         (libc_cv_cc_sse2avx): Likewise.
23212         * sysdeps/i386/configure: Regenerated.
23213         * sysdeps/i386/i686/multiarch/Makefile
23214         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23215         [$(subdir) = math].
23216         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23217         code unconditional.
23218         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23219         Likewise.
23220         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23221         Likewise.
23222         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23223         Likewise.
23224         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23225         test.
23226         (libc_cv_cc_sse2avx): Likewise.
23227         * sysdeps/x86_64/configure: Regenerated.
23228         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23229         unconditional.
23230         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23231         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23232         unconditional.
23233         (_dl_runtime_profile)
23234         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23235         conditional code.
23236         * sysdeps/x86_64/fpu/multiarch/Makefile
23237         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23238         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23239         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23240         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23241         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23242         * sysdeps/x86_64/fpu/multiarch/e_log.c
23243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23244         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23245         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23246         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23247         Likewise.
23248         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23249         Likewise.
23250         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23251         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23252         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23253         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23254         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23255         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23256         (HAVE_SSE2AVX_SUPPORT): Likewise.
23258 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23260         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23261         instead of #pragma optimize.
23263 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23265         [BZ #17195]
23266         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23267         as is similarly done in systrim and _int_free already.
23269 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23271         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23273 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23275         [BZ #19088]
23276         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23277         <limits.h>.
23278         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23279         overflows but exception would not result from cast.
23280         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23281         and <limits.h>.
23282         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23283         overflows but exception would not result from cast.
23284         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23285         <limits.h>.
23286         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23287         overflows but exception would not result from cast.
23288         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23289         <limits.h>.
23290         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23291         overflows but exception would not result from cast.
23292         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23293         <limits.h>.
23294         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23295         overflows but exception would not result from cast.
23296         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23297         <limits.h>.
23298         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23299         overflows but exception would not result from cast.
23300         * math/libm-test.inc (lround_test_data): Add more tests.
23301         (llround_test_data): Likewise.
23303 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23305         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23306         (CFLAGS-ialloc.c): Ditto.
23307         (CFLAGS-scheck.c): Ditto.
23309 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23311         [BZ #19086]
23312         * manual/filesys.texi (Storage Allocation): Fix argument order for
23313         posix_fallocate64.
23315 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23317         [BZ #19085]
23318         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23319         exponent below 48 inside case for non-overflowing exponent.
23320         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23322 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23324         * iconvdata/cp737.h (from_idx): Add const.
23325         * iconvdata/cp775.h (from_idx): Likewise.
23327 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23329         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23330         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23331         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23333         [BZ #19079]
23334         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23335         file, conditioned on [!_LP64].
23336         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23337         [!_LP64] (__lround): Do not define as function or alias.
23338         [!_LP64] (lround): Likewise.
23339         [!_LP64] (__lroundl): Likewise.
23340         [!_LP64] (lroundl): Likewise.
23341         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23342         macro.
23343         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23344         Likewise.
23346 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23348         * math/libm-test.inc (lrint_test_data): Add more tests.
23349         (llrint_test_data): Likewise.
23350         (lround_test_data): Likewise.
23351         (llround_test_data): Likewise.
23353         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23354         (llrint_test_data): Add tests used for lrint.
23356         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23357         test.
23358         * sysdeps/i386/configure: Regenerated.
23359         * sysdeps/i386/i686/multiarch/Makefile
23360         [$(config-cflags-sse4) = yes]: Make code unconditional.
23361         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23362         Likewise.
23363         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23364         Likewise.
23365         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23366         test.
23367         * sysdeps/x86_64/configure: Regenerated.
23368         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23369         Make code unconditional.
23370         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23371         Likewise.
23372         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23373         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23375         * scripts/rpm2dynsym.sh: Remove file.
23377 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23379         * configure.ac (libc_cv_cxx_thread_local): Define.
23380         * configure: Regenerate.
23381         * config.make.in (have-cxx-thread_local): Define.
23382         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23383         (LDLIBS-tst-thread_local1): Define.
23384         (tests): Add tst-thread_local1.
23385         [have-cxx-thread_local != yes] (tests-unsupported): Add
23386         tst-thread_local1.
23387         * nptl/tst-thread_local1.cc: New file.
23389 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23391         [BZ #19078]
23392         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23393         (u_thres): Likewise.
23394         (__expl): Determine whether to call __kernel_standard_l based on
23395         value of result, not argument.
23397         * math/libm-test.inc (scalb_test_data): Add more expectations for
23398         the "inexact" exception.
23400         [BZ #19077]
23401         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23402         0.0L for argument 1.0L.
23404         [BZ #19076]
23405         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23406         constant 0.0L when computing infinite result.
23408 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23410         [BZ #10432]
23411         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23412         malloc_usable_size.
23414 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23416         [BZ #19018]
23417         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23418         Mangle function pointer before storing it.
23419         (__call_tls_dtors): Demangle function pointer before calling it.
23421 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23423         [BZ #19012]
23424         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23425         Clean up on failure.
23427 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23429         [BZ #19071]
23430         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23431         long int variable to store possibly incremented high part of
23432         mantissa.
23433         * math/libm-test.inc (lround_test_data): Add tests used for
23434         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23435         for tests requiring 64-bit long.  Do not condition tests on
23436         [TEST_FLOAT] unnecessarily.
23437         (llround_test_data): Add tests used for lround.  Add another
23438         expectation for the "inexact" exception.  Do not condition tests
23439         on [TEST_FLOAT] unnecessarily.
23441         [BZ #887]
23442         [BZ #19049]
23443         [BZ #19050]
23444         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23445         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23446         <fix-int-fp-convert-zero.h>.
23447         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23448         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23449         <fix-int-fp-convert-zero.h>.
23450         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23451         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23452         <fix-int-fp-convert-zero.h>.
23453         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23454         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23455         <fix-int-fp-convert-zero.h>.
23456         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23457         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23458         <fix-int-fp-convert-zero.h>.
23459         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23460         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23461         <fix-int-fp-convert-zero.h>.
23462         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23463         * sysdeps/ieee754/flt-32/s_erff.c: Include
23464         <fix-int-fp-convert-zero.h>.
23465         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23466         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23467         <fix-int-fp-convert-zero.h>.
23468         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23469         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23470         <fix-int-fp-convert-zero.h>.
23471         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23473         <fix-int-fp-convert-zero.h>.
23474         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23475         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23476         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23477         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23478         file.
23479         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23481 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23485 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23487         [BZ #19059]
23488         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23489         overflowing computation.
23490         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23491         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23492         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23493         Likewise.
23494         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23495         Likewise.
23496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23497         Likewise.
23498         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23499         Likewise.
23500         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23501         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23502         Likewise.
23503         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23504         Likewise.
23505         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23507         * nss/rewrite_field.c (__nss_rewrite_field): Use
23508         internal_function.
23509         * nss/valid_field.c (__nss_valid_field): Likewise.
23510         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23512 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23514         [BZ #18724]
23515         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23516         (__nss_invalid_field_characters, __nss_valid_field)
23517         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23518         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23519         tst-field.c: New file.
23520         * nss/Makefile (routines): Add valid_field, rewrite_field.
23521         (tests-static): Define unconditionally.
23522         (tests): Include tests-static.
23523         [build-static-nss] (tests-static): Use append.
23524         [build-static-nss] (tests): Remove modification.
23525         * nss/getent.c (print_group): Call putgrent.  Report error.
23526         (print_gshadow): Call putsgent.  Report error.
23527         (print_passwd): Call putpwent.  Report error.
23528         (print_shadow): Call putspent.  Report error.
23529         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23530         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23531         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23532         name, password, directory, shell fields for valid syntax.  Rewrite
23533         GECOS field to match syntax.
23534         * pwd/Makefile (tests): Add tst-putpwent.
23535         * pwd/tst-putpwent.c: New file.
23536         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23537         Check grName, grpasswd, gr_mem fields for valid syntax.
23538         Change loop variable i to size_t.
23539         * grp/Makefile (tests): Add tst-putgrent.
23540         * grp/tst-putgrent.c: New file.
23541         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23542         valid syntax.
23543         * shadow/Makefile (tests): Add tst-putspent.
23544         * shadow/tst-putspent.c: New file.
23545         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23546         sg_mem fields for valid syntax.
23547         * gshadow/Makefile (tests): Add tst-putsgent.
23548         * gshadow/tst-putsgent.c: New file.
23550 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23552         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23553         assembly instructions.
23555 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23558         prefix from operands.
23560 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23562         [BZ #16347]
23563         [BZ #19046]
23564         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23565         <libc-internal.h>.
23566         (MAXLGM): Do not use diagnostic control macros.
23567         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23568         threshold for ldbl-128ibm.
23569         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23570         instead of multiplying by log then subtracting.
23571         * math/auto-libm-test-in: Add more tests of lgamma.
23572         * math/auto-libm-test-out: Regenerated.
23574         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23575         (TYPE_HEX_DIG): Likewise.
23576         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23577         precisions when printing floating-point numbers.
23578         (check_float_internal): Likewise.
23580 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23582         [BZ #16620]
23583         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23584         of log (10) rounded downward to 48 bits.
23585         (log10_low): Use corresponding low part of log (10).
23587         [BZ #19032]
23588         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23589         compute result as (x - x) / (x - x) not as 0 / 0.
23590         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23591         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23593         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23594         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23595         and expm1.
23596         * math/auto-libm-test-out: Regenerated.
23597         * math/libm-test.inc (acos_test_data): Add more tests.
23598         (asin_test_data): Likewise.
23599         (asinh_test_data): Likewise.
23600         (atan_test_data): Likewise.
23601         (atanh_test_data): Likewise.
23602         (atan2_test_data): Likewise.
23603         (cbrt_test_data): Likewise.
23604         (ceil_test_data): Likewise.
23605         (copysign_test_data): Likewise.
23606         (cos_test_data): Likewise.
23607         (cosh_test_data): Likewise.
23608         (erf_test_data): Likewise.
23609         (erfc_test_data): Likewise.
23610         (exp_test_data): Likewise.
23611         (exp10_test_data): Likewise.
23612         (exp2_test_data): Likewise.
23613         (expm1_test_data): Likewise.
23614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23616 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23618         [BZ #19006]
23619         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23620         to ...
23621         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23622         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23623         to ...
23624         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23625         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23626         to ...
23627         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23628         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23629         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23630         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23631         to ...
23632         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23633         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23634         Moved to ...
23635         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23636         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23637         Moved to ...
23638         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23639         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23640         to ...
23641         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23642         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23643         Moved to ...
23644         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23645         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23646         to ...
23647         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23648         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23649         Removed.
23650         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23651         Likewise.
23652         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23653         Likewise.
23654         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23655         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23656         Likewise.
23657         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23658         Likewise.
23659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23660         Likewise.
23661         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23662         Likewise.
23663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23664         Likewise.
23665         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23666         Likewise.
23667         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23668         Likewise.
23669         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23670         Likewise.
23671         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23672         Likewise.
23673         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23674         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23675         Likewise.
23676         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23677         Likewise.
23678         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23679         Likewise.
23680         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23681         Likewise.
23682         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23683         Likewise.
23684         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23685         Replace ../i486/pthread_cond_timedwait.S with
23686         ../pthread_cond_timedwait.S.
23688 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23690         * math/libm-test.inc (acos_test_data): Refine expectations for
23691         errno and "inexact" exceptions.
23692         (acosh_test_data): Likewise.
23693         (asin_test_data): Likewise.
23694         (asinh_test_data): Likewise.
23695         (atan_test_data): Likewise.
23696         (atanh_test_data): Likewise.
23697         (atan2_test_data): Likewise.
23698         (cbrt_test_data): Likewise.
23699         (ceil_test_data): Likewise.
23700         (copysign_test_data): Likewise.
23701         (cosh_test_data): Likewise.
23702         (erf_test_data): Likewise.
23703         (erfc_test_data): Likewise.
23704         (exp_test_data): Likewise.
23705         (exp10_test_data): Likewise.
23706         (exp2_test_data): Likewise.
23707         (expm1_test_data): Likewise.
23708         (fabs_test_data): Likewise.
23709         (floor_test_data): Likewise.
23710         (fma_test_data): Likewise.
23711         (fmax_test_data): Likewise.
23712         (fmin_test_data): Likewise.
23713         (fmod_test_data): Likewise.
23714         (fpclassify_test_data): Likewise.
23715         (frexp_test_data): Likewise.
23716         (hypot_test_data): Likewise.
23717         (ilogb_test_data): Likewise.
23718         (isgreater_test_data): Likewise.
23719         (isgreaterequal_test_data): Likewise.
23720         (isinf_test_data): Likewise.
23721         (isless_test_data): Likewise.
23722         (islessequal_test_data): Likewise.
23723         (islessgreater_test_data): Likewise.
23724         (isnan_test_data): Likewise.
23725         (isnormal_test_data): Likewise.
23726         (issignaling_test_data): Likewise.
23727         (isunordered_test_data): Likewise.
23728         (j0_test_data): Likewise.
23729         (j1_test_data): Likewise.
23730         (jn_test_data): Likewise.
23731         (lgamma_test_data): Likewise.
23732         (lrint_test_data): Likewise.
23733         (llrint_test_data): Likewise.
23734         (log_test_data): Likewise.
23735         (log10_test_data): Likewise.
23736         (log1p_test_data): Likewise.
23737         (log2_test_data): Likewise.
23738         (logb_test_data): Likewise.
23739         (lround_test_data): Likewise.
23740         (llround_test_data): Likewise.
23741         (modf_test_data): Likewise.
23742         (nearbyint_test_data): Likewise.
23743         (nextafter_test_data): Likewise.
23744         (nexttoward_test_data): Likewise.
23745         (pow_test_data): Likewise.
23746         (remainder_test_data): Likewise.
23747         (remquo_test_data): Likewise.
23748         (rint_test_data): Likewise.
23749         (round_test_data): Likewise.
23750         (signbit_test_data): Likewise.
23751         (sinh_test_data): Likewise.
23752         (sqrt_test_data): Likewise.
23753         (tanh_test_data): Likewise.
23754         (tgamma_test_data): Likewise.
23755         (trunc_test_data): Likewise.
23756         (y0_test_data): Likewise.
23757         (y1_test_data): Likewise.
23758         (yn_test_data): Likewise.
23759         (significand_test_data): Likewise.
23761 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23763         * manual/filesys.texi (Storage Allocation): Document that
23764         posix_fallocate emulation fails when fd is open with O_WRONLY.
23766 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23768         [BZ #19016]
23769         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23770         allow more cases with X^2 + Y^2 >= 0.5.
23771         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23772         normal element in sum instead of special-casing based on values of
23773         arguments.
23774         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23775         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23776         -1 as normal element in sum instead of special-casing based on
23777         values of arguments.
23778         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23779         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23780         (__x2y2m1): Update comment.
23781         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23782         as normal element in sum instead of special-casing based on values
23783         of arguments.
23784         * math/s_clog.c (__clog): Handle more cases using log1p without
23785         hypot.
23786         * math/s_clog10.c (__clog10): Likewise.
23787         * math/s_clog10f.c (__clog10f): Likewise.
23788         * math/s_clog10l.c (__clog10l): Likewise.
23789         * math/s_clogf.c (__clogf): Likewise.
23790         * math/s_clogl.c (__clogl): Likewise.
23791         * math/auto-libm-test-in: Add more tests of clog and clog10.
23792         * math/auto-libm-test-out: Regenerated.
23793         * sysdeps/i386/fpu/libm-test-ulps: Update.
23794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23796 2015-09-28  Martin Sebor  <msebor@redhat.com>
23798         [BZ #18969]
23799         * string/Makefile (LOCALES): Define.
23800         (gen-locales.mk): Include.
23801         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23802         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23803         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23804         on setlocale failure.
23806 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23808         [BZ #18985]
23809         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23810         (__strftime_internal): Likewise.
23811         * time/tst-strftime.c (do_bz18985): New test.
23812         (do_test): Call it.
23814 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23816         [BZ #18956]
23817         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23818         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23819         extracting high part.
23820         * math/auto-libm-test-in: Add another test of pow.
23821         * math/auto-libm-test-out: Regenerated.
23822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23824 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23826         [BZ #18825]
23827         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23828         New macro.
23829         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23830         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23831         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23832         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23833         DBL_NARROW_EVAL, reloading the PIC register as needed.
23834         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23835         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23836         FLT_NARROW_EVAL.  Use separate return path for case when first
23837         argument is NaN.
23838         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23839         DEFINE_LDBL_MIN.
23840         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23841         PIC register.
23842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23843         math_check_force_underflow_nonneg.
23844         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23845         underflow for subnormal result.
23846         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23848         math_check_force_underflow_nonneg.
23849         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23850         math_check_force_underflow.
23851         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23852         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23853         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23854         DEFINE_LDBL_MIN.
23855         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23856         * math/auto-libm-test-in: Add more tests of pow.
23857         * math/auto-libm-test-out: Regenerated.
23859 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23861         * nss/bug17079.c (init_test_items): Add diagnostic for
23862         inconsistent entries.
23863         (test_buffer_size): Skip inconsistent entries.
23865 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23867         [BZ #13304]
23868         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23869         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23870         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23872         [BZ #13304]
23873         * sysdeps/microblaze/s_fma.c: New file.
23874         * sysdeps/microblaze/s_fmaf.c: Likewise.
23875         * sysdeps/microblaze/sfp-machine.h: Likewise.
23877 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23879         [BZ #17250]
23880         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23881         member.
23883 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23885         [BZ #18803]
23886         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23887         (MO): New macro.
23888         (__ieee754_hypot) [PIC]: Load PIC register.
23889         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23890         DBL_NARROW_EVAL.
23891         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23892         math_check_force_underflow_nonneg in case where result might be
23893         tiny.
23894         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23895         Likewise.
23896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23897         Likewise.
23898         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23899         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23900         * math/auto-libm-test-in: Add more tests of hypot.
23901         * math/auto-libm-test-out: Regenerated.
23903 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23905         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23907 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23909         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23910         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23911         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23912         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23913         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23914         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23915         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23917         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23918         LOAD_PIC_REG.
23920         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23921         (FLT_CHECK_FORCE_UFLOW): Likewise.
23922         (DBL_CHECK_FORCE_UFLOW): Likewise.
23923         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23924         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23925         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23926         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23927         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23928         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23929         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23930         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23931         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23932         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23933         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23934         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23935         (flt_min): Replace with use of DEFINE_FLT_MIN.
23936         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23937         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23938         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23939         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23940         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23941         (flt_min): Replace with use of DEFINE_FLT_MIN.
23942         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23943         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23944         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23945         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23946         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23947         (flt_min): Replace with use of DEFINE_FLT_MIN.
23948         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23949         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23950         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23951         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23952         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23953         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23954         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23955         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23956         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23957         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23958         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23959         (flt_min): Replace with use of DEFINE_FLT_MIN.
23960         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23961         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23962         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23963         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23964         main computation.
23965         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23966         (flt_min): Replace with use of DEFINE_FLT_MIN.
23967         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23968         main computation.
23969         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23970         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23971         (MO): New macro.
23972         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23973         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23974         (flt_min): Replace with use of DEFINE_FLT_MIN.
23975         (MO): New macro.
23976         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23977         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23978         (__log1pl): Use MO.
23980         [BZ #19003]
23981         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23982         $(config-cflags-nofma).
23984 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23986         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23988 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23990         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23991         (TWO127): Likewise.
23993         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23994         (min_of_type): Likewise.
23995         (math_check_force_underflow): Likewise.
23996         (math_check_force_underflow_nonneg): Likewise.
23997         (math_check_force_underflow_complex): Likewise.
23998         * math/e_exp2l.c (__ieee754_exp2l): Use
23999         math_check_force_underflow_nonneg.
24000         * math/k_casinh.c (__kernel_casinh): Likewise.
24001         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24002         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24003         * math/s_catan.c (__catan): Use
24004         math_check_force_underflow_complex.
24005         * math/s_catanf.c (__catanf): Likewise.
24006         * math/s_catanh.c (__catanh): Likewise.
24007         * math/s_catanhf.c (__catanhf): Likewise.
24008         * math/s_catanhl.c (__catanhl): Likewise.
24009         * math/s_catanl.c (__catanl): Likewise.
24010         * math/s_ccosh.c (__ccosh): Likewise.
24011         * math/s_ccoshf.c (__ccoshf): Likewise.
24012         * math/s_ccoshl.c (__ccoshl): Likewise.
24013         * math/s_cexp.c (__cexp): Likewise.
24014         * math/s_cexpf.c (__cexpf): Likewise.
24015         * math/s_cexpl.c (__cexpl): Likewise.
24016         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24017         * math/s_clog10.c (__clog10): Likewise.
24018         * math/s_clog10f.c (__clog10f): Likewise.
24019         * math/s_clog10l.c (__clog10l): Likewise.
24020         * math/s_clogf.c (__clogf): Likewise.
24021         * math/s_clogl.c (__clogl): Likewise.
24022         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24023         * math/s_csinf.c (__csinf): Likewise.
24024         * math/s_csinh.c (__csinh): Likewise.
24025         * math/s_csinhf.c (__csinhf): Likewise.
24026         * math/s_csinhl.c (__csinhl): Likewise.
24027         * math/s_csinl.c (__csinl): Likewise.
24028         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24029         * math/s_csqrtf.c (__csqrtf): Likewise.
24030         * math/s_csqrtl.c (__csqrtl): Likewise.
24031         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24032         * math/s_ctanf.c (__ctanf): Likewise.
24033         * math/s_ctanh.c (__ctanh): Likewise.
24034         * math/s_ctanhf.c (__ctanhf): Likewise.
24035         * math/s_ctanhl.c (__ctanhl): Likewise.
24036         * math/s_ctanl.c (__ctanl): Likewise.
24037         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24038         instead of volatile.
24039         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24040         math_check_force_underflow.
24041         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24042         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24043         volatile when forcing underflow.
24044         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24045         math_check_force_underflow_nonneg.
24046         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24047         Likewise.
24048         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24049         math_check_force_underflow.
24050         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24051         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24052         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24053         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24054         math_check_force_underflow_nonneg.
24055         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24056         math_check_force_underflow.
24057         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24059         instead of volatile.
24060         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24061         math_check_force_underflow.
24062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24064         math_check_force_underflow_nonneg.
24065         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24066         math_check_force_underflow.
24067         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24068         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24069         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24070         math_check_force_underflow_nonneg.
24071         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24072         Likewise.
24073         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24074         math_check_force_underflow.
24075         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24076         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24077         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24078         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24079         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24080         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24081         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24082         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24083         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24084         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24085         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24086         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24087         Likewise.
24088         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24089         math_check_force_underflow_nonneg.
24090         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24091         Likewise.
24092         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24093         math_check_force_underflow.
24094         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24095         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24096         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24097         Likewise.
24098         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24099         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24100         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24101         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24102         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24103         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24105         instead of volatile.
24106         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24107         math_check_force_underflow.
24108         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24110         math_check_force_underflow.
24111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24112         Likewise.
24113         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24114         Use math_check_force_underflow_nonneg.
24115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24116         math_check_force_underflow.
24117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24118         Likewise.
24119         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24120         Likewise.
24121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24122         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24123         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24124         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24126         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24127         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24128         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24129         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24130         math_check_force_underflow_nonneg.
24131         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24132         math_check_force_underflow.
24133         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24134         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24135         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24136         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24137         math_check_force_underflow_nonneg.
24138         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24139         math_check_force_underflow.
24140         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24142         instead of volatile.
24143         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24144         math_check_force_underflow.
24146         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24147         * stdlib/strtod_l.c: Include <math_private.h>.
24148         (overflow_value): Use math_narrow_eval.
24149         (underflow_value): Likewise.
24150         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24151         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24152         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24153         (__ieee754_gamma_r): Likewise.
24154         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24155         Likewise.
24156         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24157         Likewise.
24158         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24159         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24160         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24161         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24162         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24163         (__ieee754_gammaf_r): Likewise.
24164         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24165         Likewise.
24166         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24167         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24168         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24169         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24170         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24171         volatile.
24172         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24173         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24174         math_narrow_eval.
24175         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24176         Likewise.
24177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24178         Likewise.
24179         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24180         Likewise.
24181         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24182         volatile.
24183         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24184         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24185         math_narrow_eval.
24186         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24187         Likewise.
24188         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24189         Likewise.
24191 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24193         * nptl/Versions: Remove ignored symbols.
24195 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24197         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24198         * nss/Makefile (tests): Update.
24200 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24202         * nss/bug18287.c: New file.
24203         * nss/Makefile (tests): Add bug18287.
24205 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24207         * mach/Versions (__mach_host_self_): Add symbol.
24209 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24211         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24212         vm_page_size.
24214 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24216         Really fix sysdeps/i386/fpu/s_scalbn.S build
24218         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24219         (libc: GLIBC_2_22): Remove unused version set.
24221 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24223         * config.make.in (enable-timezone-tools): New variable.
24224         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24225         (enable_timezone_tools): Export to generated files.
24226         * configure: Regenerate.
24227         * INSTALL: Regenerate.
24228         * manual/install.texi (--disable-timezone-tools): Document new flag.
24229         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24230         ifeq ($(enable-timezone-tools),yes) check.
24232 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24234         * timezone/Makefile: Revert previous change.
24236         [BZ #18980]
24237         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24238         (DEFINE_DBL_MIN): Likewise.
24239         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24240         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24241         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24242         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24243         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24244         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24245         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24246         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24247         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24248         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24249         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24250         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24251         (flt_min): Replace with use of DEFINE_FLT_MIN.
24252         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24253         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24255         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24256         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24257         (flt_min): Replace with use of DEFINE_FLT_MIN.
24258         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24259         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24260         (flt_min): Replace with use of DEFINE_FLT_MIN.
24261         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24262         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24263         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24264         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24265         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24266         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24267         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24268         (__ieee754_pow): Use DBL_NARROW_EVAL.
24269         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24270         (__ieee754_powf): Use FLT_NARROW_EVAL.
24271         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24272         (__ieee754_expf_sse2): Convert double-precision result to single
24273         precision.
24274         * sysdeps/i386/fpu/libm-test-ulps: Update.
24276 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24278         * timezone/Makefile: Ignore unused variable errors due to private.h
24279         (time_t_min) and (time_t_max).
24280         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24281         Likewise.
24283 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24285         [BZ #18981]
24286         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24287         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24288         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24289         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24290         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24291         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24292         (__scalbn): Use DBL_NARROW_EVAL.
24293         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24294         (__scalbnf): Use FLT_NARROW_EVAL.
24296 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24298         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24299         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24300         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24301         * stdio-common/printf_fp.c (___printf_fp):
24302         Use signbit to get the sign. Use isinf macro to allow inlining.
24303         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24304         * stdio-common/printf_size.c (__printf_size): Likewise.
24306 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24308         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24310 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24312         [BZ #18980]
24313         * sysdeps/generic/math_private.h: Include <float.h>.
24314         (math_narrow_eval): New macro.
24315         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24316         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24317         math_narrow_eval on overflowing return value.
24318         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24319         Likewise.
24320         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24321         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24322         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24323         Likewise.
24324         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24326 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24328         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24329         * math/Makefile: Remove isinf_ns.c.
24330         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24331         * math/multc3.c (__multc3): Likewise.
24332         * math/s_casin.c (__casin): Likewise.
24333         * math/s_casinf.c (__casinf): Likewise.
24334         * math/s_casinl.c (__casinl): Likewise.
24335         * math/s_cproj.c (__cproj): Likewise.
24336         * math/s_cprojf.c (__cprojf): Likewise.
24337         * math/s_cprojl.c (__cprofl): Likewise.
24338         * math/s_ctan.c (__ctan): Likewise.
24339         * math/s_ctanf.c (__ctanf): Likewise.
24340         * math/s_ctanh.c (__ctanh): Likewise.
24341         * math/s_ctanhf.c (__ctanhf): Likewise.
24342         * math/s_ctanhl.c (__ctanhl): Likewise.
24343         * math/s_ctanl.c (__ctanl): Likewise.
24344         * math/w_fmod.c (__fmod): Likewise.
24345         * math/w_fmodf.c (__fmodf): Likewise.
24346         * math/w_fmodl.c (_fmodl): Likewise.
24347         * math/w_remainder.c (__remainder): Likewise.
24348         * math/w_remainderf.c (__remainderf): Likewise.
24349         * math/w_remainderl.c (__remainderl): Likewise.
24350         * math/w_scalb.c (__scalb): Likewise.
24351         * math/w_scalbf.c (__scalbf): Likewise.
24352         * math/w_scalbl.c (__scalbl): Likewise.
24353         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24354         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24355         with isinf.
24356         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24358         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24359         __isinf_nsf with isinf.
24360         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24361         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24362         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24363         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24364         with isinf.
24365         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24366         __isinf_nsl with isinf.
24367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24368         with isinf.
24369         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24370         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24371         __isinf_nsl with isinf.
24372         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24373         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24374         with isinf.
24376 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24378         * resolv/base64.c (rcsid): Remove unused static.
24379         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24380         static.  (tqpi1): Likewise.
24381         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24382         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24383         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24384         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24386         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24387         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24388         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24389         Likewise.
24391 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24393         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24394         <nptl/pthreadP.h>.
24395         (_longjmp_unwind): Use __libc_ptf_call.
24396         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24398 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24400         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24401         * sysdeps/arm/__longjmp.S: Likewise.
24403 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24405         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24406         Use __builtin_signbit.
24407         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24408         Use __builtin_signbitf.
24409         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24410         Use __builtin_signbitl.
24411         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24412         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24414 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24416         [BZ #15367]
24417         [BZ #17441]
24419         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24420         * math/math.h (fpclassify): Use __builtin_fpclassify when
24421         available.  (signbit): Use __builtin_signbit(f/l).
24422         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24423         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24424         (isinf): Use __builtin_isinf_sign.
24426 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24428         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24429         * benchtests/bench-math-inlines.c: New benchmark.
24430         * benchtests/bench-util.h: New file.
24431         * benchtests/bench-util.c: New file.
24432         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24434 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24436         * elf/tst-dlmopen1.c: Define TEST_SO.
24437         (do_test): Use TEST_SO.
24439         * elf/dl-load.c: Include libc-internal.h.
24440         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24442 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24444         [BZ #17887]
24445         * time/strptime_l.c (__strptime_internal): Make %z accept
24446         [+-]HH:MM time zones.
24448 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24450         [BZ #17886]
24451         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24452         valid time zone.
24454 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24456         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24457         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24459         (__ASSUME_FDATASYNC): Delete.
24461 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24463         * conform/linknamespace.pl: Require weak undefined symbols to be
24464         in the standard namespace.
24465         (%strong_syms): Rename to %seen_syms.
24466         (%strong_seen): Rename to %seen_where.
24468 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24470         [BZ #18970]
24471         * misc/error.c (error): Replace pthread_setcancelstate with
24472         __pthread_setcancelstate.
24473         (error_at_line): Likewise.
24474         * posix/wordexp.c (parse_comm): Likewise.
24475         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24476         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24477         (__pthread_setcancelstate): This.
24478         (pthread_setcancelstate): Add an alias.
24479         * nptl/nptl-init.c (pthread_functions): Replace
24480         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24481         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24482         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24483         hidden_proto.
24484         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24485         it with hidden_def.
24486         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24487         (pthread_setcancelstate): Renamed to ...
24488         (__pthread_setcancelstate): This.
24489         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24490         __libc_ptf_call with __pthread_setcancelstate.
24492 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24493             Andreas Schwab  <schwab@suse.de>
24495         [BZ #17118]
24496         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24497         result when imaginary part of argument is infinite using sine and
24498         cosine.
24499         * math/s_ctanf.c (__ctanf): Likewise.
24500         * math/s_ctanl.c (__ctanl): Likewise.
24501         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24502         of result when real part of argument is infinite using sine and
24503         cosine.
24504         * math/s_ctanhf.c (__ctanhf): Likewise.
24505         * math/s_ctanhl.c (__ctanhl): Likewise.
24506         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24507         (ctanh_test_data): Add more tests of ctanh.
24509 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24511         [BZ #15384]
24512         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24513         bit-mask as in subtraction.
24514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24515         Likewise.
24516         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24517         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24520         [BZ #18951]
24521         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24522         underflow exception for small results.
24523         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24524         Likewise.
24525         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24526         Likewise.
24527         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24528         Likewise.
24529         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24530         Likewise.
24531         * math/auto-libm-test-in: Add more tests of tgamma.
24532         * math/auto-libm-test-out: Regenerated.
24534 2015-09-17  Andreas Schwab  <schwab@suse.de>
24536         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24538 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #18977]
24541         * math/bits/mathcalls.h
24542         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24543         not declare.
24544         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24545         Likewise.
24546         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24547         Likewise.
24548         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24549         Likewise.
24550         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24551         Likewise.
24552         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24553         Likewise.
24554         * conform/data/math.h-data
24555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24556         function.
24557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24560         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24561         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24562         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24563         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24564         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24565         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24566         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24567         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24569         [BZ #6803]
24570         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24571         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24572         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24573         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24574         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24575         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24576         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24577         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24578         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24580         Likewise.
24581         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24582         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24583         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24584         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24585         long_double_symbol calls.
24586         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24587         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24588         strong alias of __ldexpl.
24589         (scalbnl): Define using long_double_symbol.
24590         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24591         Remove alias.
24592         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24593         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24594         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24595         (scalbln_test_data): Add more errno expectations.
24597 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24599         Cache the host port like we cache the task port.  This way we do not
24600         need to call the kernel just to get the port.  Furthermore, we no
24601         longer increase the reference count on every invocation of
24602         `mach_host_self'.
24604         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24605         Protect declarations against the macro expansion.
24606         * mach/mach_init.c (__mach_host_self_): New variable.
24607         (mach_init): Initialize `__mach_host_self_'.
24608         * mach/mach_init.h (__mach_host_self_): New declaration.
24609         (__mach_host_self, mach_host_self): New macros.
24610         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24611         Release reference.
24613 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24615         [BZ #4404]
24616         * po/de.po: Update from Translation Project.
24618         [BZ #16415]
24619         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24620         (__expm1l): Remove code to handle positive infinity and overflow.
24621         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24622         variable.
24623         (__expm1l): Remove code to handle positive infinity and overflow.
24625 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24626             Paul Pluzhnikov  <ppluzhnikov@google.com>
24628         [BZ #18872]
24629         * stdio-common/Makefile (tst-printf-bz18872): New test.
24630         (tst-printf-bz18872-mem.out): Likewise.
24631         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24632         * stdio-common/vfprintf.c: Fix memory leaks.
24634 2015-09-16  Andreas Schwab  <schwab@suse.de>
24636         [BZ #17244]
24637         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24638         Remove extra va_start/va_end calls.
24640         [BZ #17243]
24641         * posix/execl.c (execl): Add missing va_end.
24642         * posix/execle.c (execle): Likewise.
24643         * posix/execlp.c (execlp): Likewise.
24645 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24647         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24648         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24650 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24652         [BZ #18967]
24653         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24654         undefine around includes of <bits/mathcalls.h>.
24655         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24656         not declare function.
24657         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24658         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24659         (scalb): Likewise.
24660         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24661         not define macro.
24662         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24663         variable.
24664         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24665         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24666         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24668         [BZ #18857]
24669         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24670         return non-finite argument without doing ordered comparisons on
24671         it.
24673         [BZ #16296]
24674         * math/fenv.h (fegetround): Use __attribute_pure__.
24675         * include/fenv.h (__fegetround): Likewise.
24677         [BZ #18595]
24678         * math/s_ctan.c (__ctan): Force underflow exception for results
24679         whose real or imaginary part has small absolute value.
24680         * math/s_ctanf.c (__ctanf): Likewise.
24681         * math/s_ctanh.c (__ctanh): Likewise.
24682         * math/s_ctanhf.c (__ctanhf): Likewise.
24683         * math/s_ctanhl.c (__ctanhl): Likewise.
24684         * math/s_ctanl.c (__ctanl): Likewise.
24685         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24686         and ctanh.  Add more tests of ctan and ctanh.
24688         [BZ #15918]
24689         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24690         handling of cases where one argument is an infinity.
24692         [BZ #18875]
24693         [BZ #18966]
24694         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24695         (MO): New macro.
24696         (__ieee754_exp10): For small results, force underflow exception
24697         and remove excess range and precision from return value.
24698         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24699         (MO): New macro.
24700         (__ieee754_exp10f): For small results, force underflow exception
24701         and remove excess range and precision from return value.
24702         * math/auto-libm-test-in: Add more tests of exp10.
24703         * math/auto-libm-test-out: Regenerated.
24705 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24707         [BZ #18875]
24708         [BZ #18961]
24709         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24710         (MO): New macro.
24711         (__ieee754_exp): For small results, force underflow exception and
24712         remove excess range and precision from return value.
24713         (__exp_finite): Likewise.
24714         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24715         (MO): New macro.
24716         (__ieee754_expf): For small results, force underflow exception and
24717         remove excess range and precision from return value.
24718         (__expf_finite): Likewise.
24719         * math/auto-libm-test-in: Add more tests of exp.
24720         * math/auto-libm-test-out: Regenerated.
24722         [BZ #16521]
24723         [BZ #18875]
24724         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24725         small results.
24726         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24727         (MO): New macro.
24728         (__ieee754_exp2): For small results, force underflow exception and
24729         remove excess range and precision from return value.
24730         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24731         (MO): New macro.
24732         (__ieee754_exp2f): For small results, force underflow exception
24733         and remove excess range and precision from return value.
24734         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24735         (MO): New macro.
24736         (__ieee754_exp2l): Force underflow exception for small results.
24737         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24738         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24739         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24740         (MO): New macro.
24741         (__ieee754_exp2l): Force underflow exception for small results.
24742         * math/auto-libm-test-in: Add more tests or exp2.
24743         * math/auto-libm-test-out: Regenerated.
24745 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24747         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24749         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24750         /dev/null.
24752 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24754         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24755         io fs process)): Drop spurious backslash.
24757 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24760         Use sysinfo system call instead of parsing /proc/meminfo.
24761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24762         Likewise.
24764 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24766         [BZ #16985]
24767         * programs/localedef.c (main): Display argv[remaining] when
24768         output_path is NULL.
24770 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24772         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24773         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24774         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24775         tanh.
24776         * math/auto-libm-test-out: Regenerated.
24777         * sysdeps/i386/fpu/libm-test-ulps: Update.
24778         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24782 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24784         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24785         Use 'override' keyword to freeze the value here, preventing
24786         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24788 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24790         [BZ #14912]
24791         * sysdeps/aarch64/bits/atomic.h: Move to ...
24792         * sysdeps/aarch64/atomic-machine.h: ...here.
24793         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24794         _AARCH64_ATOMIC_MACHINE_H.
24795         * sysdeps/alpha/bits/atomic.h: Move to ...
24796         * sysdeps/alpha/atomic-machine.h: ...here.
24797         * sysdeps/arm/bits/atomic.h: Move to ...
24798         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24799         * bits/atomic.h: Move to ...
24800         * sysdeps/generic/atomic-machine.h: ...here.
24801         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24802         * sysdeps/i386/bits/atomic.h: Move to ...
24803         * sysdeps/i386/atomic-machine.h: ...here.
24804         * sysdeps/ia64/bits/atomic.h: Move to ...
24805         * sysdeps/ia64/atomic-machine.h: ...here.
24806         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24807         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24808         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24809         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24810         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24811         * sysdeps/microblaze/bits/atomic.h: Move to ...
24812         * sysdeps/microblaze/atomic-machine.h: ...here.
24813         * sysdeps/mips/bits/atomic.h: Move to ...
24814         * sysdeps/mips/atomic-machine.h: ...here.
24815         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24816         * sysdeps/powerpc/bits/atomic.h: Move to ...
24817         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24818         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24819         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24820         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24821         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24822         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24823         <atomic-machine.h> instead of <bits/atomic.h>.
24824         * sysdeps/s390/bits/atomic.h: Move to ...
24825         * sysdeps/s390/atomic-machine.h: ...here.
24826         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24827         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24828         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24829         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24830         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24831         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24832         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24833         * sysdeps/tile/bits/atomic.h: Move to ...
24834         * sysdeps/tile/atomic-machine.h: ...here.
24835         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24836         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24837         <sysdeps/tile/atomic-machine.h> instead of
24838         <sysdeps/tile/bits/atomic.h>.
24839         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24840         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24841         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24842         <sysdeps/tile/atomic-machine.h> instead of
24843         <sysdeps/tile/bits/atomic.h>.
24844         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24845         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24846         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24847         <sysdeps/arm/atomic-machine.h> instead of
24848         <sysdeps/arm/bits/atomic.h>.
24849         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24850         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24851         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24852         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24853         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24854         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24855         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24856         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24857         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24858         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24859         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24860         * sysdeps/x86_64/bits/atomic.h: Move to ...
24861         * sysdeps/x86_64/atomic-machine.h: ...here.
24862         * include/atomic.h: Include <atomic-machine.h> instead of
24863         <bits/atomic.h>.
24865         * sysdeps/mips/mips32/libm-test-ulps: Update.
24866         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24868         [BZ #18952]
24869         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24870         not convert non-integer negative arguments to int to determine the
24871         value of signgam.
24872         * math/auto-libm-test-in: Add more tests of lgamma.
24873         * math/auto-libm-test-out: Regenerated.
24875         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24876         cosh, csqrt, erfc, expm1 and lgamma.
24877         * math/auto-libm-test-out: Regenerated.
24878         * sysdeps/i386/fpu/libm-test-ulps: Update.
24879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24881 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24883         [BZ #2542]
24884         [BZ #2543]
24885         [BZ #2558]
24886         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24887         __lgamma_neg for arguments from -28.0 to -2.0.
24888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24889         __lgamma_negf for arguments from -15.0 to -2.0.
24890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24891         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24892         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24893         Call __lgamma_negl for arguments from -33.0 to -2.0.
24894         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24895         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24896         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24897         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24898         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24899         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24900         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24901         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24902         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24903         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24904         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24905         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24906         (__lgamma_neg): Likewise.
24907         (__lgamma_negl): Likewise.
24908         (__lgamma_product): Likewise.
24909         (__lgamma_productl): Likewise.
24910         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24911         * math/auto-libm-test-in: Add more tests of lgamma.
24912         * math/auto-libm-test-out: Regenerated.
24913         * sysdeps/i386/fpu/libm-test-ulps: Update.
24914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24916 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24918         [BZ #18675]
24919         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24921 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24923         [BZ #14912]
24924         * bits/libc-lock.h: Move to ...
24925         * sysdeps/generic/libc-lock.h: ...here.
24926         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24927         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24928         * sysdeps/mach/hurd/libc-lock.h: ...here.
24929         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24930         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24931         * sysdeps/mach/bits/libc-lock.h: Move to ...
24932         * sysdeps/mach/libc-lock.h: ...here.
24933         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24934         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24935         * sysdeps/nptl/libc-lock.h: ...here.
24936         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24937         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24938         * sysdeps/nptl/libc-lockP.h: ...here.
24939         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24940         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24941         <bits/libc-lock.h>.
24942         * dirent/scandir-tail.c: Likewise.
24943         * dlfcn/dlerror.c: Likewise.
24944         * elf/dl-close.c: Likewise.
24945         * elf/dl-iteratephdr.c: Likewise.
24946         * elf/dl-lookup.c: Likewise.
24947         * elf/dl-open.c: Likewise.
24948         * elf/dl-support.c: Likewise.
24949         * elf/dl-writev.h: Likewise.
24950         * elf/rtld.c: Likewise.
24951         * grp/fgetgrent.c: Likewise.
24952         * gshadow/fgetsgent.c: Likewise.
24953         * gshadow/sgetsgent.c: Likewise.
24954         * iconv/gconv_conf.c: Likewise.
24955         * iconv/gconv_db.c: Likewise.
24956         * iconv/gconv_dl.c: Likewise.
24957         * iconv/gconv_int.h: Likewise.
24958         * iconv/gconv_trans.c: Likewise.
24959         * include/link.h: Likewise.
24960         * inet/getnameinfo.c: Likewise.
24961         * inet/getnetgrent.c: Likewise.
24962         * inet/getnetgrent_r.c: Likewise.
24963         * intl/bindtextdom.c: Likewise.
24964         * intl/dcigettext.c: Likewise.
24965         * intl/finddomain.c: Likewise.
24966         * intl/gettextP.h: Likewise.
24967         * intl/loadmsgcat.c: Likewise.
24968         * intl/localealias.c: Likewise.
24969         * intl/textdomain.c: Likewise.
24970         * libidn/idn-stub.c: Likewise.
24971         * libio/libioP.h: Likewise.
24972         * locale/duplocale.c: Likewise.
24973         * locale/freelocale.c: Likewise.
24974         * locale/newlocale.c: Likewise.
24975         * locale/setlocale.c: Likewise.
24976         * login/getutent_r.c: Likewise.
24977         * login/getutid_r.c: Likewise.
24978         * login/getutline_r.c: Likewise.
24979         * login/utmp-private.h: Likewise.
24980         * login/utmpname.c: Likewise.
24981         * malloc/mtrace.c: Likewise.
24982         * misc/efgcvt.c: Likewise.
24983         * misc/error.c: Likewise.
24984         * misc/fstab.c: Likewise.
24985         * misc/getpass.c: Likewise.
24986         * misc/mntent.c: Likewise.
24987         * misc/syslog.c: Likewise.
24988         * nis/nis_call.c: Likewise.
24989         * nis/nis_callback.c: Likewise.
24990         * nis/nss-default.c: Likewise.
24991         * nis/nss_compat/compat-grp.c: Likewise.
24992         * nis/nss_compat/compat-initgroups.c: Likewise.
24993         * nis/nss_compat/compat-pwd.c: Likewise.
24994         * nis/nss_compat/compat-spwd.c: Likewise.
24995         * nis/nss_nis/nis-alias.c: Likewise.
24996         * nis/nss_nis/nis-ethers.c: Likewise.
24997         * nis/nss_nis/nis-grp.c: Likewise.
24998         * nis/nss_nis/nis-hosts.c: Likewise.
24999         * nis/nss_nis/nis-network.c: Likewise.
25000         * nis/nss_nis/nis-proto.c: Likewise.
25001         * nis/nss_nis/nis-pwd.c: Likewise.
25002         * nis/nss_nis/nis-rpc.c: Likewise.
25003         * nis/nss_nis/nis-service.c: Likewise.
25004         * nis/nss_nis/nis-spwd.c: Likewise.
25005         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25006         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25007         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25008         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25009         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25010         * nis/nss_nisplus/nisplus-network.c: Likewise.
25011         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25012         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25013         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25014         * nis/nss_nisplus/nisplus-service.c: Likewise.
25015         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25016         * nis/ypclnt.c: Likewise.
25017         * nptl/libc_pthread_init.c: Likewise.
25018         * nss/getXXbyYY.c: Likewise.
25019         * nss/getXXent.c: Likewise.
25020         * nss/getXXent_r.c: Likewise.
25021         * nss/nss_db/db-XXX.c: Likewise.
25022         * nss/nss_db/db-netgrp.c: Likewise.
25023         * nss/nss_db/nss_db.h: Likewise.
25024         * nss/nss_files/files-XXX.c: Likewise.
25025         * nss/nss_files/files-alias.c: Likewise.
25026         * nss/nsswitch.c: Likewise.
25027         * posix/regex_internal.h: Likewise.
25028         * posix/wordexp.c: Likewise.
25029         * pwd/fgetpwent.c: Likewise.
25030         * resolv/res_hconf.c: Likewise.
25031         * resolv/res_libc.c: Likewise.
25032         * shadow/fgetspent.c: Likewise.
25033         * shadow/lckpwdf.c: Likewise.
25034         * shadow/sgetspent.c: Likewise.
25035         * socket/opensock.c: Likewise.
25036         * stdio-common/reg-modifier.c: Likewise.
25037         * stdio-common/reg-printf.c: Likewise.
25038         * stdio-common/reg-type.c: Likewise.
25039         * stdio-common/vfprintf.c: Likewise.
25040         * stdio-common/vfscanf.c: Likewise.
25041         * stdlib/abort.c: Likewise.
25042         * stdlib/cxa_atexit.c: Likewise.
25043         * stdlib/fmtmsg.c: Likewise.
25044         * stdlib/random.c: Likewise.
25045         * stdlib/setenv.c: Likewise.
25046         * string/strsignal.c: Likewise.
25047         * sunrpc/auth_none.c: Likewise.
25048         * sunrpc/bindrsvprt.c: Likewise.
25049         * sunrpc/create_xid.c: Likewise.
25050         * sunrpc/key_call.c: Likewise.
25051         * sunrpc/rpc_thread.c: Likewise.
25052         * sysdeps/arm/backtrace.c: Likewise.
25053         * sysdeps/generic/ldsodefs.h: Likewise.
25054         * sysdeps/generic/stdio-lock.h: Likewise.
25055         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25056         * sysdeps/i386/backtrace.c: Likewise.
25057         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25058         * sysdeps/m68k/backtrace.c: Likewise.
25059         * sysdeps/mach/hurd/cthreads.c: Likewise.
25060         * sysdeps/mach/hurd/dirstream.h: Likewise.
25061         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25062         * sysdeps/nptl/malloc-machine.h: Likewise.
25063         * sysdeps/nptl/stdio-lock.h: Likewise.
25064         * sysdeps/posix/dirstream.h: Likewise.
25065         * sysdeps/posix/getaddrinfo.c: Likewise.
25066         * sysdeps/posix/system.c: Likewise.
25067         * sysdeps/pthread/aio_suspend.c: Likewise.
25068         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25069         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25070         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25071         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25072         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25073         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25074         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25075         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25076         * sysdeps/unix/sysv/linux/system.c: Likewise.
25077         * sysdeps/x86_64/backtrace.c: Likewise.
25078         * time/alt_digit.c: Likewise.
25079         * time/era.c: Likewise.
25080         * time/tzset.c: Likewise.
25081         * wcsmbs/wcsmbsload.c: Likewise.
25082         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25083         instead of <bits/libc-lock.h> in comment.
25085 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25087         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25088         Only use .set mips2 if the current ISA is below mips2.
25089         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25090         Likewise.
25091         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25092         mips32r2 if the current ISA is below mips32r2.
25093         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25094         (TLS_IE): Updated to use the TLD_RDHWR macro.
25095         (TLS_LE): Likewise.
25096         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25097         __ASSEMBLER__ condition.
25099 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25101         Fix parallel build of before-compile targets.
25103         * sysdeps/mach/Makefile ($(patsubst
25104         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25105         mach-before-compile target.
25106         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25107         io fs process)): Move rule to dedicated hurd-before-compile target.
25109 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25111         Fix rules generating headers in hurd/ and mach/ when initial make call
25112         has subdir= explicitly set.
25114         * sysdeps/mach/Makefile ($(patsubst
25115         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25116         calling $(MAKE).
25117         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25118         io fs process)): Force subdir to hurd when calling $(MAKE).
25119         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25120         subdir to mach when calling $(MAKE).
25122 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25124         Check sysheaders when looking for Mach and Hurd headers
25126         * sysdeps/mach/configure.ac: Add sysheaders check.
25127         * sysdeps/mach/configure: Regenerate.
25128         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25129         * sysdeps/mach/hurd/configure: Regenerate.
25131 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25133         [BZ #18921]
25134         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25135         Fix inverted sense of test of 'o_directory_works' value.
25136         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25137         Bernhard Voelker <mail@bernhard-voelker.de>.
25139 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25141         [BZ #14912]
25142         * bits/linkmap.h: Move to ...
25143         * sysdeps/generic/linkmap.h: ...here.
25144         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25145         * sysdeps/aarch64/linkmap.h: ...here.
25146         * sysdeps/arm/bits/linkmap.h: Move to ...
25147         * sysdeps/arm/linkmap.h: ...here.
25148         * sysdeps/hppa/bits/linkmap.h: Move to ...
25149         * sysdeps/hppa/linkmap.h: ...here.
25150         * sysdeps/ia64/bits/linkmap.h: Move to ...
25151         * sysdeps/ia64/linkmap.h: ...here.
25152         * sysdeps/mips/bits/linkmap.h: Move to ...
25153         * sysdeps/mips/linkmap.h: ...here.
25154         * sysdeps/s390/bits/linkmap.h: Move to ...
25155         * sysdeps/s390/linkmap.h: ...here.
25156         * sysdeps/sh/bits/linkmap.h: Move to ...
25157         * sysdeps/sh/linkmap.h: ...here.
25158         * sysdeps/x86/bits/linkmap.h: Move to ...
25159         * sysdeps/x86/linkmap.h: ...here.
25160         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25162 2015-09-04  Andreas Schwab  <schwab@suse.de>
25164         [BZ #18635]
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25166         (__makecontext): Terminate FDE before return label.
25167         (__novec_makecontext): Likewise.
25169 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25171         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25172         first member of struct sv in syscall macro.
25174 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25176         [BZ #14912]
25177         * bits/stdio-lock.h: Move to ...
25178         * sysdeps/generic/stdio-lock.h: ...here.
25179         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25180         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25181         * sysdeps/nptl/stdio-lock.h: ...here.
25182         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25183         * include/libio.h: Include <stdio-lock.h> instead of
25184         <bits/stdio-lock.h>.
25185         * sysdeps/nptl/fork.c: Likewise.
25186         * sysdeps/pthread/flockfile.c: Likewise.
25187         * sysdeps/pthread/ftrylockfile.c: Likewise.
25188         * sysdeps/pthread/funlockfile.c: Likewise.
25190         [BZ #14912]
25191         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25192         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25193         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25194         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25195         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25196         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25197         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25199 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25201         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25202         (test-xfail-tst-protected1b): New variable.
25204 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25206         [BZ #14912]
25207         * bits/libc-tsd.h: Move to ...
25208         * sysdeps/generic/libc-tsd.h: ...here.
25209         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25210         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25211         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25212         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25213         * include/ctype.h: Include <libc-tsd.h> instead of
25214         <bits/libc-tsd.h>.
25215         * include/rpc/rpc.h: Likewise.
25216         * locale/localeinfo.h: Likewise.
25217         * sunrpc/rpc_thread.c: Likewise.
25218         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25219         * sysdeps/nptl/malloc-machine.h: Likewise.
25221         * Makefile (headers): Remove bits/libc-lock.h.
25222         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25224         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25225         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25226         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25227         <bits/stdio-lock.h>.
25228         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25229         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25231 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25233         [BZ #18757]
25234         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25235         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25236         BZ #18757.
25238 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25240         * malloc/mtrace.pl: Filter out NULL entries.
25242 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25244         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25245         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25246         macro.
25248         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25249         (TCP_CC_INFO): Likewise.
25250         (TCP_SAVE_SYN): Likewise.
25251         (TCP_SAVED_SYN): Likewise.
25253 2015-08-31  Brett Neumeier <brett@neumeier.us>
25255         [BZ #18870]
25256         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25258 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25260         [BZ #18873]
25261         Fix broken overflow check in posix_fallocate
25262         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25263         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25264         Fix parenthesization typo.
25266 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25268         [BZ #18887]
25269         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25270         tst-mntent-blank-passno.
25271         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25272         * misc/tst-mntent-blank-corrupt.c: New test.
25273         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25274         * misc/tst-mntent.c (do_test): ... here.
25276 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25278         [BZ #4404]
25279         * po/de.po: Fix SIGALRM typo.
25281 2015-08-28  James Perkins  <james@loowit.net>
25283         * time/tst-strptime2.c (tests): Replace short list of test
25284         strings for strptime %z specifier with code which exhaustively
25285         tests every combination of sign and 0 to 5 digits. Tests for
25286         rejection of invalid strings.
25288 2015-08-28  James Perkins  <james@loowit.net>
25290         [BZ #16141]
25291         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25292         calculation, removing incorrect decimal time rounding, so that
25293         all minute values result in a valid seconds value.
25294         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25295         offset range limits to UTC-99:59 through UTC+99:59 to parse
25296         current and historical use cases.
25297         * time/tst-strptime2.c (tests): Modify and add tests for the
25298         strptime %z input field descriptor, specifically conversion of
25299         minutes to seconds and validating an offset range of -9959 to
25300         +9959.
25302 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25303             Dmitry V. Levin  <ldv@altlinux.org>
25305         [BZ #18877]
25306         * posix/Makefile (tests): Add tst-mmap-offset.
25307         * posix/tst-mmap.c: New file.
25308         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25309         offset calculation for negative values.
25311 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25313         * sysdeps/i386/init-arch.h: New file.
25314         * sysdeps/i386/i586/init-arch.h: Likewise.
25315         * sysdeps/i386/i686/init-arch.h: Likewise.
25316         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25317         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25318         * sysdeps/x86/cpu-features.h (bit_I586): New.
25319         (bit_I686): Likewise.
25320         (bit_CX8): Likewise.
25321         (bit_CMOV): Likewise.
25322         (index_CX8): Likewise.
25323         (index_CMOV): Likewise.
25324         (index_I586): Likewise.
25325         (index_I686): Likewise.
25326         (reg_CX8): Likewise.
25327         (reg_CMOV): Likewise.
25328         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25329         available at compile-time.
25330         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25331         available at compile-time.
25332         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25333         (USE_I686): Likewise.
25335 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25337         * sysdeps/i386/bcopy.S: New file.
25338         * sysdeps/i386/bzero.S: Likewise.
25339         * sysdeps/i386/memcpy.S: Likewise.
25340         * sysdeps/i386/memmove.S: Likewise.
25341         * sysdeps/i386/mempcpy.S: Likewise.
25342         * sysdeps/i386/memset.S: Likewise.
25343         * sysdeps/i386/bzero.c: Removed.
25344         * sysdeps/i386/memset.c: Likewise.
25345         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25346         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25347         * sysdeps/i386/i586/memset_chk.S: Likewise.
25348         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25349         * sysdeps/i386/memcpy_chk.S: Here.
25350         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25351         * sysdeps/i386/memmove_chk.S: Here.
25352         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25353         * sysdeps/i386/mempcpy_chk.S: Likewise.
25354         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25355         * sysdeps/i386/memset_chk.S: Likewise.
25357 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25359         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25360         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25361         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25362         * soft-fp/fmadf4.c: Ditto.
25363         * soft-fp/fmatf4.c: Ditto.
25365 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25367         * sysdeps/i386/i586/Implies: Removed.
25368         * sysdeps/i386/i686/Implies: Likewise.
25370 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25372         * sysdeps/i386/i486/strlen.S: Moved to ...
25373         * sysdeps/i386/strlen.S: Here.
25375 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25377         * sysdeps/i386/i486/strcat.S: Moved to ...
25378         * sysdeps/i386/strcat.S: Here.
25380 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25382         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25383         * sysdeps/i386/pthread_spin_trylock.S: Here.
25384         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25385         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25387 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25389         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25390         * sysdeps/i386/string-inlines.c: Here.
25392 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25394         * sysdeps/i386/i486/htonl.S: Moved ...
25395         * sysdeps/i386/htonl.S: here.
25397 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25399         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25400         * sysdeps/i386/bits/atomic.h: Here.
25402 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25404         * sysdeps/i386/i486/Versions: Removed.
25406 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25408         [BZ #2898]
25409         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25410         Based on patch by Aurelien Jarno.
25412 2015-08-26  Stan Shebs  <stanshebs@google.com>
25414         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25415         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25417 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25419         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25420         * sysdeps/powerpc/dl-procinfo.c:
25421         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25422         feature so it shows when LD_SHOW_AUXV=1.
25424 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25426         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25427         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25428         definition.  ISA 2.07B no longer requires full sync.
25430 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25432         [BZ #18863]
25433         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25434         (si_call_addr): Define.
25435         (si_syscall): Define.
25436         (si_arch): Define.
25438 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25440         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25441         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25442         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25443         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25444         (__memset_zero_constant_len_parameter): New.
25445         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25446         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25447         (__memset_zero_constant_len_parameter): Don't define if
25448         __memset_chk or USE_AS_BZERO are defined.
25450         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25451         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25452         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25454         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25455         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25456         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25457         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25458         comments.
25459         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25460         -mno-mmx for $(all-rtld-routines).
25461         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25462         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25463         i386.
25465 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25467         * sysdeps/generic/unwind.h
25468         (_Unwind_Word): Use __mode__(__unwind_word__)
25469         instead of __mode__(__word__).
25470         (_Unwind_Sword): Likewise.
25472         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25473         (MAX_NEEDED_INPUT): New define.
25474         (MAX_NEEDED_OUTPUT): New define.
25476         * NEWS: New item for IBM z13 string optimizations.
25478         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25479         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25480         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25481         * sysdeps/s390/multiarch/Makefile
25482         (sysdep_routines): Add memrchr functions.
25483         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25484         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25486         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25487         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25488         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25489         * sysdeps/s390/multiarch/Makefile
25490         (sysdep_routines): Add wmemcmp functions.
25491         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25492         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25493         * benchtests/bench-wmemcmp.c: New File.
25494         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25496         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25497         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25498         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25499         * sysdeps/s390/multiarch/Makefile
25500         (sysdep_routines): Add wmemset functions.
25501         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25502         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25503         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25504         * string/test-memset.c: Add wmemset support.
25505         * wcsmbs/test-wmemset.c: New File.
25506         * wcsmbs/Makefile (strop-tests): Add wmemset.
25507         * benchtests/bench-memset.c: Add wmemset support.
25508         * benchtests/bench-wmemset.c: New File.
25509         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25511         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25512         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25513         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25514         * sysdeps/s390/multiarch/Makefile
25515         (sysdep_routines): Add memccpy functions.
25516         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25517         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25518         * string/memccpy.c: Use MEMCCPY if defined.
25520         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25521         * sysdeps/s390/multiarch/memchr.c: Likewise.
25522         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25523         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25524         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25525         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25526         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25527         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25528         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25529         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25531         and rawmemchr functions.
25532         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25533         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25534         and wmemchr.
25535         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25536         * string/test-memchr.c: Add wmemchr support.
25537         * wcsmbs/test-wmemchr.c: New File.
25538         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25539         * benchtests/bench-memchr.c: Add wmemchr support.
25540         * benchtests/bench-wmemchr.c: New File.
25541         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25543         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25544         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25545         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25546         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25547         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25548         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25549         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25550         wcscspn functions.
25551         * sysdeps/s390/multiarch/ifunc-impl-list.c
25552         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25553         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25554         * string/test-strcspn.c: Add wcscspn support.
25555         * wcsmbs/test-wcscspn.c: New File.
25556         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25557         * benchtests/bench-strcspn.c: Add wcscspn support.
25558         * benchtests/bench-wcscspn.c: New File.
25559         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25561         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25562         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25563         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25564         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25565         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25566         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25567         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25568         wcspbrk functions.
25569         * sysdeps/s390/multiarch/ifunc-impl-list.c
25570         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25571         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25572         * string/test-strpbrk.c: Add wcspbrk support.
25573         * wcsmbs/test-wcspbrk.c: New File.
25574         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25575         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25576         * benchtests/bench-wcspbrk.c: New File.
25577         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25579         * sysdeps/s390/multiarch/strspn-c.c: New File.
25580         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25581         * sysdeps/s390/multiarch/strspn.c: Likewise.
25582         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25583         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25584         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25585         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25587         wcsspn functions.
25588         * sysdeps/s390/multiarch/ifunc-impl-list.c
25589         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25590         * string/test-strspn.c: Add wcsspn support.
25591         * wcsmbs/test-wcsspn.c: New File.
25592         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25593         * benchtests/bench-strspn.c: Add wcsspn support.
25594         * benchtests/bench-wcsspn.c: New File.
25595         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25597         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25598         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25599         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25600         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25601         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25602         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25604         wcsrchr functions.
25605         * sysdeps/s390/multiarch/ifunc-impl-list.c
25606         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25607         * benchtests/bench-wcsrchr.c: New File.
25608         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25610         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25611         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25612         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25613         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25614         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25615         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25616         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25617         wcschrnul functions.
25618         * sysdeps/s390/multiarch/ifunc-impl-list.c
25619         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25620         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25621         * string/test-strchr.c: Add wcschrnul support.
25622         * wcsmbs/test-wcschrnul.c: New File.
25623         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25624         * benchtests/bench-strchr.c: Add wcschrnul support.
25625         * benchtests/bench-wcschrnul.c: New File.
25626         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25628         * sysdeps/s390/multiarch/strchr-c.c: New File.
25629         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25630         * sysdeps/s390/multiarch/strchr.c: Likewise.
25631         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25632         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25633         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25635         wcschr functions.
25636         * sysdeps/s390/multiarch/ifunc-impl-list.c
25637         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25638         * string/strchr.c (STRCHR): Define and use macro.
25639         * benchtests/bench-wcschr.c: New File.
25640         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25642         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25643         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25644         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25645         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25646         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25647         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25648         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25649         wcsncmp functions.
25650         * sysdeps/s390/multiarch/ifunc-impl-list.c
25651         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25652         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25653         * benchtests/bench-strncmp.c: Add wcsncmp support.
25654         * benchtests/bench-wcsncmp.c: New File.
25655         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25657         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25658         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25659         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25660         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25661         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25662         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25663         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25664         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25665         wcscmp functions.
25666         * sysdeps/s390/multiarch/ifunc-impl-list.c
25667         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25668         * string/strcmp.c (STRCMP): Define and use macro.
25669         * benchtests/bench-wcscmp.c: New File.
25670         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25671         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25672         instead of _HAVE_STRING_ARCH_memchr.
25674         * sysdeps/s390/multiarch/strncat-c.c: New File.
25675         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25676         * sysdeps/s390/multiarch/strncat.c: Likewise.
25677         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25678         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25679         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25680         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25681         wcsncat functions.
25682         * sysdeps/s390/multiarch/ifunc-impl-list.c
25683         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25684         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25685         * string/test-strncat.c: Add wcsncat support.
25686         * wcsmbs/test-wcsncat.c: New File.
25687         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25688         * benchtests/bench-strncat.c: Add wcsncat support.
25689         * benchtests/bench-wcsncat.c: New File.
25690         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25692         * sysdeps/s390/multiarch/strcat-c.c: New File.
25693         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25694         * sysdeps/s390/multiarch/strcat.c: Likewise.
25695         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25696         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25697         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25698         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25699         wcscat functions.
25700         * sysdeps/s390/multiarch/ifunc-impl-list.c
25701         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25702         * string/strcat.c (STRCAT): Define and use macro.
25703         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25704         * string/test-strcat.c: Add wcscat support.
25705         * wcsmbs/test-wcscat.c: New File.
25706         * wcsmbs/Makefile (strop-tests): Add wcscat.
25707         * benchtests/bench-strcat.c: Add wcscat support.
25708         * benchtests/bench-wcscat.c: New File.
25709         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25711         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25712         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25713         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25714         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25715         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25716         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25717         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25718         wcpncpy functions.
25719         * sysdeps/s390/multiarch/ifunc-impl-list.c
25720         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25721         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25722         * string/test-stpncpy.c: Add wcpncpy support.
25723         * wcsmbs/test-wcpncpy.c: New File.
25724         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25725         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25726         * benchtests/bench-wcpncpy.c: New File.
25727         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25729         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25730         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25731         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25732         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25733         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25734         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25735         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25736         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25737         wcsncpy functions.
25738         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25739         * sysdeps/s390/multiarch/ifunc-impl-list.c
25740         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25741         * string/test-strncpy.c: Add wcsncpy support.
25742         * wcsmbs/test-wcsncpy.c: New File.
25743         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25744         * benchtests/bench-strncpy.c: Add wcsncpy support.
25745         * benchtests/bench-wcsncpy.c: New File.
25746         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25748         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25749         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25750         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25751         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25752         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25753         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25755         wcpcpy functions.
25756         * string/stpcpy.c: Use STPCPY if defined.
25757         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25758         * sysdeps/s390/multiarch/ifunc-impl-list.c
25759         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25760         * string/test-stpcpy.c: Add wcpcpy support.
25761         * wcsmbs/test-wcpcpy.c: New File.
25762         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25763         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25764         * benchtests/bench-wcpcpy.c: New File.
25765         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25767         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25768         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25769         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25770         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25771         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25772         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25773         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25774         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25775         wcscpy functions.
25776         * sysdeps/s390/multiarch/ifunc-impl-list.c
25777         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25778         * benchtests/bench-wcscpy.c: New File.
25779         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25781         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25782         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25783         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25784         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25785         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25786         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25788         wcsnlen functions.
25789         * sysdeps/s390/multiarch/ifunc-impl-list.c
25790         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25791         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25792         * string/test-strnlen.c: Add wcsnlen support.
25793         * wcsmbs/test-wcsnlen.c: New File.
25794         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25795         * benchtests/bench-strnlen.c: Add wcsnlen support.
25796         * benchtests/bench-wcsnlen.c: New File.
25797         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25799         * sysdeps/s390/multiarch/Makefile: New File.
25800         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25801         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25802         * sysdeps/s390/multiarch/strlen.c: Likewise.
25803         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25804         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25805         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25806         * string/strlen.c (STRLEN): Define and use macro.
25807         * sysdeps/s390/multiarch/ifunc-impl-list.c
25808         (IFUNC_VX_IMPL): New macro function.
25809         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25810         * benchtests/Makefile (wcsmbs-bench): New variable.
25811         (string-bench-all): Added wcsmbs-bench.
25812         * benchtests/bench-wcslen.c: New File.
25814         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25815         s390_vx_libc_ifunc2): New macro function.
25817         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25818         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25819         assembler support.
25820         * sysdeps/s390/configure: Regenerated.
25822         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25823         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25825         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25826         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25827         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25829         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25830         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25832         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25833         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25834         (memcmp, bcmp): Use __memcmp_default as alias source.
25835         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25836         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25837         Rename to __memcmp_default.
25838         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25839         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25840         (memcpy): Use __memcpy_default as alias source.
25841         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25842         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25843         Rename to __memcpy_default.
25844         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25845         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25846         (memset): Use __memset_default as alias source.
25847         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25848         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25849         Rename to __memset_default.
25850         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25851         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25852         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25853         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25854         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25855         (memcmp, bcmp): Use __memcmp_default as alias source.
25856         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25857         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25858         Rename to __memcmp_default.
25859         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25860         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25861         (memcpy): Use __memcpy_default as alias source.
25862         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25863         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25864         Rename to __memcpy_default.
25865         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25866         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25867         (memset): Use __memset_default as alias source.
25868         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25869         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25870         Rename to __memset_default.
25871         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25872         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25874         [BZ #18610]
25875         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25876         __ieee_instruction_pointer to __unused.
25877         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25878         __ieee_instruction_pointer.
25879         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25880         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25881         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25882         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25883         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25884         Mark dxc-field as reserved.
25886 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25888         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25889         if the weak reference is not null.
25891 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25893         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25895         [BZ #11214]
25896         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25898 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25900         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25901         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25902         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25903         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25904         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25905         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25906         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25907         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25908         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25909         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25910         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25911         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25912         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25913         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25914         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25915         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25916         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25917         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25919 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25921         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25922         register other than r0 for tabort, it has special meaning.
25923         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25924         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25925         transaction before starting syscall.
25927 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25929         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25931 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25933         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25935         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25936         * sysdeps/x86_64/rtld-memset.S: Likewise.
25937         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25938         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25939         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25940         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25942         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25944 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25946         * debug/strcpy_chk.c: Improve performance.
25947         * debug/stpcpy_chk.c: Likewise.
25948         * sysdeps/x86_64/strcpy_chk.S: Remove.
25949         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25951         [BZ #18240]
25952         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25954 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25956         [BZ #15128]
25957         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25958         ifuncmain8.
25959         (modules-names): Add ifuncmod8.
25960         ($(objpfx)ifuncmain8): New rule.
25961         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25962         <cpuid.h>.
25963         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25964         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25965         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25966         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25967         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25968         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25969         * sysdeps/x86_64/ifuncmain8.c: New file.
25970         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25971         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25972         Removed.
25973         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25974         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25975         Change rtld_savespace_sse to __glibc_unused2.
25976         (RTLD_CHECK_FOREIGN_CALL): Removed.
25977         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25978         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25979         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25981 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25983         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25985 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25987         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25988         Unconditionally set __fpcr to avoid uninialized warning.
25989         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25991 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25993         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25994         is corrupt.
25996         * malloc/arena.c (arena_get2): Drop unused argument.
25997         (arena_lock): Adjust.
25998         (arena_get_retry): Likewise.
26000 2015-08-24  Andreas Schwab  <schwab@suse.de>
26002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26003         Don't define.
26004         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26005         (__ASSUME_IPC64): Don't undef.
26006         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26007         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26008         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26009         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26010         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26011         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26012         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26013         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26014         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26015         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26016         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26017         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26018         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26019         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26020         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26021         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26022         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26023         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26024         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26025         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26026         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26028 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26030         * manual/Makefile (install): Only build manual when perl is available.
26032 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26034         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26035         '#undef memcpy' by '#undef memchr'.
26037 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26039         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26040         memchr not point to the internal __GI_memchr implementation.
26042 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26044         * timezone/Makefile (CFLAGS-zdump.c): Remove
26045         -Wno-strict-prototypes.
26046         (CFLAGS-zic.c): Likewise.
26047         (CFLAGS-ialloc.c): Likewise.
26048         (CFLAGS-scheck.c): Likewise.
26050         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26051         -Wno-error=undef.
26053 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26055         * i386/i686/multiarch/strcasestr-c.c: Removed.
26056         * x86_64/multiarch/strcasestr.c: Likewise.
26057         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26058         Remove strcasestr.
26060 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26062         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26064         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26065         variables for high and low parts before possibly modifying them.
26067 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26069         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26070         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26071         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26072         of "multiarch/init-arch.h".
26073         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26074         * sysdeps/x86/init-arch.h: This.
26076 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26078         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26079         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26081 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26083         [BZ #17787]
26084         * manual/macros.texi: Add twoexp macro.
26085         * manual/filesys.texi: Fix exponents.
26086         * manual/llio.texi: Likewise.
26087         * manual/stdio.texi: Likewise.
26089 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26091         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26092         incorrect use.
26094 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26096         [BZ #18370]
26097         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26098         whose real or imaginary part has small absolute value.
26099         * math/s_csqrtf.c (__csqrtf): Likewise.
26100         * math/s_csqrtl.c (__csqrtl): Likewise.
26101         * math/auto-libm-test-in: Add more tests of csqrt.
26102         * math/auto-libm-test-out: Regenerated.
26103         * sysdeps/i386/fpu/libm-test-ulps: Update.
26105 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26107         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26108         __ppc_set_ppr_very_low): New functions.
26109         * manual/platform.texi: Add documentation about
26110         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26112 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26114         * string/stpncpy.c (stpncpy): Improve performance using
26115         __strnlen/memcpy/memset.
26117 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26119         [BZ #18796]
26120         * scripts/test-installation.pl: Don't add -lmvec to build options if
26121         libmvec wasn't built.
26123 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26125         [BZ #14341]
26126         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26127         case when there is a gap between DT_REL and DT_JMPREL sections.
26128         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26129         (LDFLAGS-tst-split-dynreloc): New.
26130         (tst-split-dynreloc-ENV): Likewise.
26131         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26132         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26134 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26136         [BZ #18822]
26137         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26138         attribute_hidden.
26139         (__xstat64_conv): Likewise.
26140         (__xstat32_conv): Likewise.
26142 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26144         [BZ #18822]
26145         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26146         Don't load %ebx when calling __setcontext.  Call __setcontext
26147         with HIDDEN_JUMPTARGET.
26148         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26149         libc_hidden_def.
26151 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26153         * sysdeps/i386/i686/Makefile
26154         [$(subdir) == string] (sysdep_routines): Moved to ...
26155         * sysdeps/i386/Makefile: Here.
26156         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26157         * sysdeps/i386/cacheinfo.c: Here.
26158         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26159         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26160         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26161         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26163 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26165         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26166         __i586__ is defined.
26167         (HAS_I686): Defined to 1 if __i686__ is defined.
26169 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26171         * elf/Makefile [$(have-z-execstack) = yes]
26172         (CPPFLAGS-tst-execstack.c): New variable.
26174         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26175         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26176         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26177         UTMPX || _HAVE_UT_TV].
26178         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26179         UTMPX || _HAVE_UT_TV - 0].
26181 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26183         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26184         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26185         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26187 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26189         * sysdeps/powerpc/dl-procinfo.c:
26190         (_dl_powerpc_cap_flags): Added missing strings for some
26191         hwcap features.
26192         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26194 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26196         Port the 0x7efe...feff pattern to GCC 6.
26197         See Steve Ellcey's bug report in:
26198         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26199         * string/memrchr.c (MEMRCHR):
26200         * string/rawmemchr.c (RAWMEMCHR):
26201         * string/strchr.c (strchr):
26202         * string/strchrnul.c (STRCHRNUL):
26203         Rewrite code to avoid issues with signed shift overflow.
26205 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26207         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26208         whether cpuid is available only if HAS_CPUID is 0.
26209         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26210         (HAS_I586): Likewise.
26211         (HAS_I686): Likewise.
26213 2015-08-18  Zack Weinberg  <zackw@panix.com>
26215         * misc/Versions (libc): Add GLIBC_2.23.
26217 2015-08-18  Alan Modra  <amodra@gmail.com>
26219         [BZ #18421]
26220         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26221         .Lp__global.
26222         (_start): Load %dp via .Lp__global.
26223         [!SHARED]: Use .section .rodata.
26225 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26227         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26228         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26230 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26232         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26233         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26235 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26237         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26238         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26240 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26242         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26243         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26247         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26248         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26252         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26253         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26255 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26257         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26259 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26261         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26262         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26263         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26264         (__ASSUME_LWS_CAS): Delete.
26266 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26268         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26269         * sysdeps/hppa/configure: Regenerated.
26270         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26271         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26272         * sysdeps/hppa/nptl/tls.h: Likewise.
26274 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26276         [BZ #18823]
26277         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26278         for scaling up small arguments.
26279         * math/s_csqrtf.c (__csqrtf): Likewise.
26280         * math/s_csqrtl.c (__csqrtl): Likewise.
26281         * math/auto-libm-test-in: Add more tests of csqrt.
26282         * math/auto-libm-test-out: Regenerated.
26284 2015-08-17  Andreas Schwab  <schwab@suse.de>
26286         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26287         version set GLIBC_2.19.
26289 2015-08-16  Zack Weinberg  <zackw@panix.com>
26291         [BZ #18681]
26292         * misc/regexp.h: This interface is no longer supported.
26293         Remove all contents, leaving only an #error directive.
26294         * misc/regexp.c (loc1, loc2, locs, step, advance):
26295         Demote to compatibility symbols.
26297 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26299         [BZ #18084]
26300         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26301         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26302         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26303         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26304         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26305         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26306         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26307         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26308         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26310 2015-08-15  Zack Weinberg  <zackw@panix.com>
26312         [BZ #18795]
26313         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26314         buffer length is known to be too large, not if it's known to be
26315         small enough.
26316         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26317         overflow at runtime, involving a length parameter, twice: once
26318         with a compile-time constant length parameter, once without.
26320 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26322         [BZ #18824]
26323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26324         scaling x * y up instead of down.
26325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26327         * math/auto-libm-test-in: Add more tests of fma.
26328         * math/auto-libm-test-out: Regenerated.
26330 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26334 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26336         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26337         unnecessary movq.
26338         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26339         Likewise.
26341 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26343         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26344         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26345         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26346         and tgamma.
26347         * math/auto-libm-test-out: Regenerated.
26348         * sysdeps/i386/fpu/libm-test-ulps: Update.
26349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26351         [BZ #16520]
26352         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26353         (__tanh): Force underflow exception for arguments with small
26354         absolute value.
26355         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26356         (__tanhf): Force underflow exception for arguments with small
26357         absolute value.
26358         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26359         (__tanhl): Force underflow exception for arguments with small
26360         absolute value.
26361         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26362         (__tanhl): Force underflow exception for arguments with small
26363         absolute value.
26364         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26365         (__tanhl): Force underflow exception for arguments with small
26366         absolute value.
26367         * math/auto-libm-test-in: Add more tests of tanh.
26368         * math/auto-libm-test-out: Regenerated.
26369         * sysdeps/i386/fpu/libm-test-ulps: Update.
26371 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26373         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26374         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26378         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26379         <cpuid.h>.
26381 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26383         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26384         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26386 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26388         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26389         Remove $(objpfx)init-arch.o.
26390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26391         init-arch.
26392         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26393         (INIT_ARCH_EXT): Defined as empty.
26394         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26396         __init_cpu_features call.  Replace HAS_XXX with
26397         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26400         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26401         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26402         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26403         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26404         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26405         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26421         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26422         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26423         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26425         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26426         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26427         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26428         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26430         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26431         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26432         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26434 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26436         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26437         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26438         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26439         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26440         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26441         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26442         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26443         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26444         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26445         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26446         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26447         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26448         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26449         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26450         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26451         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26452         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26453         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26454         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26455         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26456         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26457         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26458         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26459         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26460         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26461         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26462         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26463         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26464         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26465         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26466         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26467         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26468         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26469         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26470         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26471         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26472         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26473         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26474         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26475         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26476         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26477         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26478         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26480 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26483         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26484         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26486         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26487         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26488         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26489         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26490         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26491         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26493         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26494         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26495         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26496         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26497         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26498         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26499         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26500         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26501         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26503         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26504         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26505         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26507         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26508         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26509         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26510         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26511         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26512         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26513         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26514         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26515         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26516         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26517         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26518         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26519         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26520         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26521         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26522         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26523         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26524         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26526 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26528         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26529         (dl_platform_init): Call init_cpu_features.
26530         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26531         * sysdeps/i386/i686/cacheinfo.c
26532         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26533         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26534         * sysdeps/i386/i686/multiarch/Versions: Removed.
26535         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26536         Removed.
26537         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26538         * sysdeps/unix/sysv/linux/x86/Makefile
26539         (libpthread-sysdep_routines): Remove init-arch.
26540         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26541         <sysdeps/x86_64/dl-procinfo.c> instead of
26542         sysdeps/generic/dl-procinfo.c>.
26543         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26544         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26545         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26546         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26547         [$(subdir) == elf] (tests-static): Add
26548         tst-get-cpu-features-static.
26549         * sysdeps/x86/Versions: New file.
26550         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26551         * sysdeps/x86/cpu-features.c: Likewise.
26552         * sysdeps/x86/cpu-features.h: Likewise.
26553         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26554         * sysdeps/x86/libc-start.c: Likewise.
26555         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26556         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26557         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26558         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26559         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26560         Assume USE_MULTIARCH is defined and don't check it.
26561         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26562         (is_amd): Likewise.
26563         (max_cpuid): Likewise.
26564         (intel_check_word): Likewise.
26565         (__cache_sysconf): Don't call __init_cpu_features.
26566         (__x86_preferred_memory_instruction): Removed.
26567         (init_cacheinfo): Don't call __init_cpu_features. Replace
26568         __cpu_features with GLRO(dl_x86_cpu_features).
26569         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26570         (dl_platform_init): Call init_cpu_features.
26571         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26572         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26573         * sysdeps/x86_64/multiarch/Versions: Removed.
26574         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26575         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26576         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26577         Removed.
26578         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26580 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26582         [BZ #18820]
26583         * libio/Makefile (test-fmemopen-mem): New test.
26584         * libio/test-fmemopen.c (do_bz18820): New test.
26585         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26586         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26588 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26590         [BZ #16734]
26591         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26592         (FREE_BUF): Delete.
26593         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26594         * libio/genops.c (_IO_setb): Use malloc and free directly.
26595         (_IO_default_doallocate, _IO_default_finish): Likewise.
26596         ( _IO_unbuffer_all): Likewise.
26597         ( libc_freeres_fn): Likewise.
26598         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26599         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26600         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26601         (_IO_wdefault_doallocate): Likewise.
26603 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26605         [BZ #18086]
26606         * sysdeps/posix/nice.c (nice): Restore old errno.
26607         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26609 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26613 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26615         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26616         __bcopy and add a weak_alias to bcopy.
26617         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26618         for static build.
26620         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26621         cleanup macro usage.
26622         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26625         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26626         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26627         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26628         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26629         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26630         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26631         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26633         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26635         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26638         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26639         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26640         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26642         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26643         libc_hidden_def.
26644         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26646         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26647         (sysdep_routines): Add strstr-ppc64.
26648         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26650 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26652         [BZ #18778]
26653         * elf/Makefile (tests): Add Add tst-nodelete2.
26654         (modules-names): Add tst-nodelete2mod.
26655         (tst-nodelete2mod.so-no-z-defs): New.
26656         ($(objpfx)tst-nodelete2): Likewise.
26657         ($(objpfx)tst-nodelete2.out): Likewise.
26658         (LDFLAGS-tst-nodelete2): Likewise.
26659         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26660         out of loop through all loaded libraries.
26661         * elf/tst-nodelete2.c: New file.
26662         * elf/tst-nodelete2mod.c: Likewise.
26663         * elf/tst-znodelete-zlib.cc: Delete.
26665 2015-08-11  Andreas Schwab  <schwab@suse.de>
26667         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26668         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26669         (__openat64_nocancel): Likewise.
26671 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26673         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26674         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26675         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26676         * math/auto-libm-test-out: Regenerated.
26677         * sysdeps/i386/fpu/libm-test-ulps: Update.
26678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26680 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26682         [BZ #18790]
26683         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26684         threshold for returning +/- 1.
26685         * math/auto-libm-test-in: Add more tests of tanh.
26686         * math/auto-libm-test-out: Regenerated.
26687         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689 2015-08-10  Andreas Schwab  <schwab@suse.de>
26691         [BZ #18781]
26692         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26693         MORE_OFLAGS to oflag.
26694         * io/test-lfs.c (do_test): Test openat64.
26696 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26698         [BZ #18789]
26699         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26700         smaller threshold for returning the argument.
26701         * math/auto-libm-test-in: Add more tests of sinh.
26702         * math/auto-libm-test-out: Regenerated.
26703         * sysdeps/i386/fpu/libm-test-ulps: Update.
26705 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26707         [BZ #18674]
26708         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26709         break.
26711 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26713         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26714         (generated): Don't add $(addprefix z.,$(tzfiles)).
26716 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26718         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26719         * scripts/sysd-rules.awk: Likewise.
26721 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26723         * iconvdata/tst-tables.sh: Change echo -n to printf.
26724         * nss/db-Makefile: Likewise.
26725         * posix/tst-getconf.sh: Likewise.
26726         * stdio-common/tst-unbputc.sh: Likewise.
26728 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26730         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26731         MADV_*_PAGES defines behind this feature check.
26733 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26735         [BZ #18480]
26736         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26737         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26738         Define.
26739         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26740         LOAD_REGS_5, LOAD_REGS_6): Update.
26741         (INTERNAL_SYSCALL): Update using new LOAD defines.
26742         (INTERNAL_SYSCALL_NCS): Likewise.
26743         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26745 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26747         [BZ #16734]
26748         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26750 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26752         [BZ #17905]
26753         * catgets/Makefile (tst-catgets-mem): New test.
26754         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26755         * catgets/open_catalog.c (__open_catalog): Likewise.
26756         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26758 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26760         [BZ #18787]
26761         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26762         clobber registers.
26763         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26764         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26765         Cast return to __typeof (oldval).
26767 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26769         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26770         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26771         and delete sys/syscall.h include.
26773 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26775         [BZ #16517]
26776         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26777         (tan): Force underflow exception for arguments with small absolute
26778         value.
26779         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26780         (__kernel_tanf): Force underflow exception for arguments with
26781         small absolute value.
26782         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26783         (__kernel_tanl): Force underflow exception for arguments with
26784         small absolute value.
26785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26786         (__kernel_tanl): Force underflow exception for arguments with
26787         small absolute value.
26788         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26789         (__kernel_tanl): Force underflow exception for arguments with
26790         small absolute value.
26791         * math/auto-libm-test-in: Add more tests of tan.
26792         * math/auto-libm-test-out: Regenerated.
26794 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26796         Fix sysdeps/i386/fpu/s_scalbn.S build
26798         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26800 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26802         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26804 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26806         Fix gcrt0.o compilation
26808         When static-start-installed-name is different from
26809         start-installed-name, we must not use the shared objects.
26811         * csu/Makefile
26812         (extra-objs): Add gmon-start.o when building shared library and
26813         $(static-start-installed-name) is different from
26814         $(start-installed-name).
26815         $(objpfx)g$(static-start-installed-name): When building shared
26816         library and $(static-start-installed-name) is different from
26817         $(static-start-installed-name), revert to non-shared rule,
26818         i.e. using $(objpfx)% and gmon-start.o.
26820 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26822         [BZ #16519]
26823         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26824         (__ieee754_sinh): Force underflow exception for arguments with
26825         small absolute value.
26826         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26827         (__ieee754_sinhf): Force underflow exception for arguments with
26828         small absolute value.
26829         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26830         (__ieee754_sinhl): Force underflow exception for arguments with
26831         small absolute value.
26832         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26833         (__ieee754_sinhl): Force underflow exception for arguments with
26834         small absolute value.
26835         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26836         (__ieee754_sinhl): Force underflow exception for arguments with
26837         small absolute value.
26838         * math/auto-libm-test-in: Add more tests of sinh.
26839         * math/auto-libm-test-out: Regenerated.
26840         * sysdeps/i386/fpu/libm-test-ulps: Update.
26842 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26844         * libio/oldfileops.c: Include unistd.h.
26846 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26848         * stdlib/isomac.c: Include ctype.h.
26850 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26852         * dirent/tst-seekdir.c (main): Converted to ...
26853         (do_test): ... this.
26854         (TEST_FUNCTION): New macro.
26855         Include test-skeleton.c.
26856         * elf/tst-dlmodcount.c (main): Converted to ...
26857         (do_test): ... this.
26858         (TEST_FUNCTION): New macro.
26859         Include test-skeleton.c.
26860         * elf/tst-order-main.c (main): Converted to ...
26861         (do_test): ... this.
26862         (TEST_FUNCTION): New macro.
26863         Include test-skeleton.c.
26864         * elf/tst-pie2.c (main): Converted to ...
26865         (do_test): ... this.
26866         (TEST_FUNCTION): New macro.
26867         Include test-skeleton.c.
26868         * inet/tst-ether_aton.c (main): Converted to ...
26869         (do_test): ... this.
26870         (TEST_FUNCTION): New macro.
26871         Include test-skeleton.c.
26872         * misc/tst-mntent.c (main): Converted to ...
26873         (do_test): ... this.
26874         (TEST_FUNCTION): New macro.
26875         Include test-skeleton.c.
26876         * misc/tst-tsearch.c (main): Converted to ...
26877         (do_test): ... this.
26878         (TEST_FUNCTION): New macro.
26879         Include test-skeleton.c.
26880         * posix/tst-regexloc.c (main): Converted to ...
26881         (do_test): ... this.
26882         (TEST_FUNCTION): New macro.
26883         Include test-skeleton.c.
26884         * resolv/tst-aton.c (main): Converted to ...
26885         (do_test): ... this.
26886         (TEST_FUNCTION): New macro.
26887         Include test-skeleton.c.
26888         * stdio-common/test-fwrite.c (main): Converted to ...
26889         (do_test): ... this.
26890         (TEST_FUNCTION): New macro.
26891         Include test-skeleton.c.
26892         * stdio-common/tst-ferror.c (main): Converted to ...
26893         (do_test): ... this.
26894         (TEST_FUNCTION): New macro.
26895         Include test-skeleton.c.
26896         * stdio-common/tst-printf.c (main): Converted to ...
26897         (do_test): ... this.
26898         (TEST_FUNCTION): New macro.
26899         Include test-skeleton.c.
26900         * stdio-common/tst-printfsz.c (main): Converted to ...
26901         (do_test): ... this.
26902         (TEST_FUNCTION): New macro.
26903         Include test-skeleton.c.
26904         * stdlib/tst-strtod.c (main): Converted to ...
26905         (do_test): ... this.
26906         (TEST_FUNCTION): New macro.
26907         Include test-skeleton.c.
26908         * string/tst-strlen.c (main): Converted to ...
26909         (do_test): ... this.
26910         (TEST_FUNCTION): New macro.
26911         Include test-skeleton.c.
26912         * string/tst-svc.c (main): Converted to ...
26913         (do_test): ... this.
26914         (TEST_FUNCTION): New macro.
26915         Include test-skeleton.c.
26916         * time/tst-strptime.c (main): Converted to ...
26917         (do_test): ... this.
26918         (TEST_FUNCTION): New macro.
26919         Include test-skeleton.c.
26920         * timezone/tst-timezone.c (main): Converted to ...
26921         (do_test): ... this.
26922         (TEST_FUNCTION): New macro.
26923         Include test-skeleton.c.
26925 2015-08-05  Zack Weinberg  <zackw@panix.com>
26927         * misc/regexp.h: Update comments.
26929 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26931         [BZ #18635]
26932         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26933         before return label.
26935 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26937         [BZ #18661]
26938         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26939         when calling __errno_location.
26940         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26941         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26943 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26945         [BZ #18661]
26946         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26947         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26948         __gettimeofday.
26950 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26952         [BZ #18661]
26953         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26954         (__start_context): Don't use pop to restore %rdi so that stack
26955         is aligned to 16 bytes when calling __setcontext.
26957 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26959         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26960         only for libc.
26961         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26963 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26965         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26966         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26967         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26969 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26971         * string/memccpy.c (memccpy):
26972         Improve performance by using memchr/memcpy/__mempcpy.
26974 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26976         * string/strncpy.c (strncpy):
26977         Improve performance by using __strnlen/memcpy.
26979 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26981         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26982         Optimize to avoid an unnecessary FPCR read.
26984 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26986         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26987         Optimize to reduce FPCR/FPSR accesses.
26989 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26991         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26992         dead->data[category] != NULL.
26994 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26996         [BZ #18647]
26997         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26998         and |x| close to 1, use absolute value of x when computing log.
26999         * math/auto-libm-test-in: Add more tests of pow.
27000         * math/auto-libm-test-out: Regenerated.
27002 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27004         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27005         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27006         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27008 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27010         [BZ #18525]
27011         * locales/km_KH: Remove timezone definition.
27012         * locales/lo_LA: Likewise.
27013         * locales/my_MM: Likewise.
27014         * locales/nan_TW@latin: Likewise.
27015         * locales/th_TH: Likewise.
27016         * locales/uk_UA: Likewise.
27018 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27020         [BZ #18265]
27021         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27022         (wcsncat): Likewise.
27023         (wcscmp): Likewise.
27024         (wcsncmp): Likewise.
27026 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27028         * test-skeleton.c (usage): New function.
27029         (main): Call usage when opt is '?'.
27031 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27033         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27034         before first use.
27036 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27038         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27039         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27040         in there too.
27042 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27044         * version.h (RELEASE): Set to "development".
27045         (VERSION): Set to "2.22.90"
27047         * version.h (RELEASE): Set to "stable".
27048         (VERSION): Set to "2.22"
27049         * include/features.h (__GLIBC_MINOR__): Set to 22.
27051 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27053         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27054         Restructure macro to avoid "value computed is not used" warning.
27055         (atomic_compare_and_exchange_val_acq): Likewise.
27057 2015-08-04  Andreas Schwab  <schwab@suse.de>
27059         [BZ #18635]
27060         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27061         ret.
27062         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27064 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27066         * po/pl.po: Updated translation.
27067         * po/uk.po: Likewise.
27068         * po/fi.po: Likewise.
27069         * po/ko.po: Likewise.
27070         * po/ru.po: Likewise.
27071         * po/vi.po: Likewise.
27073 2015-07-31  Zack Weinberg  <zackw@panix.com>
27075         [BZ #18681]
27076         * regexp.h: Add unconditional #warning stating that this header
27077         will be removed soon.  Revise banner comment to match.
27078         (compile): Consistently use ERROR instead of RETURN to report
27079         errors (partial fix for BZ #18681).
27080         * regexp.c: Don't include regexp.h. Remove some unnecessary
27081         declarations.
27083 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27085         * po/libc.pot: Regenerated.
27087 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27089         [BZ #18740]
27090         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27091         float-vlen4-arch-ext-cflags): Removed.
27092         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27093         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27095 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27097         [BZ #14113]
27098         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27099         aligned to __aligned__.
27100         (pthread_cond_t, pthread_rwlock_t): Likewise.
27102 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27104         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27106 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27108         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27109         (struct sigaction): Change sa_flags from a long to an int, and add
27110         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27112 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27114         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27115         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27116         sysdeps/generic/sysdep.h include.
27117         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27118         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27119         sysdeps/hppa/sysdep.h.
27120         (ENTRY, PSEUDO): Undefine before defining.
27122 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27124         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27125         from scratch to use INTERNAL_SYSCALL.
27127 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27129         [BZ #18078]
27130         * scripts/check-localplt.awk: Support alternate relocations.
27131         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27132         sections.
27133         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27134         malloc entries with + REL R_386_GLOB_DAT.
27135         * sysdeps/x86_64/localplt.data: New file.
27137 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27139         [BZ #18731]
27140         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27141         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27142         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27144 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27146         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27148 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27150         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27151         directly in terms of __sync_fetch_and_add and delete (int) cast.
27153 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27155         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27156         the -D_ASM_IA64_CURRENT_H flag.
27158 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27160         [BZ #18641]
27161         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27163 2015-07-27  Andreas Schwab  <schwab@suse.de>
27165         * conform/conformtest.pl (checknamespace): Filter out string
27166         literals while tokenizing.
27168 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27170         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27171         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27172         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27174 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27176         * nptl/tst-join7mod.c: Add #include <string.h>.
27178 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27180         * sysdeps/nios2/libm-test-ulps: Update.
27182 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27184         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27185         Fix order of arguments to the rt_sigprocmask syscall.
27186         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27187         Likewise.
27189 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27191         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27193 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27195         [BZ #18457]
27196         * nptl/Makefile (tests): New test case tst-join7.
27197         (modules-names): New test case module tst-join7mod.
27198         * nptl/tst-join7.c: New file.
27199         * nptl/tst-join7mod.c: New file.
27200         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27201         all translation units in libc.so, libpthread.so and rtld.
27203 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27207 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27211         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27212         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27215         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27216         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27217         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27218         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27221         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27222         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27223         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27224         implementation.
27226 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27228         [BZ #17711]
27229         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27230         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27231         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27232         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27233         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27234         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27236 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27238         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27239         instead of just saying load lock in the comments.
27241 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27243         * sysdeps/unix/Subdirs: Moved ...
27244         * sysdeps/posix/Subdirs: ... here.
27245         * login/pty.h (struct termios, struct winsize): Add forward decls.
27246         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27247         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27248         * sysdeps/arm/nacl/libc.abilist: Updated.
27249         * sysdeps/nacl/libutil.abilist: New file.
27251         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27252         (SIGWINCH): New macro.
27254         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27255         * sysdeps/arm/nacl/libc.abilist: Add it.
27257 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27259         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27261 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27263         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27264         Swap __glibc_reserved0 and sa_flags order.
27266 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27268         [BZ #18657]
27269         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27270         are pending TLS destructor calls.
27271         * include/link.h (struct link_map): Add concurrency note for
27272         L_TLS_DTOR_COUNT.
27273         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27274         Don't touch the link map flag.  Atomically increment
27275         l_tls_dtor_count.
27276         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27277         Avoid taking the load lock and don't touch the link map flag.
27278         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27279         * stdlib/Makefile (tests): Use it.
27280         * stdlib/tst-tls-atexit.c (do_test): dlopen
27281         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27282         to allow tst-tls-atexit-nodelete test case to use it.
27284 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27286         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27287         to bits/types.h.
27288         (msgqnum_t): New typedef.
27289         (msglen_t): Likewise.
27290         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27291         and msg_qbytes type to msglen_t.
27293 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27295         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27296         pad0 to __glibc_reserved0.
27297         (struct stat64): Likewise.
27299 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27301         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27302         Change sa_flags from a long to an int and add __glibc_reserved0 before
27303         it for padding.
27305 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27307         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27308         anonymous by deleting "siginfo" name.
27310 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27312         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27313         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27314         rather than __nacl_irt_filename.
27315         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27317         * NEWS: New item for arm-nacl port.
27318         * sysdeps/arm/nacl/libc.abilist: New file.
27319         * sysdeps/nacl/ld.abilist: New file.
27320         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27321         * sysdeps/nacl/libanl.abilist: New file.
27322         * sysdeps/nacl/libcrypt.abilist: New file.
27323         * sysdeps/nacl/libdl.abilist: New file.
27324         * sysdeps/nacl/libm.abilist: New file.
27325         * sysdeps/nacl/libpthread.abilist: New file.
27326         * sysdeps/nacl/libresolv.abilist: New file.
27327         * sysdeps/nacl/librt.abilist: New file.
27329 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27331         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27332         __startcontext to initialize the new context.
27333         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27334         up CFI directive to forbid further backtracing.
27336 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27338         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27339         reference.
27340         * charmaps/ANSI_X3.4-1968: Likewise.
27341         * charmaps/BS_4730: Likewise.
27342         * charmaps/BS_VIEWDATA: Likewise.
27343         * charmaps/CP1250: Likewise.
27344         * charmaps/CP1251: Likewise.
27345         * charmaps/CP1252: Likewise.
27346         * charmaps/CP1253: Likewise.
27347         * charmaps/CP1254: Likewise.
27348         * charmaps/CP1255: Likewise.
27349         * charmaps/CP1256: Likewise.
27350         * charmaps/CSN_369103: Likewise.
27351         * charmaps/EBCDIC-DK-NO: Likewise.
27352         * charmaps/GB_1988-80: Likewise.
27353         * charmaps/GREEK-CCITT: Likewise.
27354         * charmaps/GREEK7: Likewise.
27355         * charmaps/INIS-8: Likewise.
27356         * charmaps/ISIRI-3342: Likewise.
27357         * charmaps/ISO_2033-1983: Likewise.
27358         * charmaps/ISO_5427-EXT: Likewise.
27359         * locales/POSIX: Likewise.
27360         * locales/ar_SA: Likewise.
27361         * locales/be_BY: Likewise.
27362         * locales/be_BY@latin: Likewise.
27363         * locales/ca_ES: Likewise.
27364         * locales/cs_CZ: Likewise.
27365         * locales/da_DK: Likewise.
27366         * locales/de_BE: Likewise.
27367         * locales/de_CH: Likewise.
27368         * locales/de_LU: Likewise.
27369         * locales/en_AU: Likewise.
27370         * locales/en_BW: Likewise.
27371         * locales/en_CA: Likewise.
27372         * locales/en_DK: Likewise.
27373         * locales/en_GB: Likewise.
27374         * locales/en_IE: Likewise.
27375         * locales/en_NZ: Likewise.
27376         * locales/en_ZA: Likewise.
27377         * locales/en_ZW: Likewise.
27378         * locales/es_AR: Likewise.
27379         * locales/es_BO: Likewise.
27380         * locales/es_CL: Likewise.
27381         * locales/es_CO: Likewise.
27382         * locales/es_DO: Likewise.
27383         * locales/es_EC: Likewise.
27384         * locales/es_ES: Likewise.
27385         * locales/es_HN: Likewise.
27386         * locales/es_MX: Likewise.
27387         * locales/es_PA: Likewise.
27388         * locales/es_PE: Likewise.
27389         * locales/es_PY: Likewise.
27390         * locales/es_SV: Likewise.
27391         * locales/es_US: Likewise.
27392         * locales/es_UY: Likewise.
27393         * locales/es_VE: Likewise.
27394         * locales/et_EE: Likewise.
27395         * locales/fa_IR: Likewise.
27396         * locales/fo_FO: Likewise.
27397         * locales/fr_CA: Likewise.
27398         * locales/fr_CH: Likewise.
27399         * locales/gv_GB: Likewise.
27400         * locales/he_IL: Likewise.
27401         * locales/hr_HR: Likewise.
27402         * locales/id_ID: Likewise.
27403         * locales/is_IS: Likewise.
27404         * locales/it_CH: Likewise.
27405         * locales/iw_IL: Likewise.
27406         * locales/kl_GL: Likewise.
27407         * locales/ko_KR: Likewise.
27408         * locales/kw_GB: Likewise.
27409         * locales/lg_UG: Likewise.
27410         * locales/lt_LT: Likewise.
27411         * locales/lv_LV: Likewise.
27412         * locales/mi_NZ: Likewise.
27413         * locales/nhn_MX: Likewise.
27414         * locales/nl_BE: Likewise.
27415         * locales/pl_PL: Likewise.
27416         * locales/sk_SK: Likewise.
27417         * locales/sl_SI: Likewise.
27418         * locales/sv_FI: Likewise.
27419         * locales/tl_PH: Likewise.
27420         * locales/tr_TR: Likewise.
27421         * locales/vi_VN: Likewise.
27423 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27425         [BZ #17475]
27426         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27427         of tu_IN and bh_IN.
27429 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27431         [BZ #18694]
27432         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27433         bits/wordsize.h.
27434         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27436 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27438         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27439         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27440         (spawn_thread): New function.
27441         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27442         (do_test): ... here.  Use IS_LOADED to test for its
27443         availability.
27445 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27447         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27449 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27451         [BZ #18696]
27452         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27453         si_addr_bnd.
27454         (si_lower): New.
27455         (si_upper): Likewise.
27457 2015-07-16  David S. Miller  <davem@davemloft.net>
27459         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27461 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27463         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27464         buffer.
27465         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27466         fail output information.
27468 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27471         and strstr-ppc64..
27472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27473         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27474         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27475         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27476         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27478 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27480         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27481         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27482         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27483         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27485 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27487         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27488         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27489         rtld_hidden_proto.
27490         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27492 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27494         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27495         the test can fail.
27497         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27499         [BZ #18676]
27500         * elf/tst-nodelete-opened.c: New test case.
27501         * elf/tst-nodelete-opened-lib.c: New test case module.
27502         * elf/Makefile (tests, modules-names): Use them.
27503         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27504         early.
27506 2015-07-15  David S. Miller  <davem@davemloft.net>
27508         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27509         futex-intenal.h
27510         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27511         * sysdeps/sparc/sparc64/Makefile: Likewise.
27512         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27513         Remove space from macro define.
27514         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27516 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27518         [BZ #17475]
27519         * locale/iso-639.def: Update Bhili and Tulu language codes as
27520         per iso639-3.
27522 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27524         * elf/tst-leaks1.c (main): Converted to ...
27525         (do_test): ... this.
27526         (TEST_FUNCTION): New macro.
27527         Include test-skeleton.c.
27528         * localedata/tst-langinfo.c (main): Converted to ...
27529         (do_test): ... this.
27530         (TEST_FUNCTION): New macro.
27531         Include test-skeleton.c.
27532         * math/test-fpucw.c (main): Converted to ...
27533         (do_test): ... this.
27534         (TEST_FUNCTION): New macro.
27535         Include test-skeleton.c.
27536         * math/test-tgmath.c (main): Converted to ...
27537         (do_test): ... this.
27538         (TEST_FUNCTION): New macro.
27539         Include test-skeleton.c.
27540         * math/test-tgmath2.c (main): Converted to ...
27541         (do_test): ... this.
27542         (TEST_FUNCTION): New macro.
27543         Include test-skeleton.c.
27544         * setjmp/tst-setjmp.c (main): Converted to ...
27545         (do_test): ... this.
27546         (TEST_FUNCTION): New macro.
27547         Include test-skeleton.c.
27548         * stdio-common/tst-sscanf.c (main): Converted to ...
27549         (do_test): ... this.
27550         (TEST_FUNCTION): New macro.
27551         Include test-skeleton.c.
27552         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27553         (do_test): ... this.
27554         (TEST_FUNCTION): New macro.
27555         Include test-skeleton.c.
27557         * elf/tst-audit9.c (main): Converted to ...
27558         (do_test): ... this.
27559         (TEST_FUNCTION): New macro.
27560         Include test-skeleton.c.
27562 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27564         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27566 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27568         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27569         New variable.
27571 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27573         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27575 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27577         * sysdeps/generic/dl-fileid.h: New file.
27578         * sysdeps/posix/dl-fileid.h: New file.
27579         * sysdeps/nacl/dl-fileid.h: New file.
27580         * include/link.h: Include <dl-fileid.h>.
27581         (struct link_map): Replace l_dev and l_ino with l_file_id.
27582         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27583         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27584         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27586 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27590 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27592         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27593         Add iff $CXX is set.
27594         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27595         Likewise.
27596         (tst-nodelete-zmodiff): Likewise.
27597         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27599 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27601         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27603 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27605         * sysdeps/aarch64/fpu/math_private.h
27606         (define math_opt_barrier): Add AArch64 version.
27607         (math_force_eval): Likewise.
27609 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27611         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27613 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27615         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27616         %ld with %jd and cast to intmax_t.
27617         (do_test_length_zero): Likewise.
27619 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27621         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27623 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27625         * sysdeps/tile/libm-test-ulps: Regenerated.
27627         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27628         Comment out the whole function, not just its body.
27630 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27633         locks.
27635         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27637 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27639         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27640         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27642 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27644         * sysdeps/nptl/futex-internal.h: New file.
27645         * sysdeps/nacl/futex-internal.h: New file.
27646         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27647         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27648         error checking.
27649         (setxid_unmark_thread): Likewise.
27650         (__nptl_setxid): Likewise.
27651         (__wait_lookup_done): Likewise.
27652         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27653         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27654         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27655         * nptl/pthread_once.c (clear_once_control): Likewise.
27656         (__pthread_once_slow): Likewise.
27657         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27658         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27659         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27660         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27661         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27662         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27663         Likewise.
27664         (__pthread_rwlock_rdlock): Likewise.
27665         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27666         Likewise.
27667         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27668         Likewise.
27669         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27670         Likewise.
27671         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27672         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27673         Likewise.
27674         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27675         __ASSUME_PRIVATE_FUTEX check.
27676         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27677         Check that shared futexes are supported.
27678         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27679         wrappers with error checking.
27680         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27681         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27682         * nptl/pthread_barrierattr_setpshared.c
27683         (pthread_barrierattr_setpshared): Check that shared futexes are
27684         supported.
27685         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27686         Likewise.
27687         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27688         Likewise.
27689         * nptl/sem_init.c (futex_private_if_supported): Remove.
27690         (__new_sem_init): Adapt and check that shared futexes are supported.
27691         * nptl/sem_open.c (sem_open): Likewise.
27692         * nptl/sem_post.c (futex_wake): Remove.
27693         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27694         (do_futex_wait): Use futex wrappers with error checking.
27695         * nptl/sem_wait.c: Include lowlevellock.h.
27696         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27697         Use futex_supports_pshared.
27698         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27699         Use futex wrappers with error checking.
27700         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27701         Likewise.
27702         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27703         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27704         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27705         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27706         (futex_wake): Likewise.
27707         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27708         (do_futex_wait): Use futex wrappers with error checking.
27709         (__new_sem_wait_slow): Update EINTR handling.
27710         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27712 2015-07-09  Martin Sebor  <msebor@redhat.com>
27714         [BZ #18435]
27715         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27716         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27717         * nptl/Makefile (test-xfail-tst-once5): Define.
27719 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27721         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27722         * elf/dl-minimal.c: For readability, reorder some definitions and
27723         introduce more page breaks.  Include <stdio.h>.
27724         (__libc_fatal): New function.
27726         * include/unistd.h: Add rtld_hidden_proto for _exit.
27727         * posix/_exit.c: Add rtld_hidden_def.
27728         * sysdeps/mach/hurd/_exit.c: Likewise.
27729         * sysdeps/nacl/_exit.c: Likewise.
27730         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27731         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27733 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27736         bndmov encoding with zero displacement.
27738 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27739             H.J. Lu  <hongjiu.lu@intel.com>
27741         [BZ #18134]
27742         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27743         * sysdeps/i386/configure: Regenerated.
27744         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27745         (_dl_runtime_profile): Save and restore Intel MPX return bound
27746         registers when calling _dl_call_pltexit.  Add
27747         PRESERVE_BND_REGS_PREFIX before return.
27748         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27749         (LRV_BND1_OFFSET): Likewise.
27750         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27751         lrv_bnd1.
27752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27753         typo in bndmov encoding.
27754         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27755         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27756         branch instructions to preserve bounds.
27758 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27761         [GLIBC_2.22]: Add fmemopen.
27763 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27765         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27766         returns an error, also try to use host port from __mach_host_self for
27767         the __vm_wire call.
27768         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27770 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27772         [BZ #18400]
27773         [BZ #18648]
27774         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27775         Fix pr_uid and pr_gid members.
27776         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27777         definition to elf_greg_t.
27779 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27781         [BZ #18383]
27782         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27783         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27784         * sysdeps/arm/configure: Regenerated.
27785         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27786         (test-xfail-tst-tlsalign-static): Variable removed.
27788         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27789         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27790         rather than explicit 'ln -s'.
27792         * resolv/rpc/netdb.h: New file.
27793         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27795 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27797         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27798         length buffers.
27799         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27800         test-skeleton.c.
27802         [BZ #6544]
27803         [BZ #11216]
27804         [BZ #12836]
27805         [BZ #13151]
27806         [BZ #13152]
27807         [BZ #14292]
27808         * include/stdio.h (fmemopen): Remove hidden prototype.
27809         (__fmemopen): Add new hidden prototype.
27810         * libio/Makefile: Add oldfmemopen object.
27811         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27812         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27813         compliance.
27814         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27815         symbol compatibility.
27816         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27817         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27818         fmemopen.
27819         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27820         on append and read mode.
27821         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27822         fmemopen.
27823         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27824         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27825         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27826         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27827         Likewise.
27828         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27829         [GLIBC_2.22]: Likewise.
27830         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27831         Likewise.
27832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27833         Likewise.
27834         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27835         [GLIBC_2.22]: Likewise.
27836         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27837         [GLIBC_2.22]: Likewise.
27838         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27839         [GLIBC_2.22]: Likewise.
27840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27841         [GLIBC_2.22]: Likewise.
27842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27843         [GLIBC_2.22]: Likewise.
27844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27845         [GLIBC_2.22]: Likewise.
27846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27847         [GLIBC_2.22]: Likewise.
27848         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27849         Likewise.
27850         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27851         Likewise.
27852         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27853         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27854         [GLIBC_2.22]: Likewise.
27855         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27856         [GLIBC_2.22]: Likewise.
27857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27858         [GLIBC_2.22]: Likewise.
27859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27860         [GLIBC_2.22]: Likewise.
27861         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27862         Likewise.
27863         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27864         Likewise.
27865         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27866         Likewise.
27867         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27868         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27870 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27872         [BZ #18643]
27873         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27874         IPV6_PATHMTU, and IPV6_DONTFRAG.
27876 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27878         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27879         and _IO_UNBUFFERED.
27880         * libio/oldfileops.c: Likewise.
27881         * libio/wfileops.c: Likewise.
27883 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27885         * nscd/selinux.c: Delete selinux/flask.h include.
27887 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27889         [BZ #18641]
27890         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27891         (putpwent): Likewise.
27892         (getpwnam): Likewise.
27893         (getpwent_r): Likewise.
27894         (getpwuid_r): Likewise.
27895         (getpwnam_r): Likewise.
27896         (fgetpwent_r): Likewise.
27898 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27900         [BZ #18557]
27901         * inet/rcmd.c (__validuser2_sa): Check user first to
27902         short-circuit host check.
27904 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27905             Mikhail Ilin  <m.ilin@samsung.com>
27907         [BZ #17833]
27908         * elf/Makefile (tests): Add tst-nodelete.
27909         (modules-names): Add tst-nodelete-uniquemod.
27910         (tst-nodelete-uniquemod.so-no-z-defs): New.
27911         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27912         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27913         ($(objpfx)tst-nodelete): Likewise.
27914         ($(objpfx)tst-nodelete.out): Likewise.
27915         (LDFLAGS-tst-nodelete): Likewise.
27916         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27917         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27918         implement forced object deletion.
27919         (_dl_close): Pass false to _dl_close_worker.
27920         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27921         * elf/tst-nodelete.cc: New file.
27922         * elf/tst-nodeletelib.cc: Likewise.
27923         * elf/tst-znodeletelib.cc: Likewise.
27924         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27926 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27928         [BZ #18508]
27929         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27930         Depend on $(libdl).
27931         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27932         is not called infinitely times.
27933         (backtrace_helper): New function.
27934         (trace_arg): New struct.
27935         (st1): Enlarge stack size.
27936         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27937         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27938         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27939         Likewise.
27941 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27943         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27945 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27947         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27948         Include sys/types.h instead of bits/types.h.
27949         Remove inclusion of bits/wordsize.h.
27951 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27953         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27954         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27955         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27956         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27957         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27958         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27960 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27962         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27963         link-defines.sym.
27964         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27965         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27966         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27967         and LR_SIZE.
27968         * sysdeps/i386/link-defines.sym: New file.
27970 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27972         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27973         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27974         ($(objpfx)tst-audit3): New rule.
27975         ($(objpfx)tst-audit3.out): Likewise.
27976         * sysdeps/i386/tst-audit3.c: New file.
27977         * sysdeps/i386/tst-audit3.h: Likewise.
27978         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27979         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27981 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27983         [BZ #18633]
27984         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27985         pointer in C code.
27986         (__strcat_c): Likewise.
27987         (__strcat_g): Likewise.
27989 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27991         [BZ #18592]
27992         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27994 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27996         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27997         New function.  (__ieee754_sqrtf): New function.
27998         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27999         New function.
28000         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28001         New function.
28003 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28005         * sysdeps/ieee754/support.c: Remove unused file.
28007 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28009         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28010         registers instead of d ones so the layout is kernel abi compatible.
28011         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28012         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28013         Likewise.
28015 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28017         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28019 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28021         [BZ #18619]
28022         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28023         and return argument in case of subnormal argument.
28025 2015-07-01  Martin Sebor  <msebor@redhat.com>
28027         [BZ #18435]
28028         * nptl/Makefile: Add tst-once5.cc.
28029         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28030         Remove macro redefinitions.
28031         * nptl/tst-once5.cc: New test.
28033 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28035         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28037         * sysdeps/arm/libm-test-ulps: Regenerated.
28039         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28040         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28042 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28044         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28045         lll_lock_wait_private and lll_futex_wake probes.
28047         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28049         Likewise.
28050         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28051         atomic_spin_nop.
28052         * sysdeps/x86_64/bits/atomic.h: Likewise.
28053         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28054         to atomic_spin_nop and move ...
28055         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28056         ... here and ...
28057         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28058         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28059         atomic_spin_nop instead of BUSY_WAIT_NOP.
28060         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28061         Likewise.
28062         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28063         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28064         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28065         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28066         instead of atomic_delay.
28068 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28070         [BZ #18613]
28071         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28072         X_ADJ not X when adjusting exponent.
28073         (__ieee754_gamma_r): Do intermediate computations in
28074         round-to-nearest then adjust overflowing and underflowing results
28075         as needed.
28076         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28077         of X_ADJ not X when adjusting exponent.
28078         (__ieee754_gammaf_r): Do intermediate computations in
28079         round-to-nearest then adjust overflowing and underflowing results
28080         as needed.
28081         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28082         log of X_ADJ not X when adjusting exponent.
28083         (__ieee754_gammal_r): Do intermediate computations in
28084         round-to-nearest then adjust overflowing and underflowing results
28085         as needed.  Use 1.0L not 1.0f as numerator of division.
28086         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28087         log of X_ADJ not X when adjusting exponent.
28088         (__ieee754_gammal_r): Do intermediate computations in
28089         round-to-nearest then adjust overflowing and underflowing results
28090         as needed.  Use 1.0L not 1.0f as numerator of division.
28091         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28092         of X_ADJ not X when adjusting exponent.
28093         (__ieee754_gammal_r): Do intermediate computations in
28094         round-to-nearest then adjust overflowing and underflowing results
28095         as needed.  Use 1.0L not 1.0f as numerator of division.
28096         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28097         to auto-libm-test-in.
28098         (tgamma_test): Use ALL_RM_TEST.
28099         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28100         tests of tgamma with spurious-overflow.
28101         * math/auto-libm-test-out: Regenerated.
28102         * math/gen-libm-have-vector-test.sh: Do not check for START.
28103         * sysdeps/i386/fpu/libm-test-ulps: Update.
28104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28106         [BZ #18612]
28107         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28108         arguments, just return 0.5 times the argument, with underflow
28109         forced as needed.
28110         * math/auto-libm-test-in: Add more tests of j1.
28111         * math/auto-libm-test-out: Regenerated.
28113         [BZ #16559]
28114         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28115         (__ieee754_j1): Force underflow exception for small results.
28116         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28117         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28118         (__ieee754_j1f): Force underflow exception for small results.
28119         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28120         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28122         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28123         (__ieee754_j1l): Force underflow exception for small results.
28124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28125         * math/auto-libm-test-in: Add more tests of j1 and jn.
28126         * math/auto-libm-test-out: Regenerated.
28128         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28129         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28130         (PF_MPLS): Likewise.
28131         (AF_IB): Likewise.
28132         (AF_MPLS): Likewise.
28133         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28134         value and macro.
28135         (MS_RMT_MASK): Include MS_LAZYTIME.
28137 2015-06-26  Mel Gorman  <mgorman@suse.de>
28139         [BZ #18502]
28140         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28141         already minimal.
28143 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28145         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28146         (DT_MIPS_NUM): Update.
28147         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28148         DT_MIPS_RLD_MAP_REL.
28150 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28152         [BZ #16559]
28153         [BZ #18602]
28154         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28155         round-to-nearest internally then recompute results that
28156         underflowed to zero in the original rounding mode.
28157         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28158         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28161         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28162         * sysdeps/i386/fpu/libm-test-ulps: Update.
28163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28167         * NEWS: Fixed description of link with vector math library.
28169 2015-06-25  Andreas Schwab  <schwab@suse.de>
28171         [BZ #18549]
28172         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28173         * libio/test-fmemopen.c (do_test): Add test for it.
28175 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28177         [BZ #17841]
28178         * Makeconfig (no-pie-ldflag): New.
28179         (+link): Set to $(+link-pie) if default to PIE.
28180         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28181         * config.make.in (build-pie-default): New.
28182         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28183         is default.  AC_SUBST.
28184         * configure: Regenerated.
28185         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28187 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28189         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28190         to 'unsigned int'.
28192         * resolv/gai_misc.h (struct waitlist): Change type of field
28193         counterp to 'volatile unsigned int *'.
28194         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28195         FUTEXADDR and OLDVAL.
28196         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28197         Give local variable TOTAL type 'volatile unsigned int'.
28198         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28199         * resolv/gai_suspend.c (gai_suspend):
28200         Give local variable CNTR type 'unsigned int'.
28202         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28203         counterp to 'volatile unsigned int *'.
28204         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28205         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28206         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28207         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28208         Give local variable TOTAL type 'volatile unsigned int'.
28209         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28211 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28213         [BZ #18383]
28214         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28215         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28216         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28217         comment for i386/x86-64.
28218         (test-xfail-tst-tlsalign-extern-static): Removed.
28220 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28222         * math/test-double.h: New file.
28223         * math/test-float.h: Likewise.
28224         * math/test-ldouble.h: Likewise.
28225         * math/test-math-inline.h: Likewise.
28226         * math/test-math-no-inline.h: Likewise.
28227         * math/test-math-scalar.h: Likewise.
28228         * math/test-math-vector.h: Likewise.
28229         * math/test-vec-loop.h: Remove file.  Contents moved into
28230         test-math-vector.h.
28231         * math/libm-test.inc (MATHCONST): Do not document macro.
28232         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28233         and test-math-scalar.h.
28234         (FUNC): Remove macro.
28235         (FUNC_TEST): Likewise.
28236         (FLOAT): Likewise.
28237         (MATHCONST): Likewise.
28238         (PRINTF_EXPR): Likewise.
28239         (PRINTF_XEXPR): Likewise.
28240         (PRINTF_NEXPR): Likewise.
28241         (TEST_DOUBLE): Likewise.
28242         (TEST_MATHVEC): Likewise.
28243         (__NO_MATH_INLINES): Likewise.
28244         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28245         and test-math-scalar.h.
28246         (FUNC): Remove macro.
28247         (FUNC_TEST): Likewise.
28248         (FLOAT): Likewise.
28249         (MATHCONST): Likewise.
28250         (PRINTF_EXPR): Likewise.
28251         (PRINTF_XEXPR): Likewise.
28252         (PRINTF_NEXPR): Likewise.
28253         (TEST_FLOAT): Likewise.
28254         (TEST_MATHVEC): Likewise.
28255         (__NO_MATH_INLINES): Likewise.
28256         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28257         and test-math-scalar.h.
28258         (FUNC): Remove macro.
28259         (FUNC_TEST): Likewise.
28260         (FLOAT): Likewise.
28261         (MATHCONST): Likewise.
28262         (PRINTF_EXPR): Likewise.
28263         (PRINTF_XEXPR): Likewise.
28264         (PRINTF_NEXPR): Likewise.
28265         (TEST_DOUBLE): Likewise.
28266         (TEST_MATHVEC): Likewise.
28267         (TEST_INLINE): Likewise.
28268         (__NO_MATH_INLINES): Likewise.
28269         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28270         test-math-scalar.h.
28271         (FUNC): Remove macro.
28272         (FUNC_TEST): Likewise.
28273         (FLOAT): Likewise.
28274         (MATHCONST): Likewise.
28275         (PRINTF_EXPR): Likewise.
28276         (PRINTF_XEXPR): Likewise.
28277         (PRINTF_NEXPR): Likewise.
28278         (TEST_FLOAT): Likewise.
28279         (TEST_MATHVEC): Likewise.
28280         (TEST_INLINE): Likewise.
28281         (__NO_MATH_INLINES): Likewise.
28282         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28283         and test-math-scalar.h.
28284         (FUNC): Remove macro.
28285         (FUNC_TEST): Likewise.
28286         (FLOAT): Likewise.
28287         (MATHCONST): Likewise.
28288         (PRINTF_EXPR): Likewise.
28289         (PRINTF_XEXPR): Likewise.
28290         (PRINTF_NEXPR): Likewise.
28291         (TEST_LDOUBLE): Likewise.
28292         (TEST_MATHVEC): Likewise.
28293         (TEST_INLINE): Likewise.
28294         (__NO_MATH_INLINES): Likewise.
28295         * math/test-ldouble.c: Include test-ldouble.h,
28296         test-math-no-inline.h and test-math-scalar.h.
28297         (FUNC): Remove macro.
28298         (FUNC_TEST): Likewise.
28299         (FLOAT): Likewise.
28300         (MATHCONST): Likewise.
28301         (PRINTF_EXPR): Likewise.
28302         (PRINTF_XEXPR): Likewise.
28303         (PRINTF_NEXPR): Likewise.
28304         (TEST_LDOUBLE): Likewise.
28305         (TEST_MATHVEC): Likewise.
28306         (__NO_MATH_INLINES): Likewise.
28307         * math/test-double-vlen2.h: Include test-double.h,
28308         test-math-no-inline.h and test-math-vector.h.
28309         (FLOAT): Remove macro.
28310         (FUNC): Likewise.
28311         (MATHCONST): Likewise.
28312         (PRINTF_EXPR): Likewise.
28313         (PRINTF_XEXPR): Likewise.
28314         (PRINTF_NEXPR): Likewise.
28315         (TEST_DOUBLE): Likewise.
28316         (TEST_MATHVEC): Likewise.
28317         (__NO_MATH_INLINES): Likewise.
28318         (CNCT): Likewise.
28319         (CONCAT): Likewise.
28320         (WRAPPER_NAME): Likewise.
28321         (WRAPPER_DECL): Likewise.
28322         (WRAPPER_DECL_ff): Likewise.
28323         (WRAPPER_DECL_fFF): Likewise.
28324         (VECTOR_WRAPPER): Likewise.
28325         (VECTOR_WRAPPER_ff): Likewise.
28326         (VECTOR_WRAPPER_fFF): Likewise.
28327         (VEC_LEN): New macro.
28328         * math/test-double-vlen4.h: Include test-double.h,
28329         test-math-no-inline.h and test-math-vector.h.
28330         (FLOAT): Remove macro.
28331         (FUNC): Likewise.
28332         (MATHCONST): Likewise.
28333         (PRINTF_EXPR): Likewise.
28334         (PRINTF_XEXPR): Likewise.
28335         (PRINTF_NEXPR): Likewise.
28336         (TEST_DOUBLE): Likewise.
28337         (TEST_MATHVEC): Likewise.
28338         (__NO_MATH_INLINES): Likewise.
28339         (CNCT): Likewise.
28340         (CONCAT): Likewise.
28341         (WRAPPER_NAME): Likewise.
28342         (WRAPPER_DECL): Likewise.
28343         (WRAPPER_DECL_ff): Likewise.
28344         (WRAPPER_DECL_fFF): Likewise.
28345         (VECTOR_WRAPPER): Likewise.
28346         (VECTOR_WRAPPER_ff): Likewise.
28347         (VECTOR_WRAPPER_fFF): Likewise.
28348         (VEC_LEN): New macro.
28349         * math/test-double-vlen8.h: Include test-double.h,
28350         test-math-no-inline.h and test-math-vector.h.
28351         (FLOAT): Remove macro.
28352         (FUNC): Likewise.
28353         (MATHCONST): Likewise.
28354         (PRINTF_EXPR): Likewise.
28355         (PRINTF_XEXPR): Likewise.
28356         (PRINTF_NEXPR): Likewise.
28357         (TEST_DOUBLE): Likewise.
28358         (TEST_MATHVEC): Likewise.
28359         (__NO_MATH_INLINES): Likewise.
28360         (CNCT): Likewise.
28361         (CONCAT): Likewise.
28362         (WRAPPER_NAME): Likewise.
28363         (WRAPPER_DECL): Likewise.
28364         (WRAPPER_DECL_ff): Likewise.
28365         (WRAPPER_DECL_fFF): Likewise.
28366         (VECTOR_WRAPPER): Likewise.
28367         (VECTOR_WRAPPER_ff): Likewise.
28368         (VECTOR_WRAPPER_fFF): Likewise.
28369         (VEC_LEN): New macro.
28370         * math/test-float-vlen4.h: Include test-float.h,
28371         test-math-no-inline.h and test-math-vector.h.
28372         (FLOAT): Remove macro.
28373         (FUNC): Likewise.
28374         (MATHCONST): Likewise.
28375         (PRINTF_EXPR): Likewise.
28376         (PRINTF_XEXPR): Likewise.
28377         (PRINTF_NEXPR): Likewise.
28378         (TEST_FLOAT): Likewise.
28379         (TEST_MATHVEC): Likewise.
28380         (__NO_MATH_INLINES): Likewise.
28381         (CNCT): Likewise.
28382         (CONCAT): Likewise.
28383         (WRAPPER_NAME): Likewise.
28384         (WRAPPER_DECL): Likewise.
28385         (WRAPPER_DECL_ff): Likewise.
28386         (WRAPPER_DECL_fFF): Likewise.
28387         (VECTOR_WRAPPER): Likewise.
28388         (VECTOR_WRAPPER_ff): Likewise.
28389         (VECTOR_WRAPPER_fFF): Likewise.
28390         (VEC_LEN): New macro.
28391         * math/test-float-vlen8.h: Include test-float.h,
28392         test-math-no-inline.h and test-math-vector.h.
28393         (FLOAT): Remove macro.
28394         (FUNC): Likewise.
28395         (MATHCONST): Likewise.
28396         (PRINTF_EXPR): Likewise.
28397         (PRINTF_XEXPR): Likewise.
28398         (PRINTF_NEXPR): Likewise.
28399         (TEST_FLOAT): Likewise.
28400         (TEST_MATHVEC): Likewise.
28401         (__NO_MATH_INLINES): Likewise.
28402         (CNCT): Likewise.
28403         (CONCAT): Likewise.
28404         (WRAPPER_NAME): Likewise.
28405         (WRAPPER_DECL): Likewise.
28406         (WRAPPER_DECL_ff): Likewise.
28407         (WRAPPER_DECL_fFF): Likewise.
28408         (VECTOR_WRAPPER): Likewise.
28409         (VECTOR_WRAPPER_ff): Likewise.
28410         (VECTOR_WRAPPER_fFF): Likewise.
28411         (VEC_LEN): New macro.
28412         * math/test-float-vlen16.h: Include test-float.h,
28413         test-math-no-inline.h and test-math-vector.h.
28414         (FLOAT): Remove macro.
28415         (FUNC): Likewise.
28416         (MATHCONST): Likewise.
28417         (PRINTF_EXPR): Likewise.
28418         (PRINTF_XEXPR): Likewise.
28419         (PRINTF_NEXPR): Likewise.
28420         (TEST_FLOAT): Likewise.
28421         (TEST_MATHVEC): Likewise.
28422         (__NO_MATH_INLINES): Likewise.
28423         (CNCT): Likewise.
28424         (CONCAT): Likewise.
28425         (WRAPPER_NAME): Likewise.
28426         (WRAPPER_DECL): Likewise.
28427         (WRAPPER_DECL_ff): Likewise.
28428         (WRAPPER_DECL_fFF): Likewise.
28429         (VECTOR_WRAPPER): Likewise.
28430         (VECTOR_WRAPPER_ff): Likewise.
28431         (VECTOR_WRAPPER_fFF): Likewise.
28432         (VEC_LEN): New macro.
28433         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28434         test-vec-loop.h.
28435         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28436         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28437         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28438         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28439         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28441         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28443 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28445         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28446         (__getlogin_r): ... this.
28448 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28450         [BZ #18594]
28451         * math/s_ccosh.c (__ccosh): Compare with least normal value
28452         instead of comparing class with FP_SUBNORMAL.
28453         * math/s_ccoshf.c (__ccoshf): Likewise.
28454         * math/s_ccoshl.c (__ccoshl): Likewise.
28455         * math/s_cexp.c (__cexp): Likewise.
28456         * math/s_cexpf.c (__cexpf): Likewise.
28457         * math/s_cexpl.c (__cexpl): Likewise.
28458         * math/s_csin.c (__csin): Likewise.
28459         * math/s_csinf.c (__csinf): Likewise.
28460         * math/s_csinh.c (__csinh): Likewise.
28461         * math/s_csinhf.c (__csinhf): Likewise.
28462         * math/s_csinhl.c (__csinhl): Likewise.
28463         * math/s_csinl.c (__csinl): Likewise.
28464         * math/s_ctan.c (__ctan): Likewise.
28465         * math/s_ctanf.c (__ctanf): Likewise.
28466         * math/s_ctanh.c (__ctanh): Likewise.
28467         * math/s_ctanhf.c (__ctanhf): Likewise.
28468         * math/s_ctanhl.c (__ctanhl): Likewise.
28469         * math/s_ctanl.c (__ctanl): Likewise.
28470         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28471         csin, csinh, ctan and ctanh.
28472         * math/auto-libm-test-out: Regenerated.
28473         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28474         * sysdeps/i386/fpu/libm-test-ulps: Update.
28475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28477 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28479         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28480         return value is wrong, print the expected value too.
28482 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28484         [BZ #18585]
28485         * elf/readlib.c (is_gdb_python_file): New.
28486         (process_file): Don't issue errors on filenames with -gdb.py
28487         suffix.
28489 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28491         * math/auto-libm-test-in: Add more tests of csin and csinh.
28492         * math/auto-libm-test-out: Regenerated.
28493         * math/libm-test.inc (csin_test_data): Remove tests moved to
28494         auto-libm-test-in.
28495         (csinh_test_data): Likewise.
28497         [BZ #18593]
28498         * math/s_csin.c (__csin): Negate before rather than after possibly
28499         overflowing multiplication.
28500         * math/s_csinf.c (__csinf): Likewise.
28501         * math/s_csinh.c (__csinh): Likewise.
28502         * math/s_csinhf.c (__csinhf): Likewise.
28503         * math/s_csinhl.c (__csinhl): Likewise.
28504         * math/s_csinl.c (__csinl): Likewise.
28505         * math/auto-libm-test-in: Add some tests of csin and csinh.
28506         * math/auto-libm-test-out: Regenerated.
28507         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28508         (csinh_test_data): Likewise.
28509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28511         [BZ #18586]
28512         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28513         underflow exception for small results.
28515 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28517         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28519         variable and included header.
28520         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28521         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28522         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28523         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28524         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28525         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28526         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28527         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28528         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28529         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28530         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28531         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28532         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28533         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28534         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28535         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28537 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28539         [BZ #16526]
28540         [BZ #16538]
28541         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28542         (__sin): Force underflow exception for arguments with small
28543         absolute value.
28544         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28545         (__kernel_sinf): Force underflow exception for arguments with
28546         small absolute value.
28547         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28548         (__kernel_sincosl): Force underflow exception for arguments with
28549         small absolute value.
28550         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28551         (__kernel_sinl): Force underflow exception for arguments with
28552         small absolute value.
28553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28554         (__kernel_sincosl): Force underflow exception for arguments with
28555         small absolute value.
28556         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28557         (__kernel_sinl): Force underflow exception for arguments with
28558         small absolute value.
28559         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28560         (__kernel_sinl): Force underflow exception for arguments with
28561         small absolute value.
28562         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28563         (__kernel_sinf): Force underflow exception for arguments with
28564         small absolute value.
28565         * math/auto-libm-test-in: Add more tests of sin and sincos.
28566         * math/auto-libm-test-out: Regenerated.
28568         [BZ #18245]
28569         [BZ #18583]
28570         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28571         (__kernel_standard_l): Use feholdexcept and fesetenv around
28572         conversion to double instead of special-casing overflow and
28573         underflow.
28574         * math/libm-test.inc (fmod_test_data): Add more tests.
28575         (remainder_test_data): Likewise.
28576         (sqrt_test_data): Likewise.
28578 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28580         [BZ #17403]
28581         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28582         atomic_read_barrier, atomic_write_barrier): Define.
28583         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28584         atomic_read_barrier, atomic_write_barrier): Define.
28586 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28588         * math/Makefile [$(PERL) != no]
28589         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28590         dependency on libm-test.stmp below the inclusion of Rules.
28592 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28594         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28596         and included header.
28597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28598         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28603         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28604         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28605         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28606         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28607         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28608         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28609         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28610         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28611         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28612         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28613         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28614         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28615         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28617 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28619         [BZ #18371]
28620         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28621         intermediate but not final result might underflow.
28622         * math/s_csqrtf.c (__csqrtf): Likewise.
28623         * math/s_csqrtl.c (__csqrtl): Likewise.
28624         * math/auto-libm-test-in: Add more tests of csqrt.
28625         * math/auto-libm-test-out: Regenerated.
28626         * sysdeps/i386/fpu/libm-test-ulps: Update.
28628         [BZ #18219]
28629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28630         threshold on absolute value of exponent for which scaling is used.
28631         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28632         * math/auto-libm-test-in: Add more tests of exp2.
28633         * math/auto-libm-test-out: Regenerated.
28635 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28637         [BZ #17977]
28638         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28639         when initializing interface list, based on the bug analysis
28640         and the patch proposed by Eric Newton.
28641         * resolv/tst-res_hconf_reorder.c: New test.
28642         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28643         tst-res_hconf_reorder.
28644         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28645         and $(shared-thread-library).
28646         (tst-res_hconf_reorder-ENV): New variable.
28648         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28649         in comment.
28651 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28653         [BZ #16353]
28654         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28655         (__expm1): Force underflow exception for arguments with small
28656         absolute value.
28657         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28658         (__expm1f): Force underflow exception for arguments with small
28659         absolute value.
28660         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28661         (__expm1): Force underflow exception for arguments with small
28662         absolute value.
28663         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28664         (__expm1f): Force underflow exception for arguments with small
28665         absolute value.
28666         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28667         Check for small arguments before calling __expm1.
28668         * math/auto-libm-test-in: Do not mark underflow exceptions as
28669         possibly missing for bug 16353.
28670         * math/auto-libm-test-out: Regenerated.
28672 2015-06-22  Andreas Schwab  <schwab@suse.de>
28674         [BZ #18513]
28675         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28676         PTR queries.
28678 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28680         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28682         * string/strcoll_l.c: Remove unused struct element idxnow.
28684 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28686         [BZ #18569]
28687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28688         underflow and return argument in case of subnormal argument.
28689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28690         Likewise.
28691         * math/auto-libm-test-in: Add more tests of expm1.
28692         * math/auto-libm-test-out: Regenerated.
28694         [BZ #16361]
28695         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28696         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28697         tiny results.
28698         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28699         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28700         tiny results.
28701         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28702         mark underflow exceptions as possibly missing for bug 16361.
28703         * math/auto-libm-test-out: Regenerated.
28705 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28707         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28708         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28709         Remove variable.
28710         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28711         (test-xfail-XOPEN2K8/utmpx.h/conform).
28713         * conform/conformtest.pl ($xerrors): New variable.
28714         (note_error): New function.
28715         (compiletest): New argument $xfail.  Use not_error.
28716         (runtest): Likewise.
28717         (top level): Handle xfail- lines.  Update calls to compiletest and
28718         runtest.  Handle xfail- and optional- in headers listed with
28719         allow-header.
28720         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28721         (O_EXEC): Likewise.
28722         (O_SEARCH): Likewise.
28723         * conform/data/stropts.h-data (ioctl): Likewise.
28724         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28725         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28726         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28727         (msghdr.msg_controllen): Likewise.
28728         (cmsghdr.cmsg_len): Likewise.
28729         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28730         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28731         variable.
28732         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28733         (test-xfail-XPG4/stropts.h/conform): Likewise.
28734         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28735         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28736         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28737         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28738         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28739         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28740         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28741         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28742         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28743         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28744         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28745         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28746         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28747         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28748         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28749         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28750         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28751         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28752         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28754 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28756         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28757         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28758         definitions for proper unfolding of __MATHDECL_VEC.
28760 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28762         * benchtests/bench-strcoll.c:
28763         Include string.h.
28764         (main): Remove unused variable res.
28766 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28768         * timezone/Makefile (%/UTC %/Universal):
28769         Generate test-result files for UTC and Universal.
28771 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28773         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28775 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28777         [BZ #16350]
28778         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28779         for arguments with small absolute value.
28780         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28781         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28782         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28783         (__asinh): Force underflow exception for arguments with small
28784         absolute value.
28785         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28786         (__asinhf): Force underflow exception for arguments with small
28787         absolute value.
28788         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28789         (__asinhl): Force underflow exception for arguments with small
28790         absolute value.
28791         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28792         (__asinhl): Force underflow exception for arguments with small
28793         absolute value.
28794         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28795         (__asinhl): Force underflow exception for arguments with small
28796         absolute value.
28797         * math/auto-libm-test-in: Do not mark underflow exceptions as
28798         possibly missing for bug 16350.
28799         * math/auto-libm-test-out: Regenerated.
28801         * include/bits/ipc.h: Remove file.
28802         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28803         variable.
28804         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28805         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28806         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28807         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28808         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28809         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28810         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28811         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28812         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28814         * math/auto-libm-test-in: Remove spurious underflow allowance for
28815         tests of cexp.
28816         * math/auto-libm-test-out: Regenerated.
28818         [BZ #18558]
28819         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28820         unconditional definition.
28821         (MCAST_BLOCK_SOURCE): Likewise.
28822         (MCAST_UNBLOCK_SOURCE): Likewise.
28823         (MCAST_LEAVE_GROUP): Likewise.
28824         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28825         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28826         (MCAST_MSFILTER): Likewise.
28827         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28828         Remove variable.
28829         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28830         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28831         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28832         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28833         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28835 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28837         * NEWS: Mention addition of x86_64 vector sincosf.
28838         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28839         * math/test-float-vlen4.h: Likewise.
28840         * math/test-float-vlen8.h: Likewise.
28841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28842         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28844         * sysdeps/x86_64/fpu/Versions: New versions added.
28845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28847         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28854         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28855         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28856         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28857         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28858         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28859         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28860         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28861         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28862         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28863         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28864         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28865         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28866         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28867         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28868         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28870         * NEWS: Mention addition of x86_64 vector sincos.
28871         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28872         * math/math.h (__MATHDECL_VEC): New macro.
28873         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28874         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28875         declaration under condition.
28876         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28877         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28878         TEST_VEC_LOOP change.
28879         * math/test-double-vlen4.h: Likewise.
28880         * math/test-double-vlen8.h: Likewise.
28881         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28882         * math/test-float-vlen4.h: Likewise.
28883         * math/test-float-vlen8.h: Likewise.
28884         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28885         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28886         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28887         * sysdeps/x86_64/fpu/Versions: New versions added.
28888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28889         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28890         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28897         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28898         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28899         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28900         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28901         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28902         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28903         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28904         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28905         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28906         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28908         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28909         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28910         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28911         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28914         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28915         redirections for powf.
28916         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28917         * sysdeps/x86_64/fpu/Versions: New versions added.
28918         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28919         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28920         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28921         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28922         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28923         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28924         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28927         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28928         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28929         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28930         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28931         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28932         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28933         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28934         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28935         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28936         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28937         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28938         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28940         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28941         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28942         * math/test-float-vlen16.h: Fixed 2 argument macro.
28943         * math/test-float-vlen4.h: Likewise.
28944         * math/test-float-vlen8.h: Likewise.
28945         * NEWS: Mention addition of x86_64 vector powf.
28947 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28949         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28950         and redefine.
28951         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28952         and redefine.
28953         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28954         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28957         [BZ #18553]
28958         * resource/getpriority.c (getpriority): Rename to __getpriority
28959         and define as weak alias of __getpriority.
28960         * resource/setpriority.c (setpriority): Rename to __setpriority
28961         and define as weak alias of __setpriority.
28962         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28963         __getpriority and define as weak alias of __getpriority.
28964         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28965         __setpriority and define as weak alias of __setpriority.
28966         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28967         strong name.
28968         (setpriority): Use __setpriority as strong name.
28969         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28970         __getpriority and define as weak alias of __getpriority.
28971         * include/sys/resource.h (__getpriority): Declare.  Use
28972         libc_hidden_proto.
28973         (__setpriority): Likewise.
28974         (getpriority): Don't use libc_hidden_proto.
28975         (setpriority): Likewise.
28976         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28977         getpriority.  Call __setpriority instead of setpriority.
28978         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28979         Remove variable.
28981         [BZ #18547]
28982         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28983         as weak alias of __getttynam.  Use prototype function definition.
28984         Call __setttyent, __getttyent and __endttyent instead of
28985         setttyent, getttyent and endttyent.
28986         (getttyent): Rename to __getttyent and define as weak alias of
28987         __getttyent.  Call __setttyent instead of setttyent.  Call
28988         __fgets_unlocked instead of fgets_unlocked.
28989         (setttyent): Rename to __setttyent and define as weak alias of
28990         __setttyent.
28991         (endttyent): Rename to __endttyent and define as weak alias of
28992         __endttyent.
28993         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28994         (__setttyent): Likewise.
28995         (__endttyent): Likewise.
28996         (getttyent): Don't use libc_hidden_proto.
28997         (setttyent): Likewise.
28998         (endttyent): Likewise.
28999         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29000         __endttyent instead of setttyent, getttyent and endttyent.
29001         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29002         Remove variable.
29004         [BZ #18546]
29005         * socket/recv.c (__recv): Use libc_hidden_def.
29006         * socket/socket.c (__socket): Likewise.
29007         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29008         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29009         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29010         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29011         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29012         libc_hidden_def.
29013         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29014         libc_hidden_weak.
29015         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29016         Use libc_hidden_proto.
29017         (__recv): Likewise.
29018         * socket/Versions (libc): Export __recv and __socket at version
29019         GLIBC_PRIVATE.
29020         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29021         instead of recv.
29022         (init_mq_netlink): Call __socket instead of socket.
29023         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29024         Remove variable.
29026         [BZ #18545]
29027         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29028         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29029         hidden_weak.
29030         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29031         define as alias of __mq_timedsend.  Use hidden_weak.
29032         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29033         __mq_timedsend as strong name.
29034         (mq_timedreceive): Use __mq_timedreceive as strong name.
29035         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29036         (__mq_timedreceive): Likewise.
29037         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29038         __mq_timedreceive instead of mq_timedreceive.
29039         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29040         instead of mq_timedsend.
29041         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29042         Remove variable.
29044         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29045         hidden_def and hidden_weak instead of libc_hidden_def and
29046         libc_hidden_weak.
29047         (top level): Refer to hidden_def in comment.
29048         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29049         macro.  Use it instead of libc_hidden_def.
29050         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29051         specify __GI_* name explicitly.
29052         (mq_timedreceive): Likewise.
29053         (mq_setattr): Likewise.
29055         [BZ #18544]
29056         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29057         __pthread_barrier_init and define as weak alias of
29058         __pthread_barrier_init.
29059         * sysdeps/sparc/nptl/pthread_barrier_init.c
29060         (pthread_barrier_init): Likewise.
29061         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29062         __pthread_barrier_wait and define as weak alias of
29063         __pthread_barrier_wait.
29064         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29065         (pthread_barrier_wait): Likewise.
29066         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29067         (pthread_barrier_wait): Likewise.
29068         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29069         (pthread_barrier_wait): Likewise.
29070         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29071         (pthread_barrier_wait): Likewise.
29072         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29073         __pthread_barrier_wait at version GLIBC_PRIVATE.
29074         * include/pthread.h (__pthread_barrier_init): Declare.
29075         (__pthread_barrier_wait): Likewise.
29076         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29077         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29078         (helper_thread): Likewise.
29079         (init_mq_netlink): Call __pthread_barrier_init instead of
29080         pthread_barrier_init.
29082         [BZ #18542]
29083         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29084         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29085         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29086         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29087         vswscanf.
29088         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29089         Remove variable.
29091         [BZ #18540]
29092         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29093         strong alias of _IO_fflush.  Use libc_hidden_def.
29094         * libio/iofflush_u.c (fflush_unlocked): Rename to
29095         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29096         Use libc_hidden_weak.
29097         * include/stdio.h (__fflush_unlocked): Declare.  Use
29098         libc_hidden_proto.
29099         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29100         fflush_unlocked.
29101         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29102         Remove variable.
29104         [BZ #18539]
29105         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29106         define as weak alias of __addseverity.
29107         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29108         Remove variable.
29109         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29110         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29111         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29113         [BZ #18536]
29114         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29115         (__tfind): Likewise.
29116         (__tdelete): Likewise.
29117         (__twalk): Likewise.
29118         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29119         __twalk to GLIBC_PRIVATE.
29120         * include/search.h (__tsearch): Use libc_hidden_proto.
29121         (__tfind): Likewise.
29122         (__tdelete): Likewise.
29123         (__twalk): Likewise.
29124         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29125         Call __tdelete instead of tdelete.
29126         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29127         tfind.  Call __tsearch instead of tsearch.
29128         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29129         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29130         Remove variable.
29131         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29133         [BZ #18534]
29134         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29135         (dprintf): Define as a weak alias of __dprintf, not a strong
29136         alias.
29137         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29138         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29139         dprintf.
29140         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29141         Remove variable.
29142         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29143         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29145         [BZ #18533]
29146         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29147         not a strong alias.
29148         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29149         Remove variable.
29151         [BZ #18532]
29152         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29153         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29154         (in6addr_loopback): Rename to __in6addr_loopback and define as
29155         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29156         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29157         libc_hidden_proto.
29158         (__in6addr_any): Likewise.
29159         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29160         in6addr_any.
29161         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29162         variable.
29163         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29165 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29167         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29168         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29170         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29171         redirections for pow.
29172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29173         * sysdeps/x86_64/fpu/Versions: New versions added.
29174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29176         build of SSE, AVX2 and AVX512 IFUNC versions.
29177         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29178         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29179         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29180         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29181         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29182         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29183         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29184         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29185         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29186         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29187         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29188         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29189         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29190         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29191         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29193         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29194         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29195         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29196         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29197         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29198         * NEWS: Mention addition of x86_64 vector pow.
29200         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29201         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29202         redirections for expf.
29203         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29204         * sysdeps/x86_64/fpu/Versions: New versions added.
29205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29206         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29207         build of SSE, AVX2 and AVX512 IFUNC versions.
29208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29212         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29213         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29214         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29215         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29216         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29217         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29218         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29219         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29220         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29221         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29222         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29223         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29224         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29225         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29226         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29227         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29228         * NEWS: Mention addition of x86_64 vector expf.
29230         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29231         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29233         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29234         redirections for exp.
29235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29236         * sysdeps/x86_64/fpu/Versions: New versions added.
29237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29239         build of SSE, AVX2 and AVX512 IFUNC versions.
29240         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29241         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29242         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29243         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29244         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29245         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29246         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29247         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29248         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29249         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29250         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29251         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29252         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29253         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29256         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29257         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29258         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29259         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29260         * NEWS: Mention addition of x86_64 vector exp.
29262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29263         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29264         redirections for logf.
29265         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29266         * sysdeps/x86_64/fpu/Versions: New versions added.
29267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29269         build of SSE, AVX2 and AVX512 IFUNC versions.
29270         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29271         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29274         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29276         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29277         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29278         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29279         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29280         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29281         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29282         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29283         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29284         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29285         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29288         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29289         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29290         * NEWS: Mention addition of x86_64 vector logf.
29292         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29293         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29294         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29295         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29296         redirections for log.
29297         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29298         * sysdeps/x86_64/fpu/Versions: New versions added.
29299         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29300         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29301         build of SSE, AVX2 and AVX512 IFUNC versions.
29302         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29303         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29304         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29305         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29306         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29307         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29308         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29309         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29310         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29311         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29312         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29313         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29314         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29315         test.
29316         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29317         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29319         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29320         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29321         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29322         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29323         * NEWS: Mention addition of x86_64 vector log.
29325 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29327         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29328         cfi_adjust_cfa_offset argument.
29329         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29330         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29332         [BZ #18034]
29333         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29334         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29335         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29336         ordering using ldar.
29337         (_dl_tlsdesc_dynamic): Likewise.
29338         (_dl_tlsdesc_return_lazy): Likewise.
29339         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29340         relaxed atomics instead of volatile and synchronize with release store.
29341         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29342         volatile.
29343         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29345 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29349         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29350         * sysdeps/x86_64/fpu/Versions: New versions added.
29351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29352         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29353         build of SSE, AVX2 and AVX512 IFUNC versions.
29354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29355         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29356         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29358         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29360         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29361         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29362         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29363         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29364         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29365         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29366         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29367         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29368         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29369         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29373         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29374         * NEWS: Mention addition of x86_64 vector sinf.
29376 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29378         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29379         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29380         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29381         Remove variable.
29382         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29383         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29385 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29387         [BZ #18530]
29388         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29389         strong alias of _IO_fputs.  Use libc_hidden_def.
29390         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29391         and define as weak alias of __fputs_unlocked.  Use
29392         libc_hidden_weak.
29393         * include/stdio.h (__fputs_unlocked): Declare.  Use
29394         libc_hidden_proto.
29395         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29396         fputs_unlocked.
29398         [BZ #18529]
29399         * resolv/netdb.h [__USE_POSIX]: Change condition to
29400         [__USE_XOPEN2K].
29401         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29402         not expect.
29403         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29404         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29405         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29406         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29407         [XPG4 || UNIX98] (AI_ALL): Likewise.
29408         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29409         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29410         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29411         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29412         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29413         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29414         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29415         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29416         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29417         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29418         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29419         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29420         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29421         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29422         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29423         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29424         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29425         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29426         [XPG4 || UNIX98] (gai_strerror): Likewise.
29427         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29428         [XPG4 || UNIX98] (getnameinfo): Likewise.
29430         [BZ #18528]
29431         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29432         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29433         __USE_XOPEN2K8].
29434         (getgrent): Likewise.
29435         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29436         expect.
29437         [XPG3 || POSIX2008] (endgrent): Likewise.
29438         [XPG3] (setgrent): Likewise.
29439         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29440         variable.
29441         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29443         [BZ #18527]
29444         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29445         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29446         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29447         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29448         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29449         * include/unistd.h (__getlogin_r): Declare.  Use
29450         libc_hidden_proto.
29451         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29452         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29453         variable.
29454         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29455         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29456         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29458 2015-06-12  Martin Sebor  <msebor@redhat.com>
29460         [BZ #18512]
29461         * Makerules (check-install-supported): New target.
29462         (install): Add check-install-supported as a dependency.
29463         * manual/install.texi (Installing the C Library): Document
29464         that overriding prefix and exec_prefix is not supported.
29465         Mention DESTDIR.
29466         * INSTALL: Regenerate from the above.
29468 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29470         [BZ #18519]
29471         * posix/Versions (libc): Export __libc_pread at version
29472         GLIBC_PRIVATE.
29473         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29474         instead of pread.
29475         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29476         variable.
29478         [BZ #18522]
29479         * misc/efgcvt_r.c
29480         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29481         (cvt_symbol): Use weak_alias instead of strong_alias.
29482         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29483         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29484         Remove variable.
29485         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29486         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29488         [BZ #18520]
29489         * inet/herrno.c (h_errno): Rename to __h_errno.
29490         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29491         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29492         to __h_errno instead of h_errno.
29493         * nptl/herrno.c (h_errno): Rename to __h_errno.
29494         (__h_errno_location): Refer to __h_errno not h_errno.
29495         * resolv/Versions (h_errno): Rename to __h_errno.
29496         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29497         Remove variable.
29498         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29500 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29502         * configure.ac: More strict check for AVX512 assembler support.
29503         * configure: Regenerated.
29505         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29506         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29507         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29508         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29510         * sysdeps/x86_64/fpu/Versions: New versions added.
29511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29512         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29513         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29514         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29518         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29520         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29521         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29522         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29523         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29524         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29525         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29526         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29527         test.
29528         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29529         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29530         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29531         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29532         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29533         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29534         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29535         * NEWS: Mention addition of x86_64 vector sin.
29537 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29539         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29540         comment.
29542 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29544         [BZ #18479]
29545         * nptl/pt-interp.c: New file.
29546         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29547         Add pt-interp.
29548         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29549         $(common-objpfx)runtime-linker.h.
29551 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29553         * Makeconfig (+interp): Remove unused variable.
29554         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29555         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29556         $(elf-objpfx)runtime-linker.h.
29557         ($(elf-objpfx)runtime-linker.h): Rename to
29558         $(common-objpfx)runtime-linker.h and move ...
29559         * Makerules [$(build-shared) = yes]: ... here.
29560         * elf/interp.c: Include <runtime-linker.h> instead of
29561         <elf/runtime-linker.h>.
29563 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29565         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29566         (__gettimeofday_syscall): Remove vsyscall fallback.
29567         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29568         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29569         Add syscall fallback function.
29570         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29571         if vDSO is not present.
29572         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29573         fallback function.
29574         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29575         present.
29576         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29577         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29579 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29581         [BZ #18497]
29582         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29583         of wcscmp.
29584         (wcscmp): Define as weak alias of WCSCMP.
29585         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29586         wcscoll.
29587         (USE_HIDDEN_DEF): Define.
29588         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29589         __wcscoll.  Don't use libc_hidden_weak.
29590         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29591         wcscmp.
29592         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29593         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29594         __GI_wcscmp.
29595         (weak_alias): Undefine and redefine.
29596         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29597         __wcscmp and define as weak alias of __wcscmp.
29598         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29599         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29600         (__wcscoll): Likewise.
29601         (wcscmp): Don't use libc_hidden_proto.
29602         (wcscoll): Likewise.
29603         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29604         wcscoll.
29605         * posix/regexec.c (check_node_accept_bytes): Likewise.
29606         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29607         variable.
29608         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29609         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29611         [BZ #18507]
29612         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29613         __fstatvfs and define as weak alias of __fstatvfs.  Use
29614         libc_hidden_weak.
29615         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29616         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29617         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29618         Define as alias of __fstatvfs, not fstatvfs.
29619         (fstatvfs64): Likewise.
29620         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29621         Define as alias of __statvfs, not statvfs.
29622         (statvfs64): Likewise.
29623         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29624         Remove variable.
29626 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29629         (HAVE_GETCPU_VSYSCALL): Define.
29630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29631         (HAVE_GETCPU_VSYSCALL): Likewise.
29632         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29633         * sysdeps/unix/sysv/linux/sched_getcpu.c
29634         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29635         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29636         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29637         prototype.
29638         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29639         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29640         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29642         Define.
29643         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29644         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29645         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29646         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29648 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29650         * sysdeps/x86_64/fpu/Makefile: New file.
29651         * sysdeps/x86_64/fpu/Versions: New file.
29652         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29653         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29654         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29655         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29656         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29657         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29658         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29659         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29667         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29668         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29669         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29670         * sysdeps/x86_64/configure: Regenerated.
29671         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29672         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29673         * manual/install.texi (Configuring and compiling): Document
29674         --disable-mathvec.
29675         * INSTALL: Regenerated.
29676         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29678         * math/Makefile: Added rules for vector tests.
29679         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29680         declaration under condition.
29681         * math/test-double-vlen2.h: New file.
29682         * math/test-double-vlen4.h: New file.
29683         * math/test-double-vlen8.h: New file.
29684         * math/test-vec-loop.h: Added initialization macro.
29685         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29687         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29688         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29689         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29690         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29691         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29692         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29693         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29694         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29695         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29697         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29698         * sysdeps/x86_64/fpu/Versions: New versions added.
29699         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29701         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29702         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29703         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29704         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29706         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29708         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29709         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29710         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29711         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29713         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29714         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29715         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29716         * NEWS: Mention addition of x86_64 vector cosf.
29718         * math/Makefile: Added CFLAGS for new tests.
29719         * math/test-float-vlen16.h: New file.
29720         * math/test-float-vlen4.h: New file.
29721         * math/test-float-vlen8.h: New file.
29722         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29723         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29725         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29726         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29727         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29728         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29729         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29730         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29731         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29732         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29734 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29736         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29737         * locale/programs/ld-ctype.c: Likewise.
29739 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29741         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29742         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29743         bit_ZMM16_31_state): New macro.
29744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29745         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29747 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29749         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29751 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29753         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29755 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29757         [BZ #18498]
29758         * libio/memstream.c (open_memstream): Rename to __open_memstream
29759         and define as weak alias of __open_memstream.
29760         * include/stdio.h (__open_memstream): Declare.  Use
29761         libc_hidden_proto.
29762         (open_memstream): Don't use libc_hidden_proto.
29763         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29764         open_memstream.
29765         * posix/getopt.c (_getopt_internal_r): Likewise.
29766         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29767         variable.
29768         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29769         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29770         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29772         [BZ #18496]
29773         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29774         instead of wcrtomb.
29776         [BZ #18483]
29777         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29778         [__USE_XOPEN2K8].  Remove redundant #endif.
29779         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29780         Remove redundant #if.
29781         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29782         Remove variable.
29783         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29784         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29786         [BZ #18495]
29787         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29788         (__iswlower): Likewise.
29789         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29790         (__iswlower): Likewise.
29791         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29792         instead of towlower.
29793         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29794         instead of iswlower.  Call __towupper instead of towupper.
29795         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29796         instead of iswalnum.
29798 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29800         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29801         errors to stderr.
29803 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29805         [BZ #15661]
29806         [BZ #17322]
29807         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29808         Check for overflow properly.  Check for O_APPEND.  Ignore large
29809         file system block sizes.  Add comments about problems.
29810         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29811         * manual/filesys.texi (Storage Allocation): New node.
29813 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29815         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29816         cancellable syscalls.
29817         (SYS_ify): Add guard to no redefine it.
29818         (INLINE_SYSCALL): Likewise.
29819         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29820         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29821         SYSCALL_CANCEL instead.
29822         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29823         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29824         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29825         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29826         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29827         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29828         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29829         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29830         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29831         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29832         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29833         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29834         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29835         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29836         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29838         Likewise.
29839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29840         (__libc_pread64): Likewise.
29841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29842         (__libc_preadv): Likewise.
29843         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29844         (__libc_readv64): Likewise.
29845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29846         (__libc_pwrite): Likewise.
29847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29848         (__libc_pwrite64): Likewise.
29849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29850         (__libc_pwritev): Likewise.
29851         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29852         (__libc_pwritev64): Likewise.
29853         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29854         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29855         (sync_file_range): Likewise.
29856         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29857         Likewise.
29858         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29859         Likewise.
29860         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29861         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29862         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29863         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29864         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29865         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29866         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29867         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29869         Likewise.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29871         (__libc_read64): Likewise.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29873         Likewise.
29874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29875         Likewise.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29877         Likewise.
29878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29879         Likewise.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29881         (__libc_pread64): Likewise.
29882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29883         Likewise.
29884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29885         (__libc_pwrite64): Likewise.
29886         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29887         (sync_file_range): Likewise.
29888         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29889         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29890         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29891         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29892         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29893         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29894         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29895         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29896         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29897         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29898         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29899         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29900         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29901         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29902         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29903         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29904         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29905         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29907         Likewise.
29908         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29909         Likewise.
29910         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29911         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29912         Likewise.
29913         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29914         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29915         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29916         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29917         Likewise.
29918         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29919         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29920         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29921         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29922         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29924 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29926         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29927         Include dl-vdso.
29928         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29929         Use VDSO routines for gettimeofday, clock_gettime if
29930         available.
29931         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29932         Declare VDSO symbols.
29933         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29934         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29935         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29936         * sysdeps/unix/sysv/linux/arm/Versions: Add
29937         __vdso_clock_gettime.
29939 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29941         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29942         be an inline implementation regardless of library is built within.
29943         (open_not_cancel_2): Likewise.
29944         (__read_nocancel): Likewise.
29945         (__write_nocancel): Likewise.
29946         (openat_not_cancel): Likewise.
29947         (openat_not_cancel_3): Likewise.
29948         (openat64_not_cancel): Likewise.
29949         (openat64_not_cancel_3): Likewise.
29950         (__close_nocancel): Likewise.
29951         (pause_not_cancel): Likewise.
29952         (nanosleep_not_cancel): Likewise.
29953         (sigsuspend_not_cancel): Likewise.
29955 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29957         [BZ #14958]
29958         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29959         wake-up.
29960         (__pthread_rwlock_rdlock_slow): Likewise.
29961         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29962         Likewise.
29963         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29964         Likewise.
29965         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29966         * nptl/tst-rwlock16.c: New file.
29967         * nptl/Makefile (tests): Add new test.
29969 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29971         [BZ #18324]
29972         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29973         missing wake-up of readers.
29974         * nptl/tst-rwlock15.c: New file.
29975         * nptl/Makefile (tests): Add new test.
29977 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29979         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29980         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29981         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29982         and __nacl_supply_interface_rtld.
29983         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29984         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29985         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29986         Add __nacl_supply_interface_rtld.
29987         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29989 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29991         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29992         isfinite.
29993         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29994         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29996 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29998         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29999         __signbit* with standard C99 macros.
30000         * math/e_exp10l.c: Likewise.
30001         * math/e_exp2l.c: Likewise.
30002         * math/e_scalb.c: Likewise.
30003         * math/e_scalbf.c: Likewise.
30004         * math/e_scalbl.c: Likewise.
30005         * math/s_ldexp.c: Likewise.
30006         * math/s_ldexpf.c: Likewise.
30007         * math/s_ldexpl.c: Likewise.
30008         * math/w_atan2.c: Likewise.
30009         * math/w_atan2f.c: Likewise.
30010         * math/w_atan2l.c: Likewise.
30011         * math/w_cosh.c: Likewise.
30012         * math/w_coshf.c: Likewise.
30013         * math/w_coshl.c: Likewise.
30014         * math/w_exp10.c: Likewise.
30015         * math/w_exp10f.c: Likewise.
30016         * math/w_exp10l.c: Likewise.
30017         * math/w_exp2.c: Likewise.
30018         * math/w_exp2f.c: Likewise.
30019         * math/w_exp2l.c: Likewise.
30020         * math/w_fmod.c: Likewise.
30021         * math/w_fmodf.c: Likewise.
30022         * math/w_fmodl.c: Likewise.
30023         * math/w_hypot.c: Likewise.
30024         * math/w_hypotf.c: Likewise.
30025         * math/w_hypotl.c: Likewise.
30026         * math/w_jnl.c: Likewise.
30027         * math/w_lgamma.c: Likewise.
30028         * math/w_lgamma_r.c: Likewise.
30029         * math/w_lgammaf.c: Likewise.
30030         * math/w_lgammaf_r.c: Likewise.
30031         * math/w_lgammal.c: Likewise.
30032         * math/w_lgammal_r.c: Likewise.
30033         * math/w_pow.c: Likewise.
30034         * math/w_powf.c: Likewise.
30035         * math/w_powl.c: Likewise.
30036         * math/w_remainder.c: Likewise.
30037         * math/w_remainderf.c: Likewise.
30038         * math/w_remainderl.c: Likewise.
30039         * math/w_scalb.c: Likewise.
30040         * math/w_scalbf.c: Likewise.
30041         * math/w_scalbl.c: Likewise.
30042         * math/w_scalbln.c: Likewise.
30043         * math/w_scalblnf.c: Likewise.
30044         * math/w_scalblnl.c: Likewise.
30045         * math/w_sinh.c: Likewise.
30046         * math/w_sinhf.c: Likewise.
30047         * math/w_sinhl.c: Likewise.
30048         * math/w_tgamma.c: Likewise.
30049         * math/w_tgammaf.c: Likewise.
30050         * math/w_tgammal.c: Likewise.
30051         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30052         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30053         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30054         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30055         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30057         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30058         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30059         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30060         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30061         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30062         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30063         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30065         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30066         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30068         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30082         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30083         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30084         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30085         * stdio-common/printf_fp.c: Likewise.
30086         * stdio-common/printf_fphex.c: Likewise.
30087         * stdio-common/printf_size.c: Likewise.
30089 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #18470]
30092         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30093         strnlen.
30094         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30095         Remove variable.
30096         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30097         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30098         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30099         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30100         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30101         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30102         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30103         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30104         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30105         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30107         [BZ #18468]
30108         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30109         weak alias of __wmemchr.  Use libc_hidden_weak.
30110         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30111         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30112         instead of wmemchr.
30114 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30116         [BZ #18383]
30117         * elf/tst-tlsalign-extern.c: New file.
30118         * elf/tst-tlsalign-extern-static.c: New file.
30119         * elf/tst-tlsalign-vars.c: New file.
30120         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30121         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30122         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30123         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30124         (test-xfail-tst-tlsalign-extern-static): New variable.
30126 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30128         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30129         Use variable name _sc_err instead of err.
30130         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30131         instead of ret.
30132         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30133         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30134         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30135         (INLINE_SYSCALL): Likewise.
30137         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30138         * include/string.h (__strnlen): Use libc_hidden_proto.
30139         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30140         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30141         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30143         (libc_hidden_def): Undefine and redefine.
30144         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30145         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30146         __GI_strnlen.
30147         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30148         libc_hidden_def.
30149         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30151         [BZ #18469]
30152         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30153         weak alias of __towlower.  Use libc_hidden_weak.
30154         (towupper): Rename to __towupper and define as weak alias of
30155         __towupper.  Use libc_hidden_weak.
30156         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30157         (__towupper): Likewise.
30158         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30159         __towlower instead of towlower.
30161 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30163         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30164         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30166 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30168         * sysdeps/aarch64/libm-test-ulps: Update.
30170 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30172         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30173         Define.
30174         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30176         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30177         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30178         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30179         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30180         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30182 2015-06-01  Martin Sebor  <msebor@redhat.com>
30184         [BZ #18116]
30185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30186         (__setcontext): Use extended four-operand version of mtsf whenever
30187         possible.
30188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30189         (__novec_swapcontext): Likewise.
30191 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30193         * benchtests/scripts/compare_bench.py: New file.
30194         * benchtests/scripts/import_bench.py (mean): New function.
30195         (split_list): Likewise.
30196         (do_for_all_timings): Likewise.
30197         (compress_timings): Likewise.
30199         * benchtests/scripts/import_bench.py: New file.
30200         * benchtests/scripts/validate_benchout.py: Import import_bench
30201         instead of jsonschema.
30202         (validate_bench): Remove function.
30203         (main): Use import_bench.
30205 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30207         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30208         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30210 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30214 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30216         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30217         set THREAD_SELF->tid to a magic value and futex-wake it.
30218         Pass its address to the thread_exit system call.
30219         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30220         bit is clear.
30221         * sysdeps/nacl/lowlevellock.h: New file.
30222         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30224         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30225         Add TIMEOUT to current time, don't subtract it.
30227 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30229         [BZ #2981]
30230         [BZ #18422]
30231         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30232         ($(objpfx)tst-audit2.out): Also depend on
30233         $(objpfx)tst-auditmod9b.so.
30234         * elf/tst-audit2.c: Include <dlfcn.h>.
30235         (calloc_called): New.
30236         (calloc): Allow to be called more than once.
30237         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30239 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30241         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30242         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30244 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30246         * stdlib/monetary.h: Fix comment.
30248 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30250         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30251         Avoid using variables in #defines that might cause shadowing.
30252         (INTERNAL_VSYSCALL_CALL): Likewise.
30254 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30256         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30258         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30259         * nptl/lll_timedlock_wait.c: ... to this new file.
30260         * nptl/Makefile (libpthread-routines): Add it.
30261         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30262         * nptl/lll_timedwait_tid.c: ... to this new file.
30263         * nptl/Makefile (libpthread-routines): Add it.
30264         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30265         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30266         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30267         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30268         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30269         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30270         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30271         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30272         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30273         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30275 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30277         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30278         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30279         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30280         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30281         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30283         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30285         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30286         * sysdeps/unix/sysv/linux/tile/sysdep.h
30287         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30288         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30289         using vDSO syscall macro.
30291 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30293         [BZ #17293]
30294         * uk_UA: Fix sorting order for Ukrainian locale
30296 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30298         * stdlib/monetary.h: Fix comment.
30300 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30302         [BZ #18234]
30303         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30304         st_mtim and st_ctim members.
30305         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30306         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30307         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30308         (struct stat64): Likewise.
30309         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30310         (struct stat64): Likewise.
30311         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30312         (struct stat64): Likewise.
30314 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30316         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30317         Define and include sysdep-vdso.h.
30318         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30319         Likewise.
30320         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30321         Likewise.
30322         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30323         Define with VDSO_SYMBOL and use PTR_MANGLE.
30324         (__vdso_clock_gettime): Likewise.
30325         (__vdso_clock_getres): Likewise.
30326         (_libc_vdso_platform_setup): Likewise.
30327         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30328         Likewise.
30329         (_libc_vdso_platform_setup): Likewise.
30330         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30331         Likewise.
30332         (__vdso_clock_gettime): Likewise.
30333         (__vdso_clock_getres): Likewise.
30334         (__vdso_get_tbfreq): Likewise.
30335         (__vdso_getcpu): Likewise.
30336         (__vdso_time): Likewise.
30337         (__vdso_sigtramp_rt64): Likewise.
30338         (__vdso_signtramp32): Likewise.
30339         (__vdso_sigtramp_rt32): Likewise.
30340         (_libc_vdso_platform_setup): Likewise.
30341         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30342         Likewise.
30343         (__vdso_clock_gettime): Likewise.
30344         (__vdso_clock_getres): Likewise.
30345         (_libc_vdso_platform_setup): Likewise.
30346         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30347         Likewise.
30348         (__vdso_clock_gettime): Likewise.
30349         (_libc_vdso_platform_setup): Likewise.
30350         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30351         Likewise.
30352         (__vdso_getcpu): Likewise.
30353         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30354         Use VDSO_SYMBOL macro to define.
30355         (__vdso_clock_gettime): Likewise.
30356         (__vdso_clock_getres): Likewise.
30357         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30358         Likewise.
30359         (__vdso_clock_gettime): Likewise.
30360         (__vdso_clock_getres): Likewise.
30361         (__vdso_get_tbfreq): Likewise.
30362         (__vdso_getcpu): Likewise.
30363         (__vdso_time): Likewise.
30364         (__vdso_sigtramp_rt64): Likewise.
30365         (__vdso_signtramp32): Likewise.
30366         (__vdso_sigtramp_rt32): Likewise.
30367         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30368         Likewise.
30369         (__vdso_clock_gettime): Likewise.
30370         (__vdso_clock_getres): Likewise.
30371         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30372         Likewise.
30373         (__vdso_clock_gettime): Likewise.
30374         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30375         Likewise.
30376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30377         macro.
30378         (INTERNAL_VSYSCALL): Likewise.
30379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30380         Remove macro.
30381         (INTERNAL_VSYSCALL): Likewise.
30382         (INTERNAL_VSYSCALL_NCS): Likewise.
30383         (INTERNAL_VSYSCALL_CALL): New macro.
30384         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30386         Likewise.
30387         (INTERNAL_VSYSCALL): Likewise.
30388         (INTERNAL_VSYSCALL_NCS): Likewise.
30389         (INTERNAL_VSYSCALL_CALL): New macro.
30390         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30392         (INLINE_VSYSCALL): Remove macro.
30393         (INTERNAL_VSYSCALL): Remove macro.
30394         (INTERNAL_VSYSCALL_NCS): Remove macro.
30395         (INTERNAL_VSYSCALL_CALL): New macro.
30396         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30397         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30398         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30399         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30400         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30402         (INLINE_VSYSCALL): Remove macro.
30403         (INTERNAL_VSYSCALL): Likewise.
30404         (INTERNAL_VSYSCALL_NCS): Likewise.
30405         (INTERNAL_VSYSCALL_CALL): New macro.
30406         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30407         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30408         PTR_DEMANGLE on vDSO pointer.
30409         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30410         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30411         macro.
30412         (INTERNAL_SYSCALL): Likewise.
30413         (INTERNAL_VSYSCALL_NCS): Remove macro.
30414         (INTERNAL_VSYSCALL_CALL): New macro.
30415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30416         Remove macro.
30417         (INTERNAL_VSYSCALL): Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30419         sysdep-vdso.h instead of libc-vdso.h.
30420         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30421         definition.
30422         (INLINE_VSYSCALL): Likewise.
30423         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30424         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30425         definition.
30426         (INLINE_VSYSCALL): Likewise.
30427         (INTERNAL_VSYSCALL): Likewise.
30428         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30429         * sysdeps/unix/sysv/linux/timespec_get.c
30430         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30431         (timespec_get): Use ANSI prototype.
30432         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30433         and definition for Linux.
30435 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30437         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30438         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30440 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30442         [BZ #2981]
30443         [BZ #18410]
30444         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30445         for missing DT_PLTRELSZ.
30447 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30449         Remove obsolete aliases that broke 'locale -a'
30450         [BZ #18412]
30451         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30452         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30453         breaking some applications that use 'locale -a' output.
30454         Change the encoding of this file from Latin-1 to ASCII to avoid
30455         other potential problems with people grepping this file.
30457 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30459         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30460         -fasynchronous-unwind-tables.
30461         (CFLAGS-sendto.c): Likewise.
30462         (CFLAGS-sendmsg.c): Likewise.
30463         (CFLAGS-connect.c): Likewise.
30464         (CFLAGS-recvmsg.c): Likewise.
30465         (CFLAGS-recvfrom.c): Likewise.
30466         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30467         (SOCKETCALL): New macro: non-cancellable socketcall.
30468         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30469         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30470         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30471         * sysdeps/unix/sysv/linux/accept.c: New file.
30472         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30473         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30474         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30475         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30476         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30477         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30478         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30479         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30480         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30481         * sysdeps/unix/sysv/linux/send.c: Likewise.
30482         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30483         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30484         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30485         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30486         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30487         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30488         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30489         prototype.
30490         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30491         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30492         instead of __internal_xxx function.
30493         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30494         prototype.
30495         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30496         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30497         instead of __internal_xxx function.
30498         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30499         prototype.
30500         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30501         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30502         instead of __internal_xxx function.
30503         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30504         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30505         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30506         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30507         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30508         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30509         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30510         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30511         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30512         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30513         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30514         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30515         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30516         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30517         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30518         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30519         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30520         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30521         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30522         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30525         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30526         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30527         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30528         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30529         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30530         * sysdeps/unix/sysv/linux/send.S: Likewise.
30531         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30532         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30533         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30534         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30535         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30536         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30537         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30538         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30539         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30540         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30541         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30542         socketcall is implemented in GLIBC.
30544 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30546         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30547         (__fma): Ignore uninitialized warnings around packing.
30548         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30549         (__fmaf): Ignore uninitialized warnings around packing.
30550         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30551         (__fmal): Ignore uninitialized warnings around packing.
30553         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30554         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30555         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30556         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30558         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30559         switch statement into default case.
30560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30562         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30563         a conditional in forcing "inexact".
30564         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30565         Likewise.
30567 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30569         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30570         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30571         for each INTERNAL_SYSCALL use.
30573 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30575         [BZ #438]
30576         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30577         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30578         variable.
30580         [BZ #18444]
30581         * string/basename.c (basename): Rename to __basename and define as
30582         weak alias of __basename.  Use libc_hidden_weak.
30583         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30584         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30585         __basename instead of basename.
30586         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30587         Remove variable.
30588         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30590 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30592         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30593         (_IO_JUMPS_FILE_plus): New.
30594         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30595         _IO_CAST_FIELD_ACCESS.
30596         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30597         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30598         * libio/freopen.c (freopen): Likewise.
30599         * libio/freopen64.c (freopen64): Likewise.
30600         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30601         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30602         * libio/iofwide.c (_IO_fwide): Likewise.
30603         * libio/memstream.c (open_memstream): Likewise.
30604         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30605         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30606         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30608 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30610         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30611         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30612         NADJ.
30613         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30614         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30615         NADJ.
30616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30617         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30618         NADJ.
30620         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30621         (p == 4) case.
30623         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30624         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30625         Remove variable.
30626         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30627         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30628         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30630 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30632         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30633         Adjust jump table label generation macros.
30635 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30637         * stdio-common/vfprintf.c (vfprintf): Move local variables
30638         args_malloced, specs, specs_malloced, and the code after
30639         do_positional to the printf_positional function.
30640         (printf_positional): New function.
30642 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30644         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30645         function.
30646         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30647         STEP4_TABLE, process_arg): Move macro definitions
30648         out of the vfprintf function.  (Cosmetic change only.)
30650 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30652         * benchtests/Makefile (stdio-common-bench): Define.
30653         (benchset): Add stdio-common-bench.
30654         * sprintf-inputs: New file.
30655         * sprintf-source.c: New file.
30657 2015-05-21  Andreas Schwab  <schwab@suse.de>
30659         [BZ #13028]
30660         [BZ #17053]
30661         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30662         of struct __res_state.
30663         * resolv/res_send.c (__libc_res_nsend): Likewise.
30664         (get_nsaddr): New function.
30665         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30666         statp directly.
30668 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30670         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30671         -D_POSIX_C_SOURCE=199506L.
30673         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30675         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30676         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30677         Do not mention otherwise.
30678         [POSIX] (_XOPEN_VERSION): Do not expect.
30679         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30680         [POSIX] (_POSIX2_C_BIND): Likewise.
30681         [POSIX] (_POSIX2_VERSION): Likewise.
30682         [POSIX] (_XOPEN_XPG2): Likewise.
30683         [POSIX] (_XOPEN_XPG3): Likewise.
30684         [POSIX] (_XOPEN_XPG4): Likewise.
30685         [POSIX] (_XOPEN_UNIX): Likewise.
30686         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30687         [POSIX] (_POSIX_BARRIERS): Likewise.
30688         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30689         [POSIX] (_POSIX_CPUTIME): Likewise.
30690         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30691         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30692         [POSIX] (_POSIX_SHELL): Likewise.
30693         [POSIX] (_POSIX_SPAWN): Likewise.
30694         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30695         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30696         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30697         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30698         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30699         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30700         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30701         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30702         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30703         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30704         [POSIX] (_POSIX2_PBS): Likewise.
30705         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30706         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30707         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30708         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30709         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30710         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30711         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30712         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30713         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30714         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30715         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30716         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30717         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30718         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30719         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30720         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30721         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30722         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30723         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30724         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30725         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30726         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30727         [POSIX] (_SC_2_C_BIND): Likewise.
30728         [POSIX] (_SC_2_C_VERSION): Likewise.
30729         [POSIX] (_SC_2_PBS): Likewise.
30730         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30731         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30732         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30733         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30734         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30735         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30736         [POSIX] (_SC_BARRIERS): Likewise.
30737         [POSIX] (_SC_BASE): Likewise.
30738         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30739         [POSIX] (_SC_DEVICE_IO): Likewise.
30740         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30741         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30742         [POSIX] (_SC_FD_MGMT): Likewise.
30743         [POSIX] (_SC_FIFO): Likewise.
30744         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30745         [POSIX] (_SC_FILE_LOCKING): Likewise.
30746         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30747         [POSIX] (_SC_IOV_MAX): Likewise.
30748         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30749         [POSIX] (_SC_NETWORKING): Likewise.
30750         [POSIX] (_SC_PAGE_SIZE): Likewise.
30751         [POSIX] (_SC_PASS_MAX): Likewise.
30752         [POSIX] (_SC_PIPE): Likewise.
30753         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30754         [POSIX] (_SC_REGEXP): Likewise.
30755         [POSIX] (_SC_SHELL): Likewise.
30756         [POSIX] (_SC_SIGNALS): Likewise.
30757         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30758         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30759         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30760         [POSIX] (_SC_USER_GROUPS): Likewise.
30761         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30762         [POSIX] (_SC_STREAMS): Likewise.
30763         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30764         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30765         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30766         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30767         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30768         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30769         [POSIX] (_PC_FILESIZEBITS): Likewise.
30770         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30771         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30772         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30773         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30774         [POSIX] (uid_t): Likewise.
30775         [POSIX] (gid_t): Likewise.
30776         [POSIX] (off_t): Likewise.
30777         [POSIX] (pid_t): Likewise.
30778         [POSIX] (cuserid): Allow.
30779         (_SC_2_CHAR_TERM): Require constant.
30780         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30781         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30782         variable.
30784 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30786         * sysdeps/nacl/pthread-pids.h: New file.
30787         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30788         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30790         * nptl/pthread-pids.h: New file.
30791         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30792         * nptl/nptl-init.c: Include <pthread-pids.h>.
30793         (__pthread_initialize_minimal_internal):
30794         Call __pthread_initialize_pids instead of set_tid_address syscall.
30796         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30797         * sysdeps/posix/usleep.c: ... here.
30799 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30801         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30802         call_pselect6 object.
30803         [$(subdir) = io]: Remove call_sync_file_range object.
30804         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30806         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30807         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30809 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30811         * math/s_cproj.c: Add include "math_private.h".
30812         * math/s_cprojf.c: Likewise.
30813         * math/s_cprojl.c: Likewise.
30815 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30817         [BZ #18244]
30818         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30819         high mantissa bit when testing whether P is a NaN.
30820         * math/libm-test.inc (remainder_test_data): Add more tests.
30821         (remquo_test_data): Likewise.
30823         [BZ #18049]
30824         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30825         below -32, return the argument, with underflow if subnormal.
30826         * math/auto-libm-test-in: Add more tests of atanh.
30827         * math/auto-libm-test-out: Regenerated.
30829 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30831         [BZ #18434]
30832         * nptl/tst-sem15.c: New file.
30833         * nptl/Makefile (tests): Add it.
30834         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30835         s/<</>>/ to fix typo in EOVERFLOW check.
30836         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30838 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30840         * manual/strings.texi (envz_remove): Fix typo in safety
30841         annotations.
30843 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30844             Steve Ellcey  <sellcey@imgtec.com>
30846         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30847         in order to avoid strict alias warnings.
30848         (iruserok_af): Ditto for ra.
30850 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30852         [BZ #17581]
30853         * malloc/hooks.c
30854         (magicbyte): Convert to a function and avoid returning 0x01.
30855         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30856         (mem2chunk_check): Fix unsigned comparisons to zero.
30857         Hoist defs of sz and magic.
30859 2015-05-19  Richard Henderson  <rth@redhat.com>
30861         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30863         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30865 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30867         [BZ #16159]
30868         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30869         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30870         (reused_arena): Find a non-corrupt arena.
30871         (heap_trim): Pass arena to unlink.
30872         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30873         malloc_printerr.
30874         (top_check): Likewise.
30875         (free_check): Likewise.
30876         (realloc_check): Likewise.
30877         * malloc/malloc.c (malloc_printerr): Add arena argument.
30878         (unlink): Likewise.
30879         (munmap_chunk): Adjust.
30880         (ARENA_CORRUPTION_BIT): New macro.
30881         (arena_is_corrupt): Likewise.
30882         (set_arena_corrupt): Likewise.
30883         (sysmalloc): Use mmap if there are no usable arenas.
30884         (_int_malloc): Likewise.
30885         (__libc_malloc): Don't fail if arena_get returns NULL.
30886         (_mid_memalign): Likewise.
30887         (__libc_calloc): Likewise.
30888         (__libc_realloc): Adjust for additional argument to
30889         malloc_printerr.
30890         (_int_free): Likewise.
30891         (malloc_consolidate): Likewise.
30892         (_int_realloc): Likewise.
30893         (_int_memalign): Don't touch corrupt arenas.
30894         * malloc/tst-malloc-backtrace.c: New test case.
30896         * Makefile (summarize-tests): Fix return value on success.
30898         * manual/string.texi (Envz Functions): Add envz_remove.
30900 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30902         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30903         (invalid_name): New function, broken out of ...
30904         (__opendirat): ... here.  Call it.
30905         (need_isdir_precheck): New function, broken out of ...
30906         (__opendirat): ... here.  Call it.
30907         Use __fxstatat64, not __xstatat64.
30908         (opendir_oflags): New function, broken out of ...
30909         (__opendirat): ... here.  Call it.
30910         (opendir_tail): New function, broken out of ...
30911         (__opendirat): ... here.  Call it.
30912         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30913         opendir_tail, rather than punting to __opendirat.
30914         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30916 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30918         * .gitignore: Ignore generated *.pyc.
30920 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30922         * include/stdio.h: Define __need_wint_t.
30923         * test-skeleton.c: Avoid `for' loop initial declaration.
30924         * nptl/tst-initializers1.c: Use test-skeleton.c.
30926 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30928         [BZ #18418]
30929         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30931 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30933         [BZ #16352]
30934         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30935         (__ieee754_atanh): Force underflow exception for results with
30936         small absolute value.
30937         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30938         (__ieee754_atanhf): Force underflow exception for results with
30939         small absolute value.
30940         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30941         (__ieee754_atanh): Force underflow exception for results with
30942         small absolute value.
30943         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30944         (__ieee754_atanhf): Force underflow exception for results with
30945         small absolute value.
30946         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30947         (__ieee754_atanhl): Force underflow exception for results with
30948         small absolute value.
30949         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30950         (__ieee754_atanhl): Force underflow exception for results with
30951         small absolute value.
30952         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30953         (__ieee754_atanhl): Force underflow exception for results with
30954         small absolute value.
30955         * math/auto-libm-test-in: Do not allow missing underflow
30956         exceptions from atanh.
30957         * math/auto-libm-test-out: Regenerated.
30959         [BZ #18221]
30960         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30961         2**-28 as threshold for returning x or +/- 1/x.
30962         * math/auto-libm-test-in: Add more tests of tan.
30963         * math/auto-libm-test-out: Regenerated.
30965         [BZ #18220]
30966         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30967         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30968         * math/auto-libm-test-in: Add another test of lgamma.
30969         * math/auto-libm-test-out: Regenerated.
30971 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30973         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30974         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30975         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30976         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30977         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30978         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30979         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30980         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30981         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30982         (log1): Use fabs.  (my_log2): Use fabs.
30983         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30984         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30985         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30986         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30988         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30989         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30990         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30991         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30992         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30993         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30995 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30997         [BZ #18217]
30998         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30999         as threshold for returning 1 - x.
31000         * math/auto-libm-test-in: Add more tests of erfc.
31001         * math/auto-libm-test-out: Regenerated.
31003 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31005         [BZ #18196]
31006         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31007         threshold for large arguments.
31008         * math/auto-libm-test-in: Add another test of atan.
31009         * math/auto-libm-test-out: Regenerated.
31011         [BZ #16339]
31012         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31013         (__log1p): Force underflow exception for results with small
31014         absolute value.
31015         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31016         (__log1pf): Force underflow exception for results with small
31017         absolute value.
31018         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31019         (__log1p): Force underflow exception for results with small
31020         absolute value.
31021         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31022         (__log1pf): Force underflow exception for results with small
31023         absolute value.
31024         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31025         (__log1pl): Force underflow exception for results with small
31026         absolute value.
31027         * math/auto-libm-test-in: Do not allow missing underflow
31028         exceptions from log1p.
31029         * math/auto-libm-test-out: Regenerated.
31031 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31032             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31034         [BZ #16704]
31035         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31037 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31039         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31040         (libmvec): New variable.
31041         * configure.ac: Added option for mathvec build.
31042         * configure: Regenerated.
31043         * mathvec/Depend: New file.
31044         * mathvec/Makefile: New file.
31045         * shlib-versions: Added libmvec.
31046         * math/Makefile: Added rule for libm.so installation.
31048         * bits/math-vector.h: New file.
31049         * bits/libm-simd-decl-stubs.h: New header.
31050         * math/Makefile (headers): Added new header
31051         libm-simd-decl-stubs.h.
31052         * math/math.h (__MATHCALL_VEC): New macro.
31054         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31055         for conditions in testing functions.
31056         * math/Makefile: Added call of libm-have-vector-test.sh.
31057         * math/libm-test.inc (HAVE_VECTOR): New macros.
31059         * math/libm-test.inc: START refactored.
31060         * math/test-double.c (TEST_MATHVEC): Add define.
31061         * math/test-float.c: Likewise.
31062         * math/test-idouble.c: Likewise.
31063         * math/test-ifloat.c: Likewise.
31064         * math/test-ildoubl.c: Likewise.
31065         * math/test-ldouble.c: Likewise.
31066         * sysdeps/generic/math-tests-arch.h
31067         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31068         architecture check.
31070         * math/test-double.c (FUNC_TEST): New macro.
31071         * math/test-float.c: Likewise.
31072         * math/test-idouble.c: Likewise.
31073         * math/test-ifloat.c: Likewise.
31074         * math/test-ildoubl.c: Likewise.
31075         * math/test-ldouble.c: Likewise.
31076         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31078 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31080         * sysdeps/nacl/fdopendir.c: New file.
31082         * dirent/scandir-tail.c: New file.
31083         * dirent/scandir64-tail.c: New file.
31084         * dirent/Makefile (routines): Add them.
31085         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31086         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31087         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31088         [!SCANDIR] (SCANDIR_TAIL): New macro.
31089         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31090         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31091         (SCANDIRAT): Macro removed.
31092         (SCANDIR_TAIL): New macro.
31093         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31094         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31095         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31096         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31097         (READDIR): Macro removed.
31098         (SCANDIR_TAIL): New macro.
31099         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31100         (SCANDIR_TAIL): New macro.
31102         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31103         * dirent/scandir-cancel.c: ... to this new file.
31104         * dirent/Makefile (routines): Add it.
31105         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31106         * sysdeps/unix/sysv/linux/i386/scandir64.c
31107         (SKIP_SCANDIR_CANCEL): Macro removed.
31108         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31110         * dirent/tst-scandir.c: New file.
31111         * dirent/tst-scandir64.c: New file.
31112         * dirent/Makefile (tests): Add them.
31114 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31116         [BZ #18409]
31117         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31119 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31121         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31122         list.
31124 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31126         * benchtests/bench-strcoll.c: New benchmark.
31127         * benchtests/Makefile: Generate locales and run benchmark.
31128         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31129         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31130         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31131         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31132         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31133         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31134         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31135         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31136         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31137         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31138         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31139         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31140         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31141         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31142         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31143         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31144         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31145         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31146         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31147         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31148         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31149         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31150         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31151         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31153 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31155         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31156         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31158 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31160         * posix/uname-values.h: New file.
31161         * posix/uname.c: Include that instead of <config-name.h>.
31162         * sysdeps/nacl/uname-values.h: New file.
31163         * sysdeps/arm/nacl/uname-values.h: New file.
31165 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31167         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31168         splitting into fields.
31170 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31172         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31173         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31174         * locale/localeinfo.h: Add enum collation_encoding_type.
31175         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31176         * programs/ld-collate.c (collate_output): Add encoding type info.
31177         * string/strcoll_l.c (STRDIFF): New function.
31178         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31179         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31181 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31183         [BZ #18397]
31184         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31185         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31186         <fpu_control.h> instead of <math/fpu_control.c>.
31187         * sysdeps/mips/mips32/fpu/Makefile: New file.
31189 2015-05-11  Andreas Schwab  <schwab@suse.de>
31191         [BZ #18007]
31192         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31193         nss_endgrent.
31194         (_nss_compat_endgrent): Call nss_endgrent.
31195         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31196         nss_endpwent.
31197         (_nss_compat_endpwent): Call nss_endpwent.
31198         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31199         needent, call nss_setspent only if non-zero.
31200         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31201         (internal_endspent): Don't call nss_endspent.
31202         (_nss_compat_endspent): Call nss_endspent.
31203         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31204         Remove.  All uses removed.
31205         (internal_setent): Remove parameter stayopen, add parameter
31206         stream.  Use it instead of global variable.
31207         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31208         (internal_endent, internal_getent): Add parameter stream.  Use it
31209         instead of global variable.
31210         (CONCAT(_nss_files_end,ENTNAME))
31211         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31212         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31213         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31214         uses removed.
31215         (internal_setent, internal_endent): Add parameter stream.  Use it
31216         instead of global variable.
31217         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31218         stream.
31219         (get_next_alias): Add parameter stream.
31220         (_nss_files_getaliasent_r): Pass global stream.
31221         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31222         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31223         (_nss_files_gethostbyname4_r): Pass local stream to
31224         internal_setent, internal_getent and internal_endent.  Remove
31225         locking.
31227 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31229         * tst-strfmon1.c (tests): Update expected currency symbol.
31231 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31233         * sysdeps/nacl/gethostname.c: New file.
31235 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31237         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31238         and sinh.
31239         * math/auto-libm-test-out: Regenerated.
31240         * sysdeps/i386/fpu/libm-test-ulps: Update.
31241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31243 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31245         [BZ #18125]
31246         * stdlib/tst-setcontext3.c: New file.
31247         * stdlib/tst-setcontext3.sh: New file.
31248         * stdlib/Makefile (tests): Add tst-setcontext3.
31249         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31250         to verify test program created output file.
31251         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31252         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31253         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31254         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31256 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31258         [BZ #18383]
31259         * elf/tst-tlsalign.c: New file.
31260         * elf/tst-tlsalign-static.c: New file.
31261         * elf/tst-tlsalign-lib.c: New file.
31262         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31263         (tests-static): Add tst-tlsalign-static.
31264         (modules-names): Add tst-tlsalign-lib.
31265         (test-xfail-tst-tlsalign): New variable.
31266         (test-xfail-tst-tlsalign-static): New variable.
31268         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31269         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31271 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31273         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31274         csqrt, erfc, sin and sincos.
31275         * math/auto-libm-test-out: Regenerated.
31276         * sysdeps/i386/fpu/libm-test-ulps: Update.
31277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31279 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31281         * sysdeps/aarch64/libm-test-ulps: Update.
31283 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31285         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31286         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31293         [BZ #18265]
31294         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31295         (wcsncpy): Likewise.
31297 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31299         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31300         Assume __ASSUME_FALLOCATE is always true.
31301         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31302         (__posix_fallocate64_l64): Likewise.
31303         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31304         (posix_fallocate): Likewise.
31305         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31306         (__posix_fallocate64_l64): Likewise.
31307         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31308         [!__ASSUME_FALLOCATE]: Add comment.
31310 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31312         * sysdeps/unix/sysv/linux/i386/Makefile
31313         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31314         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31315         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31316         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31317         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31318         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31319         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31321 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31323         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31324         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31325         tgamma.
31326         * math/auto-libm-test-out: Regenerated.
31327         * sysdeps/i386/fpu/libm-test-ulps: Update.
31328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31330 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31332         * math/auto-libm-test-in: Add more tests of tgamma.
31333         * math/auto-libm-test-out: Regenerated.
31334         * sysdeps/i386/fpu/libm-test-ulps: Update.
31335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31337         * math/auto-libm-test-in: Add more tests of tanh.
31338         * math/auto-libm-test-out: Regenerated.
31339         * sysdeps/i386/fpu/libm-test-ulps: Update.
31340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31342         * math/auto-libm-test-in: Add more tests of tan.
31343         * math/auto-libm-test-out: Regenerated.
31344         * sysdeps/i386/fpu/libm-test-ulps: Update.
31345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31347         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31348         * math/auto-libm-test-out: Regenerated.
31349         * sysdeps/i386/fpu/libm-test-ulps: Update.
31350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31352         * math/auto-libm-test-in: Add another test of pow.
31353         * math/auto-libm-test-out: Regenerated.
31354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31356         * math/auto-libm-test-in: Add more tests of lgamma.
31357         * math/auto-libm-test-out: Regenerated.
31358         * sysdeps/i386/fpu/libm-test-ulps: Update.
31359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31361         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31362         log1p.
31363         * math/auto-libm-test-out: Regenerated.
31364         * sysdeps/i386/fpu/libm-test-ulps: Update.
31365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31367 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31369         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31370         Elf64_Chdr structs and ELFCOMPRESS constants.
31372 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31374         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31375         expm1.
31376         * math/auto-libm-test-out: Regenerated.
31377         * sysdeps/i386/fpu/libm-test-ulps: Update.
31378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31380         * math/auto-libm-test-in: Add more tests of erf and erfc.
31381         * math/auto-libm-test-out: Regenerated.
31382         * sysdeps/i386/fpu/libm-test-ulps: Update.
31383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31385 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31387         * config.h.in (HAVE_AARCH64_BE): Add.
31389 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31391         * math/auto-libm-test-in: Add more tests of csqrt.
31392         * math/auto-libm-test-out: Regenerated.
31393         * sysdeps/i386/fpu/libm-test-ulps: Update.
31394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31396         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31397         * math/auto-libm-test-out: Regenerated.
31398         * sysdeps/i386/fpu/libm-test-ulps: Update.
31399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31401         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31403 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31405         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31406         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31408         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31409         (euidaccess, eaccess): Define as weak aliases.
31411         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31412         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31413         but __suseconds_t is often 'long int' so some sources assume that
31414         type is being used (e.g. they use %ld to print tv_usec).
31416 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31418         [BZ #18007]
31419         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31420         (CVE-2014-8121)
31421         * nss/tst-nss-getpwent.c: New file.
31422         * nss/Makefile (tests): Add new test.
31424 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31426         [BZ #18346]
31427         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31428         exponents less than 48 as cases where high part of mantissa needs
31429         examining to determine whether argument is integral.
31430         * math/libm-test.inc (round_test_data): Add more tests.
31432 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31434         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31436 2015-04-27  David S. Miller  <davem@davemloft.net>
31438         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31439         __tls_get_addr.
31440         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31442 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31444         [BZ #18333]
31445         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31447 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31449         [BZ #18333]
31450         * time/tzset.c (parse_tzname): Return error on memory allocation
31451         failure.
31452         * test-skeleton.c (struct temp_name_list): Change type of name
31453         member to non-const.
31454         (add_temp_file): Create a copy of the file name.
31455         (delete_temp_files): Deallocate memory.
31456         (create_temp_file): Add comment.
31458 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31460         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31461         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31463 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31465         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31466         * sysdeps/arm/configure: Regenerated.
31468 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31470         [BZ #17715]
31471         * time/tzfile.c (__tzfile_read): Check for large values of
31472         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31473         * time/tzset.c (__tzstring_len): New function, based on the old
31474         __tzstring function.
31475         (__tzstring): Call __tzstring_len.
31476         (parse_tzname): New helper function extracted from
31477         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31478         the input string.
31479         (parse_offset): New helper function extracted from
31480         __tzset_parse_tz.  Replace switch with fallthrough with
31481         initialization before sscanf.
31482         (parse_rule): Likewise.
31483         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31484         new-style function definition.
31485         * timezone/Makefile (tests): Add tst-tzset.
31486         (tst-tzset.out): Dependencies on time zone files.
31487         (tst-tzset-ENV): Set TZDIR.
31488         (testdata/XT%): Copy crafted time zone files.
31489         * timezone/README: Mention crafted time zone files.
31490         * timezone/testdata/XT1, timezone/testdata/XT2,
31491         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31492         files.
31493         * timezone/tst-tzset.c: New test.
31495 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31497         * Makeconfig (+gccwarn): Remove -Winline.
31499 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31501         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31503 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31505         * NEWS: Mention sysconf() cache information support for s390.
31506         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31508 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31510         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31511         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31512         (__nearbyint): Likewise.
31513         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31514         (copysignl): Likewise.
31516 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31518         [BZ #18287]
31519         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31520         based on padding.  (CVE-2015-1781)
31522 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31524         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31525         libc-vdso.h.
31526         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31527         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31528         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31529         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31530         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31531         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31534         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31535         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31536         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31537         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31538         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31539         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31540         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31541         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31542         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31544         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31545         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31546         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31547         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31548         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31550 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31552         * stdlib/setenv.c (__add_to_environ):
31553         Dump core quickly if setenv (..., NULL, ...) is called.
31554         This time, do it the right way, and pacify GCC with a pragma.
31556 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31558         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31559         IMAP->l_prev cannot be null, and #if out the code for the contrary
31560         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31561         believe that NS (&_dl_ns[NSID]) could point outside the array.
31563         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31564         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31565         before using NSID as an index.
31567 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31569         [BZ #17825]
31570         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31571         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31572         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31574 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31576         Add preliminary port to Google Native Client on ARM.
31577         * abi-tags (.*-.*-nacl.*): New entry.
31578         * sysdeps/arm/nacl: New directory.
31579         * sysdeps/nacl: New directory.
31581 2015-04-16  David S. Miller  <davem@davemloft.net>
31583         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31584         lowlevellock-futex.h
31586 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31588         * sysdeps/tile/configure.ac: New file.
31589         * sysdeps/tile/configure: Regenerated.
31591 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31593         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31594         conditionals for weak_alias and libc_hidden_weak.
31595         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31596         libc_hidden_weak and weak_alias.
31597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31598         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31599         and weak_alias for static one.
31601 2015-04-15  David S. Miller  <davem@davemloft.net>
31603         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31605 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31607         [BZ #18206]
31608         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31609           Use signed comparision instead of substraction to avoid
31610           overflow bug.
31611         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31612           Take the sign of ret.
31613         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31614           Do not expect precise return values. Only the sign matters.
31615         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31616         * wcsmbs/test-wcsncmp.c: New File.
31617         * string/test-strncmp.c: Add wcsncmp support.
31619 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31621         [BZ #6792]
31622         * math/w_log1p.c: New file.
31623         * math/w_log1pf.c: Likewise.
31624         * math/w_log1pl.c: Likewise.
31625         * math/Makefile (libm-calls): Add w_log1p.
31626         * math/s_log1pl.c (log1pl): Remove weak_alias.
31627         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31628         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31629         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31630         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31631         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31632         [NO_LONG_DOUBLE] (log1pl): Likewise.
31633         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31634         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31635         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31636         (log1p): Remove long_double_symbol.
31637         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31638         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31639         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31640         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31641         remove weak_alias for corresponding log1p function.
31642         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31643         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31644         * sysdeps/ia64/fpu/w_log1p.c: New file.
31645         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31646         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31647         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31649 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31651         [BZ #18247]
31652         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31653         decimal exponent by 1.
31654         * stdlib/tst-strtod-round-data: Add more tests.
31655         * stdlib/tst-strtod-round.c (tests): Regenerated.
31657 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31659         * math/auto-libm-test-in: Add more tests of clog and clog10.
31660         * math/auto-libm-test-out: Regenerated.
31661         * sysdeps/i386/fpu/libm-test-ulps: Update.
31662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31664 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31666         * Makeconfig (module-cppflags): Exclude all .v.i files.
31667         (skip-module-cppflags): Variable removed.
31669         * configure.ac (libc_config_ok): Initialize before reading
31670         preconfigure scripts, not after.
31671         * configure: Regenerated.
31673         * test-skeleton.c (TIMEOUT): Move #define to top level.
31674         (main): Grok environment variable TEST_DIRECT.  If set, print
31675         test expectation details into that file and then behave as if
31676         given --direct.
31678 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31680         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31681         warning on 32-bit.
31683 2015-04-08  David S. Miller  <davem@davemloft.net>
31685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31687 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31689         * math/auto-libm-test-in: Add more tests of atanh.
31690         * math/auto-libm-test-out: Regenerated.
31691         * sysdeps/i386/fpu/libm-test-ulps: Update.
31692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31694         * math/auto-libm-test-in: Add more tests of atan.
31695         * math/auto-libm-test-out: Regenerated.
31696         * sysdeps/i386/fpu/libm-test-ulps: Update.
31697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31699 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31701         * elf/pldd.c (main): Rewrite to use struct
31702         scratch_buffer instead of extend_alloca.
31703         * elf/pldd-xx.c (find_maps): Likewise.
31704         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31705         <alloca.h>.
31706         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31707         scratch_buffer instead of extend_alloca.
31708         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31709         grp/compat-initgroups.c.
31710         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31711         Rewrite to use struct scratch_buffer instead of extend_alloca.
31712         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31713         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31715 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31717         * math/auto-libm-test-in: Add more tests of cbrt.
31718         * math/auto-libm-test-out: Regenerated.
31719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31721         * math/auto-libm-test-in: Add more tests of cabs.
31722         * math/auto-libm-test-out: Regenerated.
31723         * sysdeps/i386/fpu/libm-test-ulps: Update.
31724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31726         [BZ #18210]
31727         [BZ #18211]
31728         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31729         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31730         computations.
31731         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31732         clog10.
31733         * math/auto-libm-test-out: Regenerated.
31734         * sysdeps/i386/fpu/libm-test-ulps: Update.
31735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31737         [BZ #18197]
31738         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31739         (atan): Set FE_TONEAREST mode for internal computations.
31740         * math/auto-libm-test-in: Add more tests of atan.
31741         * math/auto-libm-test-out: Regenerated.
31743 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31745         [BZ #17930]
31746         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31748 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31750         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31752 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31754         * include/scratch_buffer.h: New file.
31755         * malloc/scratch_buffer_grow.c: Likewise.
31756         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31757         * malloc/scratch_buffer_set_array_size.c: Likewise.
31758         * malloc/tst-scratch_buffer.c: Likewise.
31759         * malloc/Makefile (routines): Add scratch_buffer_grow.
31760         (tests): Add test case.
31761         * malloc/Versions (GLIBC_PRIVATE): Export
31762         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31763         __libc_scratch_buffer_set_array_size.
31765 2015-04-06  Richard Henderson  <rth@redhat.com>
31767         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31768         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31770         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31771         unsigned int before printing.
31773 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31775         [BZ #17596]
31776         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31777         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31779 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31781         * include/libc-internal.h (libc_max_align_t): Define.
31783 2015-04-02  Andreas Schwab  <schwab@suse.de>
31785         [BZ #16850]
31786         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31788 2015-04-02  Mel Gorman  <mgorman@suse.de>
31790         [BZ #17195]
31791         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31792         as well as the main arena.
31794 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31796         [BZ #18185]
31797         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31798         sharing L2 cache to 2 for Silvermont/Knights Landing.
31800 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31802         [BZ #17711]
31803         * config.make.in (have-protected-data): New.
31804         * configure.ac: Check linker support for protected data symbol.
31805         * configure: Regenerated.
31806         * elf/Makefile (modules-names): Add tst-protected1moda and
31807         tst-protected1modb if $(have-protected-data) is yes.
31808         (tests): Add tst-protected1a and tst-protected1b if
31809         $(have-protected-data) is yes.
31810         ($(objpfx)tst-protected1a): New.
31811         ($(objpfx)tst-protected1b): Likewise.
31812         (tst-protected1modb.so-no-z-defs): Likewise.
31813         * elf/tst-protected1a.c: New file.
31814         * elf/tst-protected1b.c: Likewise.
31815         * elf/tst-protected1mod.h: Likewise.
31816         * elf/tst-protected1moda.c: Likewise.
31817         * elf/tst-protected1modb.c: Likewise.
31819 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31821         [BZ #17711]
31822         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31823         indicates it is called from do_lookup_x on relocation against
31824         protected data, skip the data definion in the executable from
31825         copy reloc.
31826         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31827         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31828         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31829         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31830         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31831         otherwise to 0.
31832         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31833         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31834         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31835         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31836         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31837         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31839 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31841         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31842         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31844 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31846         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31847         THREAD_SETMEM_NC.
31848         * sysdeps/x86_64/nptl/tls.h: Ditto.
31850 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31852         * dlfcn/tststatic.c (main): Converted to ...
31853         (do_test): ... this.
31854         (TEST_FUNCTION): New macro.
31855         Include test-skeleton.c.
31857 2015-03-26  Alan Modra  <amodra@gmail.com>
31859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31860         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31861         zero for undefined weak.
31862         (elf_machine_plt_conflict): Similarly.
31864 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31866         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31867         atanh.
31868         * math/auto-libm-test-out: Regenerated.
31869         * sysdeps/i386/fpu/libm-test-ulps: Update.
31870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31872         * math/auto-libm-test-in: Add another test of asin.
31873         * math/auto-libm-test-out: Regenerated.
31874         * sysdeps/i386/fpu/libm-test-ulps: Update.
31875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31877         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31878         Remove macro.
31879         (LLL_EBX_REG): Likewise.
31880         (LLL_ENTER_KERNEL): Likewise.
31882         * math/auto-libm-test-in: Add more tests of asin.
31883         * math/auto-libm-test-out: Regenerated.
31884         * sysdeps/i386/fpu/libm-test-ulps: Update.
31885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31887         [BZ #18138]
31888         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31889         libc_do_syscall_args): New structure.
31890         (INTERNAL_SYSCALL_MAIN_0): New macro.
31891         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31892         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31893         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31894         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31895         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31896         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31897         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31898         Replace conditional definitions by conditional definitions of ....
31899         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31900         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31901         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31902         (libpthread-sysdep_routines): Add libc-do-syscall.
31903         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31904         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31905         to __NR_futex not 240.
31907 2015-03-25  Alan Modra  <amodra@gmail.com>
31909         * NEWS: Advertise TLS optimization.
31910         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31911         (DT_PPC_NUM): Increment.
31912         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31913         (CHECK_STATIC_TLS): Use here.
31914         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31915         TLS descriptors.
31916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31917         * sysdeps/powerpc/dl-tls.c: New file.
31918         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31919         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31920         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31921         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31926 2015-03-25  Alan Modra  <amodra@gmail.com>
31928         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31929         for overlapping .opd entries" to "support...".
31930         * sysdeps/powerpc/powerpc64/configure: Regenerate
31932 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31934         * math/auto-libm-test-in: Add more tests of acos.
31935         * math/auto-libm-test-out: Regenerated.
31936         * sysdeps/i386/fpu/libm-test-ulps: Update.
31937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31939         * math/auto-libm-test-in: Add more tests of expm1.
31940         * math/auto-libm-test-out: Regenerated.
31941         * sysdeps/i386/fpu/libm-test-ulps: Update.
31942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31944 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31946         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31947         * math/auto-libm-test-out: Regenerated.
31948         * sysdeps/i386/fpu/libm-test-ulps: Update.
31949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31951         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31954         * math/auto-libm-test-in: Add more tests of log2.
31955         * math/auto-libm-test-out: Regenerated.
31956         * sysdeps/i386/fpu/libm-test-ulps: Update.
31957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31959 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31961         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31962         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31963         _IO_IS_APPENDING bit in READ_WRITE instead.
31965 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31967         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31968         (__determine_cpumask_size): Replace extend_alloca with a
31969         variable-length array.  Do not treat res == 0 as an error.
31971 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31973         [BZ #18100]
31974         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31975         and integer overflow.
31976         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31977         (main): Add integer overflow tests.
31978         * manual/pattern.texi (Calling Wordexp): Document additional use
31979         for WRDE_SYNTAX.
31981 2015-03-23  Alan Modra  <amodra@gmail.com>
31983         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31984         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31985         and false branch of conditional.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31987         Likewise.
31989 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31991         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31992         libc-modules.h
31993         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31994         unused declaration of _hurd_intr_rpc_msg_in_trap.
31995         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31996         defined instead of whether it is non-zero.
31997         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31998         input constraint instead of both input and output constraint.  Use ecx
31999         clobber instead of %ecx.
32000         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32001         mutex_unlock): Use a statement expression instead of an expression list.
32002         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32003         type to vm_size_t instead of vm_address_t.
32004         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32005         defined instead of whether it is non-zero.
32006         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32007         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32008         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32009         comparisons with mapaddr.
32010         * nscd/nscd-client.h: Include <time.h>.
32011         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32012         9th parameter to __vm_region instead of int.
32013         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32014         * scripts/check-local-headers.sh (exclude): Add device/,
32015         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32016         cthreads.h.
32018 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32020         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32021         to account for alignment padding.
32022         * sysdeps/arm/memmove.S: Likewise.
32024 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32026         * sysdeps/unix/sysv/linux/generic/README: New file.
32028 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32030         [BZ #18138]
32031         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32032         (futex_abstimed_wait)
32033         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32034         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32035         of lll_futex_timed_wait.
32037 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32039         [BZ #17542]
32040         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32042 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32044         [BZ #17090]
32045         [BZ #17620]
32046         [BZ #17621]
32047         [BZ #17628]
32048         * NEWS: Update.
32049         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32050         entries with Static TLS too.  Skip entries past the end of the
32051         allocated DTV, from Alan Modra.
32052         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32053         Static TLS DTV entry set up from...
32054         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32055         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32056         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32057         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32058         for Static TLS.
32059         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32060         that the slot we find is associated with the given map before
32061         using its generation count.
32062         * nptl_db/db_info.c: Include ldsodefs.h.
32063         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32064         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32065         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32066         (link_map::l_tls_offset): New struct field.
32067         (dtv_t::counter): Likewise.
32068         (rtld_global): New struct.
32069         (_rtld_global): New rtld variable.
32070         (dl_tls_dtv_slotinfo_list): New rtld global field.
32071         (dtv_slotinfo_list): New struct.
32072         (dtv_slotinfo): Likewise.
32073         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32074         (td_lookup): Rename to...
32075         (td_mod_lookup): ... this.  Use new mod parameter instead of
32076         LIBPTHREAD_SO.
32077         * nptl_db/td_thr_tlsbase.c: Include link.h.
32078         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32079         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32080         addresses even if the DTV is out of date or missing them.
32081         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32082         index zero-length arrays.
32083         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32084         (td_lookup): Make it a macro implemented in terms of...
32085         (td_mod_lookup): ... this declaration.
32086         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32087         (DB_MAIN_VARIABLE): Likewise.
32089 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32091         [BZ #18134]
32092         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32094 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32096         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32098 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32100         [BZ #18128]
32101         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32102         (atomic_add, atomic_increment_and_test)
32103         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32105 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32107         * stdlib/setenv.c (__add_to_environ):
32108         Dump core quickly if setenv (..., NULL, ...) is called.
32110 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32112         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32113         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32114         all the necessary asm magic in one place.
32115         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32116         using those.
32118 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32120         [BZ #14906]
32121         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32122         traced file mtime. Use consistent log message.
32123         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32124         (register_traced_file): Call install_watches. Always set mtime.
32125         (invalidate_cache): Iterate over all trace files. Call install_watches.
32126         (inotify_check_files): Don't inline. Handle watching parent
32127         directories and configuration file movement in and out.
32128         (handle_inotify_events): New function.
32129         (main_loop_poll): Call handle_inotify_events.
32130         (main_loop_epoll): Likewise.
32131         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32132         (struct traced_file): Use array of inotify fds. Add parent directory,
32133         and basename.
32134         (struct database_dyn): Remove unused file_mtime.
32135         (init_traced_file): New inline function.
32136         (define_traced_file): New macro.
32137         * nss/nss_db/db-init.c: Use define_traced_file.
32138         (_nss_db_init): Use init_traced_file.
32139         * nss/nss_files/files-init.c: Use define_traced_file.
32140         (_nss_files_init): Use init_traced_file.
32142 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32144         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32145         [_LIBC]: Do not include <stdlib.h>.
32146         [!_LIBC] (abort): Remove declaration.
32147         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32148         _FP_STATIC_ASSERT instead of conditionally calling abort.
32149         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32150         (_FP_EXTEND_CNAN): Likewise.
32151         (FP_TRUNC): Likewise.
32152         (__FP_CLZ): Likewise.
32153         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32155 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32157         * manual/string.texi (XPG basename): Fix prototype.
32159 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32161         [BZ #18080]
32162         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32163         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32164         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32165         (__setcontext): Likewise.
32166         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32167         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32168         Call rt_sigprocmask syscall one time to set new signal mask
32169         and retrieve the current signal mask instead of two calls.
32170         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32171         (__swapcontext): Likewise.
32172         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32173         * stdlib/tst-setcontext2.c: New file.
32175 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32179 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32181         [BZ #18093]
32182         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32183         the wrong size.
32185 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32187         [BZ #18043]
32188         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32190 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32192         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32193         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32194         Remove define.
32195         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32196         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32197         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32198         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32199         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32200         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32201         define.
32202         * nptl_db/td_symbol_list.c (td_lookup): Remove
32203         HAVE_ASM_GLOBAL_DOT_NAME code.
32204         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32205         HAVE_ASM_GLOBAL_DOT_NAME check.
32206         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32207         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32208         (DOT_LABEL): Remove define.
32209         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32210         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32211         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32212         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32213         (__TLS_GET_ADDR): Likewise.
32214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32215         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32217 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32219         [BZ #18111]
32220         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32221         (_FPU_SETCW): Initialize cw from fpsr before storing.
32222         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32223         (fesetexceptflag): Rewrite using fpu_control.h.
32224         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32226 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32228         [BZ #18110]
32229         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32230         asms.
32231         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32233 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32235         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32236         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32237         abort.
32238         (_FP_FMA): Likewise.
32239         (_FP_DIV): Likewise.
32241 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32243         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32244         with 0 in that case.
32245         * Makefile (summarize-tests): New canned sequence, factored out of
32246         commands for targets tests and xtests.  Display summary lines that
32247         don't start with PASS: or XFAIL: rather than ones that do start with
32248         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32249         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32250         do start with ERROR: or FAIL:.
32251         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32252         (except for [$(build-shared) = yes]).
32253         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32254         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32255         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32256         * nptl/Makefile: Revert 2015-03-04 changes.
32257         [$(CXX) empty] (tests-unsupported): New variable.
32258         * debug/Makefile: Likewise.
32260         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32261         gnulib file.  Replace __attribute with __attribute__ throughout.
32263 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32265         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32267 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32269         [BZ #18104]
32270         * math/auto-libm-test-in: Add another test of pow.
32271         * math/auto-libm-test-out: Regenerated.
32273 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32275         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32276         $(config-cflags-nofma).
32278 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32280         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32281         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32282         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32283         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32284         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32285         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32286         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32287         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32288         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32289         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32290         Add comment on closing #endif.
32292 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32294         * posix/wordexp.c (CHAR_IN_SET): New macro.
32295         (parse_param): Use it.
32297 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32299         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32301 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32303         [BZ #18043]
32304         * posix/wordexp.c (parse_param): Fix buffer overflow.
32305         * posix/wordexp-test.c (test_case): Add test case.
32307 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32309         [BZ #18042]
32310         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32311         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32313 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32315         [BZ #18043]
32316         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32317         (do_bz18043): Delete.
32318         (at_page_end): New.
32319         (testit): Refactor to have words at the edge of unreadable page.
32321 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32323         [BZ #16734]
32324         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32325         Cleanup read-only streams as well.
32326         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32328 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32330         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32331         <bits/libc-lockP.h>
32333 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32335         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32336         on [__KERNEL__].
32337         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32338         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32339         * soft-fp/op-common.h (_FP_DECL): Likewise.
32341 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32343         * elf/ifuncdep2.c (global): Replace
32344         __attribute__((visibility("protected"))) with
32345         asm (".protected global").
32346         * elf/ifuncmod1.c (global): Likewise.
32347         * elf/ifuncmod5.c (global): Likewise.
32349 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32351         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32352         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32354 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32356         * manual/install.texi (Configuring and compiling):
32357         Document test-wrapper-env-only.
32358         * INSTALL: Regenerated.
32360 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32362         [BZ #18043]
32363         * posix/wordexp.c (parse_param): Fix buffer overflow.
32364         * posix/wordexp-test.c (do_bz18043): Add test case.
32366 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32368         * time/tst-strptime2.c (do_test): Ensure failing tests are
32369         reported correctly.
32370         * time/tst-strptime3.c (do_test): Likewise.
32372 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32374         Fix aio_error thread-safety.
32375         * sysdeps/pthread/aio_error.c: New file
32376         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32377         synchronization.
32379 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32381         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32382         (group_number, vfprintf): Use it.
32383         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32384         (JUMP, REF): Use it.
32385         (WORK_BUFFER_SIZE): New enum constant.
32386         (process_arg, vfprintf): Use it.
32388 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32390         * manual/errno.texi (Error Messages): Complete example function
32391         by adding missing #define.
32392         (program_invocation_name): Add statement indicating GNU
32393         extension and reference which header file declares the variable.
32394         (program_invocation_short_name): Likewise.
32396 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32398         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32399         compatibility note.
32401 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32403         * Makeconfig (test-wrapper-env-only): New variable.
32404         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32405         then use that with $(test-wrapper-env-only) rather than using
32406         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32408 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32410         [BZ #18082]
32411         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32412         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32413         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32414         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32415         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32416         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32417         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32418         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32419         Likewise.
32420         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32421         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32422         Likewise.
32423         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32424         Likewise.
32425         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32426         Likewise.
32427         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32428         Likewise.
32429         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32430         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32431         Likewise.
32432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32433         Likewise.
32434         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32435         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32437 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32439         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32440         (ETH_ALEN): New macro.
32441         (struct ether_addr): Use it for length of ether_addr_octet.
32443         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32444         (setdb): Don't call __nss_configure_lookup for "rpc".
32445         (do_test): Don't call test_rpc.
32446         (output_rpcent, test_rpc): Functions moved ...
32447         * sunrpc/test-rpcent.c: ... to this new file.
32448         * sunrpc/Makefile (tests): Add it.
32450         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32451         __xpg_sigpause.
32452         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32453         * nptl/tst-signal6.c: Likewise.
32454         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32455         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32457         * configure.ac (libc_cv_cxx_link_ok): New check.
32458         Reset CXX to empty if it fails to link.
32459         * configure: Regenerated.
32460         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32461         bug-atexit3-lib only if $(CXX) is nonempty.
32462         * nptl/Makefile (tests): Likewise for tst-cancel24.
32463         (tests, tests-static): Likewise for tst-cancel24-static.
32464         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32465         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32466         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32467         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32469 2015-03-04  Andreas Schwab  <schwab@suse.de>
32471         [BZ #17631]
32472         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32473         for non-GCC compilers.
32474         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32475         Likewise.
32477 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32479         [BZ #17776]
32480         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32481         integer before bitwise and assembly operations.
32482         (feclearexcept): Likewise.
32483         * math/test-fenvinline.c: New file.
32484         * math/Makefile: Add test-fenvinline test.
32486 2015-03-03  Alan Modra  <amodra@gmail.com>
32488         [BZ #16512]
32489         * scripts/localplt.awk: Strip off symbol version.
32490         * NEWS: Mention bug fix.
32492 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32494         * sysdeps/pthread/timer_routines.c
32495         (timer_free_list, thread_free_list, thread_active_list): Make static.
32497 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32499         [BZ #17779]
32500         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32501         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32502         Undefine.
32503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32504         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32505         Likewise.
32506         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32507         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32508         Likewise.
32510 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32512         [BZ #18036]
32513         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32514         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32516 2015-03-02  Andreas Schwab  <schwab@suse.de>
32518         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32519         variable name.
32521 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32523         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32524         Return error status.
32526 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32528         [BZ #15969]
32529         * locale/findlocale.c (_nl_find_locale): Introduce const
32530         version of loc_name and drop unsafe type casts.
32532 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32534         * dlfcn/tststatic2.c (main): Converted to ...
32535         (do_test): ... this.
32536         (TEST_FUNCTION): New macro.
32537         Include test-skeleton.c.
32539 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32541         [BZ #17711]
32542         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32543         (tests-pie): Add vismain.
32544         (CFLAGS-vismain.c): New.
32545         * elf/vismain.c: Add comments for PIE requirement.
32547 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32549         [BZ #18046]
32550         [BZ #18047]
32551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32552         0x1p-56L as threshold for just returning the argument.
32553         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32554         0x1p-32L as threshold for just returning the argument.
32555         * math/auto-libm-test-in: Add more tests of atanh.
32556         * math/auto-libm-test-out: Regenerated.
32557         * sysdeps/i386/fpu/libm-test-ulps: Update.
32558         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32560 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32562         * string/bcopy.c (bcopy): Call memmove for performance.
32564 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32566         * string/bzero.c (__bzero): Call memset for performance.
32568 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32570         [BZ #18068]
32571         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32572         to 00100000.
32574 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32576         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32578 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32580         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32581         (__kernel_standard): Use CSTR macro when setting exc.name.
32582         * sysdeps/ieee754/Makefile [$(subdir) = math]
32583         (CFLAGS-k_standard.c): Remove variable.
32585         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32586         setting p and q from "else if" to "else".
32587         (qzero): Likewise.
32588         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32589         (qone): Likewise.
32590         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32591         (qzerof): Likewise.
32592         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32593         (qonef): Likewise.
32594         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32595         (qzero): Likewise.
32596         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32597         (qone): Likewise.
32599         [BZ #18038]
32600         [BZ #18039]
32601         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32602         return pi/2 for arguments below 0x1p-113L.
32603         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32604         return pi/2 for arguments below 0x1p-106L.
32605         * math/auto-libm-test-in: Add more tests of acos.
32606         * math/auto-libm-test-out: Regenerated.
32608         [BZ #16351]
32609         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32610         (MO): New macro.
32611         (__ieee754_asin): Force underflow exception for results with small
32612         absolute value.
32613         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32614         (MO): New macro.
32615         (__ieee754_asinf): Force underflow exception for results with
32616         small absolute value.
32617         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32618         (__ieee754_asin): Force underflow exception for results with small
32619         absolute value.
32620         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32621         (__ieee754_asinf): Force underflow exception for results with
32622         small absolute value.
32623         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32624         (__ieee754_asinl): Force underflow exception for results with
32625         small absolute value.
32626         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32627         (__ieee754_asinl): Force underflow exception for results with
32628         small absolute value.
32629         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32630         (__ieee754_asinl): Force underflow exception for results with
32631         small absolute value.
32632         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32633         Include <math.h>.
32634         * math/auto-libm-test-in: Do not mark underflow exceptions as
32635         possibly missing for bug 16351.
32636         * math/auto-libm-test-out: Regenerated.
32638         [BZ #18030]
32639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32640         of power of 2 down when low part has opposite sign.
32641         * math/libm-test.inc (logb_test_data): Add more tests.
32643 2015-02-26  Andreas Schwab  <schwab@suse.de>
32645         [BZ #18032]
32646         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32647         over collating symbol inside a bracket expression.  Minor cleanup.
32648         * posix/tst-fnmatch3.c (do_test): Add test case.
32650 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32652         [BZ #18029]
32653         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32654         Adjust exponent of power of 2 down when low part has opposite
32655         sign.
32656         * math/libm-test.inc (ilogb_test_data): Add more tests.
32658 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32660         [BZ #15969]
32661         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32662         the previous change.
32664         [BZ #15969]
32665         * locale/findlocale.c (_nl_find_locale): Retry archive search
32666         after alias expansion.
32668 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32670         * iconv/tst-iconv3.c (main): Converted to ...
32671         (do_test): ... this.
32672         (TEST_FUNCTION): New macro.
32673         Include test-skeleton.c.
32675         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32676         (convert): Make function static.
32677         (test_unalign): Likewise.  Add const to argument pointee types.
32678         (main): Replace with static function do_test.
32679         Print "Succeeded." only if RET is zero.
32680         (TEST_FUNCTION): New macro.
32681         Include test-skeleton.c.
32683         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32684         returns a null pointer.
32686 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32688         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32689         to __memcpy_ppc only for static builds.
32691 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32693         [BZ #18020]
32694         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32695         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32696         * math/auto-libm-test-in: Add more tests of asinh.
32697         * math/auto-libm-test-out: Regenerated.
32698         * sysdeps/i386/fpu/libm-test-ulps: Update.
32699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32701 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32703         [BZ #15850]
32704         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32705         and ip6_mtuinfo definitions here.
32706         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32707         in this define too.  Update comment.
32709 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32711         * elf/sprof.c (load_shobj): Tweak error message to match others.
32713 2015-02-24  Kevin Easton  <kevin@guarana.org>
32715         [BZ #16145] (partial fix)
32716         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32717         to reduce lock contention.
32719 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32721         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32722         (struct timex): Update time comment.
32723         (ADJ_SETOFFSET): Define.
32725 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32727         [BZ #18019]
32728         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32729         2**56 not 2**28 as threshold for log (2x) formula.
32730         * math/auto-libm-test-in: Add more tests of acosh.
32731         * math/auto-libm-test-out: Regenerated.
32732         * sysdeps/i386/fpu/libm-test-ulps: Update.
32733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32735 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32737         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32738         parenthesis around the buf assignment.
32739         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32741 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32743         [BZ #16783]
32744         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32745         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32746         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32747         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32748         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32749         * math/libm-test.inc (scalb_test_data): Add more tests.
32751 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32753         [BZ #17916]
32754         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32755         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32757 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32759         [BZ #17523]
32760         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32761         * io/bits/fcntl2.h (open): Use it.
32762         (openat): Likewise.
32763         * io/open.c (__libc_open): Likewise.
32764         * io/open64.c (__libc_open64): Likewise.
32765         * io/open64_2.c (__open64_2): Likewise.
32766         * io/open_2.c (__open_2): Likewise.
32767         * io/openat.c (__openat): Likewise.
32768         * io/openat64.c (__openat64): Likewise.
32769         * io/openat64_2.c (__openat64_2): Likewise.
32770         * io/openat_2.c (__openat_2): Likewise.
32771         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32772         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32773         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32774         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32775         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32776         (__open_nocancel): Likewise.
32777         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32778         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32779         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32781 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32783         [BZ #14841]
32784         * resolv/gethnamaddr.c (getanswer): Skip logging if
32785         RES_USE_DNSSEC is set.
32786         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32788 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32790         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32792 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32794         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32795         201304L, for Unicode 7.
32797 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32799         [BZ #17836]
32800         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32801         shared library.  Add gmon-start.os otherwise.
32802         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32803         $(objpfx)gmon-start.os if builing shared library.
32804         ($(objpfx)g$(static-start-installed-name)): Likewise.
32806 2015-02-23  Andreas Schwab  <schwab@suse.de>
32808         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32810 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32812         [BZ #17269]
32813         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32814         (enlarge_userbuf): Likewise.
32816 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32818         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32819         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32820         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32821         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32823 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32825         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32826         expression inside statement expression.
32828 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32830         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32831         <sysdeps/nptl/lowlevellock.h> and remove macros and
32832         functions that are now defined there.
32833         (SYS_futex): Remove.
32834         (lll_compare_and_swap): Remove.
32835         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32837 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32839         [BZ #17999]
32840         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32841         instead of scandirat.
32842         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32843         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32844         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32845         __scandirat.
32846         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32847         (__scandirat): Declare.  Use libc_hidden_proto.
32848         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32849         Remove variable.
32850         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32852 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32854         [BZ #15319]
32855         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32856         (MO): New macro.
32857         (__ieee754_atan2): For results with small absolute value, force
32858         underflow exception and remove excess range and precision from
32859         return value.
32860         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32861         (MO): New macro.
32862         (__ieee754_atan2f): For results with small absolute value, force
32863         underflow exception and remove excess range and precision from
32864         return value.
32865         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32866         (MO): New macro.
32867         (__atan): For results with small absolute value, force underflow
32868         exception and remove excess range and precision from return value.
32869         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32870         (MO): New macro.
32871         (__atanf): For results with small absolute value, force underflow
32872         exception and remove excess range and precision from return value.
32873         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32874         <math.h>.
32875         (__ieee754_atan2): Force underflow exception for results with
32876         small absolute value.
32877         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32878         <math_private.h>.
32879         (atan): Force underflow exception for results with small absolute
32880         value.
32881         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32882         (__atanf): Force underflow exception for results with small
32883         absolute value.
32884         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32885         <math.h>.
32886         (__atanl): Force underflow exception for results with small
32887         absolute value.
32888         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32889         (__atanl): Force underflow exception for results with small
32890         absolute value.
32891         * sysdeps/x86/fpu/bits/mathinline.h
32892         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32893         (__ieee754_atan2): Only define inline for long double.
32894         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32895         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32896         * math/auto-libm-test-in: Do not mark underflow exceptions as
32897         possibly missing for bug 15319.  Add more tests of atan2.
32898         * math/auto-libm-test-out: Regenerated.
32899         * math/libm-test.inc (casin_test_data): Do not mark underflow
32900         exceptions as possibly missing for bug 15319.
32901         (casinh_test_data): Likewise.
32902         * sysdeps/i386/fpu/libm-test-ulps: Update.
32904 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32906         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32907         * sysdeps/mips/bits/endian.h: Fix comments.
32909 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32911         [BZ #17996]
32912         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32913         (hdestroy_r): Likewise.
32914         (hsearch_r): Likewise.
32915         (__hcreate_r): Declare and use libc_hidden_proto.
32916         (__hdestroy_r): Likewise.
32917         (__hsearch_r): Likewise.
32918         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32919         (hcreate): Call __hcreate_r instead of hcreate_r.
32920         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32921         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32922         as weak alias of __hcreate_r.
32923         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32924         __hdestroy_r.
32925         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32926         __hsearch_r.
32927         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32928         Remove variable.
32929         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32930         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32931         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32932         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32934 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32936         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32937         arena_lock into a single arena_get.
32939 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32941         * dl-reloc.c: Inlucde libc-internal.h.
32942         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32943         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32944         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32945         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32946         (grow_heap): Likewise.
32947         * malloc/malloc.c: Include libc-internal.h.
32948         (do_check_malloc): Call powerof2.
32949         (sysmalloc): Use pagesize. Call ALIGN_UP.
32950         (systrim): Use pagesize.
32951         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32952         (__libc_valloc): Use pagesize.
32953         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32955 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32957         [BZ #17991]
32958         * include/sys/resource.h (__getrlimit64): Declare.  Use
32959         libc_hidden_proto.
32960         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32961         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32962         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32963         getrlimit64.
32964         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32965         __getrlimit64.
32966         [!getrlimit64] (getrlimit64): Define as weak alias of
32967         __getrlimit64.  Use libc_hidden_weak.
32968         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32969         using __getrlimit64 not __new_getrlimit64.
32970         (__GI_getrlimit64): Likewise.
32971         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32972         Likewise.
32973         (__GI_getrlimit64): Likewise.
32974         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32976         (getrlimit): Add __getrlimit64 alias.
32977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32978         Likewise.
32979         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32980         Remove variable.
32981         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32982         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32984 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32986         * libio/fileops.c: Add missing sys/mman.h
32987         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32989 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32991         * manual/math.texi (Errors in Math Functions): Clarify goals
32992         regarding inexact and underflow exceptions.
32994 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32996         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32997         * sysdeps/mips/memset.S: Ditto.
32999 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33001         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33003 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33005         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33006         (__v1longjmp): Remove versioned symbol.
33007         (__v1siglongjmp): Remove alias and versioned symbol.
33008         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33009         (__v2siglongjmp): Likewise.
33011 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33013         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33015 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33017         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33019 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33021         [BZ #17987]
33022         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33023         zero result does not depend on the sign resulting from
33024         subtraction.
33025         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33026         Likewise.
33027         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33028         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33030         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33031         * math/libm-test.inc (remquo_test_data): Add more tests.
33033 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33035         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33036         Problem reported by J William Piggott.
33038 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33040         [BZ #17978]
33041         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33042         products 4 * y and 2 * y where those would overflow.
33043         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33044         Likewise.
33045         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33046         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33048         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33049         * math/libm-test.inc (remquo_test_data): Add more tests.
33051         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33053         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33054         [defined _COMPILING_NEWLIB].
33055         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33056         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33058         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33059         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33061 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33063         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33064         acquired.
33066 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33068         [BZ #17792]
33069         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33070         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33071         HOST_STACK_END_ADDR): Likewise.
33073 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33075         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33076         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33077         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33079 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33081         * sysdeps/generic/c++-types.data: New file.
33082         * sysdeps/generic/ld.abilist: New file.
33083         * sysdeps/generic/libBrokenLocale.abilist: New file.
33084         * sysdeps/generic/libanl.abilist: New file.
33085         * sysdeps/generic/libc.abilist: New file.
33086         * sysdeps/generic/libcrypt.abilist: New file.
33087         * sysdeps/generic/libdl.abilist: New file.
33088         * sysdeps/generic/libm.abilist: New file.
33089         * sysdeps/generic/libpthread.abilist: New file.
33090         * sysdeps/generic/libresolv.abilist: New file.
33091         * sysdeps/generic/librt.abilist: New file.
33093 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33095         [BZ #17569]
33096         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33097         Compute absolute value of x as modified by fmod, not original
33098         value of x.
33099         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33100         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33101         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33102         RUN_TEST_ffI_f1_mod8.
33103         (remquo_test_data): Add more tests.
33105 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33107         * sysdeps/init_array/pt-crti.S: New file.
33109 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33111         [BZ #17967]
33112         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33113         __builtin_fmaf instead of relying on contraction of a * b + c.
33115 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33117         [BZ #17969]
33118         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33119         node.
33121 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33123         [BZ #17964]
33124         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33125         __builtin_fma instead of relying on contraction of a * b + c.
33127 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33129         * Makeconfig (ASFLAGS): Add -Werror=undef.
33130         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33131         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33132         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33134         * Makeconfig (after-link): New variable.
33135         (+link-pie, +link-pie-tests): Use it.
33136         (+link-static, +link-static-tests): Likewise.
33137         (+link, +link-tests): Likewise.
33138         * Makerules (build-module, build-module-asneeded): Likewise.
33139         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33140         Likewise.
33141         * elf/Makefile ($(objpfx)ld.so): Likewise.
33143 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33145         [BZ #17965]
33146         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33147         both struct timeval and struct timespec.
33149 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33151         [BZ #16560]
33152         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33153         and redefine.
33154         (__ieee754_exp2l): Do not multiply small fractional parts by
33155         M_LN2l.
33156         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33157         small argument.
33158         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33159         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33160         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33161         * math/auto-libm-test-in: Add more tests of exp2.
33162         * math/auto-libm-test-out: Regenerated.
33164 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33166         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33167         unaligned path.
33169 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33171         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33172         little endian.
33174 2015-02-12  Andreas Schwab  <schwab@suse.de>
33176         [BZ #15790]
33177         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33178         Filter out elision flags from value returned in kind.
33179         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33180         * nptl/tst-pthread-mutexattr.c: New file.
33182 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33184         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33185         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33186         into gnu-gnu, and update comment to refer to abi-tags.
33188 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33190         [BZ #15467]
33191         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33192         (__sincos): Set errno to EDOM for infinite argument.
33193         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33194         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33195         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33196         (__sincosl): Set errno to EDOM for infinite argument.
33197         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33198         (__sincosl): Set errno to EDOM for infinite argument.
33199         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33200         (__sincosl): Set errno to EDOM for infinite argument.
33201         * math/libm-test.inc (sincos_test_data): Test errno setting.
33203 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33205         * string/strxfrm_l.c: Remove #define STRCMP.
33206         * string/strcoll_l.c: Remove #define STRLEN.
33207         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33208         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33210 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33212         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33213         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33214         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33215         * sysdeps/mips/mips64/Makefile: ... here.
33216         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33217         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33218         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33219         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33220         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33221         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33222         * sysdeps/mips/mips64/n64/Implies: Likewise.
33224 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33226         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33227         <sys/time.h>, <string.h>, and <errno.h>.
33228         (dest_offset, dest_address, value, zero): Remove unused variables.
33229         (ldouble): Remove typedef.
33230         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33231         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33232         1).  Fix code style.
33233         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33234         (check): Function removed.
33235         (CHECK): New macro.
33236         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33237         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33238         Don't call set_sigaction_FP and remove_sigaction_FP here.
33239         (ldouble_test): Just use 'long double' as macro argument, no need for
33240         the 'ldouble' typedef.
33241         (do_test): Set up SIGFPE handler at start, using plain signal rather
33242         than sigaction.  Fix code style.
33244 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33246         [BZ #17949]
33247         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33248         jump label.
33250 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33252         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33253         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33255         * sysdeps/powerpc/configure.ac: Remove file.
33256         * sysdeps/powerpc/configure: Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33259         [sysdep_routines]: Remove wordcopy-power6 object.
33260         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33261         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33262         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33263         (__memmove_ppc32): Likewise.
33264         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33265         file.
33266         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33267         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33268         Remove preprocessor.
33270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33271         [sysdep_routines]: Remove wide chars objects.
33272         [wcsmbs]: New rule for wide char objects.
33274         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33275         Remove wordcopy-power6 obejct.
33276         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33277         Use local call for wordcopy and memcpy symbols.
33278         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33279         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33280         implementation for loader.
33281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33284         Remove wordcopy-power7 object.
33285         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33286         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33287         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33288         (_wordcopy_fwd_dest_aligned): Likewise.
33289         (_wordcopy_bwd_aligned): Likewise.
33290         (_wordcopy_bwd_dest_aligned): Likewise.
33292         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33293         Rewrite to call __memmove_ppc instead of include default
33294         implementation.
33296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33297         Remove wide chars objects.
33298         [wcsmbs]: New rule for wide char objects.
33300 2015-02-09  Andreas Schwab  <schwab@suse.de>
33302         [BZ #17912]
33303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33304         in terms of __O_DIRECTORY.
33306 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33308         * time/getdate.c: Include <stdbool.h>.
33309         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33310         call PTR_MANGLE.
33311         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33312         PTR_DEMANGLE.
33314 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33316         Add ersatz _Static_assert on older C hosts
33317         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33318         pre-C11 C platform that is not known to support _Static_assert.
33320 2015-02-07  Richard Braun  <rbraun@sceen.net>
33322         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33323         sigstate.
33324         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33326 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33328         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33329         priority against unexistent AIO_PRIO_DELTA_MAX.
33330         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33331         instead of int.
33332         * misc/fchflags.c (fchflags): Likewise.
33333         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33334         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33335         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33336         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33337         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33338         Declare macros.
33339         [__USE_MISC] (chflags, fchflags): Declare functions.
33340         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33341         EINVAL when nfds is greater than FD_SETSIZE.
33342         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33343         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33344         45.
33345         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33346         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33347         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33348         MACH_RCV_TIMED_OUT.
33349         * hurd/hurd/signal.h (_hurd_self_sigstate,
33350         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33351         Explicit casts from void *.
33352         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33353         * abi-tags: Rename gnu-gnu os into gnu.
33355         [BZ #4719]
33356         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33357         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33358         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33359         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33360         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33361         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33363         [BZ #17944]
33364         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33365         duplicates ADDR->sun_path with sockaddr LEN limitation.
33366         * sysdeps/mach/hurd/connect.c: Include <string.h>
33367         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33368         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33369         * sysdeps/mach/hurd/sendto.c: Likewise.
33370         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33371         implementing it by hand.
33373 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33375         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33376         Use sfi_breg on ldr.
33377         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33378         Likewise.
33380         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33381         it's defined.
33382         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33383         Test SIGSETXID only if it's defined.
33385         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33387         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33388         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33390         * nptl/tst-align2.c: Moved ...
33391         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33392         * nptl/Makefile (tests): Remove tst-align2.
33393         * sysdeps/unix/sysv/linux/Makefile
33394         [$(subdir) = nptl] (tests): Add tst-align-clone.
33395         * nptl/tst-getpid1.c: Moved ...
33396         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33397         * nptl/tst-getpid2.c: Moved ...
33398         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33399         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33400         * sysdeps/unix/sysv/linux/Makefile
33401         [$(subdir) = nptl] (tests): ... here.
33402         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33403         * sysdeps/unix/sysv/linux/Makefile
33404         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33406         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33407         Drop trailing \n from perror argument.  Use return rather than exit.
33409         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33410         on [SA_SIGINFO].
33411         * nptl/tst-cancel21.c (do_test): Likewise.
33412         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33413         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33414         [!SA_SIGINFO]: Make it a stub test.
33416         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33417         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33419         * posix/tst-getlogin.c: Move to ...
33420         * login/tst-getlogin.c: ... here.
33421         * posix/Makefile (tests): Move tst-getlogin to ...
33422         * login/Makefile (tests): ... here.
33424         * libio/tst-atime.c (do_test): Move local variables SV and E
33425         inside [ST_NOATIME] conditional.
33427         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33429         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33431         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33432         (wait_code): New function replaces macro.
33433         Call nanosleep rather than syscall.
33435         * nptl/pt-system.c: Rewritten.  Put everything under
33436         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33437         Use IFUNC to redirect when possible.
33439         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33440         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33441         Use IFUNC to redirect when possible.
33443         * nptl/pt-fork.c: Rewritten.  Put everything under
33444         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33445         Use IFUNC to redirect when possible.
33446         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33448         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33449         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33450         unconditionally nowadays.  This included the only reference to
33451         __vdso_clock_gettime that appears outside libc proper.
33452         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33453         Remove version set (containing only __vdso_clock_gettime).
33454         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33455         Add attribute_hidden.
33456         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33457         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33458         libc_hidden_data_def.
33459         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33460         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33462         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33463         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33464         setrpcent, and getrpcport to ...
33465         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33466         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33467         getrpcbynumber_r, and getrpcent_r to ...
33468         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33469         * inet/getrpcbyname.c: Moved ...
33470         * sunrpc/getrpcbyname.c: ... here.
33471         * inet/getrpcbyname_r.c: Moved ...
33472         * sunrpc/getrpcbyname_r.c: ... here.
33473         * inet/getrpcbynumber.c: Moved ...
33474         * sunrpc/getrpcbynumber.c: ... here.
33475         * inet/getrpcbynumber_r.c: Moved ...
33476         * sunrpc/getrpcbynumber_r.c: ... here.
33477         * inet/getrpcent.c: Moved ...
33478         * sunrpc/getrpcent.c: ... here.
33479         * inet/getrpcent_r.c: Moved ...
33480         * sunrpc/getrpcent_r.c: ... here.
33481         * inet/Makefile (routines): Move those to ...
33482         * sunrpc/Makefile (routines): ... here.
33483         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33484         the $(subdirs) list.
33485         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33486         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33487         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33488         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33490         * elf/Makefile (routines): Include $(all-dl-routines), not just
33491         $(dl-routines).
33492         (rtld-routines): Likewise.  Use = rather than :=.
33493         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33494         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33495         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33496         * sysdeps/arm/Makefile: Likewise.
33497         * sysdeps/i386/Makefile: Likewise.
33498         * sysdeps/x86_64/Makefile: Likewise.
33499         * sysdeps/hppa/Makefile [$(subdir) = elf]
33500         (sysdep_routines, sysdep-rtld-routines): Don't add
33501         $(sysdep-dl-routines) to these.
33502         * sysdeps/ia64/Makefile: Likewise.
33503         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33504         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33505         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33506         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33507         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33508         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33509         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33510         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33511         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33512         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33513         these; sysdep-dl-routines alone is enough.
33515 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33517         [BZ #17932]
33518         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33519         where multiplication results in zero and third argument is finite
33520         and nonzero.
33521         * math/auto-libm-test-in: Add more tests of fma.
33522         * math/auto-libm-test-out: Regenerated.
33524         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33525         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33526         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33527         (_FP_CMP_EQ): Likewise.
33528         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33530         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33531         extra argument CHECK_NAN.  Redefine as wrapper around
33532         _FP_EXTEND_CNAN.
33534 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33536         * version.h (RELEASE): Set to "stable".
33537         (VERSION): Set to "2.21"
33538         * include/features.h (__GLIBC_MINOR__): Set to 21.
33540         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33542 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33543             Paul Eggert  <eggert@cs.ucla.edu>
33545         [BZ #16618]
33546         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33548         size in bytes. Store needed elements in wpmax. Use needed size
33549         in bytes for extend_alloca.
33551 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33553         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33554         binutls 2.25, and texinfo 5.2.
33555         * INSTALL: Regenerate.
33556         * sysdeps/nios2/configure: Regenerate.
33557         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33558         * manual/contrib.texi: Update.
33559         * po/be.po: Update.
33560         * po/bg.po: Update.
33561         * po/ca.po: Update.
33562         * po/cs.po: Update.
33563         * po/da.po: Update.
33564         * po/de.po: Update.
33565         * po/el.po: Update.
33566         * po/eo.po: Update.
33567         * po/es.po: Update.
33568         * po/fi.po: Update.
33569         * po/fr.po: Update.
33570         * po/gl.po: Update.
33571         * po/hr.po: Update.
33572         * po/hu.po: Update.
33573         * po/ia.po: Update.
33574         * po/id.po: Update.
33575         * po/it.po: Update.
33576         * po/ja.po: Update.
33577         * po/ko.po: Update.
33578         * po/lt.po: Update.
33579         * po/nb.po: Update.
33580         * po/nl.po: Update.
33581         * po/pl.po: Update.
33582         * po/pt_BR.po: Update.
33583         * po/ru.po: Update.
33584         * po/rw.po: Update.
33585         * po/sk.po: Update.
33586         * po/sl.po: Update.
33587         * po/sv.po: Update.
33588         * po/tr.po: Update.
33589         * po/uk.po: Update.
33590         * po/vi.po: Update.
33591         * po/zh_CN.po: Update.
33592         * po/zh_TW.po: Update.
33594         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33595         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33596         * sysdeps/hppa/dl-irel.h: Remove #warning.
33597         * sysdeps/hppa/entry.h: Provide prototype for
33598         __canonicalize_funcptr_for_compare and cast argument.
33599         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33600         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33601         * sysdeps/hppa/sotruss-lib.c: New file.
33602         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33603         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33604         (atomic_compare_and_exchange_bool_acq): Likewise.
33605         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33606         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33608         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33609         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33610         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33612 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33614         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33615         called function in non-PIC case.
33617 2015-01-31  David S. Miller  <davem@davemloft.net>
33619         * sysdeps/sparc/sparc32/bits/atomic.h
33620         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33621         unlock not after it.
33622         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33623         volatile register usage warnings from the compiler.
33625         * sysdeps/sparc/nptl/sem_init.c: Delete.
33626         * sysdeps/sparc/nptl/sem_post.c: Delete.
33627         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33628         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33629         * sysdeps/sparc/sparc32/sem_init.c: New file.
33630         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33631         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33632         padding explicitly initialized.
33633         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33634         padding for in-semaphore spinlock.
33635         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33636         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33637         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33638         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33639         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33640         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33641         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33642         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33643         version.
33644         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33645         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33647 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33649         [BZ #17801]
33650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33651         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33652         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33653         New.
33654         (index_AVX_Fast_Unaligned_Load): Likewise.
33655         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33656         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33657         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33658         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33659         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33660         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33661         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33662         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33663         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33665 2015-01-29  Andreas Schwab  <schwab@suse.de>
33667         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33669 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33671         [BZ #17892]
33672         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33674 2015-01-28  Martin Sebor  <msebor@redhat.com>
33676         * math/README.libm-test: Clarify. Add "How to read the test output."
33678 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33680         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33681         Define to 0.
33683 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33685         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33686         (__HAVE_64B_ATOMICS): Define to 0.
33688 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33690         [BZ #17885]
33691         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33692         value to set as new flag.
33694         [BZ #16576]
33695         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33696         and use _ARCH_PPCSQ instead.
33697         (__ieee754_sqrt): Likewise.
33698         (__ieee754_sqrtf): Likewise.
33699         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33700         _ARCH_PPCSQ is defined.
33701         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33702         fsqrt instruction.
33703         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33704         _ARCH_PPCSQ is defined.
33705         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33706         fsqrts instruction.
33707         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33709 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33711         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33712         bug (GCC BZ #64739).
33714 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33716         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33717         Mark _retval as used.
33718         (lll_futex_wake_unlock): Likewise.
33719         (lll_futex_timed_wait_requeue_pi): Likewise.
33721         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33722         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33723         register variables.
33725         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33726         libm_hidden_def.
33728         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33729         (__bswap_64): Mark as __always_inline.
33731 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33733         [BZ #15378]
33734         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33735         when none of the search directories exist.
33737 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33739         [BZ #17869]
33740         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33741         power8 in .machine directive.
33743         [BZ #17868]
33744         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33745         set dependency from opd value.
33747 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33750         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33751         architecture.
33753 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33755         [BZ #17870]
33756         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33757         with uint64_t.
33758         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33759         (uint64_t) 1.
33760         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33761         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33762         Replace 1UL with (uint64_t) 1.
33763         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33764         int with uint64_t.
33766 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33768         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33769         (if_freenameindex): Likewise.
33771         * resource/getrlimit64.c: Add missing libc_hidden_def.
33773 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33775         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33776         __label__.
33777         (_FP_FMA): Likewise.
33778         (_FP_TO_INT_ROUND): Likewise.
33779         (_FP_FROM_INT): Likewise.
33781 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33783         [BZ #16418]
33784         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33785         Make code racy and cancel safe.
33787 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33789         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33790         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33791         attribution.
33793         * pwd/tst-getpw.c: Rewrite.
33795         [BZ #17702]
33796         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33797         (modules-names): Add moddummy1 and moddummy2.
33798         ($(objpfx)tst-rec-dlopen): Define.
33799         * dlfcn/moddummy1.c: New file.
33800         * dlfcn/moddummy2.c: New file.
33801         * dlfcn/tst-rec-dlopen.c: New file.
33802         * elf/dl-cache.c (_dl_load_cache_lookup):
33803         Return char*. Copy result with alloca/strcpy/strdup.
33804         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33805         returns char*. Free cached. If not saving realname
33806         free cached.
33807         * elf/dl-open.c (dl_open_worker): Do not assert that
33808         _r_debug->r_state is RT_CONSISTENT.
33809         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33810         returns char*.
33812 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33813             Carlos O'Donell  <carlos@redhat.com>
33815         [BZ #12674]
33816         * nptl/sem_waitcommon.c: New file.
33817         * nptl/sem_wait.c: Include sem_waitcommon.c.
33818         (__sem_wait_cleanup, do_futex_wait): Remove.
33819         (__new_sem_wait): Adapt.
33820         (__new_sem_trywait): New function.
33821         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33822         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33823         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33824         (sem_timedwait): Adapt.
33825         * nptl/sem_post.c (__new_sem_post): Adapt.
33826         (futex_wake): New function.
33827         (__old_sem_post): Add release MO fence.
33828         * nptl/sem_open.c (sem_open): Adapt.
33829         * nptl/sem_init.c (__new_sem_init): Adapt.
33830         (futex_private_if_supported): New function.
33831         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33832         (__old_sem_getvalue): Add using previous code.
33833         * sysdeps/nptl/internaltypes.h: Adapt.
33834         * nptl/tst-sem13.c (do_test): Adapt.
33835         * nptl/tst-sem11.c (main): Adapt.
33836         * nptl/sem_trywait.c: Remove.
33837         * nptl/DESIGN-sem.txt: Remove.
33838         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33839         (gen-as-const-headers): Remove structsem.sym.
33840         * nptl/structsem.sym: Remove.
33841         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33842         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33843         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33844         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33845         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33846         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33847         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33848         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33849         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33850         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33851         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33852         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33853         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33854         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33855         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33856         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33857         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33858         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33859         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33860         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33861         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33862         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33864 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33866         * INSTALL: Regenerated.
33868         * po/libc.pot: Regenerated.
33870 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33871             Sandra Loosemore  <sandra@codesourcery.com>
33872             Andrew Jenner  <andrew@codesourcery.com>
33873             Joseph Myers  <joseph@codesourcery.com>
33874             Nathan Sidwell  <nathan@codesourcery.com>
33876         * NEWS: Mention new Nios II port.
33877         * sysdeps/nios2/Implies: New file.
33878         * sysdeps/nios2/Makefile: New file.
33879         * sysdeps/nios2/Subdirs: New file.
33880         * sysdeps/nios2/Versions: New file.
33881         * sysdeps/nios2/__longjmp.S: New file.
33882         * sysdeps/nios2/abort-instr.h: New file.
33883         * sysdeps/nios2/backtrace.c: New file.
33884         * sysdeps/nios2/bits/endian.h: New file.
33885         * sysdeps/nios2/bits/fenv.h: New file.
33886         * sysdeps/nios2/bits/link.h: New file.
33887         * sysdeps/nios2/bits/setjmp.h: New file.
33888         * sysdeps/nios2/bsd-_setjmp.S: New file.
33889         * sysdeps/nios2/bsd-setjmp.S: New file.
33890         * sysdeps/nios2/configure: New generated file.
33891         * sysdeps/nios2/configure.ac: New file.
33892         * sysdeps/nios2/crti.S: New file.
33893         * sysdeps/nios2/crtn.S: New file.
33894         * sysdeps/nios2/dl-init.c: New file.
33895         * sysdeps/nios2/dl-machine.h: New file.
33896         * sysdeps/nios2/dl-sysdep.h: New file.
33897         * sysdeps/nios2/dl-tls.h: New file.
33898         * sysdeps/nios2/dl-trampoline.S: New file.
33899         * sysdeps/nios2/gccframe.h: New file.
33900         * sysdeps/nios2/gmp-mparam.h: New file.
33901         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33902         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33903         * sysdeps/nios2/ldsodefs.h: New file.
33904         * sysdeps/nios2/libc-tls.c: New file.
33905         * sysdeps/nios2/libm-test-ulps: New file.
33906         * sysdeps/nios2/machine-gmon.h: New file.
33907         * sysdeps/nios2/math-tests.h: New file.
33908         * sysdeps/nios2/math_private.h: New file.
33909         * sysdeps/nios2/memusage.h: New file.
33910         * sysdeps/nios2/nptl/Makefile: New file.
33911         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33912         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33913         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33914         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33915         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33916         * sysdeps/nios2/nptl/tls.h: New file.
33917         * sysdeps/nios2/preconfigure: New file.
33918         * sysdeps/nios2/s_fma.c: New file.
33919         * sysdeps/nios2/s_fmaf.c: New file.
33920         * sysdeps/nios2/setjmp.S: New file.
33921         * sysdeps/nios2/sfp-machine.h: New file.
33922         * sysdeps/nios2/sotruss-lib.c: New file.
33923         * sysdeps/nios2/stackguard-macros.h: New file.
33924         * sysdeps/nios2/stackinfo.h: New file.
33925         * sysdeps/nios2/start.S: New file.
33926         * sysdeps/nios2/sysdep.h: New file.
33927         * sysdeps/nios2/tls-macros.h: New file.
33928         * sysdeps/nios2/tst-audit.h: New file.
33929         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33930         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33931         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33932         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33933         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33934         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33935         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33936         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33937         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33938         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33939         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33940         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33941         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33942         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33943         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33944         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33945         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33946         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33947         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33948         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33949         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33950         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33951         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33952         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33953         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33954         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33955         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33956         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33957         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33958         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33959         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33960         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33961         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33962         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33963         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33964         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33966         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33967         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33968         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33969         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33970         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33971         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33972         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33974 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33976         [BZ #17844]
33977         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33978         (getutent): Use weak_alias in non SHARED case
33979         and default_symbol_version in SHARED case.
33980         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33981         (getutent_r, pututline): Likewise.
33982         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33983         (getutid): Likewise.
33984         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33985         (getutid_r): Likewise.
33986         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33987         (getutline): Likewise.
33988         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33989         (getutline_r): Likewise.
33990         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33991         (updwtmp): Likewise.
33993 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33995         [BZ #17848]
33996         * sysdeps/s390/s390-32/memcmp.S
33997         (memcmp_g5): Rename to __memcmp_g5.
33998         * sysdeps/s390/s390-32/memcpy.S
33999         (memcpy_g5): Rename to __memcpy_g5.
34000         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34001         (memcpy_mvcle) Rename to __memcpy_mvcle.
34002         * sysdeps/s390/s390-32/memset.S
34003         (memset_g5): Rename to __memset_g5.
34004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34005         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34006         and use prefixed functions.
34007         * sysdeps/s390/s390-32/multiarch/memcmp.S
34008         (memcmp_z196): Rename to __memcmp_z196.
34009         (memcmp_z10): Rename to __memcmp_z10.
34010         (memcmp): Set alias to __memcmp_g5.
34011         (bcmp): Set alias to __memcmp_g5.
34012         * sysdeps/s390/s390-32/multiarch/memcpy.S
34013         (memcpy_z196): Rename to __memcpy_z196.
34014         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34015         (memcpy_z10): Rename to __memcpy_z10.
34016         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34017         (memcpy): Set alias to __memcpy_g5.
34018         * sysdeps/s390/s390-32/multiarch/memset.S
34019         (memset_z196): Rename to __memset_z196.
34020         Jump to __memset_mvcle instead of memset_mvcle.
34021         (memset_z10): Rename to __memset_z10.
34022         Jump to __memset_mvcle instead of memset_mvcle.
34023         (memset_mvcle) Rename to __memset_mvcle.
34024         (memset): Set alias to __memset_g5.
34025         * sysdeps/s390/s390-64/memcmp.S
34026         (memcmp_z900): Rename to __memcmp_z900.
34027         * sysdeps/s390/s390-64/memcpy.S
34028         (memcpy_z900): Rename to __memcpy_z900.
34029         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34030         (memcpy_mvcle) Rename to __memcpy_mvcle.
34031         * sysdeps/s390/s390-64/memset.S
34032         (memset_z900): Rename to __memset_z900.
34033         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34034         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34035         and use prefixed functions.
34036         * sysdeps/s390/s390-64/multiarch/memcmp.S
34037         (memcmp_z196): Rename to __memcmp_z196.
34038         (memcmp_z10): Rename to __memcmp_z10.
34039         (memcmp): Set alias to __memcmp_z900.
34040         (bcmp): Set alias to __memcmp_z900.
34041         * sysdeps/s390/s390-64/multiarch/memcpy.S
34042         (memcpy_z196): Rename to __memcpy_z196.
34043         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34044         (memcpy_z10): Rename to __memcpy_z10.
34045         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34046         (memcpy): Set alias to __memcpy_z900.
34047         * sysdeps/s390/s390-64/multiarch/memset.S
34048         (memset_z196): Rename to __memset_z196.
34049         Jump to __memset_mvcle instead of memset_mvcle.
34050         (memset_z10): Rename to __memset_z10.
34051         Jump to __memset_mvcle instead of memset_mvcle.
34052         (memset_mvcle) Rename to __memset_mvcle.
34053         (memset): Set alias to __memset_z900.
34055 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34057         [BZ #17748]
34058         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34059         __fesetenv instead of fesetenv.
34061 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34063         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34064         macro.
34066 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34068         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34069         regression on LE.
34071         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34072         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34074         strncmp-power8 object.
34075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34076         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34077         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34078         * NEWS: Update.
34080 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34081             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34083         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34084         trailing byte check.
34086 2015-01-13  David S. Miller  <davem@davemloft.net>
34088         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34090 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34092         * login/logout.c (logout): Use memset rather than bzero.
34093         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34094         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34095         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34096         (_gethtbyaddr): Likewise.
34097         * locale/programs/simple-hash.c (bcopy): Macro removed.
34099 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34101         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34102         Add strcmp-power8 object.
34103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34104         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34105         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34106         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34107         __strcmp_power8 implementation.
34108         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34109         * NEWS: Update.
34111         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34112         Add strncpy-power8 and stpncpy-power8 objects.
34113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34114         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34115         implementations.
34116         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34118         __stpncpy_power8 implementation.
34119         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34120         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34121         __strncpy_power8 implementation.
34122         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34123         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34124         * NEWS: Update.
34126         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34127         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34128         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34131         strncat-power8 object.
34132         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34133         __strcat_power8 implementation.
34134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34135         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34136         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34137         optimized strcat for power8.
34139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34140         strcpy-power8 and stpcpy-power8 objects.
34141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34142         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34143         implementations.
34144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34145         multiarch stpcpy implementation for POWER8.
34146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34147         multiarch strcpy implementation for POWER8.
34148         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34149         __strcpy_power8 function.
34150         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34151         stpcpy for POWER8.
34152         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34153         strcpy for POWER8.
34154         * NEWS: Update.
34156 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34158         [BZ #16009]
34159         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34160         weights and rules. Use do_xfrm_cached if data fits in cache,
34161         do_xfrm otherwise.  Moved former main loop to...
34162         * (do_xfrm_cached): New function.
34163         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34164         find_idx, find_position and stack_push.
34165         * (find_idx): New function.
34166         * (find_position): Likewise.
34167         * localedata/sort-test.sh: Added test run for do_xfrm.
34168         * localedata/xfrm-test.c (main): Added command line option
34169         -nocache to run the test with strings that are too large for
34170         the STRXFRM cache.
34172 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34174         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34175         variable to lll_futex_wake call, not the value itself.
34177 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34179         [BZ #17803]
34180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34181         twom64.  Adjust value to 0x1p-64L.
34182         (__scalblnl): Only return standard underflowing result for K <=
34183         -64 not K <= -63; adjust exponent for underflowing result by 64
34184         not 63.
34185         * math/libm-test.inc (scalbn_test_data): Add more tests.
34186         (scalbln_test_data): Likewise.
34188         [BZ #17834]
34189         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34190         0x1p63L.
34191         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34192         not HX.
34193         * math/libm-test.inc (scalbn_test_data): Add more tests.
34194         (scalbln_test_data): Likewise.
34196 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34197             Stefani Seibold  <stefani@seibold.net>
34199         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34200         (sysdep_routines): Add dl-vdso here, ...
34201         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34202         (sysdep_routines): ... not here.
34203         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34204         fallback when vDSO is not presented.
34205         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34206         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34207         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34208         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34209         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34210         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34211         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34212         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34213         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34214         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34215         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34216         fallback configurable symbol when vDSO is not available.
34217         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34218         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34219         be able to redefine fallback symbol when vDSO is not available.
34220         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34221         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34223 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34225         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34226         (TLS_INIT_TP): Add tm_capable initialization.
34227         (TLS_DEFINE_INIT_TP): Likewise.
34228         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34229         TCB.
34230         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34231         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34232         calculation.
34233         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34234         transactoion is lock elision is built and TCB tm_capable is set.
34235         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34237         (INTERNAL_SYSCALL_NCS): Likewise.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34239         (INTERNAL_SYSCALL_NCS): Likewise.
34240         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34242         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34243         for powerpc.
34244         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34245         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34246         and remove it for 32 bits case.
34247         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34249         initialization.
34250         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34251         Disable lock elision with rdlocks if elision is not available.
34253         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34254         (sysdep_routines): Add lock elision objects.
34255         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34256         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34257         [pthread_mutex_t] (__elision): Add field.
34258         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34259         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34260         elision definitions for powerpc.
34261         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34262         implementation of lock elision for powerpc.
34263         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34264         implementation of timed lock elision for powerpc.
34265         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34266         implementation of trylock with lock elision for powerpc.
34267         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34268         implementaion of unlock for lock elision for powerpc.
34269         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34270         automatic enable lock elision for mutexes.
34271         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34272         transaction execution definitions for powerpc.
34273         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34274         definitions.
34275         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34276         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34277         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34278         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34279         * NEWS: Update.
34281 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34283         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34284         for #include of <shm-directory.h>.
34286 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34288         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34289         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34291 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34293         [BZ #17791]
34294         * NEWS: Mention bug fix.
34295         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34296         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34297         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34299 2015-01-09  Torvald Riegel <triegel@redhat.com>
34301         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34303 2015-01-09  Torvald Riegel <triegel@redhat.com>
34305         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34307 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34309         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34310         pointer and cast to uintptr_t.
34312 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34314         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34315         removed.
34316         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34318 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34320         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34321         of 0.
34323 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34325         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34326         <nptl/pthreadP.h> instead.
34327         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34329         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34330         already defined.
34331         [__SIGRTMIN] (init): Function removed.
34332         [__SIGRTMIN] (initialized): Variable removed.
34333         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34334         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34335         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34336         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34337         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34338         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34339         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34340         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34341         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34342         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34343         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34344         * sysdeps/nptl/allocrtsig.c: New file.
34345         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34346         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34347         * sysdeps/generic/testrtsig.h: File removed.
34349         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34350         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34352         * nptl/nptl-init.c (pthread_functions): Conditionalize
34353         .ptr__nptl_setxid initialization on [SIGSETXID].
34355         * sysdeps/nptl/sys/procfs.h: New file.
34356         * nptl_db/Makefile (headers): Add it.
34357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34359         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34360         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34361         * nptl/pthread_attr_setaffinity.c: Include it.
34362         * nptl/pthread_setattr_default_np.c: Likewise.
34363         * nptl/check-cpuset.h: New file.
34365 2015-01-08  Richard Henderson  <rth@redhat.com>
34367         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34368         (CFLAGS-tst-execstack-prog.c): Likewise.
34369         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34371 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34372             Sandra Loosemore  <sandra@codesourcery.com>
34373             Andrew Jenner  <andrew@codesourcery.com>
34374             Joseph Myers  <joseph@codesourcery.com>
34375             Nathan Sidwell  <nathan@codesourcery.com>
34377         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34378         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34379         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34380         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34381         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34382         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34383         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34384         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34385         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34386         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34387         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34388         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34389         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34390         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34391         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34392         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34393         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34395 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34397         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34398         timespec struct member in syscall macro.
34399         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34400         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34401         first timeval struct member in syscall macro.
34402         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34404 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34406         [BZ #17748]
34407         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34408         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34409         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34410         __feupdateenv and define as weak alias of __feupdateenv.  Use
34411         libm_hidden_weak.
34412         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34413         libm_hidden_def.
34414         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34415         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34416         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34417         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34418         libm_hidden_def.
34419         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34420         __feupdateenv and define as weak alias of __feupdateenv.  Use
34421         libm_hidden_weak.
34422         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34423         libm_hidden_def.
34424         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34425         __feupdateenv and define as weak alias of __feupdateenv.  Use
34426         libm_hidden_weak.
34427         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34428         libm_hidden_def.
34429         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34430         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34431         (__feupdateenv): Likewise.
34432         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34433         __feupdateenv and define as weak alias of __feupdateenv.  Use
34434         libm_hidden_weak.
34435         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34436         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34437         libm_hidden_def.
34438         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34439         function.
34440         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34441         libm_hidden_def.
34442         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34443         __feupdateenv instead of feupdateenv.
34444         (default_libc_feupdateenv_test): Likewise.
34445         (libc_feresetround_ctx): Likewise.
34447 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34449         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34450         prototype.
34452 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34454         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34455         COLL_SYM in a couple of places to avoid uninitialized variable
34456         wanings on tilegx gcc 4.8.2.
34458 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34460         * sysdeps/aarch64/strcpy.S: New file.
34461         * sysdeps/aarch64/stpcpy.S: New file.
34462         * NEWS: Updated.
34464 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34466         * sysdeps/aarch64/strrchr.S: New file.
34467         * NEWS: Updated.
34469 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34471         [BZ #17658]
34472         * stdlib/setenv.c: Fix memory leak when setting large,
34473         duplicate string.
34475 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34477         [BZ #17273]
34478         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34479         and tabs from buffer before parsing fstab entry.
34480         * misc/tst-mntent.c (main): Add test for mount entry with
34481         trailing spaces and tabs.
34483 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34485         [BZ #17748]
34486         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34487         * math/fesetround.c (fesetround): Rename to __fesetround and
34488         define as weak alias of __fesetround.  Use libm_hidden_weak.
34489         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34490         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34491         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34492         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34493         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34494         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34495         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34496         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34497         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34498         __fesetround_inline.
34499         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34500         __fesetround_inline instead of __fesetround.
34501         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34502         __fesetround and define as weak alias of __fesetround.  Use
34503         libm_hidden_weak.  Call __fesetround_inline instead of
34504         __fesetround.
34505         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34506         __fesetround and define as weak alias of __fesetround.  Use
34507         libm_hidden_weak.
34508         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34509         Likewise.
34510         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34511         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34512         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34513         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34514         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34515         __fesetround and define as weak alias of __fesetround.  Use
34516         libm_hidden_weak.
34517         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34518         __fesetround instead of fesetround.
34519         (default_libc_feholdexcept_setround): Likewise.
34520         (libc_feholdsetround_ctx): Likewise.
34521         (libc_feholdsetround_noex_ctx): Likewise.
34523         [BZ #17748]
34524         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34525         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34526         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34527         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34528         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34529         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34530         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34531         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34532         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34533         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34534         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34535         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34536         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34537         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34538         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34539         libm_hidden_def.
34540         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34541         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34542         Likewise.
34543         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34544         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34545         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34546         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34547         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34548         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34549         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34550         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34551         __fesetenv instead of fesetenv.
34552         (libc_feresetround_noex_ctx): Likewise.
34553         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34554         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34555         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34556         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34557         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34558         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34559         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34560         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34561         (__feupdateenv): Likewise.
34562         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34563         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34564         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34565         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34567 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34569         [BZ #17806]
34570         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34571         addresses have been freed.
34573 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34575         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34576         and nservall.
34578 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34580         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34581         Clean up check_pf allocation pattern. addresses
34583 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34585         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34586         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34587         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34588         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34589         * nptl/pthread_join.c (pthread_join): Likewise.
34590         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34591         * sysdeps/posix/waitid.c (__waitid): Likewise.
34592         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34593         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34594         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34595         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34597         Likewise.
34598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34599         (__libc_pread64): Likewise.
34600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34601         (__libc_pwrite): Likewise.
34602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34603         (__libc_pwrite64): Likewsie.
34604         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34605         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34606         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34607         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34608         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34609         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34610         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34612         Likewise.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34614         (__libc_pread64): Likewise.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34616         Likewise.
34617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34618         (__libc_pwrite64): Likewise.
34619         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34620         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34621         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34622         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34623         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34624         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34625         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34626         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34627         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34628         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34629         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34630         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34631         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34632         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34633         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34634         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34635         Likewise.
34637 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34639         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34640         (CFLAGS-test-double.c): Likewise.
34641         (CFLAGS-test-ldouble.c): Likewise.
34642         (CPPFLAGS-test-ifloat.c): Likewise.
34643         (CPPFLAGS-test-idouble.c): Likewise.
34644         (CPPFLAGS-test-ildoubl.c): Likewise.
34645         (CFLAGS-test-test-fenv.c): Remove variable.
34646         (CFLAGS-test-misc.c): Likewise.
34648 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34650         [BZ #17797]
34651         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34652         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34653         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34654         CLOCKS_PER_SEC == 1000000.
34655         * time/clocktest.c (main): Replace %ld with %jd and cast to
34656         intmax_t.
34658 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34660         * sysdeps/generic/unwind-resume.h: New file.
34661         * sysdeps/gnu/unwind-resume.c: Include it.
34662         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34663         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34664         argument list.
34665         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34666         global rather than static.
34667         (_Unwind_Resume): Update user.
34668         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34669         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34670         rather than static.  Add __attribute__ ((cold)).
34671         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34672         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34673         * sysdeps/arm/arm-unwind-resume.S: New file.
34674         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34675         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34676         * sysdeps/arm/Makefile [$(subdir) = csu]
34677         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34678         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34679         Add rt-arm-unwind-resume.
34680         [$(subdir) = nptl]
34681         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34682         Add pt-arm-unwind-resume.
34683         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34684         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34686 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34688         [BZ #17748]
34689         * include/fenv.h (__feholdexcept): Declare.  Use
34690         libm_hidden_proto.
34691         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34692         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34693         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34694         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34695         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34696         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34697         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34698         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34699         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34700         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34701         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34702         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34703         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34704         (feholdexcept): Likewise.
34705         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34706         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34707         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34708         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34709         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34710         __feholdexcept instead of feholdexcept.
34711         (default_libc_feholdexcept_setround): Likewise.
34713 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34715         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34716         to avoid using stl/str to align destination.
34718 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34720         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34722 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34724         [BZ #17796]
34725         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34726         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34727         Define as weak alias not strong alias.
34729 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34731         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34732         bltzal with addiupc.
34733         (RTLD_START): Ditto.
34735 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34737         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34738         for __vdso_* functions in declarations.
34739         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34740         definitions.
34741         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34742         INTERNAL_VSYSCALL): Use struct return types to check for error.
34744         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34745         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34746         function with cast from llround().
34747         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34748         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34749         Define.
34751 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34753         [BZ #17793]
34754         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34755         Define as weak alias not strong alias.
34757         [BZ #17635]
34758         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34759         ...
34760         * ctype/ctype-extn.c: ... here.
34761         (__isblank_l): Move to ...
34762         * ctype/ctype-c99_l.c: ... here.  New file.
34763         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34764         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34765         Remove variable.
34766         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34767         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34768         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34769         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34770         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34772         [BZ #17777]
34773         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34774         (posix_fadvise64): Define as weak alias not strong alias.
34775         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34776         (posix_fallocate64): Likewise.
34777         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34778         Remove variable.
34779         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34780         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34781         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34782         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34783         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34785 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34787         [BZ #16191]
34788         * NEWS: Mention bug fix.
34789         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34790         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34791         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34792         (HOST_STACK_END_ADDR): Likewise.
34794 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34796         [BZ #17748]
34797         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34798         * math/fegetround.c (fegetround): Rename to __fegetround and
34799         define as weak alias of __fegetround.  Use libm_hidden_weak.
34800         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34801         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34802         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34803         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34804         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34805         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34806         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34807         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34808         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34809         Undefine after rather than before function definition; use
34810         parentheses around function name in definition.
34811         (__fegetround): Also undefine macro after function definition.
34812         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34813         __fegetround and define as weak alias of __fegetround.  Use
34814         libm_hidden_weak.  Do not undefine as macro.
34815         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34816         Likewise.
34817         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34818         __fegetround and define as weak alias of __fegetround.  Use
34819         libm_hidden_weak.
34820         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34821         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34822         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34823         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34824         __fegetround and define as weak alias of __fegetround.  Use
34825         libm_hidden_weak.
34826         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34827         __fegetround instead of fegetround.
34829         [BZ #17782]
34830         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34831         Condition macro definition on [__USE_MISC].
34833         [BZ #17781]
34834         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34835         (struct sigaction): Change type of sa_flags field to int.
34837         [BZ #17780]
34838         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34839         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34840         __glibc_reserved0.
34842         * nptl/version.c (banner): Use single year in copyright notice.
34844         * NEWS: Update copyright dates.
34845         * catgets/gencat.c (print_version): Likewise.
34846         * csu/version.c (banner): Likewise.
34847         * debug/catchsegv.sh: Likewise.
34848         * debug/pcprofiledump.c (print_version): Likewise.
34849         * debug/xtrace.sh (do_version): Likewise.
34850         * elf/ldconfig.c (print_version): Likewise.
34851         * elf/ldd.bash.in: Likewise.
34852         * elf/pldd.c (print_version): Likewise.
34853         * elf/sotruss.sh: Likewise.
34854         * elf/sprof.c (print_version): Likewise.
34855         * iconv/iconv_prog.c (print_version): Likewise.
34856         * iconv/iconvconfig.c (print_version): Likewise.
34857         * locale/programs/locale.c (print_version): Likewise.
34858         * locale/programs/localedef.c (print_version): Likewise.
34859         * login/programs/pt_chown.c (print_version): Likewise.
34860         * malloc/memusage.sh (do_version): Likewise.
34861         * malloc/memusagestat.c (print_version): Likewise.
34862         * malloc/mtrace.pl: Likewise.
34863         * manual/libc.texinfo: Likewise.
34864         * nptl/version.c (banner): Likewise.
34865         * nscd/nscd.c (print_version): Likewise.
34866         * nss/getent.c (print_version): Likewise.
34867         * nss/makedb.c (print_version): Likewise.
34868         * posix/getconf.c (main): Likewise.
34869         * scripts/test-installation.pl: Likewise.
34870         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34872 2015-01-02  Will Newton  <will.newton@linaro.org>
34874         * sysdeps/arm/armv7/configure: Removed.
34875         * sysdeps/arm/armv7/configure.ac: Likewise.
34877 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34879         * All files with FSF copyright notices: Update copyright dates
34880         using scripts/update-copyrights.
34881         * intl/plural.c: Regenerated.
34882         * locale/programs/charmap-kw.h: Likewise.
34883         * locale/programs/locfile-kw.h: Likewise.
34885 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34887         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34889 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #17748]
34892         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34893         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34894         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34895         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34896         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34897         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34898         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34899         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34900         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34901         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34902         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34903         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34904         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34905         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34906         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34907         libm_hidden_def.
34908         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34909         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34910         Likewise.
34911         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34912         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34913         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34914         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34915         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34916         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34917         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34918         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34919         __fegetenv instead of fegetenv.
34920         (libc_feholdsetround_noex_ctx): Likewise.
34922 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34924         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34925         (Elf_MIPS_ABIFlags_v0): New structure.
34926         (EF_MIPS_FP64): Define.
34927         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34928         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34929         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34930         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34931         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34932         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34933         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34934         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34935         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34936         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34937         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34938         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34939         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34940         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34941         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34942         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34943         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34944         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34945         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34946         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34947         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34948         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34949         field.
34950         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34951         EF_MIPS_FP64.
34952         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34953         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34954         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34955         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34956         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34957         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34958         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34959         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34960         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34961         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34962         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34963         record the current FP ABI extension.
34964         (mips-mode-switch): Define to show if kernel headers support mode
34965         switching.
34966         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34967         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34968         supported SYSV ABI version to 3.
34969         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34970         feature.
34972 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34975         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34976         path.
34977         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34979 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34981         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34982         __fegetround and redefine to call __fegetround.  Remove condition
34983         on [!__NO_MATH_INLINES].
34984         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34985         function.
34986         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34987         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34988         Remove macro.
34989         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34990         instead of <fenv_libc.h>.
34991         (__llrintl): Call fegetround instead of __fegetround.
34992         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34993         instead of <fenv_libc.h>.
34994         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34995         (__lrintl): Call fegetround instead of __fegetround.
34996         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34997         instead of <fenv_libc.h>.
34998         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34999         (__rintl): Call fegetround instead of __fegetround.
35001 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35003         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35004         arrays.
35006 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35008         [BZ #17775]
35009         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35010         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35011         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35013 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35015         * sysdeps/i386/tls-macros.h: Include <features.h>.
35016         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35017         (TLS_IE): Likewise.
35018         (TLS_LD): Likewise.
35019         (TLS_GD): Likewise.
35020         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35021         define for GCC >= 5.0.
35023 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35025         * math/test-fenv.c (test_single_exception, set_single_exc,
35026         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35027         feexcp_mask_test, feenable_test, fe_single_test): Add
35028         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35029         case where they are not used.
35030         * math/libm-test.inc: Likewise.
35031         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35032         unused in the absence of FP rounding/exception support.
35033         * stdio-common/tst-printf-round.c: Likewise.
35034         * stdlib/tst-strtod-round.c: Likewise.
35035         * stdlib/tst-strtod-underflow.c: Likewise.
35037 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35039         [BZ #17723]
35040         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35041         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35042         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35043         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35044         libm_hidden_weak.
35045         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35046         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35047         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35048         libm_hidden_def.
35049         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35050         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35051         libm_hidden_weak.
35052         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35053         Likewise.
35054         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35055         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35056         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35057         libm_hidden_weak.
35058         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35059         libm_hidden_def.
35060         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35061         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35062         (__feraiseexcept): Likewise.
35063         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35064         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35065         libm_hidden_weak.
35066         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35067         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35068         libm_hidden_def.
35069         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35070         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35071         Use libm_hidden_def.
35072         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35073         libm_hidden_def.
35074         (feraiseexcept): Define as weak not strong alias.  Use
35075         libm_hidden_weak.
35076         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35077         New inline function.  Factored out of ...
35078         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35079         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35080         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35081         feraiseexcept.
35082         * math/w_acos.c (__acos): Likewise.
35083         * math/w_asin.c (__asin): Likewise.
35084         * math/w_ilogb.c (__ilogb): Likewise.
35085         * math/w_j0.c (y0): Likewise.
35086         * math/w_j1.c (y1): Likewise.
35087         * math/w_jn.c (yn): Likewise.
35088         * math/w_log.c (__log): Likewise.
35089         * math/w_log10.c (__log10): Likewise.
35090         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35091         * sysdeps/aarch64/fpu/math_private.h
35092         (libc_feupdateenv_test_aarch64): Likewise.
35093         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35094         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35095         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35096         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35097         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35098         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35099         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35100         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35101         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35102         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35104 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35106         [BZ #17732]
35107         * io/test-utime.c (main): Replace %ld with %jd and cast to
35108         intmax_t.
35109         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35110         * nptl/tst-mutex5.c: Include <stdint.h>.
35111         (do_test): Replace %ld with %jd and cast to intmax_t.
35112         * posix/tst-regex.c (run_test): Likewise.
35113         (run_test_backwards): Likewise.
35114         * rt/tst-clock.c: Include <stdint.h>.
35115         (clock_test): Replace %ld with %jd and cast to intmax_t.
35116         * rt/tst-cpuclock1.c: Include <stdint.h>.
35117         (do_test): Replace %lu with %ju and cast to uintmax_t.
35118         * rt/tst-cpuclock2.c: Include <stdint.h>.
35119         (do_test): Replace %lu with %ju and cast to uintmax_t.
35120         * rt/tst-mqueue1.c: Include <stdint.h>.
35121         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35122         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35123         intmax_t.
35124         * rt/tst-mqueue4.c (do_test): Likewise.
35125         * rt/tst-timer4.c: Include <stdint.h>.
35126         (check_ts): Replace %ld with %jd and cast to intmax_t.
35127         (do_test): Likewise.
35128         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35129         and cast to intmax_t.
35130         * sysdeps/pthread/tst-timer.c (main): Likewise.
35131         * time/clocktest.c (main): Likewise.
35132         * time/tst-posixtz.c (do_test): Likewise.
35133         * timezone/tst-timezone.c (main): Likewise.
35135 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35136             H.J. Lu  <hongjiu.lu@intel.com>
35138         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35139         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35140         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35141         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35142         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35143         version if bit_Fast_Unaligned_Load is set.
35144         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35145         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35146         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35147         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35148         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35149         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35151         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35152         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35153         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35154         to 4.
35155         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35156         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35157         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35158         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35160 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35162         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35163         instead of #if to avoid a Wundef warning.
35164         * stdlib/tst-limits.c (do_test): Likewise.
35166         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35167         parallel other exception macros.
35168         (fegetenv): Convert from macro to extern inline so that it applies
35169         retroactively to inline functions already seen by the compiler.
35170         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35172         * posix/Makefile (before-compile): Use $(objpfx) for
35173         posix-conf-vars-def.h.
35175 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35177         * posix/getconf.c (main): Use size_t for type of I.
35178         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35179         NSPEC.
35181         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35182         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35183         * posix/posix-envs.def: Likewise.
35184         * sysdeps/posix/sysconf.c: Likewise.
35185         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35186         (specs): Remove array.
35187         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35188         array.
35190         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35191         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35192         (__sysconf): Use CONF_IS_* macros.
35194         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35195         ($(objpfx)posix-conf-vars-def.h): New target.
35196         * posix/posix-conf-vars.list: New file.
35197         * posix/posix-conf-vars.h: New file.
35198         * posix/confstr.c: Include posix-conf-vars.h.
35199         (confstr): Use CONF_IS_* macros.
35200         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35201         CONF_IS_* macros.
35202         * scripts/gen-posix-conf-vars.awk: New file.
35204 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35206         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35207         fegetround): Add no-op macros to avoid linknamespace issues.
35209         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35210         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35212         * sysdeps/unix/sysv/linux/tile/sysdep.h
35213         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35214         assembly-specific section to avoid a redefinition warning.
35216         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35217         long before casting to pointer to avoid a cast warning.
35219 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35221         * sysdeps/tile/tilegx/Implies: New file.
35223 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35225         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35227 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35229         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35231 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35234         not define.
35235         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35236         <kernel-features.h>.
35237         (__utimes) [__NR_utimes]: Make code unconditional.
35238         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35239         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35240         (__ASSUME_UTIMES): Do not undefine.
35241         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35242         (__ASSUME_UTIMES): Likewise.
35243         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35244         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35245         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35246         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35248 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35250         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35252 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35254         [BZ #17747]
35255         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35256         alias to weak alias for j0l, y0l.
35257         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35258         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35260         [BZ #17746]
35261         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35262         conversion.
35264 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35266         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35267         to zero if not already defined.
35269 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35271         [BZ #17724]
35272         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35273         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35274         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35275         (char *) casts added.
35276         * sysdeps/ieee754/k_standardf.c: New file.
35277         * sysdeps/ieee754/k_standardl.c: Likewise.
35278         * math/Makefile (libm-support): Remove k_standard.
35279         (libm-calls): Add k_standard.
35281 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35283         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35284         Optimize to avoid an unnecessary FPCR read.
35286 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35288         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35289         Optimize to reduce FPCR/FPSR accesses.
35291 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35293         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35294         Call libc_fetestexcept_aarch64.
35296 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35298         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35299         Call libc_fesetround_aarch64.
35301 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35303         [BZ #17733]
35304         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35305         (__bind): Do not define as weak alias.
35306         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35307         define.
35308         (__getsockname): Do not define as weak alias.
35310 2014-12-22  Will Newton  <will.newton@linaro.org>
35312         * manual/install.texi: Document that we require bison 2.7
35313         or above.
35314         * INSTALL: Regenerate.
35315         * configure.ac: Use AC_CHECK_PROG_VER instead of
35316         AC_PATH_PROG when checking for bison and check for
35317         version 2.7 or above.
35318         * configure: Regenerate.
35320 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35322         [BZ #17745]
35323         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35324         * sysdeps/tile/ffsll.c (ffsll): To here.
35326         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35328 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35330         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35331         if not defined.
35332         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35333         definition.
35334         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35335         hidden ___tls_get_addr.
35336         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35337         hidden __tls_get_addr.
35338         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35339         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35340         Likewise.
35342 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35344         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35345         _dl_init call.
35347 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35349         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35350         from "call _dl_init@PLT".
35351         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35353 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35355         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35356         guarantees.
35358 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35360         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35362 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35364         [BZ #17744]
35365         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35366         strnlen.
35368 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35370         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35371         of multu on MIPSr6.
35372         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35373         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35374         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35375         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35376         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35378 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35380         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35381         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35382         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35383         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35384         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35385         mips32r6/mips64r6.
35386         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35388 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35390         * string/strncat.c (STRNCAT): Simplify implementation.
35392 2014-12-19  David S. Miller  <davem@davemloft.net>
35394         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35395         access the quad as both a long double and as a series of 4 words.
35397         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35398         link_map->l_info array access.
35400 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35402         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35404         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35405         * math/atest-exp2.c (TIMEOUT): Likewise.
35406         * math/atest-sincos.c (TIMEOUT): Likewise.
35408 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35410         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35411         -Wno-error with -fno-builtin-lround.
35413 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35415         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35416         Contains futex constants and functions moved over from ...
35417         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35418         <lowlevellock-futex.h>.
35419         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35420         (lll_timedwait_tid): Add comments and parentheses around macro
35421         arguments.
35423 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35425         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35426         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35427         (__lll_private_flag): Remove.
35428         (lll_futex_wait): Likewise.
35429         (lll_futex_timed_wait): Likewise.
35430         (lll_futex_wake): Likewise.
35431         (lll_futex_requeue): Likewise.
35432         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35433         (__lll_timedwait_tid): Spell out argument names.
35434         (lll_timedwait_tid): Add comments and parentheses around macro
35435         arguments.
35436         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35437         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35439 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35441         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35442         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35443         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35444         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35445         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35446         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35447         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35448         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35449         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35450         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35451         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35452         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35453         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35454         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35455         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35456         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35457         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35458         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35459         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35461 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35463         * sysdeps/x86_64/x32/Makefile: New file.
35465 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35467         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35468         1L with (mp_limb_t) 1.
35470 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35472         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35473         * nptl/libc_pthread_init.c: ... here.
35474         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35475         * nptl/register-atfork.c: ... here.
35477         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35478         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35479         Use assert_perror to check its return value.
35480         (__gai_create_helper_thread): Likewise.
35482         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35484         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35486 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35488         [BZ #17725]
35489         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35490         __profil_counter.
35491         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35492         Likewise.
35493         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35494         Likewise.
35495         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35496         Likewise.
35497         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35498         (profil_counter): Likewise.
35499         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35500         (profil_counter): Likewise.
35501         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35502         Likewise.
35503         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35504         Likewise.
35505         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35506         (profil_counter): Likewise.
35507         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35508         Likewise.
35509         [!__profil_counter] (profil_counter): Define as weak alias of
35510         __profil_counter.
35511         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35512         (profil_counter): Rename to __profil_counter.
35513         [!__profil_counter] (profil_counter): Define as weak alias of
35514         __profil_counter.
35515         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35516         (profil_counter): Rename to __profil_counter.
35517         [!__profil_counter] (profil_counter): Define as weak alias of
35518         __profil_counter.
35519         * sysdeps/posix/profil.c: Update comment referring to
35520         profil_counter.
35521         (__profil): Use __profil_counter instead of profil_counter.
35522         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35523         __profil_counter.  Use __profil_counter_ushort and
35524         __profil_counter_uint in definitions.
35525         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35526         instead of profil_counter_uint and profil_counter_ushort.
35528         [BZ #17722]
35529         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35530         define as weak alias of __inet_makeaddr.
35531         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35532         as weak alias of __inet_addr.
35533         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35534         as weak alias of __inet_pton.  Use libc_hidden_weak.
35535         * include/arpa/inet.h (__inet_pton): Declare.  Use
35536         libc_hidden_proto.
35537         (inet_makeaddr): Don't use libc_hidden_proto.
35538         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35539         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35540         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35541         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35542         Remove variable.
35543         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35544         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35546 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35548         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35550 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35552         * stdio-common/bug-vfprintf-nargs.c (do_test):
35553         Cast value to intptr_t to avoid format warning
35554         for usage with PRIdPTR printing macro.
35556 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35558         * libio/tst-widetext.c (do_test):
35559         Use format type %td instead of %Zd for ptrdiff_t
35560         in order to avoid format warning.
35562 2014-12-17  Andreas Schwab  <schwab@suse.de>
35564         * nscd/mem.c (gc): Add size_t cast to match printf format.
35566 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35568         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35569         (init): Apply PTR_MANGLE to pointers before storing them.
35570         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35571         before using them.
35573 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35575         [BZ #17719]
35576         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35577         define as weak alias of __memrchr.
35578         (__memrchr): Do not define as strong alias of memrchr.
35579         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35580         Remove variable.
35581         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35582         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35583         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35585         [BZ #17717]
35586         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35587         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35588         (if_indextoname): Rename to __if_indextoname and define as weak
35589         alias of __if_indextoname.  Use libc_hidden_weak.
35590         (if_freenameindex): Rename to __if_freenameindex and define as
35591         weak alias of __if_freenameindex.
35592         (if_nameindex): Rename to __if_nameindex and define as weak alias
35593         of __if_nameindex.
35594         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35595         __if_nametoindex and define as weak alias of __if_nametoindex.
35596         Use libc_hidden_weak.
35597         (if_freenameindex): Rename to __if_freenameindex and define as
35598         weak alias of __if_freenameindex.
35599         (if_nameindex): Rename to __if_nameindex and define as weak alias
35600         of __if_nameindex.
35601         (if_indextoname): Rename to __if_indextoname and define as weak
35602         alias of __if_indextoname.  Use libc_hidden_weak.
35603         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35604         __if_nametoindex and define as weak alias of __if_nametoindex.
35605         Use libc_hidden_weak.
35606         (if_freenameindex): Rename to __if_freenameindex and define as
35607         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35608         (if_nameindex_netlink): Use __if_freenameindex instead of
35609         if_freenameindex.
35610         (if_nameindex): Rename to __if_nameindex and define as weak alias
35611         of __if_nameindex.  Use libc_hidden_weak.
35612         (if_indextoname): Rename to __if_indextoname and define as weak
35613         alias of __if_indextoname.  Use libc_hidden_weak.
35614         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35615         libc_hidden_proto.
35616         [!_ISOMAC] (__if_freenameindex): Likewise.
35617         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35618         if_nametoindex.
35619         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35620         variable.
35621         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35622         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35623         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35624         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35625         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35626         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35627         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35629         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35630         Remove variable.
35631         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35632         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35634 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35636         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35637         subscript above bounds'
35639         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35640         bounds.
35642 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35644         * libio/tst-fopenloc.c: Use test-skeleton.c.
35646         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35647         (entry): Rename to ITEM.
35648         (do_test, comp): Adjust.
35650         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35652 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35654         * string/tester.c: Include <libc-internal.h>.
35655         (test_memset): Ignore -Wmemset-transposed-args.
35657 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35659         * misc/tst-mntent2.c (do_test): Fix warning.
35661 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35663         * elf/tst-unique4lib.cc(a): Mark as used.
35665 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35667         [BZ #17630]
35668         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35669         names.
35671 2014-12-16  Allan McRae  <allan@archlinux.org>
35673         * stdio-common/Makefile (tests): Re-add bug26.
35675 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35677         [BZ #17657]
35678         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35679         static array.
35681 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35683         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35684         (__lll_lock_wait): Likewise.
35685         (__lll_timedlock_wait): Likewise.
35686         (__lll_timedwait_tid): Likewise.
35687         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35688         (__lll_robust_timedlock_wait): Likewise.
35689         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35690         (lll_cond_trylock): Likewise.
35691         (__lll_lock): Likewise.
35692         (__lll_robust_lock): Likewise.
35693         (__lll_cond_lock): Likewise.
35694         (lll_robust_cond_lock): Likewise.
35695         (__lll_timedlock): Likewise.
35696         (__lll_robust_timedlock): Likewise.
35697         (__lll_unlock): Likewise.
35698         (__lll_robust_unlock): Likewise.
35699         (lll_wait_tid): Likewise.
35700         (lll_timedwait_tid): Likewise.
35702 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35704         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35706 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35708         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35710 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35712         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35713         * stdio-common/tst-sprintf.c: Likewise.
35715 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35717         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35719 2014-12-15  Jeff Law  <law@redhat.com>
35721         [BZ #16617]
35722         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35723         on the heap.  (CVE-2012-3406)
35724         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35725         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35726         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35728 2014-12-15  Will Newton  <will.newton@linaro.org>
35730         * manual/install.texi: Bump required version of texinfo
35731         to 4.7 from 4.5.
35732         * INSTALL: Regenerated.
35733         * configure.ac: Check for makeinfo version 4.7 and above.
35734         * configure: Regenerated.
35736 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35738         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35739         PREFIX, string constant to insert between directory and name.
35740         * sysdeps/posix/shm_open.c: Update caller.
35741         * sysdeps/posix/shm_unlink.c: Likewise.
35742         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35743         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35744         (SEM_SHM_PREFIX): New macro.
35745         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35746         [$(have-thread-library) = no].
35747         * nptl/Makefile (libpthread-routines): Add shm-directory.
35748         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35749         * sysdeps/nptl/shm-directory.h: New file.
35750         * sysdeps/posix/shm-directory.c
35751         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35752         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35753         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35754         INTERNAL_SYSCALL.
35755         (__where_is_shmfs): Function removed.
35756         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35757         Variables removed.
35758         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35759         Use SHM_GET_NAME.
35760         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35762         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35763         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35764         unconditional for use inside libpthread.
35765         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35767 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35769         * nptl/pthread_getaffinity.c: New file.
35770         * nptl/pthread_setaffinity.c: New file.
35771         * nptl/pthread_getname.c: New file.
35772         * nptl/pthread_setname.c: New file.
35774         * nptl/pthread_create.c (START_THREAD_DEFN)
35775         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35777 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35778             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35780         * resolv/res_send.c (send_vc): Disable warning resplen may
35781         be used uninitialized.
35783 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35785         * nptl/tst-mutex6.c
35786         (ATTR_NULL): New define checks ATTR against NULL.
35787         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35788         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35790 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35792         [BZ #17581]
35793         * malloc/hooks.c
35794         (mem2mem_check): Revert my previous change.
35795         (malloc_check_get_size): Revert my previous change.
35796         (mem2chunk_check): Revert my previous change.
35798 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35800         * sysdeps/posix/shm-directory.c: New file.
35801         * sysdeps/posix/shm-directory.h: New file.
35802         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35803         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35804         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35805         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35806         Transmute EPERM to EACCES.
35807         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35808         from ...
35809         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35810         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35812 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35814         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35815         pointer and cast to uintptr_t.
35816         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35817         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35818         Add cast to avoid warning.
35819         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35821 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35823         * nptl/semaphore.h: Move to ...
35824         * sysdeps/pthread/semaphore.h: ... here.
35825         * Makefile (installed-headers): Change nptl/semaphore.h to
35826         sysdeps/pthread/semaphore.h.
35828 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35830         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35831         generated error format strings.
35833         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35834         -Wformat-extra-args warnings for scanf formats.
35835         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35836         test of zero-length format (duh).
35837         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35838         corner-case scanf format test.
35839         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35840         generated fprintf format string.
35841         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35842         corner-case sprintf format tests.
35843         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35844         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35845         -Wformat-extra-args warnings throughout.
35846         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35847         (CFLAGS-scanf4.c): Likewise.
35848         (CFLAGS-scanf7.c): Likewise.
35849         (CFLAGS-tst-sprintf.c): Likewise.
35850         (CFLAGS-tst-printf.c): Likewise.
35851         (CFLAGS-tst-printfsz.c): Likewise.
35853 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35855         * include/cpio.h: New file.
35856         * include/fmtmsg.h: Likewise.
35858         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35859         corresponding format argument to size_t.
35860         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35861         arguments.
35862         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35863         corresponding format argument to size_t.
35864         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35865         arguments.
35866         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35867         corresponding format argument to size_t.
35868         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35869         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35870         (CFLAGS-tst-mbswcs2.c): Likewise.
35871         (CFLAGS-tst-mbswcs3.c): Likewise.
35872         (CFLAGS-tst-mbswcs4.c): Likewise.
35873         (CFLAGS-tst-mbswcs5.c): Likewise.
35874         (CFLAGS-tst-trans.c): Likewise.
35876 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35878         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35879         rather than assuming they won't contain any '%'s.
35881 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35883         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35884         inhibit_loop_to_libcall to avoid recursive calls.
35885         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35886         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35888 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35890         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35891         prototype.
35893 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35895         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35896         integer value instead of boolean.
35898 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35900         * malloc/malloc.c: Fix powerof2 check.
35902 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35904         * locale/programs/locfile.h (maybe_swap_uint32):
35905         Remove inline and add unused attribute.
35907 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35909         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35910         Truncating assembler expression to a .long expression.
35912 2014-12-11  Andreas Schwab  <schwab@suse.de>
35914         * elf/rtld.c (struct map_args): Constify str member.
35915         (do_preload): Constify fname argument.
35917 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35920         constants definition.
35922 2014-12-11  Andreas Schwab  <schwab@suse.de>
35924         [BZ #16657]
35925         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35926         FORCE_ELISION instead of DO_ELISION.
35927         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35928         Remove.
35929         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35930         Likewise.
35932         * iconvdata/gconv-modules: Remove duplicate entry.
35934 2014-12-11  Will Newton  <will.newton@linaro.org>
35936         Merge gettext 0.19.3 into intl/.
35938         This involves a number of cosmetic changes to comments
35939         and ANSI function definitions and prototypes throughout
35940         all the files. The gettext copyright header is used but
35941         with the date ranges taken from the glibc copy.
35943         * NEWS: Add gettext merge to 2.21.
35944         * intl/bindtextdom.c: Switch to gettext copyright.
35945         Use ANSI definitions and prototypes.
35946         Use gl_* locking primitives rather than __libc_* ones.
35947         Use __builtin_expect rather than __glibc_likely/unlikely.
35948         * intl/dcgettext.c: Switch to gettext copyright.
35949         Use ANSI definitions and prototypes.
35950         * intl/dcigettext.c: Switch to gettext copyright.
35951         Use ANSI definitions and prototypes.
35952         (INTDIV0_RAISES_SIGFPE): New define.
35953         Use gl_* locking primitives rather than __libc_* ones.
35954         Include eval-plural.h instead of plural-eval.c.
35955         Use __builtin_expect rather than __glibc_likely/unlikely.
35956         * intl/dcngettext.c: Switch to gettext copyright.
35957         Use ANSI definitions and prototypes.
35958         * intl/dgettext.c: Likewise.
35959         * intl/dngettext.c: Likewise.
35960         * intl/plural-eval.c: Renamed to...
35961         * intl/eval-plural.h: ...this.
35962         * intl/explodename.c: Switch to gettext copyright.
35963         Use ANSI definitions and prototypes.
35964         (_nl_explode_name): Use strchr instead of __rawmemchr.
35965         * intl/finddomain.c: Switch to gettext copyright.
35966         Use ANSI definitions and prototypes.
35967         Use gl_* locking primitives rather than __libc_* ones.
35968         (_nl_find_domain): Use malloc rather than alloca for
35969         allocation of temporary locale name.
35970         * intl/gettext.c: Switch to gettext copyright.
35971         Use ANSI definitions and prototypes.
35972         * intl/gettextP.h: Switch to gettext copyright.
35973         Use ANSI definitions and prototypes.
35974         Use gl_* locking primitives rather than __libc_* ones.
35975         * intl/gmo.h: Switch to gettext copyright.
35976         (struct sysdep_string): Move struct segment_pair outside of
35977         struct definition.
35978         * intl/hash-string.c: Use ANSI definitions and prototypes.
35979         * intl/hash-string.h: Switch to gettext copyright.
35980         Use ANSI definitions and prototypes.
35981         * intl/l10nflist.c: Switch to gettext copyright.
35982         Use ANSI definitions and prototypes.
35983         (_nl_normalize_codeset): Avoid integer overflow.
35984         * intl/loadinfo.h: Switch to gettext copyright.
35985         Use ANSI definitions and prototypes.
35986         (LIBINTL_DLL_EXPORTED): New define.
35987         (PATH_SEPARATOR): New define.
35988         * intl/loadmsgcat.c: Switch to gettext copyright.
35989         * intl/localealias.c: Switch to gettext copyright.
35990         Use ANSI definitions and prototypes.
35991         (_nl_expand_alias): Use PATH_SEPARATOR.
35992         * intl/ngettext.c: Switch to gettext copyright.
35993         Use ANSI definitions and prototypes.
35994         * intl/plural-exp.c: Likewise.
35995         * intl/plural-exp.h: Switch to gettext copyright.
35996         Use ANSI definitions and prototypes.
35997         (struct expression): Move definition of enum operator outside
35998         of struct definition.
35999         * intl/plural.c: Regenerate.
36000         * intl/plural.y: Switch to gettext copyright.
36001         Use ANSI definitions and prototypes.
36002         Port to bison 3.0.
36003         * intl/textdomain.c: Switch to gettext copyright.
36004         Use ANSI definitions and prototypes.
36005         Use gl_* locking primitives rather than __libc_* ones.
36007 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36009         * debug/warning-nop.c: Add used atrribute.
36011 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36013         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36015         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36016         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36017         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36019 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36020             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36022         [BZ #17634]
36023         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36024         Undefine after defining function.  Define as weak alias of
36025         __wcschr.  Use libc_hidden_weak.
36026         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36027         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36028         (libc_hidden_def): Also define __GI___wcschr alias.
36029         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36030         __wcschr and define as weak alias of __wcschr.
36031         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36032         __wcschr.
36033         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36034         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36035         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36036         libc_hidden_weak.  Do not use libc_hidden_def.
36037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36038         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36039         __GI___wcschr alias.
36040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36041         [IS_IN (libc)] (wcschr): Define as macro expanding to
36042         __redirect_wcschr.
36043         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36044         [IS_IN (libc)] (__wcschr_power6): Likewise.
36045         [IS_IN (libc)] (__wcschr_power7): Likewise.
36046         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36047         instead of wcschr.
36048         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36049         __libc_wcschr.
36050         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36051         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36052         __wcschr and define as weak alias of __wcschr.  Use
36053         libc_hidden_builtin_def.
36054         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36055         as weak alias of __wcschr.  Use libc_hidden_weak.
36056         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36057         wcschr.
36058         * time/era.c (_nl_init_era_entries): Likewise.
36059         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36060         variable.
36061         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36062         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36064 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36066         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36067         format for long int variable.
36069 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36071         [BZ #10672]
36072         * manual/search.texi: (Array Sort Function): Remove claim how to make
36073         qsort stable.
36075 2014-12-10  Andreas Schwab  <schwab@suse.de>
36077         [BZ #12847]
36078         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36079         user-controlled locks.
36081 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36083         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36084         register.
36086 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36088         * configure.ac (--disable-werror): New configure option.
36089         (enable_werror): New AC_SUBST.
36090         * configure: Regenerated.
36091         * config.make.in (enable-werror): New variable.
36092         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36093         -Wno-error=undef.
36094         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36095         * manual/install.texi (Configuring and compiling): Document
36096         --disable-werror.
36097         * INSTALL: Regenerated.
36098         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36099         (CFLAGS-tst-chk2.c): Likewise.
36100         (CFLAGS-tst-chk3.c): Likewise.
36101         (CFLAGS-tst-chk4.cc): Likewise.
36102         (CFLAGS-tst-chk5.cc): Likewise.
36103         (CFLAGS-tst-chk6.cc): Likewise.
36104         (CFLAGS-tst-lfschk1.c): Likewise.
36105         (CFLAGS-tst-lfschk2.c): Likewise.
36106         (CFLAGS-tst-lfschk3.c): Likewise.
36107         (CFLAGS-tst-lfschk4.cc): Likewise.
36108         (CFLAGS-tst-lfschk5.cc): Likewise.
36109         (CFLAGS-tst-lfschk6.cc): Likewise.
36111         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36112         (main): Disable -Wdeprecated-declarations around calls to
36113         register_printf_function.
36115         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36116         (do_test): Disable -Wdiv-by-zero around some calls to
36117         fwrite_unlocked and fread_unlocked.
36119         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36120         (DIAG_POP_NEEDS_COMMENT): Likewise.
36121         (_DIAG_STR1): Likewise.
36122         (_DIAG_STR): Likewise.
36123         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36124         * stdio-common/bug21.c: Include <libc-internal.h>.
36125         (do_test): Disable -Wformat around call to sscanf.
36126         * stdio-common/scanf14.c: Include <libc-internal.h>.
36127         (main): Disable -Wformat around some calls to scanf functions.
36129 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36131         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36133 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36135         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36136         stack variable alignment.
36138 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36140         [BZ #17682]
36141         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36142         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36143         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36144         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36145         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36146         __getrlimit instead of getrlimit.
36147         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36148         __gettimeofday instead of gettimeofday.
36149         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36150         Likewise.
36151         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36152         Likewise.
36153         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36154         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36155         Remove variable.
36156         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36157         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36159 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36161         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36162         for wide-character tests.
36164 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36166         * io/openat64.c: #include <libc-internal.h>
36167         (__openat64): Prototypify.  Use ignore_value on MODE.
36168         * io/openat.c: Likewise.
36169         * misc/reboot.c: #include <libc-internal.h>
36170         (reboot): Prototypify.  Use ignore_value on HOWTO.
36171         * misc/ptrace.c: #include <libc-internal.h>
36172         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36174 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36176         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36177         XPG4, UNIX98 and XOPEN2K.
36178         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36179         Remove variable.
36180         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36182 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36184         * libio/fileops.c: Use ISO C style for function definitions.
36185         * libio/iofopen.c: Likewise.
36186         * libio/wfileops.c: Likewise.
36188         [BZ #17653]
36189         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36190         offset on EOF.
36191         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36192         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36193         (fgets_func): Function pointer to fgets and fgetws.
36194         (do_ftell_test): Add test to verify ftell value after read
36195         EOF.
36196         (do_test): Set fgets_func.
36198         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36199         O_TRUNC flag for w and w+ modes.
36200         (do_rewind_test): Likewise.
36201         (do_ftell_test): Likewise.
36202         (do_write_test): Likewise.
36204         [BZ #17647]
36205         * libio/fileops.c (do_ftell): Seek only when there are
36206         unflushed writes.
36207         * libio/wfileops.c (do_ftell_wide): Likewise.
36208         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36209         test case.
36210         (do_one_test): Call it.
36212 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36214         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36215         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36216         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36217         Remove variable.
36218         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36219         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36220         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36222 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36224         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36225         Remove variable.
36226         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36228         [BZ #17668]
36229         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36230         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36231         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36232         __freeifaddrs.  Use libc_hidden_weak.
36233         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36234         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36235         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36236         __freeifaddrs.  Use libc_hidden_weak.
36237         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36238         __getifaddrs and define as weak alias of __getifaddrs.  Use
36239         libc_hidden_weak.
36240         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36241         __freeifaddrs.  Use libc_hidden_weak.
36242         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36243         Remove variable.
36244         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36245         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36247 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36249         [BZ #17601]
36250         * sysdeps/mips/start.S (__start): Use indirect jump to call
36251         __libc_start_main.
36253 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36255         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36257         * nptl/tst-mutex1.c: Include <stdbool.h>.
36258         [!ATTR] (ATTR_NULL): New macro.
36259         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36260         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36261         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36263         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36264         to char *.
36266         [BZ #17665]
36267         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36268         Change conditional to [__USE_MISC].
36270         [BZ #17664]
36271         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36272         fgets_unlocked.
36273         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36274         __fgets_unlocked.
36275         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36276         fgets_unlocked.
36277         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36278         Remove variable.
36279         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36280         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36281         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36282         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36283         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36284         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36285         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36286         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36287         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36289         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36291 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36294         Remove strpbrk objects.
36295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36296         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36297         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36298         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36299         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36300         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36303         Remove strcspn objects.
36304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36305         (__libc_ifunc_impl_list): Remove strcspn implementation.
36306         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36307         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36308         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36309         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36312         Remove strspn objetcs.
36313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36314         (__libc_ifunc_impl_list): Remove strspn implementation.
36315         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36316         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36317         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36318         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36320 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36322         [BZ #17581]
36323         * malloc/hooks.c
36324         (mem2mem_check): Add a terminator to the chain of checking blocks.
36325         (malloc_check_get_size): Use it here.
36326         (mem2chunk_check): Ditto.
36328 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36330         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36331         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36333 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36335         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36337         * nptl/nptl-init.c: Include libc-internal.h.
36338         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36340         * elf/ldconfig.c (search_dir): Expand comment.
36342 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36344         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36345         variable.
36346         (linknamespace-symlist-stdlibs-tests): Likewise.
36347         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36348         instead of $(objpfx)symlist-stdlibs.
36349         (linknamespace-libs-isoc): New variable.
36350         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36351         (linknamespace-libs-ISO): New variable.
36352         (linknamespace-libs-ISO99): Likewise.
36353         (linknamespace-libs-ISO11): Likewise.
36354         (linknamespace-libs-XPG3): Likewise.
36355         (linknamespace-libs-XPG4): Likewise.
36356         (linknamespace-libs-POSIX): Likewise.
36357         (linknamespace-libs-UNIX98): Likewise.
36358         (linknamespace-libs-XOPEN2K): Likewise.
36359         (linknamespace-libs-POSIX2008): Likewise.
36360         (linknamespace-libs-XOPEN2K8): Likewise.
36361         ($(objpfx)symlist-stdlibs): Replace by
36362         $(linknamespace-symlist-stdlibs-tests).  Use
36363         $(linknamespace-libs-$*) as set of libraries.
36364         ($(linknamespace-header-tests)): Update dependencies.  Use
36365         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36366         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36367         * conform/linknamespace.pl: Remove comment about considering
36368         definitions of symbols from irrelevant libraries.
36370 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36372         [BZ #13862]
36373         * elf/dl-tls.c: Include <atomic.h>.
36374         (oom): Remove #ifdef SHARED/#endif.
36375         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36376         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36377         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36378         big enough.
36379         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36380         * nptl/Makefile (tests): Add tst-stack4.
36381         (modules-names): Add tst-stack4mod.
36382         ($(objpfx)tst-stack4): New.
36383         (tst-stack4mod.sos): Likewise.
36384         ($(objpfx)tst-stack4.out): Likewise.
36385         ($(tst-stack4mod.sos)): Likewise.
36386         (clean): Likewise.
36387         * nptl/tst-stack4.c: New file.
36388         * nptl/tst-stack4mod.c: Likewise.
36390 2014-11-27  J. Brown  <jb999@gmx.de>
36392         * sysdeps/x86/bits/string.h: Add recent CPUs.
36394 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36396         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36397         sigblock.
36399         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36400         feof.
36402         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36403         variable.
36405 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36407         * nscd/connections.c: Include libc-internal.h because of macro
36408         usage ignore_value.
36410 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         * string/bits/string3.h (__warn_memset_zero_len): Don't
36413         declare for gcc newer than 5.0.
36414         (memset): Don't test for zero-length __LEN for gcc newer than
36415         5.0.
36417 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36419         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36420         size_t for %zu format.
36422         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36423         difference, not %ju.
36425 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36427         * include/libc-internal.h (ignore_value): New macro.
36428         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36429         with ignore_value.
36431         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36432         definition.
36434         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36435         pthread_cleanup_push to void *.
36437         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36438         Undefine.
36440         [BZ #16619]
36441         [BZ #16740]
36442         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36443         instead of 1L << 52.
36445         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36446         * libio/bug-rewind2.c (do_test): Likewise.
36448         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36449         * debug/test-strcpy_chk-ifunc.c: Likewise.
36450         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36451         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36452         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36453         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36454         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36455         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36456         * Rules [$(multi-arch) = no] (tests): Do not filter out
36457         $(tests-ifunc).
36458         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36459         * debug/Makefile (tests-ifunc): Remove variable.
36460         (tests): Do not add $(tests-ifunc).
36461         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36462         (tests): Do not add $(tests-ifunc).
36463         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36464         [TEST_IFUNC]: Remove conditionals.
36465         * string/test-string.h (TEST_IFUNC): Remove macro.
36466         [TEST_IFUNC]: Remove conditionals.
36468         * string/test-strchr.c [!WIDE] (L): New macro.
36469         [WIDE] (L): Likewise.
36470         (check1): Use CHAR instead of char.  Use L on string and character
36471         constants.
36473 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36475         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36476         tests.
36477         * sysdeps/powerpc/bits/atomic.h
36478         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36479         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36480         (atomic_exchange_and_add_acq): Likewise.
36481         (atomic_exchange_and_add_rel): Likewise.
36482         * sysdeps/powerpc/powerpc32/bits/atomic.h
36483         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36484         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36485         * sysdeps/powerpc/powerpc64/bits/atomic.h
36486         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36487         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36489 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36491         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36492         Change synchronization of __sched_fifo_min_prio and
36493         __sched_fifo_max_prio.
36494         * nptl/pthread_mutexattr_getprioceiling.c
36495         (pthread_mutexattr_getprioceiling): Likewise.
36496         * nptl/pthread_mutexattr_setprioceiling.c
36497         (pthread_mutexattr_setprioceiling): Likewise.
36498         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36499         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36500         Likewise.
36502 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36504         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36505         void.
36507 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36509         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36510         third argument const.
36512 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36514         fnmatch: work around GCC compiler warning bug with uninit var
36515         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36516         This works around a bug with x86-64 GCC 4.9.2 and earlier
36517         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36518         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36519         used uninitialized in this function [-Wmaybe-uninitialized]".
36521 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36523         * posix/bug-regex31.c (main): Return RES not 0.
36525 2014-11-25  Anton Blanchard <anton@samba.org>
36527         * sysdeps/powerpc/bits/atomic.h
36528         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36530 2014-11-24  Sterling Augustine  <saugustine@google.com>
36532         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36534 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36536         [BZ #17608]
36537         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36539 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36541         [BZ #17633]
36542         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36543         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36544         variable.
36545         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36546         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36548 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36550         * string/strncpy.c (strncpy): Improve performance by using memset.
36552 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36554         * string/strcpy.c (strcpy):
36555         Improve performance by using strlen and memcpy.
36557 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36559         * string/strcoll_l.c (get_next_seq): __always_inline.
36560         * string/strcoll_l.c (do_compare): __always_inline.
36562 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36565         defined.
36566         * include/mqueue.h: Likewise.
36567         * include/stdlib.h: Likewise.
36569         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36570         (get_null_defines): Adjust.
36571         * sunrpc/Makefile: Adjust comment.
36572         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36573         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36574         (CFLAGS-interp.c): Likewise.
36575         (CFLAGS-ldconfig.c): Likewise.
36576         (CPPFLAGS-.os): Likewise.
36577         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36578         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36579         * extra-modules.mk (extra-modules.mk): Likewise.
36580         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36581         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36582         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36583         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36584         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36585         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36586         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36587         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36588         * iconvdata/Makefile (CPPFLAGS): Likewise.
36589         (cpp-srcs-left): Add libof for all iconvdata routines.
36590         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36591         * include/assert.h: Likewise.
36592         * include/ctype.h: Likewise.
36593         * include/errno.h: Likewise.
36594         * include/libc-symbols.h: Likewise.
36595         * include/math.h: Likewise.
36596         * include/netdb.h: Likewise.
36597         * include/resolv.h: Likewise.
36598         * include/stdio.h: Likewise.
36599         * include/stdlib.h: Likewise.
36600         * include/string.h: Likewise.
36601         * include/sys/stat.h: Likewise.
36602         * include/wctype.h: Likewise.
36603         * intl/l10nflist.c: Likewise.
36604         * libidn/idn-stub.c: Likewise.
36605         * libio/libioP.h: Likewise.
36606         * nptl/libc_multiple_threads.c: Likewise.
36607         * nptl/pthreadP.h: Likewise.
36608         * posix/regex_internal.h: Likewise.
36609         * resolv/res_hconf.c: Likewise.
36610         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36611         * sysdeps/arm/memmove.S: Likewise.
36612         * sysdeps/arm/sysdep.h: Likewise.
36613         * sysdeps/generic/_itoa.h: Likewise.
36614         * sysdeps/generic/symbol-hacks.h: Likewise.
36615         * sysdeps/gnu/errlist.awk: Likewise.
36616         * sysdeps/gnu/errlist.c: Likewise.
36617         * sysdeps/i386/i586/memcpy.S: Likewise.
36618         * sysdeps/i386/i586/memset.S: Likewise.
36619         * sysdeps/i386/i686/memcpy.S: Likewise.
36620         * sysdeps/i386/i686/memmove.S: Likewise.
36621         * sysdeps/i386/i686/mempcpy.S: Likewise.
36622         * sysdeps/i386/i686/memset.S: Likewise.
36623         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36624         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36625         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36626         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36627         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36628         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36629         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36630         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36631         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36632         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36633         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36634         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36635         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36636         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36637         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36638         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36639         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36640         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36641         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36642         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36643         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36644         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36645         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36646         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36647         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36648         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36649         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36650         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36651         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36652         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36653         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36654         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36656         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36659         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36660         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36661         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36662         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36663         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36664         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36665         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36666         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36667         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36668         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36669         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36670         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36671         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36672         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36673         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36674         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36675         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36676         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36677         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36678         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36679         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36680         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36681         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36682         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36683         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36684         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36685         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36686         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36687         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36688         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36689         * sysdeps/posix/closedir.c: Likewise.
36690         * sysdeps/posix/opendir.c: Likewise.
36691         * sysdeps/posix/readdir.c: Likewise.
36692         * sysdeps/posix/rewinddir.c: Likewise.
36693         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36694         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36695         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36696         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36697         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36698         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36699         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36700         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36701         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36705         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36706         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36707         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36708         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36709         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36710         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36712         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36713         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36714         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36715         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36716         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36718         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36721         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36728         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36729         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36730         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36731         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36732         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36733         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36734         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36735         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36737         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36738         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36739         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36740         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36741         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36742         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36743         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36744         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36747         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36748         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36750         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36751         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36752         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36753         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36754         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36755         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36756         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36757         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36758         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36759         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36760         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36761         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36762         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36763         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36764         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36765         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36766         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36767         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36768         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36769         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36770         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36771         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36772         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36773         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36774         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36775         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36776         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36777         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36778         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36779         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36780         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36781         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36782         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36783         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36784         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36785         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36789         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36790         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36791         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36792         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36793         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36794         * sysdeps/unix/alpha/sysdep.S: Likewise.
36795         * sysdeps/unix/alpha/sysdep.h: Likewise.
36796         * sysdeps/unix/make-syscalls.sh: Likewise.
36797         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36798         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36799         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36800         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36801         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36802         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36803         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36804         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36805         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36806         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36808         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36810         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36811         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36812         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36813         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36814         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36815         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36816         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36817         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36818         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36819         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36820         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36821         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36822         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36823         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36826         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36827         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36831         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36832         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36835         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36836         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36837         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36838         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36839         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36840         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36841         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36842         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36844         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36845         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36847         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36848         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36849         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36850         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36851         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36852         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36853         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36854         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36855         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36856         * sysdeps/x86_64/memcpy.S: Likewise.
36857         * sysdeps/x86_64/memmove.c: Likewise.
36858         * sysdeps/x86_64/memset.S: Likewise.
36859         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36860         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36861         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36862         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36863         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36864         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36865         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36866         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36867         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36868         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36869         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36870         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36871         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36872         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36873         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36874         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36875         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36876         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36877         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36878         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36879         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36880         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36881         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36882         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36883         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36884         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36885         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36886         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36887         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36888         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36889         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36890         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36891         * sysdeps/x86_64/strcmp.S: Likewise.
36893         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36895         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36896         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36897         * elf/rtld-Rules: Likewise.
36898         * elf/setup-vdso.h: Likewise.
36899         * include/assert.h: Likewise.
36900         * include/bits/stdlib-float.h: Likewise.
36901         * include/errno.h: Likewise.
36902         * include/sys/stat.h: Likewise.
36903         * include/unistd.h: Likewise.
36904         * sysdeps/aarch64/setjmp.S: Likewise.
36905         * sysdeps/alpha/setjmp.S: Likewise.
36906         * sysdeps/arm/__longjmp.S: Likewise.
36907         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36908         * sysdeps/arm/setjmp.S: Likewise.
36909         * sysdeps/arm/sysdep.h: Likewise.
36910         * sysdeps/generic/_itoa.h: Likewise.
36911         * sysdeps/generic/dl-sysdep.h: Likewise.
36912         * sysdeps/generic/ldsodefs.h: Likewise.
36913         * sysdeps/i386/dl-tls.h: Likewise.
36914         * sysdeps/i386/setjmp.S: Likewise.
36915         * sysdeps/m68k/setjmp.c: Likewise.
36916         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36917         * sysdeps/mach/hurd/opendir.c: Likewise.
36918         * sysdeps/posix/getcwd.c: Likewise.
36919         * sysdeps/posix/opendir.c: Likewise.
36920         * sysdeps/posix/profil.c: Likewise.
36921         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36922         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36923         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36924         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36925         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36926         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36928         * sysdeps/s390/dl-tls.h: Likewise.
36929         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36930         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36931         * sysdeps/sh/sh3/setjmp.S: Likewise.
36932         * sysdeps/sh/sh4/setjmp.S: Likewise.
36933         * sysdeps/unix/alpha/sysdep.h: Likewise.
36934         * sysdeps/unix/arm/sysdep.S: Likewise.
36935         * sysdeps/unix/i386/sysdep.S: Likewise.
36936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36937         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36938         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36939         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36941         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36942         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36943         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36944         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36945         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36946         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36947         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36948         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36951         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36954         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36955         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36959         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36960         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36961         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36963         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36964         * sysdeps/x86_64/setjmp.S: Likewise.
36966         * include/math.h: Use IS_IN instead of IS_IN_libm.
36967         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36968         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36970         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36971         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36972         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36973         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36974         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36975         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36976         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36977         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36978         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36979         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36980         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36981         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36982         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36983         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36984         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36985         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36986         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36987         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36988         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36989         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36990         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36991         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36992         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36993         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36994         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36995         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36996         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36997         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36998         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36999         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37001         Likewise.
37002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37003         Likewise.
37004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37005         Likewise.
37006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37007         Likewise.
37008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37009         Likewise.
37010         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37011         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37012         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37013         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37014         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37015         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37021         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37022         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37023         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37024         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37026         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37027         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37028         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37029         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37030         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37031         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37032         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37034         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37036         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37038         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37039         * nptl/pthreadP.h: Likewise.
37040         * nptl_db/structs.def: Likewise.
37041         * sysdeps/arm/sysdep.h: Likewise.
37042         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37043         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37044         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37045         * sysdeps/unix/alpha/sysdep.h: Likewise.
37046         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37047         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37048         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37049         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37050         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37051         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37052         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37053         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37054         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37055         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37056         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37057         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37058         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37059         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37064         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37067         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37068         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37069         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37070         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37071         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37073         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37074         * nptl/pthreadP.h: Likewise.
37075         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37076         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37077         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37078         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37079         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37080         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37081         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37082         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37083         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37084         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37085         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37086         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37088         Likewise.
37089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37090         Likewise.
37091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37093         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37096         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37097         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37098         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37100         * dlfcn/dladdr.c: Use IS_IN.
37101         * dlfcn/dladdr1.c: Likewise.
37102         * dlfcn/dlclose.c: Likewise.
37103         * dlfcn/dlerror.c: Likewise.
37104         * dlfcn/dlinfo.c: Likewise.
37105         * dlfcn/dlmopen.c: Likewise.
37106         * dlfcn/dlopen.c: Likewise.
37107         * dlfcn/dlsym.c: Likewise.
37108         * dlfcn/dlvsym.c: Likewise.
37110         * include/ifaddrs.h: Use IS_IN.
37111         * inet/check_pf.c: Likewise.
37112         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37113         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37115         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37116         IS_IN_ldconfig.
37117         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37118         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37120         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37121         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37122         IS_IN (libc).
37124         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37126         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37127         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37128         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37129         * include/libc-symbols.h (IS_IN_LIB): New macro.
37130         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37131         * include/netdb.h: Likewise.
37132         * include/stap-probe.h: Remove all uses of IN_LIB.
37134         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37135         instead of IN_MODULE.
37136         * include/libc-symbols.h (IN_MODULE): Define using
37137         MODULE_NAME.
37138         (PASTE_NAME, PASTE_NAME1): New macros.
37139         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37140         of IN_LIB.
37141         (STAP_PROBE_ASM): Likewise.
37143 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37145         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37146         __mach_init in dlopened libc.
37148 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37150         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37151         * sysdeps/arm/preconfigure: Regenerate.
37153 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37155         * nptl/pthread_create.c (__pthread_create_2_1): Set
37156         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37157         when copying values from IATTR into PD.
37159 2014-11-21  Will Newton  <will.newton@linaro.org>
37160             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37162         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37163         Refactor inline-asm.  Also add comment.
37165         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37166         ElfW macro instead of hardcoded Elf64 types.
37167         (la_aarch64_gnu_pltenter): Likewise.
37168         * sysdeps/aarch64/dl-machine.h
37169         (elf_machine_runtime_setup): Use ElfW(Addr).
37171         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37172         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37173         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37174         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37175         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37176         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37177         (R_AARCH64_TLS_DTPMOD): This.
37178         (R_AARCH64_TLS_DTPREL64): Rename to ...
37179         (R_AARCH64_TLS_DTPREL): This.
37180         (R_AARCH64_TLS_TPREL64): Rename to ...
37181         (R_AARCH64_TLS_TPREL): This.
37182         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37183         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37184         R_AARCH64_TLS_TPREL64.
37185         (elf_machine_rela): Likewise.
37187 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37189         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37190         by setting it to 0.  64b atomics are not supported currently.
37192 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37194         [BZ #16469]
37195         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37196         search domain names.
37198 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37200         [BZ #16469]
37201         * NEWS: Update.
37202         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37203         trailing dot.
37204         * posix/tst-getaddrinfo5.c: New.
37205         * posix/Makefile (tests): Add it.
37207 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37209         [BZ #14498]
37210         * NEWS: Fixed.
37211         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37212         after parsing line but before break_if_match.
37213         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37214         if there is a protocol mismatch.
37216 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37218         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37219         because the potential race is on the user-supplied stream.
37221 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37223         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37224         string literal if not passed a buffer.
37225         * manual/job.texi (ctermid): Update reasoning, note deviation
37226         from posix, suggest mtasurace when not passed a buffer, for
37227         future non-preliminary safety notes.
37229 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37231         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37232         of not passing it a buffer.
37233         Reported by Peng Haitao.
37235 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37237         * manual/Makefile ($(objpfx)stamp-summary): Require
37238         check-safety.sh to pass.
37239         * manual/check-safety.sh: Wish for verification that every
37240         @deftypefn and @deftypefun is followed by a @safety remark.
37242 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37244         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37246         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37247         PTHREAD_CANCEL_ASYNCHRONOUS.
37248         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37249         send SIGCANCEL.
37251         * nptl/default-sched.h: New file.
37252         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37253         * nptl/pthread_create.c: Include it.
37254         (__pthread_create_2_1): Use collect_default_sched instead of making
37255         Linux syscalls here directly.
37257 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37259         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37260         __pthread_once): Use C11 atomics.
37262 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37264         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37266 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37268         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37269         atomic_thread_fence_acquire, atomic_thread_fence_release,
37270         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37271         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37272         atomic_compare_exchange_weak_relaxed,
37273         atomic_compare_exchange_weak_acquire,
37274         atomic_compare_exchange_weak_release,
37275         atomic_exchange_acquire, atomic_exchange_release,
37276         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37277         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37278         atomic_fetch_and_acquire,
37279         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37281 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37283         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37284         USE_ATOMIC_COMPILER_BUILTINS): Define.
37285         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37287         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37289         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37291         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37293         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37295         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37297         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37299         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37301         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37303         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37305         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37307         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37309         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37311         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37313         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37315         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37317         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37319         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37320         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37321         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37323         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37326 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37328         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37329         the sched_priority value here.  It was already checked when the user
37330         called pthread_attr_setschedparam.
37332         * nptl/tst-bad-schedattr.c: New file.
37333         * nptl/Makefile (tests): Add it.
37335 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37336             Florian Weimer  <fweimer@redhat.com>
37337             Joseph Myers  <joseph@codesourcery.com>
37338             Adam Conrad  <adconrad@0c3.net>
37339             Andreas Schwab  <schwab@suse.de>
37340             Brooks  <bmoses@google.com>
37342         [BZ #17625]
37343         * wordexp-test.c (__dso_handle): Add prototype.
37344         (__register_atfork): Likewise.
37345         (__app_register_atfork): New function.
37346         (registered_forks): New global.
37347         (register_fork): New function.
37348         (test_case): Add 3 new tests for WRDE_CMDSUB.
37349         (main): Call __app_register_atfork.
37350         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37351         fork count is non-zero fail the test.
37352         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37353         is set.
37354         (parse_dollars): Remove check for WRDE_NOCMD.
37355         (parse_dquote): Likewise.
37357 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37359         * Makeconfig (built-modules): List non-library modules to be
37360         built.
37361         (module-cppflags): Include libc-modules.h for
37362         everything except shlib-versions.v.i.
37363         (CPPFLAGS): Use it.
37364         (before-compile): Add libc-modules.h.
37365         ($(common-objpfx)libc-modules.h,
37366         $(common-objpfx)libc-modules.stmp): New targets.
37367         (common-generated): Add libc-modules.h and libc-modules.stmp.
37368         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37369         * include/libc-symbols.h: Don't include libc-modules.h.
37370         * include/libc-modules.h: Remove file.
37371         * scripts/gen-libc-modules.awk: New script to generate
37372         libc-modules.h.
37373         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37374         Depend on libc-modules.stmp.
37376         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37378         * Makeconfig (in-module): Get value of libof set for the
37379         translation unit.
37380         (CPPFLAGS): Use $(in-module).
37381         * Makerules: Don't suffix routine names for nonlib.
37382         * include/libc-modules.h: New file.
37383         * include/libc-symbols.h: Include libc-modules.h
37384         (IS_IN): New macro to replace IS_IN_* macros.
37385         * elf/Makefile: Set libof-* for each routine.
37386         * elf/rtld-Rules: Likewise.
37387         * extra-modules.mk: Likewise.
37388         * iconv/Makefile: Likewise.
37389         * iconvdata/Makefile: Likewise.
37390         * locale/Makefile: Likewise.
37391         * malloc/Makefile: Likewise.
37392         * nss/Makefile: Likewise.
37393         * sysdeps/gnu/Makefile: Likewise.
37394         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37395         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37396         * sysdeps/s390/s390-64/Makefile: Likewise.
37397         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37398         CPPFLAGS for nscd instead of nonlib.
37400 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37402         * nptl/createthread.c: New file.
37404         * nptl/createthread.c: Moved ...
37405         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37407         * nptl/createthread.c: Add proper top-line comment.
37408         (do_clone): Folded into ...
37409         (create_thread): ... here.  Take new arguments STOPPED_START and
37410         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37411         increment __nptl_threads, do event-reporting logic, do
37412         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37413         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37414         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37415         just send SIGCANCEL.
37416         * nptl/pthread_create.c: Forward-declare create_thread before
37417         including createthread.c.
37418         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37419         declaration, and new macro START_THREAD_SELF to replace argument.
37420         Remove return statement.
37421         (report_thread_creation): New function.
37422         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37423         synchronization logic, and __nptl_nthreads increment here, around
37424         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37425         PD->parent_cancelhandling here, before create_thread.  When
37426         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37427         __deallocate_stack, and ENOMEM translation here.
37429 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37431         [BZ #17616]
37432         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37433         (mptwo): Rename to __mptwo.
37434         (__inv): Use __mptwo instead of mptwo.
37435         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37436         (mptwo): Rename to __mptwo.
37437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37438         of mpone and __mptwo instead of mptwo.
37439         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37440         instead of mpone.
37441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37442         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37443         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37444         of mpone and __mptwo instead of mptwo.
37445         (__mpranred): Use __mpone instead of mpone.
37446         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37447         variable.
37448         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37449         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37450         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37451         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37452         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37453         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37454         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37455         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37456         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37457         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37458         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37459         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37460         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37461         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37462         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37463         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37464         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37465         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37466         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37468 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37470         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37471         replace BSD Handler xref with BSD Signal Handling.
37473 2014-11-17  Richard Henderson  <rth@redhat.com>
37475         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37476         (_FP_PACK_RAW_2): Remove.
37477         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37478         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37479         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37480         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37481         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37482         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37483         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37484         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37485         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37486         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37487         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37488         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37489         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37490         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37491         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37492         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37494 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37496         * signal/signal.h [__USE_MISC]
37497         (struct sigvec): Remove type.
37498         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37499         (sigvec): Remove declaration.
37500         * sysdeps/posix/sigvec.c: Moved ...
37501         * signal/sigvec.c: ... here, replacing old file.
37502         (struct sigvec): New type, copied from old signal.h definition.
37503         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37504         (__sigvec): Convert definition to prototype.
37505         (sigvec): Replace weak_alias with compat_symbol.
37506         * signal/Versions (libc: GLIBC_2.21): New version set.
37507         * include/signal.h: Remove __sigvec declaration.
37508         * sysdeps/unix/bsd/sigvec.c: Remove file.
37509         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37510         * manual/signal.texi (BSD Handler): Remove subsection.
37511         Move siginterrupt up to ...
37512         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37513         (Blocking in BSD): Fold subsection into its parent.
37514         * NEWS: Mention sigvec removal.
37516 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37518         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37519         (DLA_FMS): Make definition conditional only on [__FMA4__].
37520         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37521         definition.
37523         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37524         Make definition conditional only on [PROF].
37525         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37526         definition.
37527         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37528         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37530         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37531         !__GNUC__].
37532         * include/signal.h (__sigpause): Move declaration above call to
37533         libc_hidden_proto.
37534         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37535         variable.
37536         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37537         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37539 2014-11-14  David S. Miller  <davem@davemloft.net>
37541         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37542         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37544 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37546         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37547         * configure: Regenerated.
37548         * manual/install.texi (Tools for Compilation): Document a
37549         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37550         compiler verified to work.
37551         * INSTALL: Regenerated.
37553         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37554         redeclare with asm name.
37555         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37556         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37557         including <string.h>.
37558         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37559         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37560         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37561         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37562         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37563         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37564         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37566 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37568         * stdlib/strtol.c (__strtol): Use prototype definition.
37570         [BZ #17594]
37571         * stdlib/strtol.c (SYM__): New macro.
37572         (SYM__1): Likewise.
37573         (__strtol): Likewise.
37574         (strtol): Rename to __strtol and define as weak alias of
37575         __strtol.  Use libc_hidden_weak.
37577 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37579         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37580         Use numbered labels in inline assembly.
37582 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37584         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37585         Add setjmp LIBC_PROBE.
37586         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37587         Likewise.
37588         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37589         Add longjmp, longjmp_target LIBC_PROBE.
37590         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37591         Likewise.
37593 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37596         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37597         to get rid of unused variable warning.
37599 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37601         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37602         Check for unwind_backtrace ==  NULL only in SHARED case.
37603         (__backchain_backtrace): Compile only in SHARED case.
37604         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37605         Likewise.
37606         (__backchain_backtrace): Declare as static.
37608 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37610         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37611         (__libc_multiple_threads_ptr): Variable moved ...
37612         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37614 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37616         * conform/GlibcConform.pm: New file.
37617         * conform/conformtest.pl: Use GlibcConform module.
37618         * conform/linknamespace.pl: New file.
37619         * conform/list-header-symbols.pl: Likewise.
37620         * conform/Makefile (linknamespace-symlists-base): New variable.
37621         (linknamespace-symlists-tests): Likewise.
37622         (linknamespace-header-base): Likewise.
37623         (linknamespace-header-tests): Likewise.
37624         (tests-special): Add new tests.
37625         ($(linknamespace-symlists-tests)): New rule.
37626         (linknamespace-libs): New variable.
37627         ($(objpfx)symlist-stdlibs): New rule.
37628         ($(linknamespace-header-tests)): Likewise.
37629         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37630         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37631         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37632         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37633         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37634         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37635         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37636         (test-xfail-ISO/math.h/linknamespace): Likewise.
37637         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37638         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37639         (test-xfail-ISO/time.h/linknamespace): Likewise.
37640         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37641         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37642         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37643         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37644         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37645         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37646         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37647         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37648         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37649         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37650         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37651         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37652         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37653         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37654         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37655         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37656         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37657         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37658         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37659         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37660         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37661         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37662         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37663         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37664         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37665         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37666         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37667         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37668         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37669         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37670         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37671         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37672         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37673         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37674         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37675         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37676         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37677         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37678         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37679         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37680         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37681         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37682         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37683         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37684         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37685         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37686         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37687         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37688         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37689         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37690         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37691         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37692         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37693         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37694         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37695         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37696         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37697         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37698         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37699         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37700         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37701         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37702         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37703         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37704         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37705         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37706         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37707         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37708         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37709         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37710         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37711         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37712         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37713         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37714         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37715         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37716         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37717         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37718         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37719         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37720         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37721         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37722         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37723         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37724         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37725         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37726         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37727         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37728         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37729         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37730         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37731         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37732         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37733         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37734         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37735         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37736         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37737         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37738         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37739         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37740         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37741         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37742         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37743         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37744         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37745         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37746         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37747         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37748         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37749         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37750         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37751         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37752         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37753         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37754         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37755         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37756         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37757         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37758         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37759         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37760         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37761         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37762         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37763         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37764         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37765         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37766         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37767         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37768         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37769         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37770         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37771         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37772         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37773         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37774         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37775         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37776         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37777         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37778         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37779         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37780         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37781         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37782         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37783         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37784         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37785         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37786         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37787         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37788         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37789         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37791         [BZ #17589]
37792         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37793         of fgets_unlocked.
37795         [BZ #17585]
37796         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37797         (memmem): Rename to __memmem and define as weak alias of
37798         __memmem.  Use libc_hidden_weak.
37799         (__memmem): Use libc_hidden_def.
37800         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37801         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37802         memmem.
37804         [BZ #17582]
37805         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37806         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37807         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37808         and define as weak alias of __fgets_unlocked.  Use
37809         libc_hidden_weak.
37810         (__fgets_unlocked): Use libc_hidden_def.
37811         * include/stdio.h (__fgets_unlocked): Declare.  Use
37812         libc_hidden_proto.
37813         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37814         __fgets_unlocked instead of fgets_unlocked.
37815         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37816         (GET_NPROCS_CONF_PARSER): Likewise.
37817         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37818         (GET_NPROCS_CONF_PARSER): Likewise.
37820         [BZ #17574]
37821         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37822         weak alias of __wmemset.  Use libc_hidden_weak.
37823         (__wmemset): Use libc_hidden_def.
37824         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37825         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37826         of wmemset.
37828         [BZ #17573]
37829         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37830         with asm name __mempcpy.
37831         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37833         [BZ #17572]
37834         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37835         and define as weak alias of __rawmemchr.
37836         (__rawmemchr): Do not define as strong alias of rawmemchr.
37838         [BZ #17571]
37839         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37840         alias of __qsort_r.
37841         (qsort): Call __qsort_r instead of qsort_r.
37842         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37843         (__qsort_r): Declare.  Call libc_hidden_proto.
37844         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37845         instead of qsort_r.
37846         * nscd/gai.c (__qsort_r): Define to qsort_r.
37847         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37848         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37849         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37851         [BZ #17570]
37852         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37853         define as weak alias of __malloc_info.
37855         [BZ #17584]
37856         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37857         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37858         (__rewinddir): Use libc_hidden_def.
37859         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37860         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37861         (__rewinddir): Use libc_hidden_def.
37862         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37863         weak alias of __rewinddir.  Don't use libc_hidden_def.
37864         (__rewinddir): Use libc_hidden_def.
37865         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37866         (__rewinddir): Use libc_hidden_proto.
37867         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37868         rewinddir.
37869         (__getcwd): Use __rewinddir instead of rewinddir.
37871         [BZ #17583]
37872         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37873         alias of __fileno.  Use libc_hidden_weak.
37874         (__fileno): Use libc_hidden_def.
37875         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37876         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37877         alias of __ftello.
37878         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37879         __ftello.
37880         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37881         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37882         libc_hidden_def.
37883         (fread_unlocked): Don't use libc_hidden_ver.
37884         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37885         and define as weak alias of __fread_unlocked.  Don't use
37886         libc_hidden_def.
37887         (__fread_unlocked): Use libc_hidden_def.
37888         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37889         (ftello): Don't use libc_hidden_proto.
37890         (__ftello): Declare.  Use libc_hidden_proto.
37891         (fread_unlocked): Don't use libc_hidden_proto.
37892         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37893         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37894         and __ftello instead of fileno, fread_unlocked and ftello.
37896 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37898         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37899         GOT12.
37900         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37901         Likewise.
37902         (_dl_start_user): Likewise.
37903         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37905 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37906             Siddhesh Poyarekar  <siddhesh@redhat.com>
37908         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37909         Move argv and envp down instead of moving argc up.
37910         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37912 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37914         [BZ #17506]
37915         * test-skeleton.c (main): Return successful if one of
37916         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37917         * string/tst-strcoll-overflow.c: Define expected status.
37919 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37921         [BZ #17475]
37922         * locale/iso-639.def: Define Bhili and Tulu language codes.
37924 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37926         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37928 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37930         [BZ #17555]
37931         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37933 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37935         * configure.ac: Updated check of minimal required version to
37936         2.22.
37937         * manual/install.texi (Tools for Compilation): Updated version
37938         number.
37939         * configure: Regenerated.
37940         * INSTALL: Likewise.
37942 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37944         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37945         __tls_get_addr.
37947 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37949         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37950         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37951         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37952         libc_hidden_weak.
37953         (waitpid): Define as alias of __waitpid.
37954         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37955         __waitpid.
37956         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37957         libc_hidden_weak.
37958         (waitpid): Define as alias of __waitpid.
37959         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37960         __libc_waitpid alias.
37961         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37962         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37963         Likewise.
37964         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37965         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37966         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37967         alias.
37968         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37969         __waitpid.
37970         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37971         libc_hidden_weak.
37972         (waitpid): Define as alias of __waitpid.
37974 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37976         * manual/llio.texi: Add comment that write safety has been
37977         fixed in Linux.
37979         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37980         (localplt-build-dso): Add elf/ld.so.
37981         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37982         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37983         and free for ld.so.
37984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37985         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37987         Likewise.
37988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37989         Likewise.
37990         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37991         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37992         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37993         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37994         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37995         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37996         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37997         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37998         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37999         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38000         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38002 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38004         [BZ #14132]
38005         * include/libc-symbols.h (INTUSE): Remove macro.
38006         (INTDEF): Likewise.
38007         (INTVARDEF): Likewise.
38008         (_INTVARDEF): Likewise.
38009         (INTDEF2): Likewise.
38010         (INTVARDEF2): Likewise.
38011         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38012         rtld_hidden_def instead of INTVARDEF.
38013         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38014         (_dl_starting_up_internal): Remove declaration.
38015         (_dl_starting_up): Use rtld_hidden_proto.
38016         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38017         declaration.
38018         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38019         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38020         _dl_starting_up.
38021         * elf/dl-writev.h (_dl_writev): Likewise.
38022         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38023         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38024         _dl_starting_up_internal.
38026 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38028         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38029         test-skeleton.c.
38031 2014-11-05  Will Newton  <will.newton@linaro.org>
38033         * benchtests/Makefile: (bench-malloc): Add malloc thread
38034         scalability benchmark.
38035         * benchtests/bench-malloc-threads.c: New file.
38037 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38039         * sysdeps/aarch64/strchrnul.S: New file.
38041 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38043         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38044         definition.
38045         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38046         Likewise.
38047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38048         Likewise.
38049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38050         Likewise.
38051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38052         Likewise.
38053         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38054         Likewise.
38056 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38058         * catgets/test-gencat.c: Use test-skeleton.c.
38059         * catgets/tst-catgets.c: Likewise.
38060         * csu/tst-empty.c: Likewise.
38061         * elf/tst-audit2.c: Likewise.
38062         * elf/tst-global1.c: Likewise.
38063         * elf/tst-pathopt.c: Likewise.
38064         * elf/tst-piemod1.c: Likewise.
38065         * elf/tst-tls10.c: Likewise.
38066         * elf/tst-tls11.c: Likewise.
38067         * elf/tst-tls12.c: Likewise.
38068         * gnulib/tst-gcc.c: Likewise.
38069         * iconvdata/tst-e2big.c: Likewise.
38070         * iconvdata/tst-loading.c: Likewise.
38071         * iconv/tst-iconv1.c: Likewise.
38072         * iconv/tst-iconv2.c: Likewise.
38073         * inet/test-inet6_opt.c: Likewise.
38074         * inet/tst-gethnm.c: Likewise.
38075         * inet/tst-network.c: Likewise.
38076         * inet/tst-ntoa.c: Likewise.
38077         * intl/tst-codeset.c: Likewise.
38078         * intl/tst-gettext2.c: Likewise.
38079         * intl/tst-gettext3.c: Likewise.
38080         * intl/tst-ngettext.c: Likewise.
38081         * intl/tst-translit.c: Likewise.
38082         * io/test-stat.c: Likewise.
38083         * libio/test-fmemopen.c: Likewise.
38084         * libio/tst-freopen.c: Likewise.
38085         * libio/tst-sscanf.c: Likewise.
38086         * libio/tst-ungetwc1.c: Likewise.
38087         * libio/tst-ungetwc2.c: Likewise.
38088         * libio/tst-widetext.c: Likewise.
38089         * localedata/tst-ctype.c: Likewise.
38090         * localedata/tst-digits.c: Likewise.
38091         * localedata/tst-leaks.c: Likewise.
38092         * localedata/tst-mbswcs1.c: Likewise.
38093         * localedata/tst-mbswcs2.c: Likewise.
38094         * localedata/tst-mbswcs3.c: Likewise.
38095         * localedata/tst-mbswcs4.c: Likewise.
38096         * localedata/tst-mbswcs5.c: Likewise.
38097         * localedata/tst-setlocale.c: Likewise.
38098         * localedata/tst-trans.c: Likewise.
38099         * localedata/tst-wctype.c: Likewise.
38100         * localedata/tst-xlocale1.c: Likewise.
38101         * login/tst-grantpt.c: Likewise.
38102         * malloc/tst-calloc.c: Likewise.
38103         * malloc/tst-malloc.c: Likewise.
38104         * malloc/tst-mallocstate.c: Likewise.
38105         * malloc/tst-mcheck.c: Likewise.
38106         * malloc/tst-mtrace.c: Likewise.
38107         * malloc/tst-obstack.c: Likewise.
38108         * math/atest-exp2.c: Likewise.
38109         * math/atest-exp.c: Likewise.
38110         * math/atest-sincos.c: Likewise.
38111         * math/test-matherr.c: Likewise.
38112         * math/test-misc.c: Likewise.
38113         * math/test-powl.c: Likewise.
38114         * math/tst-definitions.c: Likewise.
38115         * misc/tst-dirname.c: Likewise.
38116         * misc/tst-efgcvt.c: Likewise.
38117         * misc/tst-fdset.c: Likewise.
38118         * misc/tst-hsearch.c: Likewise.
38119         * misc/tst-mntent2.c: Likewise.
38120         * nptl/tst-sem7.c: Likewise.
38121         * nptl/tst-sem8.c: Likewise.
38122         * nptl/tst-sem9.c: Likewise.
38123         * nss/test-netdb.c: Likewise.
38124         * posix/tst-fnmatch.c: Likewise.
38125         * posix/tst-getlogin.c: Likewise.
38126         * posix/tst-gnuglob.c: Likewise.
38127         * posix/tst-mmap.c: Likewise.
38128         * pwd/tst-getpw.c: Likewise.
38129         * resolv/tst-inet_ntop.c: Likewise.
38130         * rt/tst-timer.c: Likewise.
38131         * stdio-common/test-fseek.c: Likewise.
38132         * stdio-common/test-popen.c: Likewise.
38133         * stdio-common/test-vfprintf.c: Likewise.
38134         * stdio-common/tst-cookie.c: Likewise.
38135         * stdio-common/tst-fileno.c: Likewise.
38136         * stdio-common/tst-gets.c: Likewise.
38137         * stdio-common/tst-obprintf.c: Likewise.
38138         * stdio-common/tst-perror.c: Likewise.
38139         * stdio-common/tst-sprintf2.c: Likewise.
38140         * stdio-common/tst-sprintf3.c: Likewise.
38141         * stdio-common/tst-sprintf.c: Likewise.
38142         * stdio-common/tst-swprintf.c: Likewise.
38143         * stdio-common/tst-tmpnam.c: Likewise.
38144         * stdio-common/tst-unbputc.c: Likewise.
38145         * stdio-common/tst-wc-printf.c: Likewise.
38146         * stdlib/tst-environ.c: Likewise.
38147         * stdlib/tst-fmtmsg.c: Likewise.
38148         * stdlib/tst-limits.c: Likewise.
38149         * stdlib/tst-rand48-2.c: Likewise.
38150         * stdlib/tst-rand48.c: Likewise.
38151         * stdlib/tst-random2.c: Likewise.
38152         * stdlib/tst-random.c: Likewise.
38153         * stdlib/tst-strtol.c: Likewise.
38154         * stdlib/tst-strtoll.c: Likewise.
38155         * stdlib/tst-tls-atexit.c: Likewise.
38156         * stdlib/tst-xpg-basename.c: Likewise.
38157         * string/test-ffs.c: Likewise.
38158         * string/tst-bswap.c: Likewise.
38159         * string/tst-inlcall.c: Likewise.
38160         * string/tst-strtok.c: Likewise.
38161         * string/tst-strxfrm.c: Likewise.
38162         * sysdeps/x86_64/tst-audit10.c: Likewise.
38163         * sysdeps/x86_64/tst-audit3.c: Likewise.
38164         * sysdeps/x86_64/tst-audit4.c: Likewise.
38165         * sysdeps/x86_64/tst-audit5.c: Likewise.
38166         * time/tst-ftime_l.c: Likewise.
38167         * time/tst-getdate.c: Likewise.
38168         * time/tst-mktime3.c: Likewise.
38169         * time/tst-mktime.c: Likewise.
38170         * time/tst-posixtz.c: Likewise.
38171         * time/tst-strptime2.c: Likewise.
38172         * time/tst-strptime3.c: Likewise.
38173         * wcsmbs/tst-btowc.c: Likewise.
38174         * wcsmbs/tst-mbrtowc.c: Likewise.
38175         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38176         * wcsmbs/tst-wchar-h.c: Likewise.
38177         * wcsmbs/tst-wcpncpy.c: Likewise.
38178         * wcsmbs/tst-wcrtomb.c: Likewise.
38179         * wcsmbs/tst-wcsnlen.c: Likewise.
38180         * wcsmbs/tst-wcstof.c: Likewise.
38182 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38184         [BZ #14132]
38185         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38186         INTDEF.
38187         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38188         declaration.
38189         (_dl_mcount): Use rtld_hidden_proto.
38190         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38191         _dl_mcount.
38192         * elf/rtld.c (_rtld_global_ro): Likewise.
38194         [BZ #14132]
38195         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38196         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38197         of _dl_init_internal.
38198         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38199         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38200         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38201         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38202         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38203         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38204         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38205         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38206         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38207         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38208         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38209         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38210         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38211         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38212         * sysdeps/tile/dl-start.S (_start): Likewise.
38213         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38214         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38216         [BZ #14132]
38217         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38218         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38219         (rtld_progname): Make macro definition unconditional.
38220         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38221         INTDEF.
38222         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38223         (dl_main): Likewise.
38224         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38225         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38226         instead of _dl_argv_internal.
38227         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38228         __GI__dl_argv instead of INTUSE(_dl_argv).
38229         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38230         __GI__dl_argv instead of _dl_argv_internal.
38232         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38233         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38234         macro.
38235         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38236         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38237         New macro.
38238         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38239         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38240         macro.
38241         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38242         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38244 2014-11-04  Andreas Schwab  <schwab@suse.de>
38246         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38248 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38250         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38251         mtvsrd instruction in binary form.
38253 2014-11-03  Andreas Schwab  <schwab@suse.de>
38255         [BZ #17522]
38256         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38257         for less than MB_LEN_MAX use a local buffer of that size.
38258         * libio/tst-fputws.c: New file.
38259         * libio/Makefile (tests): Add tst-fputws.
38261 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38263         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38264         the size of the fpu_fr.fpu_dregs[] array.
38266 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38268         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38269         (__nanosleep): Do not define as alias.
38270         (nanosleep): Define as alias of __nanosleep.
38271         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38272         __libc_nanosleep name.
38274 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38276         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38277         install.texi in comment.
38279 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38281         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38282         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38283         ... add here and use lwsync or sync ...
38284         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38285         ... and add here using lwsync.
38287 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38289         * elf/dl-machine-reject-phdr.h: New file.
38290         * elf/dl-load.c: #include that.
38291         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38292         if that returned true.
38294 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38296         [BZ #17496]
38297         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38298         gen-as-const-headers chunk.  Add a big scare comment after the last
38299         safe place to touch before-compile.
38301 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38303         * manual/install.texi (Tools for Compilation): Update autoconf
38304         version requirements.
38305         * INSTALL: Regenerated.
38307         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38308         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38309         (__libc_pselect): Likewise.
38311         [BZ #14138]
38312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38317 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38319         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38320         correct barrier instruction.
38321         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38322         Likewise.
38323         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38324         Likewise.
38326 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38328         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38329         after defining inlines.  Instead, just use parens to defeat macro
38330         expansion of __isctype in its declaration.
38332 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38334         * include/sys/uio.h (__libc_readv): Remove declaration.
38335         (__libc_writev): Likewise.
38336         * misc/readv.c (__libc_readv): Rename to __readv.
38337         (__readv): Do not define as alias.
38338         (readv): Define as alias of __readv.
38339         * misc/writev.c (__libc_writev): Rename to __writev.
38340         (__writev): Do not define as alias.
38341         (writev): Define as alias of __writev.
38342         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38343         (__readv): Do not define as alias.
38344         (readv): Define unconditionally as alias of __readv.
38345         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38346         (__writev): Do not define as alias.
38347         (writev): Define unconditionally as alias of __writev.
38348         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38349         name.
38350         (writev): Do not define __libc_writev name.
38352 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38354         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38355         (convert_charseq): New function, broken out of ...
38356         (use_from_charmap): ... here.  Call it.
38357         (use_to_charmap): Use convert_charseq and free instead of duplicating
38358         its code with a variable-length stack struct.
38360 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38362         * include/fcntl.h (__libc_creat): Remove declaration.
38363         * io/creat.c (__libc_creat): Rename to creat.
38364         (creat): Do not define as alias.
38365         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38366         of creat instead of __libc_creat.
38367         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38368         to creat.
38369         (creat): Do not define as alias.
38370         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38371         __libc_creat.
38372         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38373         __libc_creat name.
38374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38375         Likewise.
38377 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38379         * manual/llio.texi: Add comments discussing why write() may be
38380         considered MT-unsafe on Linux.
38382 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38384         * dl-load.c (local_strdup): Remove.
38385         (expand_dynamic_string_token): Use __strdup.
38386         (decompose_rpath): Likewise.
38387         (_dl_map_object): Likewise.
38389 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38391         [BZ #14132]
38392         * sysdeps/generic/unwind-dw2-fde.c
38393         (__register_frame_info_bases_internal): Do not declare.
38394         (__register_frame_info_table_bases_internal): Likewise.
38395         (__deregister_frame_info_bases_internal): Likewise.
38396         (__register_frame_info_bases): Declare and use hidden_proto before
38397         definition.  Use hidden_def instead of INTDEF.
38398         (__register_frame_info_table_bases): Likewise.
38399         (__deregister_frame_info_bases): Likewise.
38400         (__register_frame_info): Do not use INTUSE.
38401         (__register_frame): Likewise.
38402         (__register_frame_info_table): Likewise.
38403         (__register_frame_table): Likewise.
38404         (__deregister_frame_info): Likewise.
38405         (__deregister_frame): Likewise.
38407 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38410         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38411         not undefine.
38412         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38413         Likewise.
38414         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38415         Likewise.
38417 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38419         [BZ #14138]
38420         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38421         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38422         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38423         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38424         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38425         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38426         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38427         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38428         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38429         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38430         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38431         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38432         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38433         syscall.
38434         (setfsuid): Likewise.
38435         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38436         (setfsuid): Likewise.
38437         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38438         (setfsuid): Likewise.
38439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38440         Likewise.
38441         (setfsuid): Likewise.
38442         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38443         (setfsuid): Likewise.
38444         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38445         Likewise.
38446         (setfsuid): Likewise.
38448 2014-10-27  Andreas Schwab  <schwab@suse.de>
38450         [BZ #17501]
38451         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38452         check for Slow_SSE4_2 feature bit.
38453         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38454         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38455         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38456         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38458 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38460         * configure.ac: Validate compiler version with a empirical test of
38461         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38462         $CC -v output.
38463         * configure: Regenerated.
38465         * inet/htons.c (htons): Prototypify.
38466         * inet/htonl.c (htonl): Likewise.
38468 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38470         * string/strncat.c (strncat): Improve performance by using strlen.
38472 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38474         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38476 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38478         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38479         Call libc_fetestexcept_aarch64.
38481 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38483         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38484         Call libc_feholdexcept_aarch64.
38486 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38488         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38489         Call get_rounding_mode.
38491 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38493         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38494         Simplify logic.
38496 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38498         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38499         Simplify logic.
38501 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #14138]
38504         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38505         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38506         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38507         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38508         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38509         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38510         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38511         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38512         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38513         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38514         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38515         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38516         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38517         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38518         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38519         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38520         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38521         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38522         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38523         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38524         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38525         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38526         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38527         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38528         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38529         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38530         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38531         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38532         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38533         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38534         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38535         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38536         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38537         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38538         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38539         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38540         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38541         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38542         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38543         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38544         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38545         syscall.
38546         (geteuid): Likewise.
38547         (getgid): Likewise.
38548         (getuid): Likewise.
38549         (getresgid): Likewise.
38550         (getresuid): Likewise.
38551         (getgroups): Likewise.
38552         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38553         (geteuid): Likewise.
38554         (getgid): Likewise.
38555         (getuid): Likewise.
38556         (getresgid): Likewise.
38557         (getresuid): Likewise.
38558         (getgroups): Likewise.
38559         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38560         (geteuid): Likewise.
38561         (getgid): Likewise.
38562         (getuid): Likewise.
38563         (getresgid): Likewise.
38564         (getresuid): Likewise.
38565         (getgroups): Likewise.
38566         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38567         Likewise.
38568         (geteuid): Likewise.
38569         (getgid): Likewise.
38570         (getuid): Likewise.
38571         (getresgid): Likewise.
38572         (getresuid): Likewise.
38573         (getgroups): Likewise.
38574         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38575         (geteuid): Likewise.
38576         (getgid): Likewise.
38577         (getuid): Likewise.
38578         (getresgid): Likewise.
38579         (getresuid): Likewise.
38580         (getgroups): Likewise.
38581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38582         Likewise.
38583         (geteuid): Likewise.
38584         (getgid): Likewise.
38585         (getuid): Likewise.
38586         (getgroups): Likewise.
38588         [BZ #14138]
38589         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38590         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38591         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38592         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38593         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38594         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38595         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38596         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38597         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38598         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38599         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38601         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38602         __chown.
38603         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38604         (lchown): Likewise.
38605         (fchown): Likewise.
38606         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38607         Likewise.
38608         (lchown): Likewise.
38609         (fchown): Likewise.
38610         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38611         (lchown): Likewise.
38612         (fchown): Likewise.
38613         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38614         Likewise.
38615         (lchown): Likewise.
38616         (fchown): Likewise.
38618 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38620         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38621         Simplify logic.
38623 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38625         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38626         Cleanup logic.
38628 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38630         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38631         Remove unused include.
38633 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38635         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38637         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38638         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38640 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38641             Helge Deller <deller@gmx.de>
38643         [BZ #17508]
38644         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38645         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38646         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38648 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38650         [BZ #14132]
38651         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38652         Remove macro definition.
38653         (__ashrdi3_v_glibc20): Likewise.
38654         (__lshrdi3_v_glibc20): Likewise.
38655         (__cmpdi2_v_glibc20): Likewise.
38656         (__ucmpdi2_v_glibc20): Likewise.
38657         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38658         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38659         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38660         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38661         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38662         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38664 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38666         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38667         old GNU extension [0] syntax.
38668         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38669         alloca rather than an array member with variable length.
38670         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38671         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38672         (parse_opt): ... here.  Likewise use alloca there.
38673         Validate the -i argument before checking for rootness.
38674         (send_shutdown): New function, broken out of ...
38675         (parse_opt): ... here.
38677 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38679         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38680         macro to get at the _rt_local_ro field.
38681         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38682         ([PIC] case) or _dl_hwcap ([!PIC] case).
38683         * sysdeps/arm/setjmp.S: Likewise.
38685         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38686         * sysdeps/arm/configure.ac: New check to define it.
38687         * sysdeps/arm/configure: Regenerated.
38688         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38689         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38690         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38691         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38692         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38693         Use move/movt pair instead of a load.
38694         (LDST_GLOBAL): Macro removed.
38695         (LDR_GLOBAL): New macro replaces it.
38696         (LDR_HIDDEN): New macro.
38697         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38698         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38700         * setjmp/tst-setjmp-static.c: New file.
38701         * setjmp/Makefile (tests): Add it.
38702         (tests-static): New variable.
38704 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38706         [BZ #17485]
38707         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38709 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38711         [BZ #14132]
38712         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38714 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38716         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38718 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38720         * io/fts.c (dirent_not_directory): New function.
38721         (fts_build): Call it.
38723 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38725         * nptl/version.c (__nptl_main): Use normal __write rather than
38726         INTERNAL_SYSCALL.
38727         (banner): Update copyright years.
38729         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38730         gettimeofday.
38731         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38732         * nptl/pthread_cond_timedwait.c: Likewise.
38733         * nptl/pthread_mutex_timedlock.c: Likewise.
38734         * nptl/sem_timedwait.c: Likewise.
38736         * sysdeps/nptl/bits/libc-lock.h
38737         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38738         (__libc_lock_init_recursive): Return void, not 0.
38739         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38740         (__libc_rwlock_init): Likewise.
38741         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38743 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38745         [BZ #15215]
38746         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38747         (__pthread_once_slow): ... here.
38748         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38749         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38751 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38753         [BZ #15215]
38754         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38755         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38756         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38757         * nptl/pthread_once.c (__pthread_once): Likewise.
38758         Update comments.
38760 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38762         [BZ #14138]
38763         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38764         name.
38765         (writev): Use __libc_writev as strong name.
38766         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38767         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38769 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38771         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38773         * sysdeps/i386/nptl/tls.h
38774         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38775         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38776         New macros.
38777         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38778         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38779         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38780         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38781         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38782         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38784         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38785         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38786         on [__NR_futex].
38787         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38788         broken out of ...
38789         (__pthread_mutex_init): ... here.  Call it.
38790         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38791         Conditionalize PI cases on [__NR_futex].
38792         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38793         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38794         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38796         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38797         conditional on [SIGSETXID].
38798         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38799         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38800         is defined.  Likewise for SIGSETXID.
38801         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38802         Conditionalize definitions on [SIGSETXID].
38803         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38804         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38805         unblocking on [SIGCANCEL].
38807         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38808         [__NR_set_robust_list].
38810 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38812         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38813         (do_compare): Likewise.
38815 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38817         [BZ #15884]
38818         * string/strcoll_l.c: Don't include stdio.h.
38819         (coll_seq): Remove members idxarr and rulearr.
38820         (get_next_seq_cached): Remove function.
38821         (get_next_seq): Likewise.
38822         (get_next_seq_nocache): Rename to get_next_seq.
38823         (do_compare): Remove function.
38824         (do_compare_nocache): Rename to do_compare.
38825         (STRCOLL): Remove weight and rules cache.
38827 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38829         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38830         * sysdeps/arm/sfp-machine.h: ... to here.
38831         * sysdeps/arm/Implies: Remove arm/soft-fp.
38833 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38835         * conform/data/sys/utsname.h-data (*_t): Allow.
38836         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38837         [POSIX] (WEXITED): Do not expect constant.
38838         [POSIX] (WSTOPPED): Likewise.
38839         [POSIX] (WNOHANG): Likewise.
38840         [POSIX] (WNOWAIT): Likewise.
38841         [POSIX] (siginfo_t): Do not expect type or elements.
38842         [POSIX] (pid_t): Do not expect type.
38843         [POSIX] (signal.h): Do not allow header.
38844         [POSIX] (sys/resource.h): Likewise.
38845         [POSIX] (si_*): Do not allow pattern.
38846         [POSIX] (W*): Likewise.
38847         [POSIX] (P_*): Likewise.
38848         [POSIX] (BUS_*): Likewise.
38849         [POSIX] (CLD_*): Likewise.
38850         [POSIX] (FPE_*): Likewise.
38851         [POSIX] (ILL_*): Likewise.
38852         [POSIX] (POLL_*): Likewise.
38853         [POSIX] (SEGV_*): Likewise.
38854         [POSIX] (SI_*): Likewise.
38855         [POSIX] (TRAP_*): Likewise.
38856         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38857         variable.
38859 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38861         [BZ #12926]
38862         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38863         infinite loop when __recvmsg returns 0.
38865 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38867         * CANCEL-FCT-WAIVE: Remove file.
38868         * CANCEL-FILE-WAIVE: Likewise.
38870         [BZ #14132]
38871         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38872         instead of INTVARDEF.
38873         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38874         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38875         rtld_hidden_data_def instead of INTVARDEF.
38876         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38877         * elf/dl-deps.c (expand_dst): Likewise.
38878         * elf/dl-load.c (_dl_dst_count): Likewise.
38879         (_dl_dst_substitute): Likewise.
38880         (decompose_rpath): Likewise.
38881         (_dl_init_paths): Likewise.
38882         (open_path): Likewise.
38883         (_dl_map_object): Likewise.
38884         * elf/rtld.c (dl_main): Likewise.
38885         (process_dl_audit): Likewise.
38886         (process_envvars): Likewise.
38887         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38888         Remove declaration.
38889         (__libc_enable_secure): Use rtld_hidden_proto.
38891 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38893         * elf/dl-load.c
38894         (add_path): New function broken out of _dl_rtld_di_serinfo.
38895         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38897 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38899         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38900         parentheses around macro arguments.
38901         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38905         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38906         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38907         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38908         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38909         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38910         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38912         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38913         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38914         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38915         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38916         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38917         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38918         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38919         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38922         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38923         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38924         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38926         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38927         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38928         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38930         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38931         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38932         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38933         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38934         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38935         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38936         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38937         Likewise.
38938         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38939         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38943         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38945         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38946         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38947         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38948         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38949         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38950         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38952         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38959         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38960         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38961         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38963         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38964         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38965         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38966         (_FP_FRAC_SRS_1): Likewise.
38967         (_FP_FRAC_CLZ_1): Likewise.
38968         (_FP_MUL_MEAT_1_imm): Likewise.
38969         (_FP_MUL_MEAT_1_wide): Likewise.
38970         (_FP_MUL_MEAT_1_hard): Likewise.
38971         (_FP_SQRT_MEAT_1): Likewise.
38972         (_FP_FRAC_ASSEMBLE_1): Likewise.
38973         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38974         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38975         (__FP_CLZ_2): Likewise.
38976         (_FP_MUL_MEAT_2_wide): Likewise.
38977         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38978         (_FP_MUL_MEAT_2_gmp): Likewise.
38979         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38980         (_FP_SQRT_MEAT_2): Likewise.
38981         (_FP_FRAC_ASSEMBLE_2): Likewise.
38982         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38983         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38984         (_FP_FRAC_CLZ_4): Likewise.
38985         (_FP_MUL_MEAT_4_wide): Likewise.
38986         (_FP_MUL_MEAT_4_gmp): Likewise.
38987         (_FP_SQRT_MEAT_4): Likewise.
38988         (_FP_FRAC_ASSEMBLE_4): Likewise.
38989         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38990         * soft-fp/op-common.h (_FP_CMP): Likewise.
38991         (_FP_CMP_EQ): Likewise.
38992         (_FP_CMP_UNORD): Likewise.
38993         (_FP_TO_INT): Likewise.
38994         (_FP_FROM_INT): Likewise.
38995         [!__FP_CLZ] (__FP_CLZ): Likewise.
38996         (_FP_DIV_HELP_imm): Likewise.
38997         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38998         Likewise.
38999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39003         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39010         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39011         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39012         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39014         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39015         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39023         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39027         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39028         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39030         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39031         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39032         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39033         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39034         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39035         (FP_UNPACK_RAW_SP): Likewise.
39036         (FP_PACK_RAW_S): Likewise.
39037         (FP_PACK_RAW_SP): Likewise.
39038         (FP_UNPACK_S): Likewise.
39039         (FP_UNPACK_SP): Likewise.
39040         (FP_UNPACK_SEMIRAW_S): Likewise.
39041         (FP_UNPACK_SEMIRAW_SP): Likewise.
39042         (FP_PACK_S): Likewise.
39043         (FP_PACK_SP): Likewise.
39044         (FP_PACK_SEMIRAW_S): Likewise.
39045         (FP_PACK_SEMIRAW_SP): Likewise.
39046         (_FP_SQRT_MEAT_S): Likewise.
39047         (FP_CMP_S): Likewise.
39048         (FP_CMP_EQ_S): Likewise.
39049         (FP_CMP_UNORD_S): Likewise.
39050         (FP_TO_INT_S): Likewise.
39051         (FP_FROM_INT_S): Likewise.
39053         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39055         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39056         (FP_EX_INVALID_IMZ): Likewise.
39057         (FP_EX_INVALID_IMZ_FMA): Likewise.
39058         (FP_EX_INVALID_ISI): Likewise.
39059         (FP_EX_INVALID_ZDZ): Likewise.
39060         (FP_EX_INVALID_IDI): Likewise.
39061         (FP_EX_INVALID_SQRT): Likewise.
39062         (FP_EX_INVALID_CVI): Likewise.
39063         (FP_EX_INVALID_VC): Likewise.
39064         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39065         "invalid" exceptions.
39066         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39067         (_FP_ADD_INTERNAL): Likewise.
39068         (_FP_MUL): Likewise.
39069         (_FP_FMA): Likewise.
39070         (_FP_DIV): Likewise.
39071         (_FP_CMP_CHECK_NAN): Likewise.
39072         (_FP_SQRT): Likewise.
39073         (_FP_TO_INT): Likewise.
39074         (FP_EXTEND): Likewise.
39076 2014-10-09  Allan McRae  <allan@archlinux.org>
39078         * po/fr.po: Update French translation from translation project.
39080 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39082         [BZ #14132]
39083         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39084         of INTDEF.
39085         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39086         (__cxa_atexit): Use libc_hidden_proto.
39087         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39089         [BZ #14132]
39090         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39091         declaration.
39092         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39093         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39094         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39095         [!_ISOMAC] (__iswctype_internal): Likewise.
39096         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39097         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39098         alias.
39099         (fcntl): Remove __fcntl_internal alias.
39100         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39101         __connect_internal alias.
39102         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39103         Likewise.
39105         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39106         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39107         FP_DENORM_ZERO.
39108         (_FP_CHECK_FLUSH_ZERO): New macro.
39109         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39110         (_FP_CMP): Likewise.
39111         (_FP_CMP_EQ): Likewise.
39112         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39113         FP_DENORM_ZERO.
39114         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39115         (FP_TRUNC): Likewise.
39117         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39118         treated as invalid conversion, not as normal exponent.
39120         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39121         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39122         (_FP_CMP_EQ): Likewise.
39123         (_FP_CMP_UNORD): Likewise.
39124         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39125         (FP_CMP_EQ_D): Likewise.
39126         (FP_CMP_UNORD_D): Likewise.
39127         * soft-fp/extended.h (FP_CMP_E): Likewise.
39128         (FP_CMP_EQ_E): Likewise.
39129         (FP_CMP_UNORD_E): Likewise.
39130         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39131         (FP_CMP_EQ_Q): Likewise.
39132         (FP_CMP_UNORD_Q): Likewise.
39133         * soft-fp/single.h (FP_CMP_S): Likewise.
39134         (FP_CMP_EQ_S): Likewise.
39135         (FP_CMP_UNORD_S): Likewise.
39136         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39137         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39138         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39139         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39140         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39141         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39142         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39143         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39144         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39145         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39146         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39147         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39148         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39149         to FP_CMP_Q.
39150         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39151         FP_CMP_Q.
39152         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39153         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39154         FP_CMP_EQ_Q.
39155         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39156         FP_CMP_Q.
39157         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39158         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39159         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39160         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39161         FP_CMP_EQ_Q.
39162         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39163         FP_CMP_Q.
39164         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39165         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39166         FP_CMP_EQ_Q.
39167         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39168         FP_CMP_Q.
39169         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39170         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39171         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39172         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39173         FP_CMP_EQ_Q.
39175         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39176         a subnormal result, set the underflow exception if trapping on
39177         underflow is enabled.
39178         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39179         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39180         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39181         redefine to 0.
39182         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39183         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39184         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39185         * soft-fp/extendxftf2.c (__extendxftf2): Use
39186         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39188         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39189         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39190         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39191         FP_HANDLE_EXCEPTIONS.
39192         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39193         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39194         FP_HANDLE_EXCEPTIONS.
39195         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39196         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39197         FP_HANDLE_EXCEPTIONS.
39198         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39199         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39200         FP_HANDLE_EXCEPTIONS.
39202 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39204         [BZ #14132]
39205         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39206         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39207         use INTUSE.
39208         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39209         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39210         Remove alias.
39211         (__adjtimex): Define using libc_hidden_ver.
39212         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39213         Remove declaration.
39214         (ntp_gettime): Call __adjtimex directly.
39215         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39216         Remove declaration.
39217         (ntp_gettimex): Call __adjtimex directly.
39218         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39219         __adjtimex_internal alias.
39221 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39223         [BZ #17460]
39224         * nscd/nscd.c (more_help): Rewrite list of tables collection
39225         using xstrdup and asprintf.
39227         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39229 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39230             Roland McGrath  <roland@hack.frob.com>
39232         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39233         (do_lookup_unique): ... local function 'enter' here; update callers.
39235 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39237         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39238         compat_symbol calls on [SHARED].
39239         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39240         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39241         Remove.
39242         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39243         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39244         (oldsetrlimit): Remove.
39245         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39247         (lchown): New syscall entry.
39248         (oldsetrlimit): Remove.
39249         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39251         (oldsetrlimit): Remove.
39252         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39254         [BZ #14138]
39255         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39256         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39257         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39258         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39259         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39260         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39261         (fchown): Likewise.
39262         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39263         (fchown): Likewise.
39264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39265         Likewise.
39267 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39269         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39270         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39271         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39272         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39273         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39274         Likewise.
39275         (__old_sem_post): Likewise.
39277 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39279         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39280         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39281         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39282         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39283         Use INLINE_VSYSCALL macro.
39284         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39285         __vdso_clock_gettime.
39286         * sysdeps/unix/sysv/linux/tile/init-first.c
39287         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39288         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39289         __vdso_clock_gettime.
39291         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39292         to set up frame more cleanly.
39294         * sysdeps/tile/memcmp.c: New file.
39296         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39298         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39299         * sysdeps/tile/tilegx/strcasestr.c: New file.
39300         * sysdeps/tile/tilegx/strnlen.c: New file.
39301         * sysdeps/tile/tilegx/strstr.c: New file.
39303         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39305 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39307         * nptl/tst-setuid3.c: Write errors to stdout.
39309 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39311         * elf/dl-deps.c
39312         (preload): New functions broken out of _dl_map_object_deps.
39313         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39315 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39317         [BZ #14138]
39318         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39319         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39321 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39323         * sysdeps/mips/strcmp.S: New.
39325 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39327         [BZ #14138]
39328         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39329         (linkat): Likewise.
39330         (mkdirat): Likewise.
39331         (readlinkat): Likewise.
39332         (renameat): Likewise.
39333         (symlinkat): Likewise.
39334         (unlinkat): Likewise.
39335         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39336         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39337         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39338         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39339         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39340         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39341         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39343 2014-09-30  Will Newton  <will.newton@linaro.org>
39345         * math/math.h: Define long double math functions if
39346         _LIBC_TEST is defined.
39347         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39349         * localedata/Makefile: Move assignment to tests-special
39350         into an ifdef testing run-built-tests.
39351         * timezone/Makefile: Likewise.
39353 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39355         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39356         with $(BASH) not $(SHELL).
39358 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39359             Matthew LeGendre  <legendre1@llnl.gov>
39361         [BZ #17411]
39362         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39363         l_reloc_result.
39365 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39367         * stdio-common/printf_fp.c
39368         (hack_digit): New function, broken out of ...
39369         (__printf_fp): ... local function here.  Update call sites.
39370         hack_digit now takes an additional parameter that is a pointer
39371         to a struct of the referenced locals.  Those locals moved inside
39372         the struct and references updated.
39374 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39376         * aclocal.m4: Require autoconf 2.69.
39377         * configure: Regenerated.
39378         * sysdeps/aarch64/configure: Likewise.
39379         * sysdeps/alpha/configure: Likewise.
39380         * sysdeps/arm/armv7/configure: Likewise.
39381         * sysdeps/arm/configure: Likewise.
39382         * sysdeps/ia64/configure: Likewise.
39383         * sysdeps/mach/configure: Likewise.
39384         * sysdeps/mips/configure: Likewise.
39385         * sysdeps/s390/configure: Likewise.
39386         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39389         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39390         file.
39391         * sysdeps/ia64/configure.ac: Likewise.
39393 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39396         specify symbol version for ld.so.  Do not include entry for
39397         libpthread.
39398         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39399         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39400         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39402         [BZ #14171]
39403         * Makeconfig [$(build-shared) = yes]
39404         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39405         makefiles.
39406         [$(build-shared) = yes && $(soversions.mk-done) = t]
39407         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39408         [$(build-shared) = yes && $(soversions.mk-done) = t]
39409         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39410         to Makerules.
39411         [$(build-shared) = yes && $(soversions.mk-done) = t]
39412         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39413         here.
39414         [$(build-shared) = yes && $(soversions.mk-done) = t]
39415         (common-generated): Don't append gnu/lib-names.h and
39416         gnu/lib-names.stmp here.
39417         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39418         (lib-names-h-abi): New variable.
39419         [$(build-shared) = yes && $(soversions.mk-done) = t]
39420         (lib-names-stmp-abi): Likewise.
39421         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39422         abi-variants] (before-compile): Append
39423         $(common-objpfx)$(lib-names-h-abi).
39424         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39425         abi-variants] (common-generated): Append gnu/lib-names.h.
39426         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39427         abi-variants] (install-others-nosubdir): Depend on
39428         $(inst_includedir)/$(lib-names-h-abi).
39429         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39430         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39431         [$(build-shared) = yes && $(soversions.mk-done) = t]
39432         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39433         [$(build-shared) = yes && $(soversions.mk-done) = t]
39434         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39435         [$(build-shared) = yes && $(soversions.mk-done) = t]
39436         (common-generated): Append $(lib-names-h-abi) and
39437         $(lib-names-stmp-abi).
39438         * scripts/lib-names.awk: Do not handle multi being set.
39439         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39440         Remove variable.
39441         (abi-lp64_be-ld-soname): Likewise.
39442         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39443         Likewise.
39444         (abi-hard-ld-soname): Likewise.
39445         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39446         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39447         Remove variable.
39448         (abi-o32_hard-ld-soname): Likewise.
39449         (abi-o32_soft_2008-ld-soname): Likewise.
39450         (abi-o32_hard_2008-ld-soname): Likewise.
39451         (abi-n32_soft-ld-soname): Likewise.
39452         (abi-n32_hard-ld-soname): Likewise.
39453         (abi-n32_soft_2008-ld-soname): Likewise.
39454         (abi-n32_hard_2008-ld-soname): Likewise.
39455         (abi-n64_soft-ld-soname): Likewise.
39456         (abi-n64_hard-ld-soname): Likewise.
39457         (abi-n64_soft_2008-ld-soname): Likewise.
39458         (abi-n64_hard_2008-ld-soname): Likewise.
39459         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39460         Likewise.
39461         (abi-64-v2-ld-soname): Likewise.
39462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39463         ld.so entries.
39464         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39465         variable.
39466         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39467         entry.
39468         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39469         variable.
39470         (abi-64-ld-soname): Likewise.
39471         (abi-x32-ld-soname): Likewise.
39472         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39473         entry.
39474         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39476 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39478         [BZ #14138]
39479         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39481         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39482         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39483         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39484         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39485         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39486         syscall entry for GLIBC_2.2 symbol version.
39487         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39488         Likewise.
39489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39490         (setrlimit): Likewise.
39491         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39492         Likewise.
39494 2014-09-23  Will Newton  <will.newton@linaro.org>
39496         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39497         _LINUX_ARM_SYSDEP_H include guard too.
39498         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39499         define.
39501 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39503         * sysdeps/unix/sysv/linux/eventfd.c:
39504         Make first argument unsigned.
39505         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39506         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39508 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39510         [BZ #16852]
39511         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39512         * socket/sys/socket.h: Likewise.
39513         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39515 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39517         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39519 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39521         * time/tst-ftime.c: New test.
39522         * time/Makefile (tests): Add tst-ftime.
39524 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39526         * soft-fp/extended.h: Fix comment formatting.
39527         * soft-fp/op-1.h: Likewise.
39528         * soft-fp/op-2.h: Likewise.
39529         * soft-fp/op-4.h: Likewise.
39530         * soft-fp/op-8.h: Likewise.
39531         * soft-fp/op-common.h: Likewise.
39532         * soft-fp/soft-fp.h: Likewise.
39534         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39536 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #6652]
39539         * Makeconfig (soversions-default-setname): Remove variable.
39540         ($(common-objpfx)soversions.i): Don't pass default_setname to
39541         soversions.awk.
39542         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39543         oldest_abi to abi-versions.awk.
39544         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39545         * config.make.in (oldest-abi): Remove variable.
39546         * configure.ac (--enable-oldest-abi): Remove configure option.
39547         * configure: Regenerated.
39548         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39549         text.
39550         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39551         * scripts/soversions.awk: Do not handle default_setname variable.
39552         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39553         variable.
39554         * sysdeps/mach/hurd/configure: Regenerated.
39555         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39556         variable.
39557         * sysdeps/unix/sysv/linux/configure: Regenerated.
39559 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39561         * elf/Makefile (CFLAGS-interp.c): Remove.
39562         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39563         path string.
39564         * elf/interp.c: Include generated runtime-linker.h
39566         * Makerules (lib%.so): Don't include $(+interp) in
39567         prerequisites.
39568         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39569         * dlfcn/eval.c: Remove file.
39571         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39572         macros.
39574         [BZ #17266]
39575         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39576         4.2 and newer.
39578         [BZ #17370]
39579         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39581 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39582             Jakub Jelinek  <jakub@redhat.com>
39584         [BZ #17266]
39585         * libio/stdio.h: Check definition of __fortify_function
39586         instead of __extern_always_inline to include bits/stdio2.h.
39587         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39588         check if __extern_always_inline is defined.
39589         [__USE_MISC || __USE_XOPEN]: Likewise.
39590         [__USE_ISOC99] Likewise.
39591         * misc/sys/cdefs.h (__fortify_function): Define only if
39592         __extern_always_inline is defined.
39593         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39594         __extern_always_inline and __extern_inline only for g++-4.3
39595         and newer or a compatible gcc.
39597 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39599         [BZ #17371]
39600         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39601         last change to handle zero prefix length.
39603 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39605         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39606         _SC_REGEX_VERSION.
39608         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39609         _POSIX_RAW_SOCKETS.
39611 2014-09-13  Allan McRae  <allan@archlinux.org>
39613         * po/ru.po: Update Russian translation from translation project.
39615 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39617         * locale/programs/locale.c (show_locale_vars): Inline local function
39618         into its sole call site.  Clean up some style nits.
39619         (print_item): New function, broken out of ...
39620         (show_info): ... local function here.  Clean up style nits.
39622         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39623         out of ...
39624         (set_class_defaults): ... local function set_default here.
39625         Define set_default as a macro locally to pass constant parameters.
39626         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39627         rather than a shared local.
39629         * stdlib/rpmatch.c (try): New function, broken out of ...
39630         (rpmatch): ... local function here.  Also, prototypify definition.
39632 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39634         * scripts/soversions.awk: Do not handle configuration names.
39635         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39636         vendor and os variables to soversions.awk.
39637         * configure.ac: Do not modify gnu-* host_os.
39638         * configure: Regenerated
39639         * shlib-versions: Remove first column with configuration names.
39640         * nptl/shlib-versions: Likewise.
39641         * nptl_db/shlib-versions: Likewise.
39642         * sysdeps/hppa/shlib-versions: Likewise.
39643         * sysdeps/m68k/shlib-versions: Likewise.
39644         * sysdeps/mach/hurd/shlib-versions: Likewise.
39645         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39646         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39647         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39648         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39649         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39650         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39651         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39652         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39654         Likewise.
39655         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39656         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39657         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39658         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39659         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39660         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39661         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39662         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39665         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39667         Regenerated.
39668         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39670         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39672         * shlib-versions: Remove OS-specific entries.  Moved to files in
39673         sysdeps.
39674         * sysdeps/mach/hurd/shlib-versions: New file.
39675         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39677         * nptl/shlib-versions: Remove architecture-specific entries.
39678         Moved to files in sysdeps.
39679         * shlib-versions: Likewise.
39680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39681         file.
39682         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39683         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39684         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39685         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39687         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39688         (UDP_NO_CHECK6_RX): Likewise.
39690 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         * sysdeps/posix/sysconf.c (__sysconf): Spell
39693         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39695 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39697         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39698         loading.
39699         * iconv/Versions (__gconv_transliterate): Export for use from
39700         gconv modules.
39701         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39702         (struct __gconv_trans_data, __gconv_trans_fct,
39703         __gconv_trans_context_fct, __gconv_trans_query_fct,
39704         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39705         definitions.
39706         (struct __gconv_step_data): Remove __trans member.
39707         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39708         longer hidden.  Remove unused trans_data argument.
39709         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39710         (__gconv_translit_find): Remove declaration.
39711         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39712         prototype.
39713         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39714         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39715         trans_data argument.  Add hidden definition.
39716         (__gconv_translit_find): Remove.
39717         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39718         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39719         * iconv/skeleton.c: Remove transliteration initialization.
39720         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39721         __gconv_step_data initialization.
39722         * libio/iofwide.c (__libio_translit_): Remove.
39723         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39724         * wcsmbs/btowc.c (__btowc): Likewise.
39725         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39726         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39727         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39728         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39729         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39730         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39731         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39732         * wcsmbs/wctob.c (wctob): Likewise.
39734 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39736         [BZ #16194]
39737         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39738         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39739         register usage.
39740         * sysdeps/x86/Makefile: Adjust.
39742 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39743             Roland McGrath  <roland@hack.frob.com>
39745         * locale/weight.h: Add include guard.
39746         (findidx): Make static rather than auto; take new parameters
39747         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39748         * locale/weightwc.h: Likewise.
39749         * posix/fnmatch_loop.c
39750         (FCT): Change type of EXTRA from int32_t to wint_t.
39751         Don't include either header inside the function.
39752         Call FINDIDX rather than findidx, and pass new arguments.
39753         #undef FINDIDX at the end of the file.
39754         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39755         FINDIDX before including fnmatch_loop.c for the non-wide version.
39756         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39757         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39758         for the wide version.
39759         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39760         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39761         Pass new arguments to findidx.
39762         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39763         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39764         Don't #include it inside the function.  Pass new arguments to findidx.
39765         * posix/regex_internal.h
39766         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39767         (re_string_elem_size_at): Don't #include it inside the function.
39768         Pass new arguments to findidx.
39769         * string/strcoll_l.c: #include WEIGHT_H at top level.
39770         (get_next_seq): Don't #include it inside the function.
39771         Pass new arguments to findidx.
39772         (get_next_seq_nocache): Likewise.
39773         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39774         (STRXFRM): Don't #include it inside the function.
39775         Pass new arguments to findidx.
39777 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39779         [BZ #17344]
39780         * malloc/malloc.c (unlink): Turn asserts into a call to
39781         malloc_printerr.
39783 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39785         [BZ #17370]
39786         * libio/wfileops (do_ftell_wide): Free OUT.
39788 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39790         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39792 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39794         [BZ #17363]
39795         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39796         group if the current group is empty.
39798 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39800         * benchtests/bench-memset.c (test_main): Add more test from size
39801         from 32 to 512 bytes.
39802         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39803         Add POWER8 memset object.
39804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39805         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39806         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39807         implementation.
39808         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39809         Likewise.
39810         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39811         multiarch POWER8 memset optimization.
39812         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39813         POWER8 memset optimization.
39815         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39816         Remove bzero multiarch objects.
39817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39820         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39821         Remove define.
39822         [__bzero]: Redefine to specific name.
39823         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39824         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39825         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39826         define.
39827         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39828         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39830 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39832         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39833         warnings into errors.
39835         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39836         __cxa_thread_atexit_impl prototype.
39838 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39840         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39841         Fix capitalization of error message.
39843 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39845         * sysdeps/mips/preconfigure: Modify ABI tests.
39847 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39849         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39851 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39852             Carlos O'Donell  <carlos@systemhalted.org>
39854         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39855         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39856         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39857         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39858         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39859         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39860         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39861         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39862         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39863         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39865         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39867         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39869         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39871         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39873         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39875         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39876         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39877         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39878         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39879         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39880         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39881         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39882         Deconditionalize the code that was previously under [RESET_PID].
39883         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39884         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39885         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39886         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39887         include sysdep.h.
39889 2014-09-08  Allan McRae  <allan@archlinux.org>
39891         * version.h (RELEASE): Set to "development".
39892         (VERSION): Set to "2.20.90"
39894 2014-09-07  Allan McRae  <allan@archlinux.org
39896         * version.h (RELEASE): Set to "stable".
39897         (VERSION): Set to "2.20"
39898         * include/features.h (__GLIBC_MINOR__): Set to 20.
39900         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39901         Liebler.
39903         * po/ko.po: Update Korean translation from translation project.
39905 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39907         [BZ #17354]
39908         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39909         macro for handling signed relocations.
39911 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39913         [BZ #17325]
39914         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39915         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39916         assert.
39917         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39918         * iconvdata/ibm935.c (BODY): Likewise.
39919         * iconvdata/ibm937.c (BODY): Likewise.
39920         * iconvdata/ibm939.c (BODY): Likewise.
39921         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39922         assert.
39923         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39924         script.
39925         * iconvdata/run-iconv-test.sh: New test loop for checking for
39926         decoder crashers.
39928 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39930         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39931         libm_hidden_ver.
39933 2014-09-01  Allan McRae  <allan@archlinux.org>
39935         * po/eo.po: Update Esperanto translation from translation project.
39937         * po/ca.po: Update Catalan translation from translation project.
39939 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39941         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39942         __proc_dostop call.
39944 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39946         [BZ #17319]
39947         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39948         to call set_thread_area instead of hand written asm.
39949         (__NR_set_thread_area): Removed define.
39950         (TLS_FLAG_WRITABLE): Likewise.
39951         (__ASSUME_SET_THREAD_AREA): Remove check.
39952         (TLS_EBX_ARG): Remove define.
39953         (TLS_LOAD_EBX): Likewise.
39955 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39957         Simplify atomicity of socket creation in bind.
39959         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39960         looking up the name after linking the file.
39962 2014-08-27  Allan McRae  <allan@archlinux.org>
39964         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39966 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39968         [BZ #17187]
39969         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39970         trans_compare, open_translit, __gconv_translit_find):
39971         Remove module loading code.
39973 2014-08-26  Allan McRae  <allan@archlinux.org>
39975         * po/vi.po: Update Vietnamese translation from translation project.
39977         * po/uk.po: Update Ukrainian translation from translation project.
39979         * po/fr.po: Update French translation from translation project.
39981         * po/ru.po: Update Russian translation from translation project.
39983         * po/pl.po: Update Polish translation from translation project.
39985         * po/cs.po: Update Czech translation from translation project.
39987         * po/de.po: Update German translation from translation project.
39989         * po/bg.po: Update Bulgarian translation from translation project.
39991         * po/sv.po: Update Sweedish translation from translation project.
39993         * po/nl.po: Update Dutch translation from translation project.
39995         * po/es.po: Update Spanish translation from translation project.
39997 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39999         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40001         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40002         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40003         (CPPFLAGS-iconvconfig): Likewise.
40004         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40006         * include/libc-symbols.h: Remove unnecessary check for
40007         NOT_IN_libc.
40008         * nptl/pthreadP.h: Likewise.
40009         * sysdeps/aarch64/setjmp.S: Likewise.
40010         * sysdeps/alpha/setjmp.S: Likewise.
40011         * sysdeps/arm/sysdep.h: Likewise.
40012         * sysdeps/i386/setjmp.S: Likewise.
40013         * sysdeps/m68k/setjmp.c: Likewise.
40014         * sysdeps/posix/getcwd.c: Likewise.
40015         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40017         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40018         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40019         * sysdeps/sh/sh3/setjmp.S: Likewise.
40020         * sysdeps/sh/sh4/setjmp.S: Likewise.
40021         * sysdeps/unix/alpha/sysdep.h: Likewise.
40022         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40024         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40025         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40030         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40033         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40035         * sysdeps/x86_64/setjmp.S: Likewise.
40037 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40039         [BZ #17263]
40040         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40041         <stdint.h>.
40042         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40043         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40045 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40047         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40049         [BZ #17262]
40050         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40051         and __x86_64__ when disabling x87 inline functions.
40053 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40055         [BZ #17259]
40056         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40057         asm statement with __cpuid_count.
40059 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40061         * configure.ac: Change __ehdr_start code to dereference the struct.
40062         Run readelf on the output to look for relocations.
40063         * configure: Regenerated.
40065 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40067         [BZ #17261]
40068         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40069         value to 0.
40070         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40072 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40074         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40076 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40078         [BZ #16892]
40079         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40080         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40082 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40084         * malloc/malloc.c: Fix typo in comment.
40086 2014-08-09  Allan McRae  <allan@archlinux.org>
40088         * Regenerate libc.po.
40090 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40092         * intl/tst-gettext2.sh: Check every lang file for creation.
40094 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40096         * sysdeps/aarch64/fpu/math_private.h
40097         (libc_feholdsetround_noex_aarch64_ctx): New function.
40099 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40101         * sysdeps/arm/armv6/strcpy.S (strcpy):
40102         Fix performance issue in misaligned cases.
40104 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40106         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40107         Move definition from termios.h.
40108         (struct termio): Likewise.
40109         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40110         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40111         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40112         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40113         Likewise.
40114         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40115         Move definition to ioctl-types.h
40116         (struct termio): Likewise.
40117         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40118         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40119         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40120         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40121         Likewise.
40123 2014-08-05  Richard Henderson  <rth@redhat.com>
40125         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40126         exceptions.
40127         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40128         Add fraiseexcpt.
40129         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40130         Use __feraiseexcept.
40131         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40132         Protect libm symbols with IS_IN_libm.
40134         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40136 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40138         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40140 2014-08-04  Will Newton  <will.newton@linaro.org>
40142         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40143         file.
40145 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40147         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40148         variants for each function.
40150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40152         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40153         appended ...
40154         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40155         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40156         appended ...
40157         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40158         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40159         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40160         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40161         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40162         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40163         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40164         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40165         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40166         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40167         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40168         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40169         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40170         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40171         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40172         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40173         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40174         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40175         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40176         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40177         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40178         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40179         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40180         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40181         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40182         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40183         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40184         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40185         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40186         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40187         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40188         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40189         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40190         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40191         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40192         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40193         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40194         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40195         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40196         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40197         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40198         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40199         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40200         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40201         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40202         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40203         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40204         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40205         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40207         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40208         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40209         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40210         Update #include.
40211         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40212         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40214 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40216         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40217         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40219         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40220         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40221         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40223 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40225         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40226         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40227         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40228         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40230 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40232         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40233         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40234         (__libc_vfork): Define function under this name.
40235         (__vfork): Define as an alias.
40236         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40237         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40239 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40241         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40242         that was previously under [RESET_PID].
40243         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40245 2014-08-04  Andreas Schwab  <schwab@suse.de>
40247         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40249 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40251         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40252         (main): Likewise.
40254 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40256         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40258 2014-08-01  Richard Henderon  <rth@redhat.com>
40260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40261         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40262         typo in exact zero test.
40263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40264         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40267 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40269         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40270         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40271         * sysdeps/arm/sysdep.h: ... here.
40272         [!__ASSEMBLER__]: Include <stdint.h>.
40274 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40276         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40277         (HAVE_WCTYPE_H): Likewise.
40278         (HAVE_ISWCTYPE): Likewise.
40279         (ENABLE_NLS): Likewise.
40280         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40281         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40283         * posix/regex_internal.c: Check if DEBUG is defined and is
40284         set.
40286         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40287         (HAVE_MBSRTOWCS): Likewise.
40288         * posix/fnmatch.c: Include string.h unconditionally.
40290 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40292         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40293         reversal.
40295 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40297         * sysdeps/generic/safe-fatal.h: New file.
40298         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40299         * nptl/forward.c: Include it.
40300         (__pthread_unwind): Use __safe_fatal as default action, rather
40301         than a bogus use of INTERNAL_SYSCALL that could never work.
40303         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40304         * configure.ac (libc_cv_builtin_trap): New test.
40305         * configure: Regenerated.
40306         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40307         (ABORT_INSTRUCTION): Define using __builtin_trap.
40309         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40310         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40311         * sysdeps/nptl/nptl-signals.h: New file.
40312         * nptl/pthreadP.h: Include <nptl-signals.h>.
40314 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40316         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40317         (ONE_DIRECTION): Define.
40318         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40319         (ONE_DIRECTION): Define.
40320         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40321         (ONE_DIRECTION): Define.
40323 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40325         * sysdeps/s390/Makefile: Delete file.
40326         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40327         * sysdeps/s390/__longjmp.c: Delete file.
40328         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40329         Remove fields __flags and __reserved.
40330         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40331         and add versioning.
40332         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40333         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40334         * sysdeps/s390/rtld-setjmp.S: Likewise.
40335         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40336         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40337         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40338         * sysdeps/s390/s390-32/setjmp.S: ... here.
40339         Add versioning.
40340         (__sigsetjmp): Remove setting __flags field.
40341         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40342         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40343         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40344         * sysdeps/s390/s390-64/setjmp.S: ... here.
40345         Add versioning.
40346         (__sigsetjmp): Remove setting __flags field.
40347         * sysdeps/s390/setjmp.S: Delete file.
40348         * sysdeps/s390/sigjmp.c: Likewise.
40349         * sysdeps/s390/v1-longjmp.c: Likewise.
40350         * sysdeps/s390/v1-setjmp.h: Likewise.
40351         * sysdeps/s390/v1-sigjmp.c: Likewise.
40352         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40353         Remove v1-longjmp_chk.
40354         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40355         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40356         Include debug/longjmp_chk.c and add versioning.
40357         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40358         Include nptl/pt-longjmp.c and add versioning.
40359         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40360         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40361         Include __longjmp.c.
40362         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40363         Move to ...
40364         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40365         (__getcontext): Remove setting __flags field.
40366         Add versioning.
40367         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40368         Don't restore upper high grps.
40369         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40370         Likewise.
40371         (__swapcontext): Remove setting uc_flags field.
40372         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40373         Delete file.
40374         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40375         Include __longjmp.c.
40376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40377         Move to ...
40378         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40379         (__getcontext): Remove setting __flags field.
40380         Add versioning.
40381         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40382         (__swapcontext): Remove setting uc_flags field.
40383         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40384         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40385         Remove fields uc_high_gprs and __reserved.
40386         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40387         New file with reverted content.
40388         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40389         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40390         Regenerated.
40391         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40392         Regenerated.
40394 2014-07-31  Andreas Schwab  <schwab@suse.de>
40396         * config.h.in (HAVE_IFUNC): Define to 0.
40397         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40398         definedness.
40400 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40403         memmove-avx-unaligned, memcpy-avx-unaligned and
40404         mempcpy-avx-unaligned.
40405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40406         Add tests for AVX memcpy functions.
40407         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40408         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40409         memcpy_chk.
40410         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40411         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40412         memmove_chk.
40413         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40414         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40415         mempcpy_chk.
40416         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40417         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40418         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40420 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         [BZ #17213]
40423         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40424         powerpc64le.
40426 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40428         [BZ #16839]
40429         * manual/llio.texi: Add section about open file description locks.
40430         * manual/examples/ofdlocks.c: Example of open file description
40431         lock usage.
40432         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40433         F_OFD_SETLK, and F_OFD_SETLKW.
40435 2014-07-23  Allan McRae  <allan@archlinux.org>
40437         * po/es.po: Update Spanish translation from translation project.
40439 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40441         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40443 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40445         [BZ #17078]
40446         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40447         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40448         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40450 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40452         [BZ #17088]
40453         * math/fesetenv.c (__fesetenv)
40454         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40455         * math/feupdateenv.c (__feupdateenv)
40456         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40458         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40459         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40460         (__ASSUME_SOCKETCALL): Do not define.
40462         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40463         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40464         (__ASSUME_SOCKETCALL): Do not define.
40465         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40466         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40467         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40468         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40470         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40472         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40474         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40475         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40476         (__ASSUME_SOCKETCALL): Do not define.
40477         (__ASSUME_IPC64): Define unconditionally.
40478         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40479         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40480         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40481         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40482         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40483         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40484         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40485         Likewise.
40487         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40488         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40489         (__ASSUME_SOCKETCALL): Do not define.
40490         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40491         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40492         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40493         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40494         (__ASSUME_REQUEUE_PI): Define unconditionally.
40495         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40496         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40497         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40498         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40500         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40502         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40503         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40504         (__ASSUME_SOCKETCALL): Do not define.
40505         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40507         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40508         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40510         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40512         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40513         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40514         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40515         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40517         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40519         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40520         (__ASSUME_GETCPU_SYSCALL): Likewise.
40522         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40523         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40524         cases for individual architectures.
40525         * sysdeps/gnu/configure: Regenerated.
40526         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40527         LIBC_SLIBDIR_RTLDDIR.
40528         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40529         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40530         LIBC_SLIBDIR_RTLDDIR.
40531         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40533         LIBC_SLIBDIR_RTLDDIR.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40535         Regenerated.
40536         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40537         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40538         file.
40539         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40540         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40541         file.
40542         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40543         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40544         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40545         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40547         * sysdeps/aarch64/shlib-versions: Move to ...
40548         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40549         * sysdeps/alpha/shlib-versions: Move to ...
40550         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40551         * sysdeps/arm/shlib-versions: Move to ...
40552         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40553         * sysdeps/hppa/shlib-versions: Move all contents except for
40554         libgcc_s entry to ...
40555         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40556         entry from ...
40557         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40558         * sysdeps/ia64/shlib-versions: Move to ...
40559         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40560         entry from ...
40561         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40562         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40563         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40564         * sysdeps/microblaze/shlib-versions: Move to ...
40565         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40566         * sysdeps/mips/shlib-versions: Move to ...
40567         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40568         entry from ...
40569         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40570         * sysdeps/tile/shlib-versions: Move to ...
40571         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40572         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40573         from ...
40574         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40575         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40576         entry from ...
40577         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40579 2014-07-17  Will Newton  <will.newton@linaro.org>
40581         * sysdeps/arm/bits/atomic.h
40582         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40583         (__arch_compare_and_exchange_bool_16_int): Likewise.
40584         (__arch_compare_and_exchange_bool_64_int): Likewise.
40586         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40587         into an #else block.
40589 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40591         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40592         just Linux configurations.  Test empirically that the compiler sets
40593         __ARM_EABI__, rather than using the tuple to decide.
40594         * sysdeps/arm/preconfigure: Regenerated.
40595         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40596         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40597         contents appended ...
40598         * sysdeps/arm/configure.ac: ... here.
40599         * sysdeps/arm/configure: Regenerated.
40601 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40603         * nptl/pthread_kill.c: New file.
40604         * nptl/pthread_sigmask.c: New file.
40605         * nptl/pthread_sigqueue.c: New file.
40607         * sysdeps/nptl/lowlevellock.h: New file.
40608         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40609         * sysdeps/nptl/lowlevellock-futex.h: New file.
40611         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40612         Remove dead declarations.
40614 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40616         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40617         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40618         config-cflags-avx2.
40619         * sysdeps/x86_64/configure.ac: Likewise.
40620         * sysdeps/i386/configure: Regenerated.
40621         * sysdeps/x86_64/configure: Likewise.
40622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40623         memset-avx2 only if config-cflags-avx2 is yes.
40624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40625         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40626         defined.
40627         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40628         only if HAVE_AVX2_SUPPORT is defined.
40629         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40631 2014-07-14  Alan Modra  <amodra@gmail.com>
40633         [BZ #17153]
40634         * elf/elf.h (DT_PPC64_NUM): Correct value.
40635         * NEWS: Add to fixed bug list.
40637 2014-07-13  Jim Meyering  <meyering@fb.com>
40639         [BZ 17150]
40640         regex: don't deref NULL upon heap allocation failure
40641         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40642         failure in one more place.
40643         To trigger the segfault, configure grep -with-included-regex,
40644         build it, and run these commands:
40645         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40647 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40649         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40651 2014-07-11  Richard Henderson  <rth@redhat.com>
40653         * sysdeps/aarch64/libm-test-ulps: Update.
40655 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40657         [BZ #17135]
40658         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40659         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40660         (__nptl_setxid): Initialize error member.  Call
40661         __nptl_setxid_error.
40662         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40663         * nptl/descr.h (struct xid_command): Add error member.
40664         * nptl/tst-setuid3.c: New file.
40665         * nptl/Makefile (tests): Add it.
40667 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40669         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40670         New define.
40671         (__lll_trylock): Use __lll_base_trylock.
40672         (__lll_cond_trylock): Likewise.
40674 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40676         * nptl/pthread_create.c (start_thread): Use atomic_or and
40677         lll_futex_wake directly rather than lll_robust_dead.
40678         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40679         (lll_robust_dead): Macro removed.
40680         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40681         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40682         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40683         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40684         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40685         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40686         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40687         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40688         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40690         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40691         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40692         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40693         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40696         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40697         Use atomic_compare_and_exchange_val_acq directly rather than
40698         lll_robust_trylock.
40699         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40700         (__lll_robust_trylock, lll_robust_trylock): Removed.
40701         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40702         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40703         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40705         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40706         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40707         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40708         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40709         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40710         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40711         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40712         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40713         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40714         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40716 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40718         * manual/locale.texi (Locale Names): New section documenting
40719         locale name syntax.  Adjust menu and node chaining accordingly.
40720         (Choosing Locale): Reference Locale Names, Locale Categories.
40721         Mention setting LC_ALL=C.  Reflect that name syntax is now
40722         documented.
40723         (Locale Categories): New section title.  Reference Locale Names.
40724         LC_ALL is an environment variable, but not a category.
40725         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40726         description, now in Locale Name.  Reference that section.  Locale
40727         name syntax is now documented.
40729 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40731         [BZ #17137]
40732         * locale/findlocale.c (name_present, valid_locale_name): New
40733         functions.
40734         (_nl_find_locale): Use the loc_name variable to store name
40735         candidates.  Call name_present and valid_locale_name to check and
40736         validate locale names.  Return an error if the locale is invalid.
40738 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40740         * locale/setlocale.c (setlocale): Use strdup for allocating
40741         composite name copy.
40743 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40745         Sync up with gnulib.
40746         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40747         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40748         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40749         and _GL_ARG_NONNULL.
40750         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40751         [!_LIBC]: Include code for Windows and Cygwin.
40752         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40753         Include prototype for int strerror_r.
40754         [!_LIBC] (is_open): New function.
40755         (flush_stdout): New function.
40756         (print_errno_message): Use it.
40757         (error): Likewise.
40758         (error_at_line): Likewise.
40759         (error_tail) Add function attribute macros.  Use
40760         __builtin_expect.
40762         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40764         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40766         * io/ftw.c: Include sys/param.h unconditionally.
40768         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40770         [BZ #17125]
40771         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40772         libc_freeres_ptr.
40773         (freecache): New function to free CACHE on exit.
40775         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40776         initialization.
40778 2014-07-09  David S. Miller  <davem@davemloft.net>
40780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40782         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40783         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40784         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40785         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40786         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40787         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40788         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40789         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40790         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40791         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40792         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40793         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40794         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40796 2014-07-09  Andreas Schwab  <schwab@suse.de>
40798         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40799         output.
40800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40801         (do_test): Likewise.
40803         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40805 2014-07-09  Will Newton  <will.newton@linaro.org>
40807         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40808         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40809         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40810         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40811         * sysdeps/hppa/start.S (_start): Likewise.
40813 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40815         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40817         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40818         defined.
40820 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40822         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40823         after checking that it is non-NULL.
40825         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40827 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40829         * sysdeps/powerpc/memmove.c: Remove file.
40830         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40831         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40832         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40833         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40834         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40835         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40836         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40837         string memmove instead of removed powerpc one.
40839         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40840         [weak_alias]: Fix compiler warning due trailing data.
40841         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40842         [weak_alias]: Likewise.
40843         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40844         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40847         (__libc_ifunc_impl_list): Add memmove functions.
40849 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40852         Remove code.
40853         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40854         Likewise.
40855         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40856         Likewise.
40857         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40858         Likewise.
40859         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40860         Likewise.
40861         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40862         Likewise.
40863         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40864         Likewise.
40865         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40866         Likewise.
40867         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40868         Likewise.
40869         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40870         Likewise.
40871         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40872         Likewise.
40873         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40874         Likewise.
40875         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40876         Likewise.
40877         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40878         Likewise.
40879         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40880         Likewise.
40881         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40882         Likewise.
40883         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40884         Likewise.
40886 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40888         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40889         to avoid alignment traps in non-cacheable memory.
40890         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40893         multiarch objects.
40894         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40895         file: multiarch power7 memmove.
40896         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40897         multiarch default memmove.
40898         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40899         multiarch memove for powerpc32/power4.
40901         * string/bcopy.c: Use full path to include memmove.c.
40902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40903         multiarch objects.
40904         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40905         bcopy for powerpc64.
40906         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40907         bcopy for powerpc64.
40908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40909         and memmove implementations.
40910         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40911         optimized multiarch memmove for POWER7/powerpc64.
40912         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40913         default multiarch memmove for powerpc64.
40914         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40915         multiarch for powerpc64.
40916         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40917         for POWER7/powerpc64.
40918         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40919         memmove for POWER7/powerpc64.
40921         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40922         glibc default one.
40924         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40925         __ELF_NATIVE_CLASS equal to 64.
40927 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40929         * sysdeps/nptl/lowlevellock.h: File removed.
40931         * NEWS: NPTL is no longer an add-on!
40932         * nptl/internaltypes.h: Moved ...
40933         * sysdeps/nptl/internaltypes.h: ... here.
40934         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40935         * sysdeps/nptl/fork.c: Likewise.
40936         * sysdeps/nptl/gai_misc.h: Likewise.
40937         * sysdeps/nptl/librt-cancellation.c: Likewise.
40938         * sysdeps/nptl/jmp-unwind.c: Likewise.
40939         * sysdeps/nptl/setxid.h: Likewise.
40940         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40941         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40942         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40943         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40944         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40945         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40946         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40947         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40948         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40949         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40950         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40951         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40952         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40953         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40954         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40955         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40956         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40957         * nptl/Makeconfig: Moved ...
40958         * sysdeps/nptl/Makeconfig: ... here.
40959         * nptl/configure: File removed.
40960         * nptl/ANNOUNCE: File removed.
40961         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40962         * sysdeps/unix/sysv/linux/configure: Regenerated.
40964         * nptl/Makefile (routines): Add libc_pthread_init,
40965         libc_multiple_threads, register-atfork and unregister-atfork.
40966         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40967         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40968         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40969         pthread-pi-defines.sym, structsem.sym.
40970         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40971         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40972         [$(subdir) = nptl] (tests): Add tst-setgetname.
40973         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40974         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40975         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40976         [!LIBC_SIGACTION]: Remove aliases.
40977         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40978         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40979         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40980         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40981         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40982         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40983         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40984         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40986         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40987         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40988         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40989         __libc_allocate_rtsig_private.
40990         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40991         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40992         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40993         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40994         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40995         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40996         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40997         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40998         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40999         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41000         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41001         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41002         * nptl/internaltypes.h: ... here.
41003         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41004         * sysdeps/nptl/jmp-unwind.c: ... here.
41005         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41006         * nptl/libc-lowlevellock.c: ... here.
41007         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41008         * nptl/libc_multiple_threads.c: ... here.
41009         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41010         * nptl/libc_pthread_init.c: ... here.
41011         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41012         * nptl/lowlevelbarrier.sym: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41014         * nptl/lowlevelcond.sym: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41016         * nptl/lowlevellock.c: ... here.
41017         * nptl/lowlevellock.h: Moved ...
41018         * sysdeps/nptl/lowlevellock.h: ... here.
41019         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41020         * nptl/lowlevelrobustlock.c: ... here.
41021         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41022         * nptl/lowlevelrobustlock.sym: ... here.
41023         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41024         * nptl/lowlevelrwlock.sym: ... here.
41025         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41026         * nptl/pt-fork.c: ... here.
41027         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41028         * nptl/pthread-pi-defines.sym: ... here.
41029         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41030         * nptl/pthread_attr_getaffinity.c: ... here.
41031         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41032         * nptl/pthread_attr_setaffinity.c: ... here.
41033         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41034         * nptl/pthread_mutex_cond_lock.c: ... here.
41035         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41036         Update #include.
41037         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41038         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41039         * nptl/pthread_once.c: ... here, replacing old file.
41040         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41041         * nptl/pthread_yield.c: ... here.
41042         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41043         * nptl/register-atfork.c: ... here.
41044         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41045         * nptl/sem_post.c: ... here.
41046         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41047         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41048         * nptl/sem_timedwait.c: ... here.
41049         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41050         * nptl/sem_trywait.c: ... here.
41051         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41052         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41053         * nptl/sem_wait.c: ... here.
41054         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41055         * nptl/structsem.sym: ... here.
41056         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41057         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41058         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41059         * nptl/unregister-atfork.c: ... here.
41060         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41061         * nptl/unwindbuf.sym: ... here.
41062         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41063         * sysdeps/nptl/fork.c: ... here.
41064         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41065         * sysdeps/nptl/fork.h: ... here.
41066         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41067         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41068         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41069         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41070         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41071         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41072         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41073         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41074         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41075         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41076         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41077         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41078         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41079         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41080         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41081         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41082         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41083         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41084         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41085         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41086         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41087         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41088         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41089         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41090         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41091         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41092         * sysdeps/unix/sysv/linux/raise.c: ... here.
41093         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41094         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41095         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41096         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41097         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41098         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41099         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41100         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41101         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41102         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41103         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41104         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41105         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41106         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41107         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41109 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41111         * sysdeps/generic/memcopy.h: Add comment for
41112         MEMCPY_OK_FOR_FWD_MEMMOVE.
41114 2014-07-04  Will Newton  <will.newton@linaro.org>
41116         * string/memchr.c: Merge from gnulib.
41117         [_LIBC]: Remove conditionals.
41118         (__ptr_t): Remove define.
41119         (LONG_MAX_32_BITS): Likewise.
41120         (LONG_MAX): Likewise.
41121         (MEMCHR): Use ANSI prototype and optimize algorithm.
41123         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41125 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41127         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41128         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41130         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41131         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41132         in a bare environment with no <stdlib.h> installed.
41133         * sysdeps/nptl/configure: Regenerated.
41135         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41137         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41138         AC_EGREP_CPP for kernel header checks, so they only succeed if
41139         including <linux/version.h> actually works right.
41140         * sysdeps/unix/sysv/linux/configure: Regenerated.
41142         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41143         value so it's not diagnosed as unused.
41145         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41146         thing) with "ifeq ($(subdir),rt)".
41148 2014-07-03  Richard Henderson  <rth@redhat.com>
41150         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41151         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41152         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41154         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41155         (math_force_eval): New.
41157         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41158         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41160         * sysdeps/alpha/fpu/s_round.c: Remove file.
41161         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41163         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41164         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41165         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41166         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41167         (_dl_start, print_statistics): Likewise.
41168         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41169         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41171         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41172         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41173         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41174         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41175         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41176         (HP_SMALL_TIMING_AVAIL): Define.
41177         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41178         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41179         (HP_SMALL_TIMING_AVAIL): Define.
41180         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41181         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41183         * sysdeps/aarch64/hp-timing.h: New file.
41185         * sysdeps/generic/hp-timing.h: Remove dead comment.
41186         * sysdeps/generic/hp-timing-common.h: New file.
41187         * sysdeps/alpha/hp-timing.h: Include it.
41188         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41189         * sysdeps/i386/i686/hp-timing.h: Likewise.
41190         * sysdeps/ia64/hp-timing.h: Likewise.
41191         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41192         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41193         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41194         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41195         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41196         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41197         (hp_timing_t): New.
41199         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41200         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41201         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41202         * elf/rtld.c (_dl_start_final): Likewise.
41203         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41204         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41205         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41206         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41207         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41208         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41209         (HP_TIMING_DIFF_INIT): Remove.
41210         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41212         (HP_TIMING_DIFF_INIT): Remove.
41213         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41214         * sysdeps/i386/i686/hp-timing.c: Remove file.
41215         * sysdeps/x86_64/hp-timing.c: Remove file.
41216         * sysdeps/ia64/hp-timing.c: Remove file.
41217         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41218         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41219         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41220         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41222         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41223         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41224         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41225         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41227         (HP_TIMING_ACCUM): Remove.
41228         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41230         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41232         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41233         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41234         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41235         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41237         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41238         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41239         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41241         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41243 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41245         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41247 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41249         Sync up with gettext.
41250         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41251         [_MSC_VER]: Include malloc.h
41252         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41253         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41254         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41255         TEMP_FAILURE_RETRY.  Cast return of alloca.
41256         [!_LIBC] Call gl_rwlock_init.
41257         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41259 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41261         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41262         before checking its value.
41264 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41266         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41268         * debug/memcpy_chk.c: Don't include pagecopy.h.
41269         * debug/mempcpy_chk.c: Likewise.
41270         * string/memcpy.c: Likewise.
41271         * string/memmove.c: Likewise.
41272         * sysdeps/powerpc/memmove.c: Likewise.
41273         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41274         definition of PAGE_COPY_FWD_MAYBE here...
41275         * sysdeps/generic/pagecopy.h: ... from here.
41276         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41278 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41281         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41283         optimizations.
41284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41285         (__libc_ifunc_impl_list): Likewise.
41286         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41287         multiarch strcat for PPC64.
41288         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41289         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41291 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41293         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41295 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41297         * intl/loadmsgcat.c: Remove declaration of
41298         get_sysdep_segment_value.
41299         (get_sysdep_segment_value): Use ISO C style.
41300         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41301         semicolon.  Fix typo and formatting in comment.
41302         (_nl_unload_domain): Use ISO C style.
41304         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41306 2014-07-02  Will Newton  <will.newton@linaro.org>
41308         * malloc/obstack.c: Merge from gnulib master.
41309         [HAVE_CONFIG_H]: Remove conditional code.
41310         [!_LIBC]: Include config.h.
41311         [!ELIDE_CODE]: Don't include inttypes.h, include
41312         stdint.h unconditionally.
41313         (print_and_abort): Mark as _Noreturn.
41314         (_obstack_allocated_p): Mark as __attribute_pure__.
41315         (obstack_free): Rename to __obstack_free.
41316         [!__attribute__]: Remove conditional code.
41317         * malloc/obstack.h: Merge from gnulib master.
41318         [__cplusplus]: Move conditional down.
41319         [!__attribute_pure__]: Define __attribute_pure__ here
41320         if it is not already defined.
41321         (_obstack_memory_used): Mark as __attribute_pure__.
41322         [!__obstack_free]: Define as obstack_free.
41323         [__GNUC__]: Remove check for ancient NeXT gcc.
41325 2014-07-02  Will Newton  <will.newton@linaro.org>
41326             Paul Eggert  <eggert@cs.ucla.edu>
41328         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41330 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         * resolv/gethnamaddr.c: Add comment warning that the file is
41333         not maintained.
41335 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41337         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41338         entries.
41340         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41341         entry for aio_cancel and aio_cancel64.
41342         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41343         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41344         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41345         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41346         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41347         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41348         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41349         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41350         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41351         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41352         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41353         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41354         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41356 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41358         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41359         * nptl/pthread_mutex_lock.c: Likewise.
41360         * nptl/pthread_mutex_timedlock.c: Likewise.
41361         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41363 2014-07-01  Richard henderson  <rth@redhat.com>
41365         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41366         (__isnan, __isnanl): Remove.
41367         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41369         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41371 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41373         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41375 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41377         * resolv/nss_dns/dns-host.c (getanswer_r)
41378         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41380 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41383         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41384         undefine.
41385         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41386         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41388 2014-07-01  Roland McGrath <roland@hack.frob.com>
41390         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41391         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41393         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41394         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41396         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41397         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41398         ... here.
41399         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41400         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41402         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41403         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41404         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41405         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41407         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41408         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41409         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41410         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41411         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41412         Moved ...
41413         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41414         ... here.
41415         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41416         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41417         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41418         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41419         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41420         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41421         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41422         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41423         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41424         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41425         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41426         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41427         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41428         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41429         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41430         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41431         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41432         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41433         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41434         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41435         ... here.
41436         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41437         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41438         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41439         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41440         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41441         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41442         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41443         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41445 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41447         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41448         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41449         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41450         Add sysdep.
41452 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41456 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41458         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41459         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41461         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41463         * sysdeps/arm/libm-test-ulps: Regenerated.
41465 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41466             Roland McGrath <roland@hack.frob.com>
41468         * test-skeleton.c (signal_handler): Kill the whole process group
41469         before killing the child individually.
41470         (main): Report any failure on `setpgid'.
41472 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41474         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41475         from _TLS_H to _ARM_NPTL_TLS_H.
41476         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41477         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41479 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41481         [BZ #16539]
41482         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41483         (__expm1l): Return argument unchanged when small but not
41484         subnormal.
41486         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41487         include macro name.
41488         (_FP_UNPACK_RAW_1_P): Likewise.
41489         (_FP_PACK_RAW_1): Likewise.
41490         (_FP_PACK_RAW_1_P): Likewise.
41491         (_FP_MUL_MEAT_1_wide): Likewise.
41492         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41493         (_FP_MUL_MEAT_1_hard): Likewise.
41494         (_FP_DIV_MEAT_1_imm): Likewise.
41495         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41496         (_FP_DIV_MEAT_1_udiv): Likewise.
41497         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41498         (_FP_UNPACK_RAW_2): Likewise.
41499         (_FP_UNPACK_RAW_2_P): Likewise.
41500         (_FP_PACK_RAW_2): Likewise.
41501         (_FP_PACK_RAW_2_P): Likewise.
41502         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41503         (_FP_MUL_MEAT_2_wide): Likewise.
41504         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41505         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41506         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41507         (_FP_MUL_MEAT_2_gmp): Likewise.
41508         (_FP_DIV_MEAT_2_udiv): Likewise.
41509         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41510         (_FP_FRAC_SRL_4): Likewise.
41511         (_FP_FRAC_SRST_4): Likewise.
41512         (_FP_FRAC_SRS_4): Likewise.
41513         (_FP_UNPACK_RAW_4): Likewise.
41514         (_FP_UNPACK_RAW_4_P): Likewise.
41515         (_FP_PACK_RAW_4): Likewise.
41516         (_FP_PACK_RAW_4_P): Likewise.
41517         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41518         (_FP_MUL_MEAT_4_wide): Likewise.
41519         (_FP_MUL_MEAT_4_gmp): Likewise.
41520         (umul_ppppmnnn): Likewise.
41521         (_FP_DIV_MEAT_4_udiv): Likewise.
41522         (__FP_FRAC_ADD_4): Likewise.
41523         (__FP_FRAC_SUB_3): Likewise.
41524         (__FP_FRAC_SUB_4): Likewise.
41525         (__FP_FRAC_DEC_3): Likewise.
41526         (__FP_FRAC_DEC_4): Likewise.
41527         (__FP_FRAC_ADDI_4): Likewise.
41528         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41529         (_FP_FRAC_SRL_8): Likewise.
41530         (_FP_FRAC_SRS_8): Likewise.
41532         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41533         include macro name.
41534         (FP_UNPACK_RAW_EP): Likewise.
41535         (FP_PACK_RAW_E): Likewise.
41536         (FP_PACK_RAW_EP): Likewise.
41537         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41538         (_FP_ISSIGNAN): Likewise.
41539         (_FP_ADD_INTERNAL): Likewise.
41540         (_FP_FMA): Likewise.
41541         (_FP_CMP): Likewise.
41542         (_FP_SQRT): Likewise.
41543         (_FP_TO_INT): Likewise.
41544         (_FP_FROM_INT): Likewise.
41545         (FP_EXTEND): Likewise.
41546         (_FP_DIV_MEAT_N_loop): Likewise.
41548 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41550         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41551         throughout.
41553 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41555         [BZ #17097]
41556         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41557         result with correct sign in case of exponents that produce
41558         overflow except for X very close to 1.
41560 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41562         mktime: merge #if/#ifdef usage from glibc
41563         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41564         as that works with both Glibc's and Gnulib's style.
41565         See thread starting at Siddhesh Poyarekar's bug report at:
41566         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41568 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41570         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41571         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41572         * sysdeps/tile/tilegx/memmove.c: Remove file.
41574 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41576         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41577         abi-name definition.
41578         * scripts/soversions.awk: Do not handle or generate ABI lines.
41579         * shlib-versions: Remove ABI entries.
41580         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41581         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41583 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41586         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41587         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41588         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41590         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41592         Moved ...
41593         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41594         ... here.
41595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41596         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41598         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41600         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41602         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41604         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41606         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41608         Moved ...
41609         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41613         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41615         Moved ...
41616         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41618         Moved ...
41619         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41621         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41623         Moved ...
41624         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41626         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41628         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41630         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41632         Moved ...
41633         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41635         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41637         Moved ...
41638         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41640         Moved ...
41641         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41645         Moved ...
41646         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41647         ... here.
41648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41649         Identical file removed.
41650         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41651         Moved ...
41652         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41653         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41654         Identical file removed.
41655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41656         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41658         Moved ...
41659         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41661         Identical file removed.
41662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41663         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41664         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41665         Identical file removed.
41666         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41668         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41669         Identical file removed.
41670         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41671         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41672         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41673         Identical file removed.
41674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41675         Moved ...
41676         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41678         Identical file removed.
41679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41680         Moved ...
41681         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41682         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41683         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41684         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41685         Identical file removed.
41686         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41687         Moved ...
41688         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41689         ... here.
41690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41691         Identical file removed.
41692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41693         Moved ...
41694         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41696         Identical file removed.
41697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41698         Moved ...
41699         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41701         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41703         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41705         Moved ...
41706         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41707         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41708         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41710         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41711         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41712         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41713         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41714         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41716 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41718         [BZ #17092]
41719         * nscd/nscd.c (monitor_child): Return exit status of child
41720         instead of return value from wait syscall.
41722 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41724         * configure.ac (libc_commonpagesize): Remove variable.
41725         (libc_relro_required): Likewise.
41726         (libc_cv_z_relro): Remove configure test.
41727         * configure: Regenerated.
41728         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41729         variable.
41730         (libc_relro_required): Likewise.
41731         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41732         (libc_relro_required): Likewise.
41733         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41734         (libc_relro_required): Likewise.
41735         * sysdeps/arm/preconfigure: Regenerated.
41736         * sysdeps/ia64/preconfigure: Remove file.
41737         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41738         variable.
41739         (libc_relro_required): Likewise.
41741         [BZ #16561]
41742         [BZ #16562]
41743         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41744         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41745         recompute overflowing results in original rounding mode.
41746         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41747         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41748         recompute overflowing results in original rounding mode.
41749         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41750         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41751         recompute overflowing results in original rounding mode.
41752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41753         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41754         recompute overflowing results in original rounding mode.
41755         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41756         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41757         recompute overflowing results in original rounding mode.
41758         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41759         (libc_feholdsetround_ctx): New macro.
41760         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41761         * sysdeps/i386/fpu/libm-test-ulps: Update.
41762         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41764 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41766         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41767         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41768         corresponding .cpsetup call.
41770 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41772         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41773         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41774         * sysdeps/arm/Makefile [$(subdir) = csu]
41775         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41776         (static-only-routines): Add aeabi_read_tp here.
41777         (shared-only-routines): Add libc-aeabi_read_tp here.
41778         (CFLAGS-libc-start.c): Add -fexceptions here.
41779         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41780         (sysdep_routines, static-only-routines, shared-only-routines):
41781         Don't add to these here.
41782         (CFLAGS-libc-start.c): Likewise.
41784         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41785         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41786         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41787         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41788         * sysdeps/arm/Makefile [$(subdir) = rt]
41789         (librt-sysdep_routines, librt-shared-only-routines):
41790         Append rt-aeabi_unwind_cpp_pr1 here.
41791         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41792         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41793         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41794         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41795         Append nptl-aeabi_unwind_cpp_pr1 here.
41796         (tests): Filter out tst-cleanupx4 here.
41797         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41798         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41799         Don't do those here.
41801 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41803         * scripts/list-sources.sh: Do not handle ports specially.
41805 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41807         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41808         * sysdeps/arm/feupdateenv.c: Likewise.
41810         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41812 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41814         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41815         trailing whitespace removed.
41816         * scripts/config.guess: Update to version 2014-03-23.
41817         * scripts/config.sub: Update to version 2014-05-01
41818         * scripts/install-sh: Update to version 2013-12-25.23.
41819         * scripts/move-if-change: Update from gnulib.
41821 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41823         * debug/memmove_chk.c: Remove pagecopy.h include.
41825 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41827         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41828         identical to gnulib mktime.
41830 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41832         * configure.ac: Do not test for machine being rs6000.  Do not test
41833         for powerpc*-*soft.
41834         * configure: Regenerated.
41836         [BZ #11505]
41837         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41838         test.
41839         * configure: Regenerated.
41840         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41841         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41842         Remove configure test.
41843         * sysdeps/arm/configure: Regenerated.
41844         * sysdeps/nptl/configure.ac: Do not check
41845         libc_cv_asm_cfi_directives.
41846         * sysdeps/nptl/configure: Regenerated.
41847         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41848         * sysdeps/x86_64/nptl/configure: Remove generated file.
41849         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41850         unconditional.
41851         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41853 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41855         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41856         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41857         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41858         it is defined.
41860         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41861         instead of whether it is defined.
41862         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41863         * sysdeps/hppa/dl-machine.h: Likewise.
41864         * sysdeps/ia64/dl-machine.h: Likewise.
41865         * sysdeps/m68k/dl-machine.h: Likewise.
41866         * sysdeps/microblaze/dl-machine.h: Likewise.
41867         * sysdeps/mips/dl-machine.: Likewise.
41868         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41869         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41870         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41871         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41872         * sysdeps/sh/dl-machine.h: Likewise.
41873         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41874         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41875         * sysdeps/tile/dl-machine.h: Likewise.
41876         * sysdeps/x86_64/dl-machine.h: Likewise.
41878         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41879         code.
41880         (verify_persistent_db): Likewise.
41882 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41885         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41887         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41889         Moved ...
41890         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41891         ... here.
41892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41893         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41895         Identical file removed.
41896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41897         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41899         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41901         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41903         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41905         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41907         Moved ...
41908         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41910         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41912         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41914         Moved ...
41915         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41917         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41919         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41921         Identical file removed.
41922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41923         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41925         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41927         Moved ...
41928         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41929         ... here.
41930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41931         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41935         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41939         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41941         Moved ...
41942         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41944         Moved ...
41945         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41947         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41949         Moved ...
41950         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41952         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41954         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41955         folded into ...
41956         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41957         * sysdeps/unix/sysv/linux/s390/Versions
41958         (libpthread: GLIBC_2.19): New version set.
41959         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41960         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41961         (librt: GLIBC_2.3.3): New version set.
41962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41963         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41964         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41965         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41966         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41967         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41968         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41969         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41970         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41971         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41972         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41973         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41974         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41975         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41976         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41977         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41978         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41979         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41980         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41981         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41982         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41983         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41984         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41986         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41990         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41992         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41993         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41998         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42000         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42001         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42002         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42004         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42006         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42008         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42009         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42010         (__libc_vfork): Define the function under this name.
42011         [!NOT_IN_libc] (__vfork): Make this an alias.
42012         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42014         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42015         (__libc_vfork): Define the function under this name.
42016         [!NOT_IN_libc] (__vfork): Make this an alias.
42017         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42018         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42019         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42021         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42022         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42024         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42025         code that was previously under [RESET_PID].
42026         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42027         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42030         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42031         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42032         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42033         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42034         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42035         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42036         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42037         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42038         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42039         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42040         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42041         Moved ...
42042         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42043         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42044         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42045         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42046         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42047         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42048         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42049         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42050         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42051         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42052         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42053         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42054         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42055         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42056         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42057         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42058         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42059         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42060         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42061         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42062         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42063         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42064         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42065         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42066         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42067         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42068         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42070         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42072 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42074         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42075         that was previously under [RESET_PID].
42076         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42078 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42080         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42081         not undefine and redefine.
42082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42083         [O_CLOEXEC]: Make code unconditional.
42084         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42085         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42086         <kernel-features.h>.
42087         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42088         conditional variable definition.
42089         (shm_open) [O_CLOEXEC]: Make code unconditional.
42090         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42091         code.
42093         * configure.ac (USE_REGPARMS): Don't define here.
42094         * configure: Regenerated.
42095         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42096         * sysdeps/i386/configure: Regenerated.
42098         * nptl/createthread.c: Don't include kernel-features.h.
42099         * nptl/pthread_cancel.c: Likewise.
42100         * nptl/pthread_condattr_setclock.c: Likewise.
42101         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42102         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42103         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42104         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42105         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42106         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42107         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42110         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42111         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42112         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42113         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42114         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42115         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42116         * nscd/gai.c: Likewise.
42117         * nss/nss_db/db-open.c: Likewise.
42118         * sysdeps/generic/ldsodefs.h: Likewise.
42119         * sysdeps/sh/nptl/tls.h: Likewise.
42120         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42121         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42122         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42123         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42124         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42125         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42126         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42127         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42129         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42130         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42131         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42132         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42133         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42134         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42135         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42136         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42137         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42138         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42139         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42140         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42142         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42143         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42148         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42149         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42150         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42151         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42152         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42153         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42154         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42155         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42156         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42157         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42158         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42159         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42160         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42161         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42162         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42163         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42164         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42165         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42166         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42167         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42168         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42169         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42170         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42171         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42172         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42173         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42174         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42175         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42176         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42177         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42200         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42201         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42202         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42203         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42204         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42205         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42206         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42207         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42208         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42209         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42210         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42211         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42212         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42213         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42214         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42215         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42216         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42217         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42218         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42219         * sysdeps/unix/sysv/linux/system.c: Likewise.
42220         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42221         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42222         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42223         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42224         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42225         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42226         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42228         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42229         * configure: Regenerated.
42230         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42232         * configure.ac (base_machine): Do not set specially for particular
42233         machines here.
42234         * configure: Regenerated.
42235         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42236         settings from configure.ac.
42237         * sysdeps/i386/preconfigure: New file.
42238         * sysdeps/s390/preconfigure: Likewise.
42239         * sysdeps/sh/preconfigure: Likewise.
42240         * sysdeps/sparc/preconfigure: Likewise.
42242 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42244         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42245         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42246         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42247         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42248         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42249         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42250         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42251         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42252         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42253         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42254         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42255         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42256         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42257         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42258         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42259         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42260         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42261         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42262         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42264         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42265         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42266         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42267         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42268         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42269         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42270         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42271         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42272         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42273         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42274         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42275         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42276         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42277         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42278         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42279         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42280         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42281         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42282         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42283         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42285         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42287         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42289         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42291         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42293         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42294         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42295         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42297         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42298         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42299         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42300         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42301         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42304         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42306         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42308         Moved ...
42309         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42310         ... here.
42311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42312         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42314         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42316         Moved ...
42317         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42319         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42321         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42323         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42325         Moved ...
42326         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42328         Moved ...
42329         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42331         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42333         Moved ...
42334         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42336         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42338         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42340         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42342         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42344         Moved ...
42345         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42346         ... here.
42347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42348         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42350         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42352         Moved ...
42353         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42355         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42357         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42359         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42361         Moved ...
42362         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42364         Moved ...
42365         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42367         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42369         Moved ...
42370         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42372         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42374         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42376 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42378         * timezone/checktab.awk: Update from tzcode 2014e.
42379         * timezone/private.h: Likewise.
42380         * timezone/tzfile.h: Likewise.
42381         * timezone/zdump.c: Likewise.
42382         * timezone/zic.c: Likewise.
42384         * sysdeps/unix/sysv/linux/kernel-features.h
42385         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42387         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42388         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42389         Remove conditional code.
42391 2014-06-25  Will Newton  <will.newton@linaro.org>
42393         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42394         (_dl_arm_cap_flags): Add HWCAP2 values.
42395         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42396         (_DL_HWCAP_COUNT): Increase to 37.
42397         (_DL_HWCAP_LAST): New define.
42398         (_DL_HWCAP2_LAST): New define.
42399         (_dl_procinfo): Add support for printing
42400         AT_HWCAP2 entries.
42401         (_dl_string_hwcap): Use _dl_hwcap_string.
42403 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42407 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42409         * README: Do not mention ports directory.
42411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42412         Remove macro.
42413         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42414         <kernel-features.h>.
42415         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42416         conditional variable definition.
42417         (__futimes): Update comment.
42418         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42419         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42421         [BZ #16560]
42422         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42423         arguments close to 0.
42424         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42425         Likewise.
42426         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42427         Likewise.
42428         * math/auto-libm-test-in: Add more tests of exp10.
42429         * math/auto-libm-test-out: Regenerated.
42430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42432         * sysdeps/unix/sysv/linux/kernel-features.h
42433         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42434         * sysdeps/unix/sysv/linux/readv.c: Do not include
42435         <kernel-features.h>.
42436         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42437         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42438         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42439         unconditional.
42440         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42441         conditional code.
42442         * sysdeps/unix/sysv/linux/writev.c: Do not include
42443         <kernel-features.h>.
42444         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42445         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42446         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42447         unconditional.
42448         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42449         conditional code.
42451 2014-06-25  Will Newton  <will.newton@linaro.org>
42453         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42454         comment changes throughout the file.  Remove checks
42455         for HAVE_*_H definitions that are not required.
42456         (__gen_tempname): Call abort if an unknown kind value is
42457         passed.
42459 2014-06-25  Andreas Schwab  <schwab@suse.de>
42461         [BZ #17086]
42462         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42463         scalbln, scalblnf, scalblnl in libc.
42465 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42467         [BZ #17086]
42468         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42469         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42470         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42472 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42474         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42475         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42476         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42477         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42478         Update #include.
42479         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42480         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42481         Update #include.
42482         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42483         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42484         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42486         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42487         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42488         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42489         * sysdeps/x86/bits/semaphore.h: ... here.
42490         * sysdeps/x86/nptl/elide.h: Moved ...
42491         * sysdeps/x86/elide.h: ... here.
42492         * sysdeps/x86_64/nptl/Implies: File removed.
42493         * sysdeps/i386/nptl/Implies: File removed.
42495 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42497         [BZ #16539]
42498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42499         return the argument for normal arguments with exponent below -64.
42500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42501         Likewise.
42502         * math/auto-libm-test-in: Add another test of expm1.
42503         * math/auto-libm-test-out: Regenerated.
42505         [BZ #16287]
42506         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42507         calling __erfcl for arguments at least 16.
42508         * math/auto-libm-test-in: Add more tests of erf.
42509         * math/auto-libm-test-out: Regenerated.
42511         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42512         individual architectures.
42513         * sysdeps/unix/sysv/linux/configure: Regenerated.
42514         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42515         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42516         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42517         (ldd_rewrite_script): Define variable.
42518         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42520         file.
42521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42522         generated file.
42523         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42524         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42525         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42526         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42527         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42528         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42529         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42530         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42532 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42534         [BZ #17084]
42535         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42536         Rename member __data.d to __data.__elision_data.
42538 2014-06-24  Wilco  <wdijkstr@arm.com>
42540         * NEWS: Add 16918 to fixed bug list.
42542 2014-06-24  Wilco  <wdijkstr@arm.com>
42544         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42546 2014-06-24  Wilco  <wdijkstr@arm.com>
42548         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42549         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42550         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42551         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42552         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42553         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42554         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42555         Use _FPU_MASK_RM.
42557 2014-06-24  Wilco  <wdijkstr@arm.com>
42559         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42561 2014-06-24  Wilco  <wdijkstr@arm.com>
42563         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42564         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42565         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42566         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42568 2014-06-24  Wilco  <wdijkstr@arm.com>
42570         [BZ #16918]
42571         * sysdeps/arm/feupdateenv.c (feupdateenv):
42572         Rewrite to reduce FPSCR accesses and fix return value.
42574 2014-06-24  Wilco  <wdijkstr@arm.com>
42576         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42577         Optimize to avoid unnecessary FPSCR writes.
42578         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42579         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42580         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42581         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42583 2014-06-24  Wilco  <wdijkstr@arm.com>
42585         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42586         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42587         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42588         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42589         Call libc_fetestexcept_vfp.
42590         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42591         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42592         __SOFTFP__ ifdef so that they can be built for softfp.
42594 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42596         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42597         argument type signed char.
42599         * Makerules (check-abi): Dump diff of symlist if the test
42600         fails.
42602 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42604         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42605         using abort.
42607         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42608         Remove unused variable ST.
42610 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42612         [BZ #16354]
42613         [BZ #17061]
42614         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42615         small arguments before calling __expm1.
42616         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42617         small arguments before calling __expm1f.
42618         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42619         small arguments before calling __expm1l.
42620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42621         Likewise.
42622         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42623         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42624         spurious underflow for some cosh tests.
42625         * math/auto-libm-test-out: Regenerated.
42626         * sysdeps/i386/fpu/libm-test-ulps: Update.
42628         [BZ #17050]
42629         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42630         (__ieee754_y1): Set errno if return value overflows.
42631         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42632         (__ieee754_y1f): Set errno if return value overflows.
42633         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42634         (__ieee754_y1l): Set errno if return value overflows.
42635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42636         (__ieee754_y1l): Set errno if return value overflows.
42637         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42638         * math/auto-libm-test-out: Regenerated.
42640         * math/gen-auto-libm-tests.c: Document use of
42641         ignore-zero-inf-sign.
42642         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42643         (input_flags): Add ignore-zero-inf-sign.
42644         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42645         * math/gen-libm-test.pl (generate_testfile): Handle
42646         ignore-zero-inf-sign.
42647         * math/auto-libm-test-in: Mark some cpow tests with
42648         ignore-zero-inf-sign and some with xfail-rounding.
42649         * math/auto-libm-test-out: Regenerated.
42650         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42651         * sysdeps/i386/fpu/libm-test-ulps: Update.
42652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42654         [BZ #16315]
42655         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42656         overflowing or underflowing operations take place with sign of
42657         result.
42658         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42659         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42660         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42661         (__ieee754_pow): Recompute overflowing and underflowing results in
42662         original rounding mode.
42663         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42664         (__powl_helper): Allow negative argument X and scale negated value
42665         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42667         overflowing or underflowing operations take place with sign of
42668         result.
42669         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42670         Include <math.h>.
42671         * math/auto-libm-test-in: Add more tests of pow.
42672         * math/auto-libm-test-out: Regenerated.
42673         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42674         (pow_tonearest_test_data): Remove.
42675         (pow_test_tonearest): Likewise.
42676         (pow_towardzero_test_data): Likewise.
42677         (pow_test_towardzero): Likewise.
42678         (pow_downward_test_data): Likewise.
42679         (pow_test_downward): Likewise.
42680         (pow_upward_test_data): Likewise.
42681         (pow_test_upward): Likewise.
42682         (main): Don't call removed functions.
42683         * sysdeps/i386/fpu/libm-test-ulps: Update.
42684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42686 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42689         Moved ...
42690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42692         Moved ...
42693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42695         Moved ...
42696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42698         Moved ...
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42701         File removed.
42702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42703         File removed.
42704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42705         File removed.
42706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42707         File removed.
42708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42709         File removed.
42710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42711         File removed.
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42713         File removed.
42714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42715         File removed.
42716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42717         File removed.
42718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42719         File removed.
42720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42721         File removed.
42722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42723         File removed.
42724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42725         Moved ...
42726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42728         Moved ...
42729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42730         ... here.
42731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42732         Moved ...
42733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42735         Moved ...
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42738         Moved ...
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42741         Moved ...
42742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42744         Moved ...
42745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42747         Moved ...
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42750         Moved ...
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42754         ... here.
42755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42756         Moved ...
42757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42759         Moved ...
42760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42761         ... here.
42762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42763         Moved ...
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42765         ... here.
42766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42767         Moved ...
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42769         ... here.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42771         Moved ...
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42774         Moved ...
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42779         Moved ...
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42781         ... here.
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42783         Moved ...
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42785         ... here.
42786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42787         Moved ...
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42790         Moved ...
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42793         Moved ...
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42796         Moved ...
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42799         Moved ...
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42801         ... here.
42802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42803         Moved ...
42804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42806         Moved ...
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42809         Moved ...
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42812         Moved ...
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42817         Moved ...
42818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42820         Moved ...
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42823         Moved ...
42824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42825         ... here.
42826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42827         Moved ...
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42829         ... here.
42830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42831         Moved ...
42832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42833         ... here.
42834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42835         Moved ...
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42838         Moved ...
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42841         Moved ...
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42844         Moved ...
42845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42846         ... here.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42848         Moved ...
42849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42850         ... here.
42851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42852         Moved ...
42853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42854         ... here.
42855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42856         Moved ...
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42859         Moved ...
42860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42862 2014-06-23  Will Newton  <will.newton@linaro.org>
42863             Wilco  <wdijkstr@arm.com>
42865         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42866         implementation.  Include get-rounding-mode.h.
42867         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42868         [!libc_feholdsetround_noex_ctx]: Define
42869         libc_feholdsetround_noex_ctx.
42870         [!libc_feholdsetround_noexf_ctx]: Define
42871         libc_feholdsetround_noexf_ctx.
42872         [!libc_feholdsetround_noexl_ctx]: Define
42873         libc_feholdsetround_noexl_ctx.
42874         (libc_feholdsetround_ctx): New function.
42875         (libc_feresetround_ctx): New function.
42876         (libc_feholdsetround_noex_ctx): New function.
42877         (libc_feresetround_noex_ctx): New function.
42879 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42881         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42882         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42883         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42884         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42885         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42886         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42888         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42889         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42890         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42891         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42892         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42893         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42895         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42897         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42899         Moved ...
42900         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42901         ... here.
42902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42903         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42905         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42907         Moved ...
42908         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42910         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42912         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42914         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42916         Moved ...
42917         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42919         Moved ...
42920         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42922         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42924         Moved ...
42925         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42927         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42928         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42929         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42930         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42931         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42933         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42935         Moved ...
42936         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42937         ... here.
42938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42939         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42941         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42945         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42949         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42951         Moved ...
42952         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42954         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42956         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42958         Moved ...
42959         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42961         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42962         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42963         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42965         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42966         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42967         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42968         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42969         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42970         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42971         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42972         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42974         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42975         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42976         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42977         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42978         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42980         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42981         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42982         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42984         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42985         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42986         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42987         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42988         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42989         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42990         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42991         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42992         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42994 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42997         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42998         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42999         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43000         (IPV6_PMTUDISC_INTERFACE): Likewise.
43001         (IPV6_PMTUDISC_OMIT): Likewise.
43003 2014-06-23  Andreas Schwab  <schwab@suse.de>
43005         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43006         Remove unused errout label.
43008 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43010         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43011         macro: hardware supports Vector Crypto instructions.
43013 2014-06-23  Will Newton  <will.newton@linaro.org>
43015         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43016         rather than __builtin_expect.
43018         * elf/dl-lookup.c (undefined_msg): Remove variable.
43019         (_dl_lookup_symbol_x): Replace undefined_msg with string
43020         literal.
43022         * elf/dl-lookup.c (do_lookup_unique): New function.
43023         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43024         to a separate function.
43026 2014-06-23  Andreas Schwab  <schwab@suse.de>
43028         [BZ #17079]
43029         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43030         before reading the next line.
43032 2014-06-23  Will Newton  <will.newton@linaro.org>
43034         * test-skeleton.c (signal_handler): Use printf and %m
43035         rather than perror.  Use printf rather than fprintf to
43036         stderr.  Use puts rather than fputs to stderr.
43037         (main): Likewise.
43039 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43041         * nscd/nscd.c (thread_info_t): Remove typedef.
43042         (thread_info): Remove variable.
43044 2014-06-21  Allan McRae  <allan@archlinux.org>
43046         * NEWS: Mention CVE-2014-4043.
43048 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43050         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43051         * nptl/smp.h: ... here.
43053         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43055         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43056         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43057         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43058         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43060         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43061         * nptl/stack-aliasing.h: New file.
43062         * sysdeps/i386/i686/stack-aliasing.h: New file.
43063         * sysdeps/i386/i686/nptl/Makefile: File removed.
43064         * sysdeps/x86_64/stack-aliasing.h: New file.
43065         * sysdeps/x86_64/nptl/Makefile
43066         (CFLAGS-pthread_create.c): Variable removed.
43068         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43069         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43070         old file.
43071         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43072         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43073         old file.
43075 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43078         (__ASSUME_SIGFRAME_V2): Remove macro.
43079         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43080         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43081         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43082         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43083         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43084         Declare as function.  Remove conditional macro definitions.
43085         (__default_rt_sa_restorer): Likewise.
43086         (__default_sa_restorer_v1): Remove declaration.
43087         (__default_sa_restorer_v2): Likewise.
43088         (__default_rt_sa_restorer_v1): Likewise.
43089         (__default_rt_sa_restorer_v2): Likewise.
43090         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43091         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43092         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43094 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43096         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43097         (libpthread-routines): Add sysdep.
43098         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43099         * sysdeps/unix/sysv/linux/sparc/Versions
43100         (libpthread: GLIBC_2.3.3): New version set.
43101         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43102         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43103         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43104         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43105         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43106         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43107         Moved ...
43108         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43109         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43110         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43111         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43112         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43113         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43114         * sysdeps/sparc/nptl/sem_init.c: ... here.
43115         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43116         * sysdeps/sparc/nptl/sem_post.c: ... here.
43117         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43118         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43119         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43120         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43121         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43122         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43123         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43124         (libpthread-routines): Add cpu_relax.
43125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43126         File removed.
43127         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43128         (librt: GLIBC_2.3.3): New version set.
43129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43130         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43131         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43132         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43135         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43137         Moved ...
43138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43140         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43142         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43144         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43146         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43148         Moved ...
43149         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43150         Update #include.
43151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43152         Moved ...
43153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43154         Update #include.
43155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43156         Moved ...
43157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43158         Update #include.
43159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43160         Moved ...
43161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43162         Update #include.
43163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43164         Moved ...
43165         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43166         Update #include.
43167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43168         Moved ...
43169         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43170         Update #include.
43171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43172         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43178         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43180         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43182         Moved ...
43183         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43185         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43187         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43189 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43191         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43192         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43193         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43194         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43195         * nscd/nscd.c: Likewise.
43196         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43197         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43198         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43199         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43201         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43202         <kernel-features.h>.
43203         (init_mq_netlink): Remove conditional have_sock_cloexec
43204         definitions.  Remove code conditional on have_sock_cloexec < 0.
43205         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43206         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43207         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43208         <kernel-features.h>.
43209         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43210         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43212 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43215         Add tests for memset_chk and memset.
43217         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43218         with AVX2_Usable.
43220 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43222         [BZ #16046]
43223         * elf/tst-dl-iter-static.c: New file.
43224         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43226         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43227         error.
43229 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43231         * sysdeps/unix/sysv/linux/kernel-features.h
43232         (__ASSUME_F_GETOWN_EX): Remove macro.
43233         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43234         <kernel-features.h>.
43235         (miss_F_GETOWN_EX): Remove variable or macro.
43236         (do_fcntl): Do not check miss_F_GETOWN_EX.
43237         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43240         Remove macro.
43241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43242         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43243         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43245         * sysdeps/unix/sysv/linux/kernel-features.h
43246         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43247         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43248         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43249         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43251 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43253         [BZ #17075]
43254         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43255         Fix calculation of the symbol's value.
43256         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43257         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43258         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43259         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43260         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43261         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43262         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43263         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43264         (modules-names): Add `tst-armtlsdescmod',
43265         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43266         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43267         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43268         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43269         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43270         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43271         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43272         ($(objpfx)tst-armtlsdescloc): New dependency.
43273         ($(objpfx)tst-armtlsdescextnow): Likewise.
43274         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43275         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43276         TLS scheme support.
43277         * sysdeps/arm/configure: Regenerate.
43279 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43281         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43282         (__atfct_seterrno_2): Likewise.
43283         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43284         <kernel-features.h>.
43285         (__ASSUME_ATFCTS): Do not undefine and redefine.
43286         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43287         (__have_atfcts): Remove conditional definition.
43288         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43289         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43290         unreachable if [__ASSUME_ATFCTS].
43291         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43292         not undefine and redefine.
43293         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43294         <kernel-features.h>.
43295         (faccessat) [__NR_faccessat]: Make code unconditional.
43296         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43297         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43298         <kernel-features.h>.
43299         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43300         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43301         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43302         <kernel-features.h>.
43303         (fchownat) [__NR_fchownat]: Make code unconditional.
43304         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43305         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43306         <kernel-features.h>.
43307         (futimesat) [__NR_futimesat]: Make code unconditional.
43308         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43309         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43310         <kernel-features.h>.
43311         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43312         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43313         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43314         <kernel-features.h>.
43315         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43316         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43317         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43318         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43319         <kernel-features.h>.
43320         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43321         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43322         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43323         <kernel-features.h>.
43324         (linkat) [__NR_linkat]: Make code unconditional.
43325         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43326         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43327         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43328         <kernel-features.h>.
43329         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43330         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43331         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43332         <kernel-features.h>.
43333         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43334         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43335         * sysdeps/unix/sysv/linux/openat.c: Do not include
43336         <kernel-features.h>.
43337         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43338         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43339         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43340         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43341         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43342         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43343         <kernel-features.h>.
43344         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43345         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43346         result of INLINE_SYSCALL directly, not via int variable.
43347         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43348         <kernel-features.h>.
43349         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43350         (renameat) [__NR_renameat]: Make code unconditional.
43351         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43352         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43353         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43354         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43355         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43356         (__ASSUME_ATFCTS): Do not undefine and redefine.
43357         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43358         <kernel-features.h>.
43359         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43360         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43361         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43362         <kernel-features.h>.
43363         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43364         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43365         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43366         (__ASSUME_ATFCTS): Do not undefine and redefine.
43367         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43368         <kernel-features.h>.
43369         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43370         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43371         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43372         <kernel-features.h>.
43373         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43374         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43376 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43378         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43380 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43382         [BZ #17069]
43383         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43384         constructed tree before returning error.
43385         * posix/bug-regexp36.c: Expand test case.
43387 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43389         [BZ #6803]
43390         * math/libm-test.inc (scalbln_test_date):
43391         Add errno expectations.
43392         * math/w_scalblnf.c: New File.
43393         Add wrapper which checks for setting errno to ERANGE.
43394         Add weak_alias for corresponding scalbln function.
43395         * math/w_scalbln.c: Likewise.
43396         * math/w_scalblnl.c: Likewise.
43397         * math/Makefile (libm-calls): Add w_scalbln.
43398         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43399         Remove weak_alias for corresponding scalbln function.
43400         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43403         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43404         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43405         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43406         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43407         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43408         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43409         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43410         Remove long_double_symbol for scalblnl function in libm, libc.
43411         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43412         Add wrapper which checks for setting errno to ERANGE.
43413         Add long_double_symbol for scalblnl function in libm, libc.
43414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43415         Remove long_double_symbol for scalblnl in libm.
43416         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43417         Add wrapper which checks for setting errno to ERANGE.
43418         Add long_double_symbol for scalblnl function in libm.
43419         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43420         Do not use wrapper because of own implementation.
43422 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43424         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43425         3 bytes for __pad1 for x32.
43426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43428 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43429             H.J. Lu  <hongjiu.lu@intel.com>
43431         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43432         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43433         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43434         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43435         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43437 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43439         [BZ #17069]
43440         * posix/regcomp.c (parse_expression): Deallocate partially
43441         constructed tree before returning error.
43442         * posix/Makefile.c (tests): Add bug-regex36.
43443         (generated): Add bug-regex36.mtrace.
43444         (tests-special): Add $(objpfx)bug-regex36-mem.out
43445         (bug-regex36-ENV): New variable.
43446         ($(objpfx)bug-regex36-mem.out): New rule.
43447         * posix/bug-regex36.c: New file.
43449 2014-06-19  Will Newton  <will.newton@linaro.org>
43451         * malloc/malloc.c (systrim): If extra is zero then return
43452         early.
43454 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43456         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43458 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43460         * sysdeps/aarch64/strchr.S: New file.
43462 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43464         [BZ #17022]
43465         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43466         from arguments -2 or below.
43467         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43468         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43470 2014-06-18  Andreas Schwab  <schwab@suse.de>
43472         [BZ #17062]
43473         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43474         of a bracket expr not to run off the end of the string.
43475         * posix/Makefile (tests): Add tst-fnmatch3.
43476         * posix/tst-fnmatch3.c: New file.
43478 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43480         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43481         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43482         [$(cross-compiling) = no]: Likewise.
43483         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43484         [$(cross-compiling) = no]: Likewise.
43486 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43488         [BZ #17031]
43489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43490         double, adjusted for any remainder from the high double.
43491         * math/libm-test.inc (nearbyint): Add tests.
43492         (rint): Likewise.
43494 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43496         * nptl/sysdeps/powerpc/Makefile: Moved ...
43497         * sysdeps/powerpc/nptl/Makefile: ... here.
43498         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43499         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43500         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43501         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43502         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43503         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43504         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43505         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43506         * nptl/sysdeps/powerpc/tls.h: Moved ...
43507         * sysdeps/powerpc/nptl/tls.h: ... here.
43509 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43511         [BZ #16681]
43512         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43513         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43514         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43515         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43516         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43517         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43518         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43519         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43520         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43522 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43524         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43526 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43528         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43529         defined operator.
43531         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43532         $TIMEOUTFACTOR.
43534 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43536         [BZ #17058]
43537         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43538         non-executed part of the test.
43540 2014-06-16  Andreas Schwab  <schwab@suse.de>
43542         * string/bits/string2.h (strdup, strndup): Update feature guard.
43544 2014-06-14  David S. Miller  <davem@davemloft.net>
43546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43548 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43550         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43551         that was previously under [RESET_PID].
43552         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43554         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43555         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43556         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43557         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43558         (__libc_vfork): New strong alias.
43559         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43561 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43563         * sysdeps/generic/elide.h: New file.
43565 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43567         * Makefile (installed-headers): Adjust path of pthread.h header.
43569 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43572         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43573         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43574         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43576         * nptl/sysdeps/s390/Makefile: Moved ...
43577         * sysdeps/s390/nptl/Makefile: ... here.
43578         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43579         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43580         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43581         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43582         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43583         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43584         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43585         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43586         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43587         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43588         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43589         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43590         * nptl/sysdeps/s390/tls.h: Moved ...
43591         * sysdeps/s390/nptl/tls.h: ... here.
43593         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43594         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43596 2014-06-13  David S. Miller  <davem@davemloft.net>
43598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43601         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43605         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43606         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43607         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43608         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43609         Remove RESET_PID cpp guards.
43610         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43611         Remove RESET_PID cpp guards.
43612         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43614 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43616         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43617         __sp to uintptr_t.
43619 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43621         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43622         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43623         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43627         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43629         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43631         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43632         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43634         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43637         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43639         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43642         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43643         (pthread_rwlock_rdlock): Add elision.
43644         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43645         (pthread_rwlock_wrlock): Add elision.
43646         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43647         (pthread_rwlock_trywrlock): Add elision.
43648         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43649         (pthread_rwlock_tryrdlock): Add elision.
43650         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43651         (pthread_rwlock_tryrdlock): Add elision unlock.
43652         * nptl/sysdeps/pthread/pthread.h:
43653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43654         (PTHREAD_RWLOCK_INITIALIZER,
43655         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43656         Handle new elision field.
43657         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43658         * sysdeps/arm/nptl/bits/pthreadtypes.h
43659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43660         * sysdeps/sh/nptl/bits/pthreadtypes.h
43661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43662         * sysdeps/tile/nptl/bits/pthreadtypes.h
43663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43664         * sysdeps/a/nptl/bits/pthreadtypes.h
43665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43666         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43668         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43670         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43672         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43674         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43676         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43678         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43680         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43682         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43683         (elision_init): Set try_xbegin to zero when no RTM.
43684         * sysdeps/x86/nptl/bits/pthreadtypes.h
43685         (pthread_rwlock_t): Change __pad1 to __rwelision.
43686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43688 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43690         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43691         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43692         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43693         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43695 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43697         [BZ #16996]
43698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43699         that the cached result has been set before returning it.
43701 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43703         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43704         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43705         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43706         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43707         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43708         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43710         * nptl/sysdeps/sparc/Makefile: Moved ...
43711         * sysdeps/sparc/nptl/Makefile: ... here.
43712         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43713         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43714         * nptl/sysdeps/sparc/tls.h: Moved ...
43715         * sysdeps/sparc/nptl/tls.h: ... here.
43716         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43717         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43718         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43719         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43720         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43721         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43722         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43723         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43724         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43725         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43726         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43727         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43728         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43729         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43730         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43731         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43732         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43734         Update #include.
43735         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43737         Update #include.
43738         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43740         Update #include.
43741         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43742         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43743         Update #include.
43745         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43747         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43748         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43750         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43751         (struct list_links): Type removed.
43752         (struct thread_node, struct timer_node): Replace struct list_links
43753         with struct list_head.
43754         (list_unlink_ip): Likewise.
43755         * sysdeps/pthread/timer_routines.c
43756         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43757         (list_append, list_insbefore): Likewise.
43758         (list_init): Function removed.
43759         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43760         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43761         * sysdeps/pthread/Makefile: ... here, new file.
43763         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43764         * sysdeps/nptl/Implies: ... here.
43765         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43766         * nptl/sysdeps/pthread/list.h: Moved ...
43767         * include/list.h: ... here.
43768         * nptl/sysdeps/pthread/createthread.c: Moved ...
43769         * nptl/createthread.c: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43771         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43772         * nptl/pt-longjmp.c: ... here.
43773         * nptl/sysdeps/pthread/Makefile: Moved ...
43774         * sysdeps/nptl/Makefile: ... here.
43775         * nptl/sysdeps/pthread/Subdirs: Moved ...
43776         * sysdeps/nptl/Subdirs: ... here.
43777         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43778         * sysdeps/nptl/aio_misc.h: ... here.
43779         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43780         * sysdeps/nptl/bits/libc-lock.h: ... here.
43781         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43782         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43783         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43784         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43785         * nptl/sysdeps/pthread/configure: Moved ...
43786         * sysdeps/nptl/configure: ... here.
43787         * nptl/sysdeps/pthread/configure.ac: Moved ...
43788         * sysdeps/nptl/configure.ac: ... here.
43789         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43790         * sysdeps/nptl/gai_misc.h: ... here.
43791         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43792         * sysdeps/nptl/librt-cancellation.c: ... here.
43793         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43794         * sysdeps/nptl/malloc-machine.h: ... here.
43795         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43796         * sysdeps/nptl/pthread-functions.h: ... here.
43797         * nptl/sysdeps/pthread/pthread.h: Moved ...
43798         * sysdeps/nptl/pthread.h: ... here.
43799         * nptl/sysdeps/pthread/setxid.h: Moved ...
43800         * sysdeps/nptl/setxid.h: ... here.
43801         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43802         * sysdeps/nptl/sigfillset.c: ... here.
43803         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43804         * sysdeps/nptl/tcb-offsets.h: ... here.
43805         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43806         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43807         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43808         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43809         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43810         * sysdeps/pthread/allocalim.h: ... here.
43811         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43812         * sysdeps/pthread/bits/sigthread.h: ... here.
43813         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43814         * sysdeps/pthread/flockfile.c: ... here.
43815         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43816         * sysdeps/pthread/ftrylockfile.c: ... here.
43817         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43818         * sysdeps/pthread/funlockfile.c: ... here.
43819         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43820         * sysdeps/pthread/posix-timer.h: ... here.
43821         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43822         * sysdeps/pthread/timer_create.c: ... here.
43823         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43824         * sysdeps/pthread/timer_delete.c: ... here.
43825         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43826         * sysdeps/pthread/timer_getoverr.c: ... here.
43827         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43828         * sysdeps/pthread/timer_gettime.c: ... here.
43829         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43830         * sysdeps/pthread/timer_routines.c: ... here.
43831         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43832         * sysdeps/pthread/timer_settime.c: ... here.
43833         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43834         * sysdeps/pthread/tst-timer.c: ... here.
43835         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43836         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43838         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43839         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43841         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43842         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43843         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43844         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43845         Update #include target.
43846         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43847         * sysdeps/i386/i686/nptl/Makefile: ... here.
43848         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43849         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43850         Update #include target.
43851         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43852         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43853         * nptl/sysdeps/i386/Makefile: Moved ...
43854         * sysdeps/i386/nptl/Makefile: ... here.
43855         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43856         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43857         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43858         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43859         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43860         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43861         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43862         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43863         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43864         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43865         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43866         * nptl/sysdeps/i386/tls.h: Moved ...
43867         * sysdeps/i386/nptl/tls.h: ... here.
43869         * sysdeps/sh/Makefile [$(subdir) = csu]
43870         (gen-as-const-headers): Add tcb-offsets.sym.
43871         * nptl/sysdeps/sh/Makefile: File removed.
43872         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43873         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43874         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43875         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43876         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43877         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43878         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43879         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43880         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43881         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43882         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43883         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43884         * nptl/sysdeps/sh/tls.h: Moved ...
43885         * sysdeps/sh/nptl/tls.h: ... here.
43886         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43887         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43888         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43889         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43890         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43891         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43892         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43893         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43894         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43895         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43897         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43899         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43901         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43903         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43905         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43906         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43907         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43911         Moved ...
43912         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43914         Moved ...
43915         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43920         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43921         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43922         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43923         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43924         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43925         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43926         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43927         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43928         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43929         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43930         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43931         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43932         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43933         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43935 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43937         * posix/spawn_faction_addopen.c: Include string.h.
43939 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43941         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43942         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43943         * nptl/sysdeps/x86_64/Makefile: Moved ...
43944         * sysdeps/x86_64/nptl/Makefile: ... here.
43945         * nptl/sysdeps/x86_64/configure: Moved ...
43946         * sysdeps/x86_64/nptl/configure: ... here.
43947         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43948         * sysdeps/x86_64/nptl/configure.ac: ... here.
43949         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43950         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43951         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43952         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43953         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43954         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43955         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43956         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43957         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43958         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43959         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43960         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43961         * nptl/sysdeps/x86_64/tls.h: Moved ...
43962         * sysdeps/x86_64/nptl/tls.h: ... here.
43963         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43964         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43965         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43966         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43968         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43970 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43974 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43976         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43977         type.
43978         [POSIX] (off_t): Likewise.
43979         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43980         [POSIX] (S_ISBLK): Require macro.
43981         [POSIX] (S_ISCHR): Likewise.
43982         [POSIX] (S_ISDIR): Likewise.
43983         [POSIX] (S_ISFIFO): Likewise.
43984         [POSIX] (S_ISREG): Likewise.
43985         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43986         optional-macro.
43987         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43988         type.
43989         [POSIX] (time_t): Likewise.
43990         [POSIX] (timer_t): Likewise.
43992 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43994         [BZ #17048]
43995         * posix/spawn_int.h (struct __spawn_action): Make the path string
43996         non-const to support deallocation.
43997         * posix/spawn_faction_addopen.c
43998         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43999         * posix/spawn_faction_destroy.c
44000         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44001         path in all spawn_do_open actions.
44002         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44003         posix_spawn_file_actions_addopen.
44005 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44007         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44008         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44009         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44010         conditional code always true.
44011         (__libc_vfork): New alias.
44013 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44015         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44016         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44018         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44020         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44021         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44023         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44024         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44026         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44027         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44029 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44031         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44032         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44033         multiarch strcmp for PPC64.
44034         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44035         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44037         multiarch optimizations.
44038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44039         (__libc_ifunc_impl_list): Likewise.
44041 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44043         * benchtests/scripts/validate_benchout.py: New script.
44044         * benchtests/Makefile (bench-func): Call it.
44045         * benchtests/scripts/benchout.schema.json: New file.
44047 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44049         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44050         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44051         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44052         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44053         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44054         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44055         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44056         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44057         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44058         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44059         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44060         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44061         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44062         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44063         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44064         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44066         Moved ...
44067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44068         ... here.
44069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44073         Moved ...
44074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44075         ... here.
44076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44077         Moved ...
44078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44079         ... here.
44080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44081         Moved ...
44082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44084         Moved ...
44085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44086         ... here.
44087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44088         Moved ...
44089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44090         ... here.
44091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44092         Moved ...
44093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44095         Moved ...
44096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44097         ... here.
44098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44099         Moved ...
44100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44101         ... here.
44102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44103         Moved ...
44104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44105         ... here.
44106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44107         Moved ...
44108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44110         Moved ...
44111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44112         ... here.
44113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44114         Moved ...
44115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44116         ... here.
44117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44118         Moved ...
44119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44120         ... here.
44121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44122         Moved ...
44123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44125         Moved ...
44126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44127         ... here.
44128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44129         Moved ...
44130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44131         ... here.
44132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44133         Moved ...
44134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44136         Moved ...
44137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44138         ... here.
44139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44140         Moved ...
44141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44143         Moved ...
44144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44146         Moved ...
44147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44148         ... here.
44149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44150         Moved ...
44151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44152         ... here.
44153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44154         Moved ...
44155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44156         ... here.
44157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44158         Moved ...
44159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44161         Moved ...
44162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44163         ... here.
44164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44165         Moved ...
44166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44167         ... here.
44168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44169         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44171         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44173         Moved ...
44174         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44175         ... here.
44176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44177         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44179         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44181         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44183         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44185         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44187         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44189         Moved ...
44190         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44192         Moved ...
44193         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44195         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44197         Moved ...
44198         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44200         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44201         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44202         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44203         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44204         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44206 2014-06-10  Wilco  <wdijkstr@arm.com>
44208         * math/test-fenv-return.c: New file.
44209         * math/Makefile: Add new test test-fenv-return.
44211 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44213         [BZ #17042]
44214         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44215         when x - 1 is zero.
44216         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44217         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44218         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44219         0.0L for an argument of 1.0L.
44220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44221         Likewise.
44222         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44223         value when x - 1 is zero.
44224         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44225         * sysdeps/i386/fpu/libm-test-ulps: Update.
44226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44228 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44230         [BZ #15119]
44231         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44233 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44235         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44236         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44238 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44240         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44241         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44243         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44244         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44246         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44247         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44249         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44250         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44252         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44253         if not already defined.
44254         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44255         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44256         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44257         (TLS_INIT_TP): Use it.
44258         (TLS_DEFINE_INIT_TP): New macro.
44259         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44261 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44263         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44264         constant.
44265         [POSIX] (IXANY): Likewise.
44266         [POSIX] (OLCUC): Likewise.
44267         [POSIX || POSIX2008] (CBAUD): Do not allow.
44268         [POSIX || POSIX2008] (DEFECHO): Likewise.
44269         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44270         [POSIX || POSIX2008] (ECHOKE): Likewise.
44271         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44272         [POSIX || POSIX2008] (EXTA): Likewise.
44273         [POSIX || POSIX2008] (EXTB): Likewise.
44274         [POSIX || POSIX2008] (FLUSHO): Likewise.
44275         [POSIX || POSIX2008] (LOBLK): Likewise.
44276         [POSIX || POSIX2008] (PENDIN): Likewise.
44277         [POSIX || POSIX2008] (SWTCH): Likewise.
44278         [POSIX || POSIX2008] (VDISCARD): Likewise.
44279         [POSIX || POSIX2008] (VDSUSP): Likewise.
44280         [POSIX || POSIX2008] (VLNEXT): Likewise.
44281         [POSIX || POSIX2008] (VREPRINT): Likewise.
44282         [POSIX || POSIX2008] (VSTATUS): Likewise.
44283         [POSIX || POSIX2008] (VWERASE): Likewise.
44284         (B*): Change to B[0123456789]*.
44285         * conform/data/time.h-data [POSIX || UNIX98]
44286         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44287         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44288         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44289         [POSIX] (tm_*): Do not allow.
44291 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44293         * Makefile (install): Don't set LANGUAGE.
44294         * Makefile.in (install): Likewise.
44295         * assert/Makefile (test-assert-ENV): Remove variable.
44296         (test-assert-perr-ENV): Likewise.
44297         * elf/Makefile (neededtest4-ENV): Likewise.
44298         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44299         [$(cross-compiling) = no]: Don't set LANGUAGE.
44300         * io/ftwtest-sh (LANG): Remove variable.
44301         * libio/Makefile (tst-widetext-ENV): Likewise.
44302         * manual/install.texi (Running make install): Don't refer to
44303         environment settings for make install.
44304         * INSTALL: Regenerated.
44305         * nptl/tst-tls6.sh: Don't set LANG.
44306         * posix/globtest.sh (LANG): Remove variable.
44307         * string/Makefile (tester-ENV): Likewise.
44308         (inl-tester-ENV): Likewise.
44309         (noinl-tester-ENV): Likewise.
44310         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44311         [$(cross-compiling) = no]: Don't set LANGUAGE.
44312         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44313         without explicit environment settings.
44315 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44317         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44318         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44319         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44320         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44322 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44324         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44325         other files in the crypt directory.
44326         * crypt/crypt.c: Remove duplicate includes.
44327         * crypt/crypt-entry.c: Likewise.
44328         * crypt/crypt_util.c: Likewise.
44330 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44332         * Makeconfig (run-program-env): New variable.
44333         (run-program-prefix-before-env): Likewise.
44334         (run-program-prefix-after-env): Likewise.
44335         (run-program-prefix): Define in terms of new variables.
44336         (built-program-cmd-before-env): New variable.
44337         (built-program-cmd-after-env): Likewise.
44338         (built-program-cmd): Define in terms of new variables.
44339         (test-program-prefix-before-env): New variable.
44340         (test-program-prefix-after-env): Likewise.
44341         (test-program-prefix): Define in terms of new variables.
44342         (test-program-cmd-before-env): New variable.
44343         (test-program-cmd-after-env): Likewise.
44344         (test-program-cmd): Define in terms of new variables.
44345         * Rules (make-test-out): Use $(run-program-env).
44346         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44347         (help): Do not mention environment variables.  Mention
44348         --timeoutfactor option.
44349         (timeoutfactor): New variable.
44350         (blacklist_exports): Remove function.
44351         (exports): Remove variable.
44352         (command): Do not include ${exports}.
44353         * manual/install.texi (Configuring and compiling): Do not mention
44354         test wrappers preserving environment variables.  Mention that last
44355         assignment to a variable must take precedence.
44356         * INSTALL: Regenerated.
44357         * benchtests/Makefile (run-bench): Use $(run-program-env).
44358         * catgets/Makefile ($(objpfx)test1.cat): Use
44359         $(built-program-cmd-before-env), $(run-program-env) and
44360         $(built-program-cmd-after-env).
44361         ($(objpfx)test2.cat): Do not specify environment variables
44362         explicitly.
44363         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44364         $(run-program-env) and $(built-program-cmd-after-env).
44365         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44366         $(run-program-env) and $(test-program-cmd-after-env).
44367         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44368         explicitly.
44369         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44370         run_program_env and test_program_cmd_after_env arguments.
44371         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44372         * elf/tst-pathopt.sh: Use run_program_env argument.
44373         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44374         $(test-wrapper-env) and $(run-program-env).
44375         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44376         run_program_env arguments.
44377         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44378         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44379         $(test-program-prefix-before-env), $(run-program-env) and
44380         $(test-program-prefix-after-env).
44381         ($(objpfx)tst-gettext2.out): Likewise.
44382         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44383         run_program_env and test_program_prefix_after_env arguments.
44384         * intl/tst-gettext2.sh: Likewise.
44385         * intl/tst-gettext4.sh: Do not set environment variables
44386         explicitly.
44387         * intl/tst-gettext6.sh: Likewise.
44388         * intl/tst-translit.sh: Likewise.
44389         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44390         $(test-program-prefix-before-env), $(run-program-env) and
44391         $(test-program-prefix-after-env).
44392         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44393         run_program_env and test_program_prefix_after_env arguments.
44394         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44395         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44396         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44397         explicitly with each use of ${test_wrapper_env}.
44398         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44399         $(test-program-prefix-before-env), $(run-program-env) and
44400         $(test-program-prefix-after-env).
44401         * posix/tst-getconf.sh: Do not set environment variables
44402         explicitly.
44403         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44404         run_program_env and test_program_prefix_after_env arguments.
44405         * stdio-common/tst-printf.sh: Do not set environment variables
44406         explicitly.
44407         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44408         $(test-program-prefix-before-env), $(run-program-env) and
44409         $(test-program-prefix-after-env).
44410         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44411         run_program_env and test_program_prefix_after_env arguments.
44412         Split $test calls into $test_pre and $test.
44413         * timezone/Makefile (build-testdata): Use
44414         $(built-program-cmd-before-env), $(run-program-env) and
44415         $(built-program-cmd-after-env).
44417 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44419         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44420         strlen for non SHARED builds.
44422 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44424         * nptl/allocatestack.c (check_list): Inlined function...
44425         (__reclaim_stacks): ... here.
44427 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44429         [BZ #15698]
44430         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44431         memory overrun.
44433 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44435         * Rules (make-test-out): Include
44436         LOCPATH=$(common-objpfx)localedata in default environment.
44437         * debug/Makefile (tst-chk1-ENV): Remove variable.
44438         (tst-chk2-ENV): Likewise.
44439         (tst-chk3-ENV): Likewise.
44440         (tst-chk4-ENV): Likewise.
44441         (tst-chk5-ENV): Likewise.
44442         (tst-chk6-ENV): Likewise.
44443         (tst-lfschk1-ENV): Likewise.
44444         (tst-lfschk2-ENV): Likewise.
44445         (tst-lfschk3-ENV): Likewise.
44446         (tst-lfschk4-ENV): Likewise.
44447         (tst-lfschk5-ENV): Likewise.
44448         (tst-lfschk6-ENV): Likewise.
44449         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44450         (tst-iconv7-ENV): Likewise.
44451         * intl/Makefile (LOCPATH-ENV): Likewise.
44452         (tst-codeset-ENV): Likewise.
44453         (tst-gettext3-ENV): Likewise.
44454         (tst-gettext5-ENV): Likewise.
44455         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44456         (tst-fopenloc-ENV): Likewise.
44457         (tst-fgetws-ENV): Remove variable.
44458         (tst-ungetwc1-ENV): Likewise.
44459         (tst-ungetwc2-ENV): Likewise.
44460         (bug-ungetwc2-ENV): Likewise.
44461         (tst-swscanf-ENV): Likewise.
44462         (bug-ftell-ENV): Likewise.
44463         (tst-fgetwc-ENV): Likewise.
44464         (tst-fseek-ENV): Likewise.
44465         (tst-ftell-partial-wide-ENV): Likewise.
44466         (tst-ftell-active-handler-ENV): Likewise.
44467         (tst-ftell-append-ENV): Likewise.
44468         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44469         (tst-regexloc-ENV): Likewise.
44470         (bug-regex1-ENV): Likewise.
44471         (tst-regex-ENV): Likewise.
44472         (tst-regex2-ENV): Likewise.
44473         (bug-regex5-ENV): Likewise.
44474         (bug-regex6-ENV): Likewise.
44475         (bug-regex17-ENV): Likewise.
44476         (bug-regex18-ENV): Likewise.
44477         (bug-regex19-ENV): Likewise.
44478         (bug-regex20-ENV): Likewise.
44479         (bug-regex22-ENV): Likewise.
44480         (bug-regex23-ENV): Likewise.
44481         (bug-regex25-ENV): Likewise.
44482         (bug-regex26-ENV): Likewise.
44483         (bug-regex30-ENV): Likewise.
44484         (bug-regex32-ENV): Likewise.
44485         (bug-regex33-ENV): Likewise.
44486         (bug-regex34-ENV): Likewise.
44487         (bug-regex35-ENV): Likewise.
44488         (tst-rxspencer-ENV): Likewise.
44489         (tst-rxspencer-no-utf8-ENV): Likewise.
44490         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44491         (tst-sscanf-ENV): Likewise.
44492         (tst-swprintf-ENV): Likewise.
44493         (tst-swscanf-ENV): Likewise.
44494         (test-vfprintf-ENV): Likewise.
44495         (scanf13-ENV): Likewise.
44496         (bug14-ENV): Likewise.
44497         (tst-grouping-ENV): Likewise.
44498         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44499         (tst-strtod3-ENV): Likewise.
44500         (tst-strtod4-ENV): Likewise.
44501         (tst-strtod5-ENV): Likewise.
44502         (testmb2-ENV): Likewise./
44503         * string/Makefile (tst-strxfrm-ENV): Likewise.
44504         (tst-strxfrm2-ENV): Likewise.
44505         (bug-strcoll1-ENV): Likewise.
44506         (test-strcasecmp-ENV): Likewise.
44507         (test-strncasecmp-ENV): Likewise.
44508         * time/Makefile (tst-strptime-ENV): Likewise.
44509         (tst-ftime_l-ENV): Likewise.
44510         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44511         (tst-mbrtowc-ENV): Likewise.
44512         (tst-wcrtomb-ENV): Likewise.
44513         (tst-mbrtowc2-ENV): Likewise.
44514         (tst-c16c32-1-ENV): Likewise.
44515         (tst-mbsnrtowcs-ENV): Likewise.
44517 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44519         * manual/resource.texi (How to get information about the memory
44520         subsystem?): Fix typo.
44521         Reported by Peon de la Parra Ivan <peon@keba.com>
44523 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44525         [BZ #16882]
44526         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44527         (pthread_spin_lock): Branch out of spin loop to proper location.
44528         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44529         (pthread_spin_lock): Likewise.
44531         * nptl/tst-spin4.c: New test.
44532         * nptl/Makefile (tests): Add tst-spin4.
44534 2014-06-03  Andreas Schwab  <schwab@suse.de>
44536         [BZ #15946]
44537         * resolv/res_send.c (send_dg): Reload file descriptor after
44538         calling reopen.
44540 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44544 2014-06-03  Richard Henderson  <rth@redhat.com>
44546         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44547         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44548         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44549         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44550         in the SAVE_PID block.
44551         (__libc_vfork): New alias.
44552         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44554         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44555         child in registers, not on the stack.  Remove RESET_PID conditionals.
44556         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44558 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44560         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44562 2014-06-03  Wilco  <wdijkstr@arm.com>
44564         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44565         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44566         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44567         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44568         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44569         Likewise.
44571 2014-06-03  Wilco  <wdijkstr@arm.com>
44573         * sysdeps/aarch64/fpu/math_private.h
44574         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44575         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44576         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44577         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44578         Fix declarations.
44580 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44582         * crypt/crypt-private.h: Include ufc-crypt.h.
44583         (__b64_from_24bit): Declare extern.
44584         * crypt/crypt_util.c(__b64_from_24bit): New function.
44585         (b64t): New static const variable.
44586         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44587         (b64t): Remove variable.
44588         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44589         * crypt/sha256-crypt.c: Include crypt-private.h.
44590         (b64t): Remove variable.
44591         (__sha256_crypt_r): Remove b64_from_24bit and replace
44592         with __b64_from_24bit.
44593         * crypt/sha512-crypt.c: Likewise.
44595 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44597         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44598         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44599         Label the code __libc_vfork rather than __vfork.
44600         [!NOT_IN_libc] (vfork): Define as weak alias.
44601         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44602         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44603         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44605 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44607         * malloc/malloc.c (malloc_info): Fix format specifier for
44608         n_mmaps.
44610 2014-06-02  Wilco  <wdijkstr@arm.com>
44612         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44613         FPCR write.
44615 2014-06-02  Wilco  <wdijkstr@arm.com>
44617         [BZ #17009]
44618         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44619         Rewrite to reduce FPCR/FPSR accesses.
44621 2014-06-01  David S. Miller  <davem@davemloft.net>
44623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44625 2014-05-31  David S. Miller  <davem@davemloft.net>
44627         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44628         to occur in round to nearest mode when |x| >= 2.0
44630 2014-05-30  Richard Henderson  <rth@twiddle.net>
44632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44633         (PSEUDO_RET_NOERRNO): Remove.
44634         (ret): Don't redefine.
44635         (ret_NOERRNO): Define in terms of ret.
44636         (ret_ERRVAL): Likewise.
44638         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44639         use of PSEUDO_RET; perform the error check directly.
44641 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44643         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44644         with __int128_t.
44646 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44648         * malloc/malloc (malloc_info): Fix formatting.
44650 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44651             Roland McGrath  <roland@hack.frob.com>
44653         * malloc/malloc (malloc_info): Also print mmapped statistics.
44655 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44657         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44658         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44660 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44662         * malloc/malloc.c (malloc_info): Inline mi_arena.
44664 2014-05-29  Richard Henderson  <rth@twiddle.net>
44666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44667         Remove comma before expanding ASM_ARGS_##nr.
44668         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44669         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44670         of ASM_ARGS_##nr.
44671         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44672         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44673         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44674         (ASM_ARGS_1): Add leading comma.
44676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44677         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44678         to __errno_location.
44679         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44680         Remove the expected plt for __errno_location.
44682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44683         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44684         call to __read_tp.
44686         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44687         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44688         it and break it down.
44689         (DOCARGS_0, DOCARGS_1): Do nothing.
44690         (DOCARGS_2): Update to store into the new stack frame.
44691         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44692         (UNDOCARGS_1): Update to restore from the new stack frame.
44693         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44694         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44697         (SINGLE_THREAD_P): New parameter for result regno.
44698         (PSEUDO): Update to match; use cbz instead of beq.
44700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44701         Use ENTRY to define the _nocancel entry point.  Share the syscall
44702         and syscall error check paths with the cancel path.
44703         (PSEUDO_END): New.
44705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44706         whitespace; tabs before and after asm mnemonics.
44708 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44710         [BZ #15132]
44711         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44712         Call fstat64 or stat64 internally, depending on arguments passed.
44713         Replace stat buffer argument with file descriptor argument.
44714         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44715         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44716         Pass fd to __internal_statvfs instead of calling fstat64.
44717         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44718         Pass fd to __internal_statvfs64 instead of calling fstat64.
44719         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44720         Pass -1 to __internal_statvfs instead of calling stat64.
44721         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44722         Pass -1 to __internal_statvfs64 instead of calling stat64.
44724 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44726         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44727         that was previously under [RESET_PID].
44728         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44730         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44731         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44733 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44735         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44737         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44738         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44740 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44742         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44744 2014-05-27  Andreas Schwab  <schwab@suse.de>
44746         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44747         TLS_INIT_TP macro.
44748         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44749         * elf/rtld.c (init_tls, dl_main): Likewise.
44750         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44751         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44752         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44753         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44754         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44755         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44756         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44757         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44758         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44759         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44760         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44761         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44762         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44763         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44764         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44765         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44766         * sysdeps/generic/tls.h: Update description.
44768 2014-05-27  Will Newton  <will.newton@linaro.org>
44770         [BZ #16990]
44771         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44772         and restore r2 rather than just restoring.
44774 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44776         [BZ #16724]
44777         * libio/tst-ftell-append.c: New test case.
44778         * libio/Makefile (tests): Add test case.
44779         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44780         append mode.
44781         * libio/wfileops.c (do_ftell_wide): Likewise.
44783 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44787         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44788         ...
44789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44791         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44792         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44793         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44794         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44796         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44798         Moved ...
44799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44801         Moved ...
44802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44803         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44804         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44805         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44806         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44807         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44808         ...
44809         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44810         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44811         Moved ...
44812         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44813         here.
44814         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44815         ...
44816         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44817         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44818         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44821         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44823         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44826         merge into ...
44827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44829         ...
44830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44832         ...
44833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44835         Moved ...
44836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44837         here.
44838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44839         Moved ...
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44842         Moved ...
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44846         conditional [RESET_PID].
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44849         removed.
44850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44851         removed.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44854         <tcb-offsets.h>.
44855         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44856         (__libc_vfork): New strong alias.
44857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44858         removed.
44859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44860         Removed.
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44863         <tcb-offsets.h>.
44864         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44865         (__libc_vfork): New strong alias.
44866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44867         removed.
44868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44869         removed.
44871 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44873         * malloc/malloc.c (mi_arena): New function.
44874         (malloc_info): Remove nested function mi_arena. Call non-nosted
44875         function mi_arena.
44877 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44879         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44880         by insrwi.
44881         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44882         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44883         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44884         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44885         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44886         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44889 2014-05-26  Andreas Schwab  <schwab@suse.de>
44891         [BZ #16984]
44892         * locale/programs/repertoire.c (repertoire_read): Add slash
44893         between I18NPATH element and file name.
44894         * locale/programs/locfile.c (locfile_read): Likewise.
44896 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44898         * nptl/pthread_mutexattr_settype.c
44899         (__pthread_mutexattr_settype):
44900         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44902 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44904         * nptl/tst-mutex5 (do_test):
44905         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44907 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44909         * benchtests/README: Document 'init' directive.
44910         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44911         BENCH_INIT.
44912         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44913         (parse_file): Recognize 'init' directive.
44915 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44917         [BZ #16796]
44918         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44919         alignment of struct pthread.
44921 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44923         [BZ #16878]
44924         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44925         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44926         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44927         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44929 2014-05-25  Richard Henderson  <rth@twiddle.net>
44931         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44932         (SINGLE_THREAD_P_PIC): Remove.
44933         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44934         (SINGLE_THREAD_P_PIC): Remove.
44936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44937         branch to syscall error ...
44938         (PSEUDO): ... here.
44939         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44940         from __local_syscall_error to .Lsyscall_error.
44941         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44942         (SYSCALL_ERROR): Update label name.
44944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44945         Do not use DOARGS/UNDOARGS.
44946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44947         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44948         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44949         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44950         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44953         block comment.
44955         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44956         define if !NOT_IN_libc.
44957         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44958         define with non-default symbol versions.
44960 2014-05-23  Richard Henderson  <rth@twiddle.net>
44962         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44963         (vfork, __vfork): Define via compat_symbol.
44965         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44966         [!HAVE_IFUNC] (vfork_compat): Remove.
44967         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44969 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44971         [BZ #16978]
44972         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44973         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44974         variable.
44976 2014-05-23  Richard Henderson  <rth@twiddle.net>
44978         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44979         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44980         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44981         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44983         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44984         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44985         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44986         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44987         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44988         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44989         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44990         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44991         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44992         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44993         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44994         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44995         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44996         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44997         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44998         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44999         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45000         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45001         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45002         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45003         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45004         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45005         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45006         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45007         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45008         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45009         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45010         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45011         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45012         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45013         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45014         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45015         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45016         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45017         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45018         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45019         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45020         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45021         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45022         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45023         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45024         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45025         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45026         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45027         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45028         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45030         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45032         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45034         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45036         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45037         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45038         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45040         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45041         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45042         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45043         before exiting on error.
45044         (__libc_vfork): New strong alias.
45045         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45046         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45048         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45049         that was previously under [RESET_PID].
45050         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45052         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45054 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45056         [BZ #16977]
45057         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45058         value when x - 1 is zero.
45059         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45060         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45061         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45062         0.0L for an argument of 1.0L.
45063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45064         Likewise.
45065         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45066         value when x - 1 is zero.
45067         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45068         * sysdeps/i386/fpu/libm-test-ulps: Update.
45069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45071 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45073         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45074         alphasort and versionsort.
45076 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45078         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45079         macro.
45080         [copysignf]: Likewise.
45082 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45084         * crypt/md5-crypt.c: Fix formatting.
45086 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45088         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45089         (b64_from_24bit): New function.
45091 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45093         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45094         libc_hidden_builtin_def to ifunc.
45095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45096         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45098 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45100         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45101         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45103 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45105         * nscd/Depend (linuxthreads): Remove.
45106         (nptl): Add.
45107         * resolv/Depend (linuxthreads): Remove.
45108         * rt/Depend (linuxthreads): Remove.
45110         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45111         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45112         $(common-objpfx)elf/.
45113         (link-libc-before-gnulib): Likewise.
45114         (elfobjdir): Remove variable.
45115         * Makefile (install): Use $(elf-objpfx) instead of
45116         $(common-objpfx)elf/.
45117         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45118         $(elfobjdir)/.
45119         (link-libc-deps): Likewise.
45120         ($(common-objpfx)libc.so): Likewise.
45121         ($(common-objpfx)linkobj/libc.so): Likewise.
45122         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45123         instead of $(common-objpfx)elf/.
45124         (symbolic-link-list): Likewise.
45125         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45126         [$(cross-compiling) = no]: Likewise.
45127         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45128         $(elfobjdir)/.
45129         (static-gnulib-arch): Likewise.
45130         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45131         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45132         $(common-objpfx)elf/.
45134 2014-05-21  Richard Henderson  <rth@redhat.com>
45136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45137         (SINGLE_THREAD_P): Use the correct width load.  Fold
45138         into the ldr offset.
45140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45141         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45143 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45145         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45146         (libgcc_s_resume): Use __attribute_used__.
45147         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45148         Likewise.
45150 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45153         optimization when used with float constants.
45155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45157 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45159         [BZ #16915]
45160         * locale/nl_langinfo_l.c: Make direct reference to every
45161         _nl_current_CATEGORY symbol.
45162         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45163         (tests-static): Add tst-langinfo-static.
45164         (tests-special): Add tst-langinfo-static.out.
45165         ($(objpfx)tst-langinfo.out): Redirect output.
45166         ($(objpfx)tst-langinfo-static.out): New.
45167         * localedata/tst-langinfo.sh: Send output to stdout.
45168         * localedata/tst-langinfo-static.c: New file.
45170         [BZ #16965]
45171         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45172         when the shift amount is modulo the limb size.
45174 2014-05-20  Richard Henderson  <rth@redhat.com>
45176         [BZ #16967]
45177         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45178         Change type of sa_flags from unsigned int to int.
45180         [BZ #16966]
45181         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45183         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45185 2014-05-20  Will Newton  <will.newton@linaro.org>
45187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45188         Test the return value of the system call in the nocancel case.
45190 2014-05-20  Will Newton  <will.newton@linaro.org>
45191             Yvan Roux  <yvan.roux@linaro.org>
45193         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45194         #include of asm/ptrace.h.
45195         (PTRACE_GET_THREAD_AREA): Remove #undef.
45196         (PTRACE_GETHBPREGS): Likewise.
45197         (PTRACE_SETHBPREGS): Likewise.
45198         (struct user_regs_struct): New structure.
45199         (struct user_fpsimd_struct): New structure.
45200         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45201         #include of asm/ptrace.h and second #include of sys/user.h.
45202         (PTRACE_GET_THREAD_AREA): Remove #undef.
45203         (PTRACE_GETHBPREGS): Likewise.
45204         (PTRACE_SETHBPREGS): Likewise.
45205         (ELF_NGREG): Use new struct user_regs_struct.
45206         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45208 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45213 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45215         [BZ #16958]
45216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45217         membar to avoid block loads/stores to overlap previous stores.
45219 2014-05-17  Richard Henderson  <rth@redhat.com>
45221         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45222         Create the __##syscall_name##_nocancel entry point.
45223         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45224         Remove; let the sysdep-cancel.h code create it.
45226 2014-05-17  David S. Miller  <davem@davemloft.net>
45228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45229         Protect with __USE_GNU.
45230         (TIOCSET_TEMPT): Likewise.
45231         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45232         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45233         these are already provided in bits/ioctl-types.h
45235 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45237         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45238         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45240         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45241         Use wait4 regardless of [__NR_waitpid].
45243 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45245         PR libgcc/60166
45246         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45247         (_FP_NANSIGN_Q): Set the quiet bit.
45249 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45251         * benchtests/Makefile
45252         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45253         not $(common-objpfx)math/libm.so.
45254         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45255         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45256         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45257         $(common-objpfx)dlfcn/libdl.so.
45258         ($(objpfx)tst-audit8): Depend on $(libm), not
45259         $(common-objpfx)math/libm.so.
45260         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45261         not $(common-objpfx)dlfcn/libdl.so.
45262         * math/Makefile
45263         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45264         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45265         [$(build-shared) = yes].
45266         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45267         $(common-objpfx)nptl/libpthread.so.
45268         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45269         $(common-objpfx)math/libm.so$(libm.so-version) or
45270         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45271         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45272         $(common-objpfx)dlfcn/libdl.so.
45273         * setjmp/Makefile (link-libm): Remove variable.
45274         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45275         * stdio-common/Makefile (link-libm): Remove variable.
45276         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45277         * stdlib/Makefile (link-libm): Remove variable.
45278         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45279         ($(objpfx)tst-strtod-round): Likewise.
45280         ($(objpfx)tst-tininess): Likewise.
45281         ($(objpfx)tst-strtod-underflow): Likewise.
45282         ($(objpfx)tst-strtod6): Likewise.
45283         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45284         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45285         $(common-objpfx)dlfcn/libdl.so.
45287 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45289         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45290         BSD terminal modes definitions.
45292 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45294         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45295         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45297         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45298         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45299         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45300         Don't do #include_next.
45301         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45302         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45303         Don't do #include_next.
45304         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45305         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45306         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45307         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45309 2014-05-16  Allan McRae  <allan@archlinux.org>
45311         * po/sv.po: Update Swedish translation from translation project.
45313         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45314         in sed expression.
45316 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45318         [BZ #16917]
45319         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45320         errno if the TIOCGPTN ioctl fails with an error different than
45321         EINVAL.
45322         * login/tst-ptsname.c: New file.
45323         * login/Makefile (tests): Add tst-ptsname.
45325         [BZ #16943]
45326         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45327         and prlimit64.
45329 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45331         [BZ #16849]
45332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45333         herrno to return EAI_AGAIN.
45335 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45337         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45338         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45339         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45340         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45341         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45342         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45344         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45346         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45347         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45348         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45349         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45350         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45351         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45352         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45353         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45354         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45355         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45356         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45357         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45358         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45359         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45360         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45361         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45362         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45363         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45364         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45366         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45368         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45370         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45372         Moved ...
45373         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45375         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45377         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45381         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45383         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45385         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45387         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45389         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45391         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45393         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45395         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45397         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45399         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45401         Moved ...
45402         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45404         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45406         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45408         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45410         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45414         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45416         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45418         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45420         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45422         Moved ...
45423         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45425         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45427         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45428         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45429         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45430         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45431         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45432         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45433         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45434         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45435         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45436         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45437         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45438         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45439         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45440         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45441         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45442         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45443         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45444         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45445         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45446         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45447         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45448         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45449         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45450         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45451         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45452         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45453         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45454         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45455         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45456         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45457         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45459         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45460         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45462         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45463         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45464         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45465         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45466         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45468         Moved ...
45469         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45470         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45471         Moved ...
45472         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45473         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45474         Moved ...
45475         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45477         Moved ...
45478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45479         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45480         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45482         Moved ...
45483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45484         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45485         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45486         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45488         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45489         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45490         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45491         Moved ...
45492         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45493         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45494         Moved ...
45495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45496         ... here.
45497         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45498         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45499         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45500         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45502         Moved ...
45503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45504         ... here.
45505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45506         Moved ...
45507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45508         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45509         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45510         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45511         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45513         Moved ...
45514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45515         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45516         Moved ...
45517         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45518         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45519         Moved ...
45520         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45522         Moved ...
45523         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45525         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45527         Moved ...
45528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45529         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45530         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45531         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45532         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45533         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45534         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45535         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45536         Moved ...
45537         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45538         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45539         Moved ...
45540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45541         ... here.
45542         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45543         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45544         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45545         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45547         Moved ...
45548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45549         ... here.
45550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45551         Moved ...
45552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45553         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45554         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45555         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45556         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45557         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45559         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45560         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45562         Moved ...
45563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45564         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45565         Moved ...
45566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45567         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45568         Moved ...
45569         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45570         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45571         Moved ...
45572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45573         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45574         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45575         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45576         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45577         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45578         Moved ...
45579         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45580         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45581         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45583         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45584         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45585         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45587         Moved ...
45588         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45590         Moved ...
45591         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45592         ... here.
45593         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45594         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45595         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45596         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45598         Moved ...
45599         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45600         ... here.
45601         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45602         Moved ...
45603         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45604         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45605         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45606         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45607         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45608         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45609         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45610         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45611         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45612         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45613         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45615         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45616         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45618         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45619         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45621         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45622         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45623         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45624         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45625         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45626         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45627         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45628         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45629         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45630         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45631         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45632         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45633         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45634         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45635         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45637         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45639         Moved ...
45640         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45642         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45644         Moved ...
45645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45649         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45653         Moved ...
45654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45656         Moved ...
45657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45663         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45664         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45665         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45666         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45667         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45668         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45669         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45670         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45671         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45672         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45673         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45675         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45676         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45677         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45678         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45679         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45681         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45682         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45683         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45684         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45685         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45686         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45687         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45688         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45689         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45690         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45695         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45696         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45697         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45698         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45699         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45700         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45701         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45702         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45703         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45704         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45705         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45706         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45707         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45708         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45710         Update #include.
45711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45712         Likewise.
45713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45714         Likewise.
45715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45716         Likewise.
45717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45718         Likewise.
45719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45720         Likewise.
45721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45722         Likewise.
45723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45724         Likewise.
45725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45726         Likewise.
45727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45728         Likewise.
45729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45739         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45740         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45741         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45742         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45743         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45746         that was previously under [RESET_PID].
45747         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45748         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45749         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45751         * sysdeps/i386/nptl/Implies: New file.
45752         * sysdeps/x86_64/nptl/Implies: New file.
45753         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45754         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45755         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45756         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45758         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45759         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45760         (__libc_vfork): New strong alias.
45761         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45762         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45764         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45765         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45766         (__libc_vfork): New strong alias.
45767         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45768         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45770         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45771         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45772         (__libc_vfork): New strong alias.
45773         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45774         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45775         * nptl/pt-vfork.c: New file.
45776         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45777         (libpthread: GLIBC_2.20): New version set (empty).
45779 2014-05-14  Will Newton  <will.newton@linaro.org>
45781         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45782         rather than #if.
45784 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45786         [BZ #16564]
45787         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45788         arguments with exponent 65 or above.
45789         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45790         arguments 0x1p113L or above.
45791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45792         to arguments 0x1p107L or above.
45793         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45794         positive arguments with exponent 65 or above.
45795         * math/auto-libm-test-in: Add more tests of log1p.
45796         * math/auto-libm-test-out: Regenerated.
45798         [BZ #16928]
45799         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45800         non-finite arguments is +0.
45801         * math/s_cacosf.c (__cacosf): Likewise.
45802         * math/s_cacosl.c (__cacosl): Likewise.
45803         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45804         * sysdeps/i386/fpu/libm-test-ulps: Update.
45805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45807         [BZ #16927]
45808         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45809         value.
45810         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45811         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45812         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45813         for explicit high bit of mantissa when testing for argument equal
45814         to 1.
45815         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45816         * sysdeps/i386/fpu/libm-test-ulps: Update.
45817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45819         [BZ #16516]
45820         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45821         (__erf): Scale by 16 instead of 8 in potentially underflowing
45822         case.  Ensure exception if result actually underflows.
45823         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45824         (__erff): Scale by 16 instead of 8 in potentially underflowing
45825         case.  Ensure exception if result actually underflows.
45826         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45827         (efx8): Remove variable.
45828         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45829         case.  Ensure exception if result actually underflows.
45830         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45831         (efx8): Remove variable.
45832         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45833         case.  Ensure exception if result actually underflows.
45834         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45835         (efx8): Remove variable.
45836         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45837         case.  Ensure exception if result actually underflows.
45838         * math/auto-libm-test-in: Add more tests of erf.
45839         * math/auto-libm-test-out: Regenerated.
45841 2014-05-14  Andreas Schwab  <schwab@suse.de>
45843         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45844         Remove code conditionalized on USE___THREAD.
45846         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45847         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45848         not definedness.
45850 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45853         Define unconditionally.
45854         (__ASSUME_O_CLOEXEC): Likewise.
45855         (__ASSUME_SOCK_CLOEXEC): Likewise.
45856         (__ASSUME_IN_NONBLOCK): Likewise.
45857         (__ASSUME_PIPE2): Likewise.
45858         (__ASSUME_EVENTFD2): Likewise.
45859         (__ASSUME_SIGNALFD4): Likewise.
45860         (__ASSUME_DUP3): Likewise.
45861         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45862         (__ASSUME_DUP3): Do not define.
45863         (__ASSUME_EVENTFD2): Likewise.
45864         (__ASSUME_IN_NONBLOCK): Likewise.
45865         (__ASSUME_O_CLOEXEC): Likewise.
45866         (__ASSUME_PIPE2): Likewise.
45867         (__ASSUME_SIGNALFD4): Likewise.
45868         (__ASSUME_SOCK_CLOEXEC): Likewise.
45869         (__ASSUME_UTIMES): Undefine.
45870         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45871         (__ASSUME_UTIMES): Do not define.
45872         (__ASSUME_O_CLOEXEC): Likewise.
45873         (__ASSUME_SOCK_CLOEXEC): Likewise.
45874         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45875         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45876         0x020621].
45877         (__ASSUME_PIPE2): Likewise.
45878         (__ASSUME_EVENTFD2): Likewise.
45879         (__ASSUME_SIGNALFD4): Likewise.
45880         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45881         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45882         Do not define.
45883         (__ASSUME_EVENTFD2): Likewise.
45884         (__ASSUME_SIGNALFD4): Likewise.
45885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45886         (__ASSUME_32BITUIDS): Likewise.
45887         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45888         (__ASSUME_IPC64): Likewise.
45889         (__ASSUME_ST_INO_64_BIT): Likewise.
45890         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45891         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45892         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45893         (__ASSUME_UTIMES): Do not define.
45894         (__ASSUME_PSELECT): Likewise.
45895         (__ASSUME_PPOLL): Likewise.
45896         (__ASSUME_O_CLOEXEC): Likewise.
45897         (__ASSUME_SOCK_CLOEXEC): Likewise.
45898         (__ASSUME_IN_NONBLOCK): Likewise.
45899         (__ASSUME_PIPE2): Likewise.
45900         (__ASSUME_EVENTFD2): Likewise.
45901         (__ASSUME_SIGNALFD4): Likewise.
45902         (__ASSUME_DUP3): Likewise.
45903         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45904         (__ASSUME_UTIMES): Likewise.
45905         (__ASSUME_O_CLOEXEC): Likewise.
45906         (__ASSUME_SOCK_CLOEXEC): Likewise.
45907         (__ASSUME_IN_NONBLOCK): Likewise.
45908         (__ASSUME_PIPE2): Likewise.
45909         (__ASSUME_EVENTFD2): Likewise.
45910         (__ASSUME_SIGNALFD4): Likewise.
45911         (__ASSUME_DUP3): Likewise.
45912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45913         (__ASSUME_UTIMES): Likewise.
45914         (__ASSUME_O_CLOEXEC): Likewise.
45915         (__ASSUME_SOCK_CLOEXEC): Likewise.
45916         (__ASSUME_IN_NONBLOCK): Likewise.
45917         (__ASSUME_PIPE2): Likewise.
45918         (__ASSUME_EVENTFD2): Likewise.
45919         (__ASSUME_SIGNALFD4): Likewise.
45920         (__ASSUME_DUP3): Likewise.
45921         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45922         Likewise.
45923         (__ASSUME_UTIMES): Likewise.
45924         (__ASSUME_EVENTFD2): Likewise.
45925         (__ASSUME_SIGNALFD4): Likewise.
45926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45927         (__ASSUME_O_CLOEXEC): Likewise.
45928         (__ASSUME_SOCK_CLOEXEC): Likewise.
45929         (__ASSUME_IN_NONBLOCK): Likewise.
45930         (__ASSUME_PIPE2): Likewise.
45931         (__ASSUME_EVENTFD2): Likewise.
45932         (__ASSUME_SIGNALFD4): Likewise.
45933         (__ASSUME_DUP3): Likewise.
45934         (__ASSUME_UTIMES): Undefine.
45936         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45937         feclearexcept.  Remove symbol versioning code.
45938         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45939         symbol versioning code.
45940         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45941         symbol versioning code.
45942         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45943         feupdateenv.  Remove symbol versioning code.
45944         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45945         fegetexceptflag.  Remove symbol versioning code.
45946         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45947         fesetexceptflag.  Remove symbol versioning code.
45948         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45949         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45950         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45951         (__posix_fadvise64_l32): Remove prototype.
45952         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45953         code.
45955 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45957         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45958         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45959         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45960         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45962 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45964         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45965         current working directory
45967 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45969         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45970         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45971         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45972         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45973         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45974         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45975         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45977         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45978         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45979         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45984         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45985         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45986         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45988         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45989         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45990         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45991         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45992         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45994         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45996         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45997         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45998         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45999         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46000         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46001         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46002         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46003         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46004         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46005         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46006         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46007         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46008         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46009         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46010         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46012         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46013         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46015         * sysdeps/unix/sysv/linux/arm/Makefile
46016         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46017         Add rt-aeabi_unwind_cpp_pr1.
46018         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46019         Add nptl-aeabi_unwind_cpp_pr1.
46020         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46021         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46022         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46023         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46024         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46025         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46027         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46028         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46029         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46030         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46032         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46033         Deconditionalize the code that was previously under [RESET_PID].
46034         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46036         * sysdeps/generic/exit-thread.h: New file.
46037         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46038         * include/unistd.h (__exit_thread): Remove declaration.
46039         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46040         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46041         * csu/libc-start.c: Include <exit-thread.h>.
46042         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46043         * nptl/pthread_create.c: Include <exit-thread.h>.
46044         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46045         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46046         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46047         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46048         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46049         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46050         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46051         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46052         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46053         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46054         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46055         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46056         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46057         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46058         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46059         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46060         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46062 2014-05-13  Andreas Schwab  <schwab@suse.de>
46064         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46066 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46068         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46069         (__ASSUME_UTIMES): Do not condition on kernel version.
46070         (__ASSUME_PSELECT): Define unconditionally.
46071         (__ASSUME_PPOLL): Likewise.
46072         (__ASSUME_ATFCTS): Likewise.
46073         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46074         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46075         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46076         (__ASSUME_UTIMENSAT): Define unconditionally.
46077         (__ASSUME_PRIVATE_FUTEX): Likewise.
46078         (__ASSUME_FALLOCATE): Likewise.
46079         (__ASSUME_O_CLOEXEC): Likewise.
46080         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46081         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46082         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46083         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46084         (__ASSUME_IN_NONBLOCK): Likewise.
46085         (__ASSUME_PIPE2): Likewise.
46086         (__ASSUME_EVENTFD2): Likewise.
46087         (__ASSUME_SIGNALFD4): Likewise.
46088         (__ASSUME_DUP3): Likewise.
46089         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46090         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46091         (__ASSUME_AT_RANDOM): Likewise.
46092         (__ASSUME_PREADV): Likewise.
46093         (__ASSUME_PWRITEV): Likewise.
46094         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46095         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46096         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46097         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46098         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46099         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46100         (__ASSUME_O_CLOEXEC): Define unconditionally.
46101         (__ASSUME_PSELECT): Do not undefine conditionally.
46102         (__ASSUME_PPOLL): Likewise.
46103         (__ASSUME_ATFCTS): Likewise.
46104         (__ASSUME_SET_ROBUST_LIST): Likewise.
46105         (__ASSUME_UTIMENSAT): Likewise.
46106         (__ASSUME_FDATASYNC): Define unconditionally.
46107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46108         (__ASSUME_SIGFRAME_V2): Likewise.
46109         )__ASSUME_EVENTFD2): Likewise.
46110         (__ASSUME_SIGNALFD4): Likewise.
46111         (__ASSUME_PSELECT): Do not undefine conditionally.
46112         (__ASSUME_PPOLL): Likewise.
46113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46114         (__ASSUME_PSELECT): Define unconditionally.
46115         (__ASSUME_PPOLL): Likewise.
46116         (__ASSUME_O_CLOEXEC): Likewise.
46117         (__ASSUME_SOCK_CLOEXEC): Likewise.
46118         (__ASSUME_IN_NONBLOCK): Likewise.
46119         (__ASSUME_PIPE2): Likewise.
46120         (__ASSUME_EVENTFD2): Likewise.
46121         (__ASSUME_SIGNALFD4): Likewise.
46122         (__ASSUME_DUP3): Likewise.
46123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46124         (__ASSUME_O_CLOEXEC): Likewise.
46125         (__ASSUME_SOCK_CLOEXEC): Likewise.
46126         (__ASSUME_IN_NONBLOCK): Likewise.
46127         (__ASSUME_PIPE2): Likewise.
46128         (__ASSUME_EVENTFD2): Likewise.
46129         (__ASSUME_SIGNALFD4): Likewise.
46130         (__ASSUME_DUP3): Likewise.
46131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46132         (__ASSUME_EVENTFD2): Likewise.
46133         (__ASSUME_SIGNALFD4): Likewise.
46134         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46136 2014-05-12  Andreas Schwab  <schwab@suse.de>
46138         [BZ #16932]
46139         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46140         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46141         than maximum RPC packet size.
46142         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46143         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46144         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46145         (_nss_nis_getservbyport_r): Likewise.
46147 2014-05-12  Will Newton  <will.newton@linaro.org>
46149         * malloc/Makefile (tests): Add tst-mallopt.
46150         * malloc/tst-mallopt.c: New file.
46152 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46154         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46155         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46157 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46159         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46160         (tst-tlsmod6.so): Likewise.
46162 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46164         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46166 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46168         [BZ #16064]
46169         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46170         and <dl-procinfo.h>.
46171         (__fegetenv): Save SSE state in envp->__eip if supported.
46172         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46173         envp->__eip if supported.
46174         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46175         and <dl-procinfo.h>.
46176         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46177         __data_offset and __data_selector in environment to 0.  Set SSE
46178         state if supported.
46179         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46180         test-fenv-sse.
46181         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46182         -mfpmath=sse.
46183         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46185 2014-05-09  Will Newton  <will.newton@linaro.org>
46187         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46188         and libc_relro_required for ARM.
46189         * sysdeps/arm/preconfigure: Regenerate.
46191 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46192             Stefan Liebler  <stli@linux.vnet.ibm.com>
46194         * config.make.in (enable-lock-elision): New Makefile variable.
46195         * configure.ac: Likewise.
46196         * configure: Regenerate.
46197         * sysdeps/s390/configure.ac:
46198         Add check for gcc transactions support.
46199         * sysdeps/s390/configure: Regenerate.
46200         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46201         Build elision files if enabled.
46202         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46203         Add lock elision support for s390.
46204         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46205         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46206         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46207         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46208         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46209         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46211         Likewise.
46212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46213         Likewise.
46214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46215         Likewise.
46216         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46217         Likewise.
46218         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46219         (__lll_timedlock_elision, __lll_lock_elision)
46220         (__lll_unlock_elision, __lll_trylock_elision)
46221         (lll_timedlock_elision, lll_lock_elision)
46222         (lll_unlock_elision, lll_trylock_elision): Add.
46223         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46224         (pthread_mutex_t): Add lock elision support for s390.
46226 2014-05-14  Wilco  <wdijkstr@arm.com>
46228         * sysdeps/arm/fclrexcpt.c: Cleanup.
46229         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46230         * sysdeps/arm/feenablxcpt.c: Cleanup.
46231         * sysdeps/arm/fegetenv.c: Cleanup.
46232         * sysdeps/arm/fegetexcept.c: Cleanup.
46233         * sysdeps/arm/fegetround.c: Cleanup.
46234         * sysdeps/arm/feholdexcpt.c: Cleanup.
46235         * sysdeps/arm/fesetenv.c: Cleanup.
46236         * sysdeps/arm/fesetround.c: Cleanup.
46237         * sysdeps/arm/feupdateenv.c: Cleanup.
46238         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46239         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46240         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46241         * sysdeps/arm/ftestexcept.c: Cleanup.
46242         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46243         * sysdeps/arm/setfpucw.c: Cleanup.
46245 2014-05-09  Will Newton  <will.newton@linaro.org>
46247         * sysdeps/arm/armv7/strcmp.S: New file.
46248         * NEWS: Mention addition of ARMv7 optimized strcmp.
46250 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46252         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46253         look for %.ac rather than %.in.
46255         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46256         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46257         * sysdeps/mach/hurd/configure: Regenerated.
46258         * sysdeps/unix/sysv/linux/configure: Regenerated.
46260         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46262 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46264         [BZ #16922]
46265         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46266         (LONG_SUB): Ditto.
46267         (PTR_SUB): Ditto.
46269 2014-05-07  Andreas Schwab  <schwab@suse.de>
46271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46272         when skipping over non-matching result from nscd.
46274 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46276         [BZ #16876]
46277         * nptl/sockperf.c (client): Check socket return value.
46279         [BZ #16877]
46280         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46281         nscd security class.
46283 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46285         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46286         * sysdeps/arm/unwind.h: ... here.
46288 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46290         [BZ #16916]
46291         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46292         Define.
46294 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46296         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46297         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46298         multiarch strncpy for PPC64.
46299         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46302         multiarch optimizations.
46303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46304         (__libc_ifunc_impl_list): Likewise.
46305         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46306         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46307         multiarch stpncpy for PPC64.
46308         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46309         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46311 2014-05-06  Andreas Schwab  <schwab@suse.de>
46313         [BZ #16912]
46314         * gmon/mcount.c (_MCOUNT_DECL): Use
46315         atomic_compare_and_exchange_bool_acq instead of
46316         catomic_compare_and_exchange_bool_acq.
46318 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46320         * elf/Makefile (others, install-bin): Remove pldd.
46321         (pldd-modules): Variable removed.
46322         ($(objpfx)pldd): Target removed.
46323         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46324         (others, install-bin): Append pldd here.
46325         ($(objpfx)pldd): New target.
46327         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46328         to 0, so the first #if test emitted later doesn't see it undefined.
46329         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46330         * sysdeps/gnu/errlist.c: Regenerated.
46332 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46334         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46335         [libc_hidden_builtin_def]: Define to empty value.
46336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46337         [libc_hidden_builtin_def]: Likewise.
46338         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46339         [libc_hidden_builtin_def]: Likewise.
46340         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46341         [libc_hidden_builtin_def]: Likewise.
46342         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46343         __redirect_memcpy and define ifunc as default hidden symbol.
46344         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46345         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46347 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46349         * locale/iso-4217.def: Reintroduce XDR currency.
46351 2014-05-04  Allan McRae  <allan@archlinux.org>
46353         * po/eo.po: Update Esperanto translation from translation project.
46355 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46357         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46358         and FEATURE_INDEX_MAX to 1.
46359         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46361 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46363         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46364         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46365         * iconvdata/big5.c (ONE_DIRECTION): Define.
46366         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46367         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46368         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46369         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46370         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46371         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46372         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46373         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46374         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46375         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46376         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46377         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46378         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46379         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46380         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46381         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46382         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46383         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46384         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46385         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46386         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46387         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46388         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46389         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46390         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46391         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46392         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46393         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46394         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46395         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46396         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46397         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46398         * iconvdata/johab.c (ONE_DIRECTION): Define.
46399         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46400         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46401         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46402         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46403         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46404         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46405         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46406         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46407         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46408         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46410 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46412         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46413         (_IO_JUMPS_OFFSET): Define to 0.
46415         * nptl/sysdeps/pthread/bits/libc-lock.h
46416         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46417         (__libc_lock_define_initialized_recursive): Always define using
46418         initializer.  Modern compilers treat uninitialized (implicit zero) and
46419         explicit zero initializers the same (i.e. put the datum in bss).
46421 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46423         * nscd/nscd-client.h: Include <string.h>.
46425 2014-05-01  David S. Miller  <davem@davemloft.net>
46427         [BZ #16885]
46428         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46429         multiple zero bytes exist at the end of a string.
46430         Reported by Aurelien Jarno <aurelien@aurel32.net>
46432         * string/test-strcmp.c (check): Add explicit test for situations where
46433         there are multiple zero bytes after the first.
46435 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46437         [BZ #16890]
46438         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46439         when compiling wprintf.
46440         * stdio-common/tstdiomisc.c (t3): New function.
46441         (main): Call it.
46443 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46445         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46446         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46447         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46448         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46450 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46452         * stdlib/longlong.h: Updated from GCC.
46454 2014-05-01  Will Newton  <will.newton@linaro.org>
46455             Bernard Ogden  <bernie.ogden@linaro.org>
46457         * NEWS: Update fixed bug list.
46459         [BZ #15119]
46460         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46462 2014-04-30  David S. Miller  <davem@davemloft.net>
46464         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46465         (libc_feholdexcept_setround_sparc_ctx): New function.
46466         (libc_fesetenv_sparc_ctx): Likewise.
46467         (libc_feupdateenv_sparc_ctx): Likewise.
46468         (libc_feholdsetround_sparc_ctx): Likewise.
46469         (libc_feholdexcept_setround_ctx): Define.
46470         (libc_feholdexcept_setroundf_ctx): Likewise.
46471         (libc_feholdexcept_setroundl_ctx): Likewise.
46472         (libc_fesetenv_ctx): Likewise.
46473         (libc_fesetenvf_ctx): Likewise.
46474         (libc_fesetenvl_ctx): Likewise.
46475         (libc_feupdateenv_ctx): Likewise.
46476         (libc_feupdateenvf_ctx): Likewise.
46477         (libc_feupdateenvl_ctx): Likewise.
46478         (libc_feresetround_ctx): Likewise.
46479         (libc_feresetroundf_ctx): Likewise.
46480         (libc_feresetroundl_ctx): Likewise.
46481         (libc_feholdsetround_ctx): Likewise.
46482         (libc_feholdsetroundf_ctx): Likewise.
46483         (libc_feholdsetroundl_ctx): Likewise.
46485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46486         with __USE_GNU instead of XOPEN cpp guards.
46488         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46489         0.
46491         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46492         with XOPEN cpp guards.
46494 2014-04-30  Julian Brown  <julian@codesourcery.com>
46496         [BZ #16888]
46497         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46498         handling.
46500 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46502         [BZ #9894]
46503         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46504         Change to 2.6.32.
46505         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46506         * sysdeps/unix/sysv/linux/configure: Regenerated.
46507         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46508         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46509         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46510         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46511         * README: Update reference to required Linux kernel version.
46512         * manual/install.texi (Linux): Update reference to required Linux
46513         kernel headers version.
46514         * INSTALL: Regenerated.
46516         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46517         header inclusion.
46518         [POSIX] (limits.h): Likewise.
46519         [POSIX] (math.h): Likewise.
46520         [POSIX] (sys/wait.h): Likewise.
46521         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46522         function.
46523         [POSIX] (stddef.h): Do not allow header inclusion.
46525 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46527         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46529 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46531         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46532         Return immediately after lll_futex_wake.
46534 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46536         [BZ #16791]
46537         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46538         structure.
46539         (datahead_init_pos): Call datahead_init_common early.
46540         (datahead_init_neg): Likewise.
46542         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46543         datahead_init_neg): New functions.
46544         * nscd/aicache.c (addhstaiX): Use them.
46545         * nscd/grpcache.c (cache_addgr): Likewise.
46546         * nscd/hstcache.c (cache_addhst): Likewise.
46547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46548         * nscd/netgroupcache.c (do_notfound): Likewise.
46549         (addgetnetgrentX): Likewise.
46550         (addinnetgrX): Likewise.
46551         * nscd/pwdcache.c (cache_addpw): Likewise.
46552         * nscd/servicescache.c (cache_addserv): Likewise.
46554 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555             Atsushi Onoe  <atsushi@onoe.org>
46557         [BZ #14308]
46558         [BZ #12994]
46559         [BZ #13651]
46560         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46561         one response is valid.
46562         * resolv/res_send.c (send_dg): Check for validity of other
46563         response if the current response is a referral.
46565 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46567         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46569 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46571         [BZ #16823]
46572         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46573         Always divide by positive zero when computing -Inf result.
46574         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46575         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46577 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46579         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46580         FPSCR if value do not change.
46581         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46582         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46583         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46584         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46585         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46586         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46587         function.
46589 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46591         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46592         * sysdeps/unix/sysv/linux/hppa: Move directory from
46593         ports/systeps/unix/sysv/linux/hppa.
46594         * README: Update listing for hppa-*-linux-gnu.
46596 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46598         [BZ #16754]
46599         * manual/stdio.texi (Hook functions): Fix types of stream hook
46600         functions.
46601         [BZ #16854]
46602         * socket/sys/socket.h: Fix typo in comment.
46604 2014-04-28  Wilco  <wdijkstr@arm.com>
46606         * sysdeps/arm/fenv_private.h: New file.
46607         * sysdeps/arm/math_private.h: New file.
46608         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46610 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46612         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46613         with __int128_t.
46614         (La_x86_64_retval): Likewise.
46616 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46618         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46619         fpsr if value didn't change.
46620         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46621         to fpcr if value didn't change.
46622         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46623         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46624         fpsr or fpcr if value didn't change.
46625         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46626         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46627         fpcr if value didn't change.
46628         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46629         to fpsr if value didn't change.
46631 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46633         * nptl/tst-sem3.c: Use test-skeleton.c
46634         (main): Rename to do_test.  Use return instead of
46635         exit.
46636         * nptl/tst-sem4.c: Use test-skeleton.c
46637         (main): Rename to do_test.
46639 2014-04-22  David S. Miller  <davem@davemloft.net>
46641         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46642         (struct sigaction): New struct member __glibc_reserved0, change
46643         type of sa_flags to int.
46645 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46647         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46648         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46650 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46652         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46653         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46655 2014-04-22  Will Newton  <will.newton@linaro.org>
46656             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46658         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46659         (__longjmp): Add longjmp and longjmp_target SystemTap
46660         probes.
46661         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46662         (__sigsetjmp): Add setjmp SystemTap probe.
46664 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46666         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46667         match manual order.
46669 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46671         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46673         * sysdeps/powerpc/fpu/fenv_private.h
46674         (libc_feholdexcept_setroundl_ctx): Define to
46675         libc_feholdexcept_setround_ppc_ctx.
46676         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46677         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46678         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46679         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46681 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46683         * sysdeps/aarch64/math-tests.h: New file.
46685 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46687         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46688         New.
46689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46690         Check and set bit_AVX2_Usable.
46691         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46692         macro.
46693         (bit_AVX2): Likewise.
46694         (index_AVX2_Usable): Likewise.
46695         (CPUID_AVX2): Likewise.
46696         (HAS_AVX2): Likewise.
46698 2014-04-17  Will Newton  <will.newton@linaro.org>
46700         * manual/setjmp.texi (System V contexts): Add note that
46701         calling setcontext on a context created by a call to a
46702         signal handler is undefined.  Update text to note that
46703         setcontext from a signal handler is possible but not
46704         recommended.
46706         [BZ #16629]
46707         * stdlib/tst-setcontext.c: Include signal.h.
46708         (main): Check that the signal stack before and
46709         after swapcontext is the same.
46711         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46712         Re-implement to restore registers in user code and avoid
46713         rt_sigreturn system call.
46715 2014-04-17  Wilco  <wdijkstr@arm.com>
46717         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46718         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46719         * math/test-fenv.c: Skip exception trap tests on targets which only
46720         support non-stop mode.
46722 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46723             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46725         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46726         (libc_feholdsetround_aarch64_ctx)
46727         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46728         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46729         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46730         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46731         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46732         (libc_feresetround_noexl_ctx): Define.
46734 2014-04-16  Richard Henderson  <rth@redhat.com>
46736         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46738         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46739         unwind tables.
46741         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46742         const from the non-libc, non-ldso copy.
46744         * sysdeps/alpha/libm-test-ulps: Regenerate.
46746 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46747             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46749         * sysdeps/aarch64/fpu/math_private.h: New file.
46751 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46753         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46755 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46757         [BZ #16275]
46758         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46759         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46761         Intel MPX bound registers before _dl_profile_fixup.
46762         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46763         registers after _dl_profile_fixup.  Save and restore bound
46764         registers bnd0/bnd1 when calling _dl_call_pltexit.
46765         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46766         (LR_BND_OFFSET): Likewise.
46767         (LRV_BND0_OFFSET): Likewise.
46768         (LRV_BND1_OFFSET): Likewise.
46770 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46772         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46773         to...
46774         * sysdeps/mach/hurd/i386/tls.h: ... here.
46775         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46776         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46777         fields.
46779 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46781         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46783 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46785         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46787 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46789         [BZ #14770]
46790         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46791         * sysdeps/s390/configure: Regenerate.
46793         [BZ #16824]
46794         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46795         Set round-to-nearest internally to reduce error accumulation.
46797 2014-04-16  Alan Modra  <amodra@gmail.com>
46799         [BZ #16740]
46800         [BZ #16619]
46801         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46802         * math/libm-test.inc (frexp_test_data): Add tests.
46803         * NEWS: Update fixed bug list.
46805 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46807         * benchtests/Makefile: Depend on libraries in build directory.
46808         (bench-math): Separate out math tests.
46809         (bench-pthread): Separate out pthread tests.
46810         (bench): Include math and pthread tests.
46812 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46814         [BZ #16831]
46815         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46816         _dl_debug_initialize.
46818         * configure.ac: Remove SELinux header check.
46819         * configure: Regenerate.
46820         * nscd/selinux.c (perms): Array of const char* to permission names.
46821         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46822         default policy. Call string_to_security_class and string_to_av_perm to
46823         translate strings. Enforce default policy and call avs_has_perm with
46824         results of translated strings.
46826 2014-04-13  David S. Miller  <davem@davemloft.net>
46828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46830 2014-04-12  Allan McRae  <allan@archlinux.org>
46832         [BZ #16838]
46833         * manual/string.texi (Collation Functions): Fix qsort argument
46834         order in example.
46835         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46837 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46839         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46840         Make the test a no-op if there are no exceptions defined.
46842 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46844         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46845         enable-hardcoded-path-in-tests
46847 2014-04-11  Will Newton  <will.newton@linaro.org>
46849         * benchtests/Makefile (extra-objs): Add json-lib.o.
46850         (bench-func): Tidy up JSON output.
46851         * benchtests/bench-skeleton.c: Include json-lib.h.
46852         (main): Use JSON library functions to do output of
46853         benchmark results.
46854         * benchtests/bench-timing-type.c (main): Output the
46855         timing type simply, leaving formatting to the user.
46856         * benchtests/json-lib.c: New file.
46857         * benchtests/json-lib.h: Likewise.
46859 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46861         [BZ #15215]
46862         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46863         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46864         memory barriers.  Add comments.
46865         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46866         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46867         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46868         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46869         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46870         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46872 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46874         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46875         * sysdeps/s390/s390-64/configure.ac: ... this ...
46876         * sysdeps/s390/configure.ac: ... to here.
46877         * sysdeps/s390/s390-32/configure: Delete file.
46878         * sysdeps/s390/s390-64/configure: Delete file.
46879         * sysdeps/s390/configure: Regenerate.
46881 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46883         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46885 2014-04-11  Will Newton  <will.newton@linaro.org>
46887         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46888         to zero if it is not defined elsewhere.  (mtrim): Test
46889         the value of MALLOC_DEBUG with #if rather than #ifdef.
46891 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46893         * benchtests/pthread_once-inputs: New file.
46894         * benchtests/pthread_once-source.c: New file.
46895         * benchtests/README: Update documentation.
46897 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46898             H.J. Lu  <hongjiu.lu@intel.com>
46900         [BZ #16275]
46901         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46902         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46903         * sysdeps/x86_64/configure: Regenerated.
46904         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46905         macro.
46906         (REGISTER_SAVE_RAX): Likewise.
46907         (REGISTER_SAVE_RCX): Likewise.
46908         (REGISTER_SAVE_RDX): Likewise.
46909         (REGISTER_SAVE_RSI): Likewise.
46910         (REGISTER_SAVE_RDI): Likewise.
46911         (REGISTER_SAVE_R8): Likewise.
46912         (REGISTER_SAVE_R9): Likewise.
46913         (REGISTER_SAVE_BND0): Likewise.
46914         (REGISTER_SAVE_BND1): Likewise.
46915         (REGISTER_SAVE_BND2): Likewise.
46916         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46917         bound registers when calling _dl_fixup.
46919 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46921         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46922         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46923         of its definition.
46924         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46925         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46926         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46927         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46928         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46929         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46930         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46932 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46934         [BZ #15514]
46935         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46936         pathconf(_PC_NAME_MAX).
46938 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46940         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46941         Remove macro usage.
46942         (__PTHREAD_SPINS): Move definition to ...
46943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46944         (__PTHREAD_SPINS): ... here.
46945         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46946         (__PTHREAD_SPIN): Likewise.
46947         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46948         (__PTHREAD_SPIN): Likewise.
46949         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46950         (__PTHREAD_SPIN): Likewise.
46951         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46952         (__PTHREAD_SPIN): Likewise.
46953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46954         (__PTHREAD_SPIN): Likewise.
46955         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46956         (__PTHREAD_SPIN): Likewise.
46957         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46958         (__PTHREAD_SPIN): Likewise.
46959         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46960         (__PTHREAD_SPIN): Likewise.
46961         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46962         (__PTHREAD_SPIN): Likewise.
46963         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46964         (__PTHREAD_SPIN): Likewise.
46965         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46966         (__PTHREAD_SPIN): Likewise.
46967         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46968         (__PTHREAD_SPIN): Likewise.
46970         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46971         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46972         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46973         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46974         imply folder.
46975         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46976         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46977         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46978         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46979         correct imply path.
46980         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46981         strlen symbol for non multi-arch builds.
46982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46983         missing hidden_def and weak_alias.
46985 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46987         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46989 2014-04-07  Will Newton  <will.newton@linaro.org>
46991         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46992         and contents.  [!_LIBC] Remove #ifndef and contents.
46993         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46994         * string/memccpy.c (__memccpy): Use ANSI prototype.
46995         * string/memfrob.c (memfrob): Likewise.
46996         * string/strcoll.c (STRCOLL): Likewise.
46997         * string/strlen.c (strlen): Likewise.
46998         * string/strtok.c (STRTOK): Likewise.
46999         * string/strcat.c: Remove unused #include of memcopy.h.
47000         (strcat): Use ANSI prototype.
47001         * string/strchr.c: Remove unused #include of memcopy.h.
47002         (strchr): Use ANSI prototype.
47003         * string/strcmp.c: Remove unused #include of memcopy.h.
47004         (strcmp): Use ANSI prototype.
47005         * string/strcpy.c: Remove unused #include of memcopy.h.
47006         (strcpy): Use ANSI prototype.
47008 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47010         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47011         * config.make.in (config-extra-cppflags): Set it from
47012         libc_extra_cppflags.
47013         * configure.ac (libc_extra_cflags): Make it accumulate over
47014         configure fragments.
47015         (libc_extra_cppflags): New flag.
47016         * configure. Regenerate.
47017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47018         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47019         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47022         [BZ #16815]
47023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47024         result for FE_DOWNWARD rounding mode.
47025         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47026         Likewise.
47027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47029 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47031         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47032         in function argument name.
47034 2014-04-03  David Svoboda  <svoboda@cert.org>
47036         [BZ #5666]
47037         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47038         explicitly.
47040 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47042         * elf/dl-unmap-segments.h: New file.
47043         * sysdeps/generic/ldsodefs.h
47044         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47045         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47046         * elf/dl-fptr.c: Likewise.
47047         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47048         * sysdeps/aarch64/tlsdesc.c: Likewise.
47049         * sysdeps/arm/tlsdesc.c: Likewise.
47050         * sysdeps/i386/tlsdesc.c: Likewise.
47051         * sysdeps/tile/dl-runtime.c: Likewise.
47052         * sysdeps/x86_64/tlsdesc.c: Likewise.
47053         * elf/dl-load.h: New file.
47054         * elf/dl-load.c: Include it.
47055         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47056         Macros moved to dl-load.h.
47057         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47058         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47059         Use _dl_unmap_segments in place of __munmap.
47060         Break out segment-mapping loop into ...
47061         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47063 2014-04-03  Will Newton  <will.newton@linaro.org>
47065         * elf/dl-lookup.c (do_lookup_x): Remove comment
47066         referring to nested function and move variable
47067         declarations down to before first use.
47069 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47071         [BZ #16799]
47072         [BZ #16800]
47073         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47074         with 0 numerator.
47075         * math/s_catanf.c (__catanf): Likewise.
47076         * math/s_catanh.c (__catanh): Likewise.
47077         * math/s_catanhf.c (__catanhf): Likewise.
47078         * math/s_catanhl.c (__catanhl): Likewise.
47079         * math/s_catanl.c (__catanl): Likewise.
47080         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47081         by positive zero when computing -Inf result.
47082         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47083         (catanh_test): Likewise.
47084         * sysdeps/i386/fpu/libm-test-ulps: Update.
47085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47087         [BZ #16789]
47088         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47089         instead of using underflowing value in computing result.
47090         * math/s_clog10.c (__clog10): Likewise.
47091         * math/s_clog10f.c (__clog10f): Likewise.
47092         * math/s_clog10l.c (__clog10l): Likewise.
47093         * math/s_clogf.c (__clogf): Likewise.
47094         * math/s_clogl.c (__clogl): Likewise.
47095         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47096         (clog10_test): Likewise.
47097         * sysdeps/i386/fpu/libm-test-ulps: Update.
47098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47100 2014-04-02  Alan Modra  <amodra@gmail.com>
47102         [BZ #16739]
47103         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47104         output when value is near a power of two.  Use int64_t for lx and
47105         remove casts.  Use decimal rather than hex exponent constants.
47106         Don't use long double multiplication when double will suffice.
47107         * math/libm-test.inc (nextafter_test_data): Add tests.
47108         * NEWS: Add 16739 and 16786 to bug list.
47110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47112         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47114 2014-04-01  Will Newton  <will.newton@linaro.org>
47116         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47117         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47119 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47121         [BZ #13347]
47122         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47123         * nptl/tst-setuid2.c: New file.
47124         * nptl/Makefile (xtests): Add tst-setuid2.
47126 2014-04-01  Alan Modra  <amodra@gmail.com>
47128         [BZ #16786]
47129         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47131 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47133         [BZ #6803]
47134         [BZ #6804]
47135         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47136         set errno as appropriate.
47137         * math/w_scalbf.c (__scalbf): Likewise.
47138         * math/w_scalbl.c (__scalbl): Likewise.
47139         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47140         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47141         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47142         Add more NaN tests.
47144         [BZ #16349]
47145         * math/w_atan2.c: Include <errno.h>.
47146         (__atan2): Set errno for result underflowing to zero.
47147         * math/w_atan2f.c: Include <errno.h>.
47148         (__atan2f): Set errno for result underflowing to zero.
47149         * math/w_atan2l.c: Include <errno.h>.
47150         (__atan2l): Set errno for result underflowing to zero.
47151         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47152         tests.
47153         * math/auto-libm-test-out: Regenerated.
47155 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47157         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47158         Encode instruction correctly in little endian.
47159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47160         Likewise.
47161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47162         Likewise.
47163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47164         Likewise.
47165         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47166         Likewise.
47168 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47170         [BZ #9894]
47171         * sysdeps/unix/sysv/linux/kernel-features.h
47172         [__sparc__ && !__arch64__ && !__sparc_v9__]
47173         (__ASSUME_SET_ROBUST_LIST): Do not define.
47174         [__sparc__ && !__arch64__ && !__sparc_v9__]
47175         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47176         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47177         Likewise.
47178         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47179         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47180         (__ASSUME_REQUEUE_PI): Likewise.
47181         (__ASSUME_SET_ROBUST_LIST): Likewise.
47182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47183         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47184         Undefine.
47185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47187         Likewise.
47188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47189         Likewise.
47190         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47191         Likewise.
47192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47193         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47194         Undefine.
47195         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47196         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47197         Likewise.
47199         [BZ #16648]
47200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47202         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47204 2014-03-31  Will Newton  <will.newton@linaro.org>
47206         * benchtests/Makefile (bench): Add ffs and ffsll to list
47207         of tests.
47208         * benchtests/ffs-inputs: New file.
47209         * benchtests/ffsll-inputs: Likewise.
47211 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47213         [BZ #16770]
47214         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47215         too large before casting to int.
47216         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47217         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47218         * math/libm-test.inc (scalb_test_data): Add more tests.
47220 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47222         * benchtests/Makefile (DETAILED_OPT): New make option.
47223         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47224         set.
47225         * benchtests/bench-skeleton.c: Include stdbool.h.
47226         (main): Store and print timings per input.
47227         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47228         member to each argument value.
47229         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47230         (_print_arg_data): Initialize per-input timing to 0.
47232         * benchtests/Makefile (timing-type): New binary.
47233         (bench-clean): Also remove bench-timing-type.
47234         (bench): New target for timing-type.
47235         (bench-func): Print output in JSON format.
47236         * benchtests/bench-skeleton.c (main): Print output in JSON
47237         format.
47238         * benchtests/bench-timing-type.c: New file.
47239         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47240         (TIMING_PRINT_STATS): Remove.
47241         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47242         name separately.
47244         * benchtests/bench-modf.c: Remove.
47245         * benchtests/modf-inputs: New inputs file.
47247 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47249         [BZ #16362]
47250         * math/s_clog10.c (M_PI_LOG10E): New macro.
47251         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47252         imaginary parts are 0.
47253         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47254         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47255         imaginary parts are 0.
47256         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47257         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47258         imaginary parts are 0.
47259         * math/libm-test.inc (clog10_test_data): Update expected results
47260         for when real and imaginary parts are 0.
47262 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47264         * elf/dl-load.c: Finish conversion of __builtin_expect into
47265         __glibc_{un}likely.
47267 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47269         [BZ #16348]
47270         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47271         1+x for argument with exponent below -67.
47272         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47273         Likewise.
47274         * math/auto-libm-test-in: Add more tests of exp.
47275         * math/auto-libm-test-out: Regenerated.
47277 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47279         [BZ #16759]
47280         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47281         (nscd_getnetgrent): Use it.
47283         [BZ #16760]
47284         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47285         of stpcpy.
47287 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47290         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47291         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47292         (lll_robust_unlock): Remove out of line section. Use cfi
47293         intrinsics.
47294         (LLL_STUB_UNWIND_INFO*): Remove.
47295         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47296         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47297         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47298         (lll_robust_unlock): Remove out of line section. Use cfi
47299         intrinsics.
47300         (LLL_STUB_UNWIND_INFO*): Remove.
47302 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47304         [BZ #16758]
47305         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47306         blank values.
47308 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47310         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47312 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47314         [BZ #16198]
47315         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47316         fnstenv.
47317         * math/test-fenv-preserve.c: New file.
47318         * math/Makefile (tests): Add test-fenv-preserve.
47320 2014-03-26  Will Newton <will.newton@linaro.org>
47322         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47324 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47326         * scripts/versionlist.awk: Partition the version sets and emit all
47327         GLIBC_* (sorted) before all others (sorted).
47329 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47331         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47332         GLIBC_2.2.5 version.
47334 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47336         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47337         calls.
47339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47340         previous change.
47342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47344 2014-03-25  Andreas Schwab  <schwab@suse.de>
47346         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47347         label to be used after in6ailist is initialized.
47349 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47352         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47354 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47356         [BZ #16357]
47357         [BZ #16599]
47358         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47359         min_plus_half.
47360         (fp_formats): Update initializers.
47361         (init_fp_formats): Initialize new field.
47362         (output_for_one_input_case): Allow underflow for results up to
47363         min_plus_half.
47364         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47365         * math/auto-libm-test-in: Don't mark some underflows from asin and
47366         atanh as spurious.
47367         * math/auto-libm-test-out: Regenerated.
47368         * sysdeps/i386/fpu/libm-test-ulps: Update.
47369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47371 2014-03-25  Andreas Schwab  <schwab@suse.de>
47373         * libio/Makefile (tst-ftell-partial-wide-ENV)
47374         (tst-ftell-active-handler-ENV): Define.
47376 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47378         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47380 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47382         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47384 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47386         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47387         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47388         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47390 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47392         [BZ #16634]
47393         * elf/dl-load.c (open_verify): Add mode parameter.
47394         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47395         (open_path): Change from boolean 'secure' to complete flag 'mode'
47396         (_dl_map_object): Adjust.
47397         * elf/Makefile (tests): Add tst-dlopen-aout.
47398         * elf/tst-dlopen-aout.c: New test.
47400 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47402         [BZ #16714]
47403         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47404         (struct stat): Rename member pad0 to __glibc_reserved0.
47406         [BZ #16712]
47407         * sysdeps/s390/s390-32/bits/wordsize.h
47408         (__WORDSIZE32_SIZE_ULONG): New define.
47409         * sysdeps/s390/s390-64/bits/wordsize.h
47410         (__WORDSIZE32_SIZE_ULONG): Likewise.
47411         * sysdeps/generic/stdint.h (SIZE_MAX):
47412         Define as UL if __WORDSIZE32_SIZE_ULONG.
47414         [BZ #16713]
47415         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47416         (__glibc_reserved0): New variable.
47417         (sa_flags): Change type to int.
47419         * posix/Makefile (before-compile): Use += before-compile instead
47420         of a :=.
47422         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47423         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47425 2014-03-20  Andreas Schwab  <schwab@suse.de>
47427         [BZ #16743]
47428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47429         non-matching result from nscd.
47431 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47433         * scripts/bench.py: Moved to ...
47434         * benchtests/scripts/bench.py: ... here.
47435         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47437 2014-03-24  Andreas Schwab  <schwab@suse.de>
47439         [BZ #16002]
47440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47441         alloca_account and account alloca use for struct in6ailist.
47443 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47445         [BZ #16284]
47446         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47447         rounding mode to recompute results that overflow to infinity or
47448         underflow to zero.
47449         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47450         bug 16284.
47451         * math/auto-libm-test-out: Regenerated.
47452         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47453         (ccosh_test): Likewise.
47454         (csin_test_data): Use plus_oflow.
47455         (csin_test): Use ALL_RM_TEST.
47456         (csinh_test_data): Use plus_oflow.
47457         (csinh_test): Use ALL_RM_TEST.
47458         * sysdeps/i386/fpu/libm-test-ulps: Update.
47459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47461 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47463         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47464         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47465         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47467         [BZ #16731]
47468         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47469         when x - 1 is zero.
47470         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47471         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47472         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47474         argument is 1.
47475         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47476         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47477         zero.
47478         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47479         * sysdeps/i386/fpu/libm-test-ulps: Update.
47480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47482 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47484         * scripts/bench.pl: Remove file.
47485         * scripts/bench.py: New benchmark script.
47486         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47487         * benchtests/README: Mention python dependency.
47488         * scripts/pylintrc: New file.
47489         * scripts/pylint: New file.
47491         * bits/mathdef.h: Use #ifdef instead of #if.
47492         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47493         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47494         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47495         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47496         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47497         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47500             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47502         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47504         and strpbrk-ppc64 objects.
47505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47506         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47508         multiarch strpbrk for POWER7.
47509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47510         multiarch strpbrk for PPC64.
47511         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47512         ifunc selector.
47513         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47514         strpbrk for POWER7.
47516 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47518         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47519         (atan_test): Likewise.
47520         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47521         (atanh_test): Use ALL_RM_TEST.
47522         (atan2_test_data): Likewise.
47523         (cabs_test): Likewise.
47524         (cacosh_test): Likewise.
47525         (carg_test): Likewise.
47526         (casin_test): Likewise.
47527         (casinh_test): Likewise.
47528         (cbrt_test): Likewise.
47529         (csqrt_test): Likewise.
47530         (erf_test): Likewise.
47531         (erfc_test): Likewise.
47532         (pow10_test): Likewise.
47533         (exp2_test): Likewise.
47534         (hypot_test): Likewise.
47535         (j0_test): Likewise.
47536         (j1_test): Likewise.
47537         (lgamma_test): Likewise.
47538         (gamma_test): Likewise.
47539         (sincos_test): Likewise.
47540         (tanh_test): Likewise.
47541         (y0_test): Likewise.
47542         (y1_test): Likewise.
47543         * sysdeps/i386/fpu/libm-test-ulps: Update.
47544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47546 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47548         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47550         and strcspn-ppc64 objects.
47551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47552         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47553         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47554         multiarch strcspn for POWER7.
47555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47556         multiarch strcspn for PPC64.
47557         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47558         ifunc selector.
47559         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47560         strcspn for POWER7.
47562 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47564         * math/gen-libm-test.pl (generate_testfile): Expect only function
47565         name as argument to AUTO_TESTS_* and pass results for all rounding
47566         modes to parse_args.
47567         (parse_auto_input): Separate inputs of automatic tests from
47568         outputs before storing in %auto_tests.
47569         * math/libm-test.inc (acos_test_data): Update call to
47570         AUTO_TESTS_f_f.
47571         (acos_test): Use ALL_RM_TEST.
47572         (acos_tonearest_test_data): Remove.
47573         (acos_test_tonearest): Likewise.
47574         (acos_towardzero_test_data): Likewise.
47575         (acos_test_towardzero): Likewise.
47576         (acos_downward_test_data): Likewise.
47577         (acos_test_downward): Likewise.
47578         (acos_upward_test_data): Likewise.
47579         (acos_test_upward): Likewise.
47580         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47581         (asin_test_data): Likewise.
47582         (asin_test): Use ALL_RM_TEST.
47583         (asin_tonearest_test_data): Remove.
47584         (asin_test_tonearest): Likewise.
47585         (asin_towardzero_test_data): Likewise.
47586         (asin_test_towardzero): Likewise.
47587         (asin_downward_test_data): Likewise.
47588         (asin_test_downward): Likewise.
47589         (asin_upward_test_data): Likewise.
47590         (asin_test_upward): Likewise.
47591         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47592         (atan_test_data): Likewise.
47593         (atanh_test_data): Likewise.
47594         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47595         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47596         (carg_test_data): Likewise.
47597         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47598         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47599         (ccosh_test_data): Likewise.
47600         (cexp_test_data): Likewise.
47601         (clog_test_data): Likewise.
47602         (clog10_test_data): Likewise.
47603         (cos_test_data): Update call to AUTO_TESTS_f_f.
47604         (cos_test): Use ALL_RM_TEST.
47605         (cos_tonearest_test_data): Remove.
47606         (cos_test_tonearest): Likewise.
47607         (cos_towardzero_test_data): Likewise.
47608         (cos_test_towardzero): Likewise.
47609         (cos_downward_test_data): Likewise.
47610         (cos_test_downward): Likewise.
47611         (cos_upward_test_data): Likewise.
47612         (cos_test_upward): Likewise.
47613         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47614         (cosh_test): Use ALL_RM_TEST.
47615         (cosh_tonearest_test_data): Remove.
47616         (cosh_test_tonearest): Likewise.
47617         (cosh_towardzero_test_data): Likewise.
47618         (cosh_test_towardzero): Likewise.
47619         (cosh_downward_test_data): Likewise.
47620         (cosh_test_downward): Likewise.
47621         (cosh_upward_test_data): Likewise.
47622         (cosh_test_upward): Likewise.
47623         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47624         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47625         (ctan_test_data): Likewise.
47626         (ctan_test): Use ALL_RM_TEST.
47627         (ctan_tonearest_test_data): Remove.
47628         (ctan_test_tonearest): Likewise.
47629         (ctan_towardzero_test_data): Likewise.
47630         (ctan_test_towardzero): Likewise.
47631         (ctan_downward_test_data): Likewise.
47632         (ctan_test_downward): Likewise.
47633         (ctan_upward_test_data): Likewise.
47634         (ctan_test_upward): Likewise.
47635         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47636         (ctanh_test): Use ALL_RM_TEST.
47637         (ctanh_tonearest_test_data): Remove.
47638         (ctanh_test_tonearest): Likewise.
47639         (ctanh_towardzero_test_data): Likewise.
47640         (ctanh_test_towardzero): Likewise.
47641         (ctanh_downward_test_data): Likewise.
47642         (ctanh_test_downward): Likewise.
47643         (ctanh_upward_test_data): Likewise.
47644         (ctanh_test_upward): Likewise.
47645         (erf_test_data): Update call to AUTO_TESTS_f_f.
47646         (erfc_test_data): Likewise.
47647         (exp_test_data): Likewise.
47648         (exp_test): Use ALL_RM_TEST.
47649         (exp_tonearest_test_data): Remove.
47650         (exp_test_tonearest): Likewise.
47651         (exp_towardzero_test_data): Likewise.
47652         (exp_test_towardzero): Likewise.
47653         (exp_downward_test_data): Likewise.
47654         (exp_test_downward): Likewise.
47655         (exp_upward_test_data): Likewise.
47656         (exp_test_upward): Likewise.
47657         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47658         (exp10_test): Use ALL_RM_TEST.
47659         (exp10_tonearest_test_data): Remove.
47660         (exp10_test_tonearest): Likewise.
47661         (exp10_towardzero_test_data): Likewise.
47662         (exp10_test_towardzero): Likewise.
47663         (exp10_downward_test_data): Likewise.
47664         (exp10_test_downward): Likewise.
47665         (exp10_upward_test_data): Likewise.
47666         (exp10_test_upward): Likewise.
47667         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47668         (expm1_test_data): Likewise.
47669         (expm1_test): Use ALL_RM_TEST.
47670         (expm1_tonearest_test_data): Remove.
47671         (expm1_test_tonearest): Likewise.
47672         (expm1_towardzero_test_data): Likewise.
47673         (expm1_test_towardzero): Likewise.
47674         (expm1_downward_test_data): Likewise.
47675         (expm1_test_downward): Likewise.
47676         (expm1_upward_test_data): Likewise.
47677         (expm1_test_upward): Likewise.
47678         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47679         (fma_test): Use ALL_RM_TEST.
47680         (fma_towardzero_test_data): Remove.
47681         (fma_test_towardzero): Likewise.
47682         (fma_downward_test_data): Likewise.
47683         (fma_test_downward): Likewise.
47684         (fma_upward_test_data): Likewise.
47685         (fma_test_upward): Likewise.
47686         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47687         (j0_test_data): Update call to AUTO_TESTS_f_f.
47688         (j1_test_data): Likewise.
47689         (jn_test_data): Update call to AUTO_TESTS_if_f.
47690         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47691         (log_test_data): Update call to AUTO_TESTS_f_f.
47692         (log10_test_data): Likewise.
47693         (log1p_test_data): Likewise.
47694         (log2_test_data): Likewise.
47695         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47696         (pow_tonearest_test_data): Likewise.
47697         (sin_test_data): Update call to AUTO_TESTS_f_f.
47698         (sin_test): Use ALL_RM_TEST.
47699         (sin_tonearest_test_data): Remove.
47700         (sin_test_tonearest): Likewise.
47701         (sin_towardzero_test_data): Likewise.
47702         (sin_test_towardzero): Likewise.
47703         (sin_downward_test_data): Likewise.
47704         (sin_test_downward): Likewise.
47705         (sin_upward_test_data): Likewise.
47706         (sin_test_upward): Likewise.
47707         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47708         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47709         (sinh_test): Use ALL_RM_TEST.
47710         (sinh_tonearest_test_data): Remove.
47711         (sinh_test_tonearest): Likewise.
47712         (sinh_towardzero_test_data): Likewise.
47713         (sinh_test_towardzero): Likewise.
47714         (sinh_downward_test_data): Likewise.
47715         (sinh_test_downward): Likewise.
47716         (sinh_upward_test_data): Likewise.
47717         (sinh_test_upward): Likewise.
47718         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47719         (sqrt_test): Use ALL_RM_TEST.
47720         (sqrt_tonearest_test_data): Remove.
47721         (sqrt_test_tonearest): Likewise.
47722         (sqrt_towardzero_test_data): Likewise.
47723         (sqrt_test_towardzero): Likewise.
47724         (sqrt_downward_test_data): Likewise.
47725         (sqrt_test_downward): Likewise.
47726         (sqrt_upward_test_data): Likewise.
47727         (sqrt_test_upward): Likewise.
47728         (tan_test_data): Update call to AUTO_TESTS_f_f.
47729         (tan_test): Use ALL_RM_TEST.
47730         (tan_tonearest_test_data): Remove.
47731         (tan_test_tonearest): Likewise.
47732         (tan_towardzero_test_data): Likewise.
47733         (tan_test_towardzero): Likewise.
47734         (tan_downward_test_data): Likewise.
47735         (tan_test_downward): Likewise.
47736         (tan_upward_test_data): Likewise.
47737         (tan_test_upward): Likewise.
47738         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47739         (tgamma_test_data): Likewise.
47740         (y0_test_data): Likewise.
47741         (y1_test_data): Likewise.
47742         (yn_test_data): Update call to AUTO_TESTS_if_f.
47743         (main): Do not call removed functions.
47745 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47747         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47748         (ldexp_test_data): Remove.
47749         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47750         scalbn_test_data.
47751         (scalb_test): Use ALL_RM_TEST.
47753 2014-03-19  Andreas Schwab  <schwab@suse.de>
47755         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47757 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47759         [BZ #16649]
47760         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47761         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47762         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47764         (__ASSUME_PREADV): Undefine.
47765         (__ASSUME_PWRITEV): Likewise.
47767 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47769         * bits/mman-linux.h: Add comment about non-Linux use.
47770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47771         bits/mman-linux.h resting place.
47773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47774         * bits/mman-linux.h: ... here.
47776 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47778         * conform/conformtest.pl: Add standard definition when calling C
47779         preprocessor on data files.
47780         (checknamespace): Remove unused variable.
47782 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47784         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47785         minus_oflow, plus_uflow and minus_uflow in expected results.
47786         * math/libm-test.inc (scalbn_test_data): Add more tests of
47787         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47788         minus_uflow.
47789         (scalbn_test): Use ALL_RM_TEST.
47790         (scalbln_test_data): Add more tests of negative arguments.  Use
47791         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47792         (scalbln_test): Use ALL_RM_TEST.
47794 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47796         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47798 2014-03-18  Will Newton  <will.newton@linaro.org>
47800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47801         inaccurate comment.
47803 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47805         * Makerules [!subdir] (check-abi): Exit with error status if a
47806         test failed.
47808 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47810         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47811         for rint.  Include results for all rounding modes.
47812         (nearbyint_test): Use ALL_RM_TEST.
47813         (rint_test_data): Include all tests used for nearbyint.
47815 2014-03-17  Will Newton  <will.newton@linaro.org>
47817         * nptl/sysdeps/pthread/pthread.h: Revert previous
47818         change.
47820         * sysdeps/generic/ldsodefs.h: Revert previous
47821         change.
47823         * libio/genops.c: Revert previous change.
47824         * libio/libioP.h: Likewise.
47825         * stdio-common/vfprintf.c: Likewise.
47827         * sysdeps/generic/math_private.h: Revert previous
47828         change.
47830         * sysdeps/generic/math_private.h: Check whether
47831         HAVE_RM_CTX is defined with #ifdef rather
47832         than #if.
47834         * argp/argp-fmtstream.h: Check whether
47835         __STRICT_ANSI__ is defined with #ifdef rather
47836         than #if.
47837         * argp/argp.h: Likewise.
47839         * libio/genops.c: Check whether
47840         _IO_JUMPS_OFFSET is defined with #ifdef rather
47841         than #if.
47842         * libio/libioP.h: Likewise.
47843         * stdio-common/vfprintf.c: Likewise.
47845         * sysdeps/generic/ldsodefs.h: Check whether
47846         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47847         than #if.
47849         * nptl/sysdeps/pthread/pthread.h: Check
47850         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47851         its value.
47853 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47855         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47856         setting O_APPEND.
47857         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47858         test case.
47860         [BZ #16680]
47861         * libio/fileops.c (_IO_file_open): Seek to end of file but
47862         don't cache the offset.
47863         (get_file_offset): Remove function.
47864         (do_ftell): Use cached offset when available.
47865         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47866         don't cache the offset.
47867         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47868         case.
47869         (do_one_test): Call it.
47870         (do_ftell_test): Fix up expected old offset for a+ mode.
47871         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47872         available.
47874         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47875         up test status with function return status.
47876         (do_write_test): Likewise.
47877         (do_append_test): Likewise.
47879         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47880         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47881         Remove.
47883 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47885         * math/gen-libm-test.pl (parse_args): Handle results specified for
47886         each rounding mode separately.
47887         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47888         tests and results from lrint_tonearest_test_data,
47889         lrint_towardzero_test_data, lrint_downward_test_data and
47890         lrint_upward_test_data.
47891         (lrint_test): Use ALL_RM_TEST.
47892         (lrint_tonearest_test_data): Remove.
47893         (lrint_test_tonearest): Likewise.
47894         (lrint_towardzero_test_data): Likewise.
47895         (lrint_test_towardzero): Likewise.
47896         (lrint_downward_test_data): Likewise.
47897         (lrint_test_downward): Likewise.
47898         (lrint_upward_test_data): Likewise.
47899         (lrint_test_upward): Likewise.
47900         (llrint_test_data): Merge in per-rounding-mode tests and results
47901         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47902         llrint_downward_test_data and llrint_upward_test_data.
47903         (llrint_test): Use ALL_RM_TEST.
47904         (llrint_tonearest_test_data): Remove.
47905         (llrint_test_tonearest): Likewise.
47906         (llrint_towardzero_test_data): Likewise.
47907         (llrint_test_towardzero): Likewise.
47908         (llrint_downward_test_data): Likewise.
47909         (llrint_test_downward): Likewise.
47910         (llrint_upward_test_data): Likewise.
47911         (llrint_test_upward): Likewise.
47912         (rint_test_data): Merge in per-rounding-mode tests and results
47913         from rint_tonearest_test_data, rint_towardzero_test_data,
47914         rint_downward_test_data and rint_upward_test_data.  Add
47915         per-rounding-mode results for tests not in those arrays.
47916         (rint_test): Use ALL_RM_TEST.
47917         (rint_tonearest_test_data): Remove.
47918         (rint_test_tonearest): Likewise.
47919         (rint_towardzero_test_data): Likewise.
47920         (rint_test_towardzero): Likewise.
47921         (rint_downward_test_data): Likewise.
47922         (rint_test_downward): Likewise.
47923         (rint_upward_test_data): Likewise.
47924         (rint_test_upward): Likewise.
47925         (main): Don't call removed functions.
47927 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47929         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47930         "Compiled on ..." crapola.  It is anti-useful.
47932 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47934         * scripts/evaluate-test.sh: Handle fourth argument to determine
47935         whether test run should stop on failure.
47936         * Makeconfig (stop-on-test-failure): New variable.
47937         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47938         $(stop-on-test-failure).
47939         * Makefile (tests): Give a summary of results from testing and
47940         exit with failure status if they include an ERROR or FAIL.
47941         (xtests): Likewise.
47942         * manual/install.texi (Configuring and compiling): Mention
47943         stop-on-test-failure=y.
47944         * INSTALL: Regenerated.
47946 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47948         * scripts/versionlist.awk: New file.
47949         * Makerules [$(build-shared) = yes]
47950         (postclean-generated): Add Versions.def, not Versions.def.v and
47951         Versions.def.v.i.
47952         ($(common-objpfx)Versions.def.v.i): Target removed.
47953         ($(common-objpfx)Versions.def): New target.
47954         ($(common-objpfx)Versions.all): Depend on that rather that
47955         $(common-objpfx)Versions.def.v.
47956         * Versions.def: File removed.
47958         * Makeconfig (+gccwarn): Add -Wundef.
47959         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47960         a dl-sysdep.h breaking its contract.
47961         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47962         * include/stackinfo.h: New file.
47963         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47964         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47965         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47966         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47967         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47968         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47969         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47970         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47971         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47972         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47973         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47974         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47975         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47976         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47977         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47979 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47981         [BZ #16707]
47982         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47983         implementation.
47984         * math/libm-test.inc (round_test_data): Add more tests.
47986         [BZ #16706]
47987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47988         implementation.
47989         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47991         [BZ #16701]
47992         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47993         implementation.
47994         * math/libm-test.inc (ceil_test_data): Add more tests.
47996         * math/libm-test.inc (trunc_test_data): Add more tests related to
47997         BZ#16414.
47999 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48001         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48002         with #if rather than #ifdef.
48003         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48005 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48007         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48008         first.  Disable AVX-512 GCC support if assembler doesn't support
48009         it.
48010         * sysdeps/x86_64/configure: Regenerated.
48012 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48014         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48015         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48016         (__old_pthread_attr_setstack): Likewise.
48017         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48018         [!_STACK_GROWS_DOWN]: Likewise.
48020 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48022         * config.make.in (have-bash2): Delete.
48023         * configure.ac (libc_cv_have_bash2): Delete.
48024         * configure: Regenerate.
48025         * elf/Makefile (common-ldd-rewrite): Rename to ...
48026         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48027         (sh-ldd-rewrite): Delete.
48028         (bash-ldd-rewrite): Delete.
48029         (have-bash2): Delete checks.
48030         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48031         ldd-rewrite.
48033         * config.make.in (have-ksh): Delete.
48034         (KSH): Delete.
48035         * configure.ac (libc_cv_have_ksh): Delete.
48036         * configure: Regenerate.
48038         * elf/Makefile: Delete $(have-ksh) check.
48039         ($(objpfx)sotruss): Change KSH to BASH.
48040         * elf/sotruss.ksh: Rename to ...
48041         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48042         function style to match POSIX.  Drop ksh vim mode setting.
48044         * manual/time.texi (Specifying the Time Zone with TZ): Change
48045         Tuesday to Thursday.
48047         * debug/tst-longjmp_chk2.c: Update header comment.
48048         (stackoverflow_handler): Add comment.  Call assert on pass value.
48050 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48052         [BZ #16194]
48053         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48054         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48055         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48056         (La_x86_64_vector): Add zmm.
48057         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48058         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48059         ($(objpfx)tst-audit10): New target.
48060         ($(objpfx)tst-audit10.out): Likewise.
48061         (tst-audit10-ENV): New.
48062         (AVX512-CFLAGS): Likewise.
48063         (CFLAGS-tst-audit10.c): Likewise.
48064         (CFLAGS-tst-auditmod10a.c): Likewise.
48065         (CFLAGS-tst-auditmod10b.c): Likewise.
48066         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48067         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48068         * sysdeps/x86_64/configure: Regenerated.
48069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48070         AVX-512 zmm register support.
48071         (_dl_x86_64_save_sse): Likewise.
48072         (_dl_x86_64_restore_sse): Likewise.
48073         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48074         size vector registers.
48075         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48076         (ZMM_SIZE): Likewise.
48077         * sysdeps/x86_64/tst-audit10.c: New file.
48078         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48079         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48081 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48083         * configure.ac (HAVE_EHDR_START): New check.
48084         * configure: Regenerated.
48085         * config.h.in (HAVE_EHDR_START): New #undef.
48086         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48087         assuming the lowest-addressed segment maps the start of the file.
48089 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48091         * INSTALL: Regenerated.
48093 2014-03-13  Will Newton  <will.newton@linaro.org>
48095         * manual/setjmp.texi (System V contexts): Improve
48096         clarity and grammar of documentation.
48098 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48100         [BZ #16381]
48101         * elf/Makefile (tests): Add tst-pie2.
48102         (tests-pie): Add tst-pie2.
48103         * elf/tst-pie2.c: New file.
48104         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48105         for ET_EXEC.
48106         * elf/rtld.c (map_doit): Load executable as lt_executable.
48107         (dl_main): Likewise.
48109 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48111         [BZ #16642]
48112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48113         (__ASSUME_PSELECT): Undefine.
48115 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48117         [BZ #16689]
48118         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48119         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48120         static build.
48121         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48122         selector for static builds.
48124 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48126         [BZ #16695]
48127         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48128         key in the buffer.
48130 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48132         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48133         IFUNC selector for static builds.
48135 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48137         * sysdeps/mips/math_private.h [__mips_hard_float]
48138         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48139         libc_feresetround_mips_ctx.
48140         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48141         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48142         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48144         [BZ #16677]
48145         * math/s_nextafter.c (__nextafter): Do not return value from
48146         overflowing computation.
48147         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48148         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48149         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48150         Likewise.
48151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48152         Likewise.
48153         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48154         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48156 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48158         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48159         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48160         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48161         the new mov targetting sp.
48163 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48165         [BZ #16683]
48166         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48167         Define it for static builds as well.
48168         (NO_BZERO_IMPL): Likewise.
48170 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48172         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48173         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48174         multiarch strspn for PPC64.
48175         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48178         (__libc_ifunc_impl_list): Likewise.
48179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48180         multiarch optimizations
48181         * string/strspn.c (strspn): Using macro to redefine symbol name.
48183 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48184             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48186         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48187         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48188         multiarch strncat for PPC64.
48189         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48190         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48192         (__libc_ifunc_impl_list): Likewise.
48193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48194         multiarch optimizations
48196 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48198         [BZ #16639]
48199         * nscd/nscd.service: Make service type forking.
48201 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48203         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48204         sign in non default rounding modes.
48205         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48207 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48209         * math/libm-test.inc (ALL_RM_TEST): New macro.
48210         (ceil_test): Use ALL_RM_TEST.
48211         (cimag_test): Likewise.
48212         (conj_test): Likewise.
48213         (copysign_test): Likewise.
48214         (cproj_test): Likewise.
48215         (creal_test): Likewise.
48216         (fabs_test): Likewise.
48217         (floor_test): Likewise.
48218         (fmax_test): Likewise.
48219         (fmin_test): Likewise.
48220         (fmod_test): Likewise.
48221         (fpclassify_test): Likewise.
48222         (frexp_test): Likewise.
48223         (ilogb_test): Likewise.
48224         (isfinite_test): Likewise.
48225         (finite_test): Likewise.
48226         (isgreater_test): Likewise.
48227         (isgreaterequal_test): Likewise.
48228         (isinf_test): Likewise.
48229         (isless_test): Likewise.
48230         (islessequal_test): Likewise.
48231         (islessgreater_test): Likewise.
48232         (isnan_test): Likewise.
48233         (isnormal_test): Likewise.
48234         (issignaling_test): Likewise.
48235         (isunordered_test): Likewise.
48236         (logb_test): Likewise.
48237         (logb_downward_test_data): Remove.
48238         (logb_test_downward): Likewise.
48239         (lround_test): Use ALL_RM_TEST.
48240         (llround_test): Likewise.
48241         (modf_test): Likewise.
48242         (nexttoward_test): Likewise.
48243         (remainder_test): Likewise.
48244         (drem_test): Likewise.
48245         (remainder_tonearest_test_data): Likewise.
48246         (remainder_test_tonearest): Likewise.
48247         (drem_test_tonearest): Likewise.
48248         (remainder_towardzero_test_data): Likewise.
48249         (remainder_test_towardzero): Likewise.
48250         (drem_test_towardzero): Likewise.
48251         (remainder_downward_test_data): Likewise.
48252         (remainder_test_downward): Likewise.
48253         (drem_test_downward): Likewise.
48254         (remainder_upward_test_data): Likewise.
48255         (remainder_test_upward): Likewise.
48256         (drem_test_upward): Likewise.
48257         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48258         (round_test): Use ALL_RM_TEST.
48259         (signbit_test): Likewise.
48260         (trunc_test): Likewise.
48261         (significand_test): Likewise.
48262         (main): Don't call removed functions.
48264 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48266         [BZ #16674]
48267         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48268         || __USE_XOPEN2K8].
48269         (ILL_ILLOPN): Likewise.
48270         (ILL_ILLADR): Likewise.
48271         (ILL_ILLTRP): Likewise.
48272         (ILL_PRVOPC): Likewise.
48273         (ILL_PRVREG): Likewise.
48274         (ILL_COPROC): Likewise.
48275         (ILL_BADSTK): Likewise.
48276         (FPE_INTDIV): Likewise.
48277         (FPE_INTOVF): Likewise.
48278         (FPE_FLTDIV): Likewise.
48279         (FPE_FLTOVF): Likewise.
48280         (FPE_FLTUND): Likewise.
48281         (FPE_FLTRES): Likewise.
48282         (FPE_FLTINV): Likewise.
48283         (FPE_FLTSUB): Likewise.
48284         (SEGV_MAPERR): Likewise.
48285         (SEGV_ACCERR): Likewise.
48286         (BUS_ADRALN): Likewise.
48287         (BUS_ADRERR): Likewise.
48288         (BUS_OBJERR): Likewise.
48289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48290         (TRAP_TRACE): Likewise.
48291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48292         __USE_XOPEN2K8].
48293         (CLD_KILLED): Likewise.
48294         (CLD_DUMPED): Likewise.
48295         (CLD_TRAPPED): Likewise.
48296         (CLD_STOPPED): Likewise.
48297         (CLD_CONTINUED): Likewise.
48298         (POLL_IN): Likewise.
48299         (POLL_OUT): Likewise.
48300         (POLL_MSG): Likewise.
48301         (POLL_ERR): Likewise.
48302         (POLL_PRI): Likewise.
48303         (POLL_HUP): Likewise.
48304         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48305         Likewise.
48306         (ILL_ILLOPN): Likewise.
48307         (ILL_ILLADR): Likewise.
48308         (ILL_ILLTRP): Likewise.
48309         (ILL_PRVOPC): Likewise.
48310         (ILL_PRVREG): Likewise.
48311         (ILL_COPROC): Likewise.
48312         (ILL_BADSTK): Likewise.
48313         (FPE_INTDIV): Likewise.
48314         (FPE_INTOVF): Likewise.
48315         (FPE_FLTDIV): Likewise.
48316         (FPE_FLTOVF): Likewise.
48317         (FPE_FLTUND): Likewise.
48318         (FPE_FLTRES): Likewise.
48319         (FPE_FLTINV): Likewise.
48320         (FPE_FLTSUB): Likewise.
48321         (SEGV_MAPERR): Likewise.
48322         (SEGV_ACCERR): Likewise.
48323         (BUS_ADRALN): Likewise.
48324         (BUS_ADRERR): Likewise.
48325         (BUS_OBJERR): Likewise.
48326         (BUS_MCEERR_AR): Likewise.
48327         (BUS_MCEERR_AO): Likewise.
48328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48329         (TRAP_TRACE): Likewise.
48330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48331         __USE_XOPEN2K8].
48332         (CLD_KILLED): Likewise.
48333         (CLD_DUMPED): Likewise.
48334         (CLD_TRAPPED): Likewise.
48335         (CLD_STOPPED): Likewise.
48336         (CLD_CONTINUED): Likewise.
48337         (POLL_IN): Likewise.
48338         (POLL_OUT): Likewise.
48339         (POLL_MSG): Likewise.
48340         (POLL_ERR): Likewise.
48341         (POLL_PRI): Likewise.
48342         (POLL_HUP): Likewise.
48343         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48344         (ILL_ILLOPN): Likewise.
48345         (ILL_ILLADR): Likewise.
48346         (ILL_ILLTRP): Likewise.
48347         (ILL_PRVOPC): Likewise.
48348         (ILL_PRVREG): Likewise.
48349         (ILL_COPROC): Likewise.
48350         (ILL_BADSTK): Likewise.
48351         (FPE_INTDIV): Likewise.
48352         (FPE_INTOVF): Likewise.
48353         (FPE_FLTDIV): Likewise.
48354         (FPE_FLTOVF): Likewise.
48355         (FPE_FLTUND): Likewise.
48356         (FPE_FLTRES): Likewise.
48357         (FPE_FLTINV): Likewise.
48358         (FPE_FLTSUB): Likewise.
48359         (SEGV_MAPERR): Likewise.
48360         (SEGV_ACCERR): Likewise.
48361         (BUS_ADRALN): Likewise.
48362         (BUS_ADRERR): Likewise.
48363         (BUS_OBJERR): Likewise.
48364         (BUS_MCEERR_AR): Likewise.
48365         (BUS_MCEERR_AO): Likewise.
48366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48367         (TRAP_TRACE): Likewise.
48368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48369         __USE_XOPEN2K8].
48370         (CLD_KILLED): Likewise.
48371         (CLD_DUMPED): Likewise.
48372         (CLD_TRAPPED): Likewise.
48373         (CLD_STOPPED): Likewise.
48374         (CLD_CONTINUED): Likewise.
48375         (POLL_IN): Likewise.
48376         (POLL_OUT): Likewise.
48377         (POLL_MSG): Likewise.
48378         (POLL_ERR): Likewise.
48379         (POLL_PRI): Likewise.
48380         (POLL_HUP): Likewise.
48381         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48382         Likewise.
48383         (ILL_ILLOPN): Likewise.
48384         (ILL_ILLADR): Likewise.
48385         (ILL_ILLTRP): Likewise.
48386         (ILL_PRVOPC): Likewise.
48387         (ILL_PRVREG): Likewise.
48388         (ILL_COPROC): Likewise.
48389         (ILL_BADSTK): Likewise.
48390         (ILL_BADIADDR): Likewise.
48391         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
48401         (FPE_DECDIV): Likewise.
48402         (FPE_DECERR): Likewise.
48403         (FPE_INVASC): Likewise.
48404         (FPE_INVDEC): Likewise.
48405         (SEGV_MAPERR): Likewise.
48406         (SEGV_ACCERR): Likewise.
48407         (SEGV_PSTKOVF): Likewise.
48408         (BUS_ADRALN): Likewise.
48409         (BUS_ADRERR): Likewise.
48410         (BUS_OBJERR): Likewise.
48411         (BUS_MCEERR_AR): Likewise.
48412         (BUS_MCEERR_AO): Likewise.
48413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48414         (TRAP_TRACE): Likewise.
48415         (TRAP_BRANCH): Likewise.
48416         (TRAP_HWBKPT): Likewise.
48417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48418         __USE_XOPEN2K8].
48419         (CLD_KILLED): Likewise.
48420         (CLD_DUMPED): Likewise.
48421         (CLD_TRAPPED): Likewise.
48422         (CLD_STOPPED): Likewise.
48423         (CLD_CONTINUED): Likewise.
48424         (POLL_IN): Likewise.
48425         (POLL_OUT): Likewise.
48426         (POLL_MSG): Likewise.
48427         (POLL_ERR): Likewise.
48428         (POLL_PRI): Likewise.
48429         (POLL_HUP): Likewise.
48430         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48431         (ILL_ILLOPN): Likewise.
48432         (ILL_ILLADR): Likewise.
48433         (ILL_ILLTRP): Likewise.
48434         (ILL_PRVOPC): Likewise.
48435         (ILL_PRVREG): Likewise.
48436         (ILL_COPROC): Likewise.
48437         (ILL_BADSTK): Likewise.
48438         (FPE_INTDIV): Likewise.
48439         (FPE_INTOVF): Likewise.
48440         (FPE_FLTDIV): Likewise.
48441         (FPE_FLTOVF): Likewise.
48442         (FPE_FLTUND): Likewise.
48443         (FPE_FLTRES): Likewise.
48444         (FPE_FLTINV): Likewise.
48445         (FPE_FLTSUB): Likewise.
48446         (SEGV_MAPERR): Likewise.
48447         (SEGV_ACCERR): Likewise.
48448         (BUS_ADRALN): Likewise.
48449         (BUS_ADRERR): Likewise.
48450         (BUS_OBJERR): Likewise.
48451         (BUS_MCEERR_AR): Likewise.
48452         (BUS_MCEERR_AO): Likewise.
48453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48454         (TRAP_TRACE): Likewise.
48455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48456         __USE_XOPEN2K8].
48457         (CLD_KILLED): Likewise.
48458         (CLD_DUMPED): Likewise.
48459         (CLD_TRAPPED): Likewise.
48460         (CLD_STOPPED): Likewise.
48461         (CLD_CONTINUED): Likewise.
48462         (POLL_IN): Likewise.
48463         (POLL_OUT): Likewise.
48464         (POLL_MSG): Likewise.
48465         (POLL_ERR): Likewise.
48466         (POLL_PRI): Likewise.
48467         (POLL_HUP): Likewise.
48468         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48469         (ILL_ILLOPN): Likewise.
48470         (ILL_ILLADR): Likewise.
48471         (ILL_ILLTRP): Likewise.
48472         (ILL_PRVOPC): Likewise.
48473         (ILL_PRVREG): Likewise.
48474         (ILL_COPROC): Likewise.
48475         (ILL_BADSTK): Likewise.
48476         (FPE_INTDIV): Likewise.
48477         (FPE_INTOVF): Likewise.
48478         (FPE_FLTDIV): Likewise.
48479         (FPE_FLTOVF): Likewise.
48480         (FPE_FLTUND): Likewise.
48481         (FPE_FLTRES): Likewise.
48482         (FPE_FLTINV): Likewise.
48483         (FPE_FLTSUB): Likewise.
48484         (SEGV_MAPERR): Likewise.
48485         (SEGV_ACCERR): Likewise.
48486         (BUS_ADRALN): Likewise.
48487         (BUS_ADRERR): Likewise.
48488         (BUS_OBJERR): Likewise.
48489         (BUS_MCEERR_AR): Likewise.
48490         (BUS_MCEERR_AO): Likewise.
48491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48492         (TRAP_TRACE): Likewise.
48493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48494         __USE_XOPEN2K8].
48495         (CLD_KILLED): Likewise.
48496         (CLD_DUMPED): Likewise.
48497         (CLD_TRAPPED): Likewise.
48498         (CLD_STOPPED): Likewise.
48499         (CLD_CONTINUED): Likewise.
48500         (POLL_IN): Likewise.
48501         (POLL_OUT): Likewise.
48502         (POLL_MSG): Likewise.
48503         (POLL_ERR): Likewise.
48504         (POLL_PRI): Likewise.
48505         (POLL_HUP): Likewise.
48506         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48507         (ILL_ILLOPN): Likewise.
48508         (ILL_ILLADR): Likewise.
48509         (ILL_ILLTRP): Likewise.
48510         (ILL_PRVOPC): Likewise.
48511         (ILL_PRVREG): Likewise.
48512         (ILL_COPROC): Likewise.
48513         (ILL_BADSTK): Likewise.
48514         (FPE_INTDIV): Likewise.
48515         (FPE_INTOVF): Likewise.
48516         (FPE_FLTDIV): Likewise.
48517         (FPE_FLTOVF): Likewise.
48518         (FPE_FLTUND): Likewise.
48519         (FPE_FLTRES): Likewise.
48520         (FPE_FLTINV): Likewise.
48521         (FPE_FLTSUB): Likewise.
48522         (SEGV_MAPERR): Likewise.
48523         (SEGV_ACCERR): Likewise.
48524         (BUS_ADRALN): Likewise.
48525         (BUS_ADRERR): Likewise.
48526         (BUS_OBJERR): Likewise.
48527         (BUS_MCEERR_AR): Likewise.
48528         (BUS_MCEERR_AO): Likewise.
48529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48530         (TRAP_TRACE): Likewise.
48531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48532         __USE_XOPEN2K8].
48533         (CLD_KILLED): Likewise.
48534         (CLD_DUMPED): Likewise.
48535         (CLD_TRAPPED): Likewise.
48536         (CLD_STOPPED): Likewise.
48537         (CLD_CONTINUED): Likewise.
48538         (POLL_IN): Likewise.
48539         (POLL_OUT): Likewise.
48540         (POLL_MSG): Likewise.
48541         (POLL_ERR): Likewise.
48542         (POLL_PRI): Likewise.
48543         (POLL_HUP): Likewise.
48544         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48545         (ILL_ILLOPN): Likewise.
48546         (ILL_ILLADR): Likewise.
48547         (ILL_ILLTRP): Likewise.
48548         (ILL_PRVOPC): Likewise.
48549         (ILL_PRVREG): Likewise.
48550         (ILL_COPROC): Likewise.
48551         (ILL_BADSTK): Likewise.
48552         (ILL_DBLFLT): Likewise.
48553         (ILL_HARDWALL): Likewise.
48554         (FPE_INTDIV): Likewise.
48555         (FPE_INTOVF): Likewise.
48556         (FPE_FLTDIV): Likewise.
48557         (FPE_FLTOVF): Likewise.
48558         (FPE_FLTUND): Likewise.
48559         (FPE_FLTRES): Likewise.
48560         (FPE_FLTINV): Likewise.
48561         (FPE_FLTSUB): Likewise.
48562         (SEGV_MAPERR): Likewise.
48563         (SEGV_ACCERR): Likewise.
48564         (BUS_ADRALN): Likewise.
48565         (BUS_ADRERR): Likewise.
48566         (BUS_OBJERR): Likewise.
48567         (BUS_MCEERR_AR): Likewise.
48568         (BUS_MCEERR_AO): Likewise.
48569         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48570         (TRAP_TRACE): Likewise.
48571         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48572         __USE_XOPEN2K8].
48573         (CLD_KILLED): Likewise.
48574         (CLD_DUMPED): Likewise.
48575         (CLD_TRAPPED): Likewise.
48576         (CLD_STOPPED): Likewise.
48577         (CLD_CONTINUED): Likewise.
48578         (POLL_IN): Likewise.
48579         (POLL_OUT): Likewise.
48580         (POLL_MSG): Likewise.
48581         (POLL_ERR): Likewise.
48582         (POLL_PRI): Likewise.
48583         (POLL_HUP): Likewise.
48584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48585         (ILL_ILLOPN): Likewise.
48586         (ILL_ILLADR): Likewise.
48587         (ILL_ILLTRP): Likewise.
48588         (ILL_PRVOPC): Likewise.
48589         (ILL_PRVREG): Likewise.
48590         (ILL_COPROC): Likewise.
48591         (ILL_BADSTK): Likewise.
48592         (FPE_INTDIV): Likewise.
48593         (FPE_INTOVF): Likewise.
48594         (FPE_FLTDIV): Likewise.
48595         (FPE_FLTOVF): Likewise.
48596         (FPE_FLTUND): Likewise.
48597         (FPE_FLTRES): Likewise.
48598         (FPE_FLTINV): Likewise.
48599         (FPE_FLTSUB): Likewise.
48600         (SEGV_MAPERR): Likewise.
48601         (SEGV_ACCERR): Likewise.
48602         (BUS_ADRALN): Likewise.
48603         (BUS_ADRERR): Likewise.
48604         (BUS_OBJERR): Likewise.
48605         (BUS_MCEERR_AR): Likewise.
48606         (BUS_MCEERR_AO): Likewise.
48607         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48608         (TRAP_TRACE): Likewise.
48609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48610         __USE_XOPEN2K8].
48611         (CLD_KILLED): Likewise.
48612         (CLD_DUMPED): Likewise.
48613         (CLD_TRAPPED): Likewise.
48614         (CLD_STOPPED): Likewise.
48615         (CLD_CONTINUED): Likewise.
48616         (POLL_IN): Likewise.
48617         (POLL_OUT): Likewise.
48618         (POLL_MSG): Likewise.
48619         (POLL_ERR): Likewise.
48620         (POLL_PRI): Likewise.
48621         (POLL_HUP): Likewise.
48622         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48623         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48625         [BZ #16670]
48626         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48627         before #include of <time.h>.
48628         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48629         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48630         (test-xfail-UNIX98/sched.h/conform): Likewise.
48632 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48634         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48635         error absence of trapping exception support.
48636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48638 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48640         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48641         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48642         * timezone/Makefile (testdata): Move definition above include of
48643         Rules.
48644         (test-zones): New variable.
48645         (tests-special): Add zone files.
48646         (build-testdata): Use $(evaluate-test).
48648         * elf/Makefile (tests-special): Rename tests to end with .out.
48649         ($(objpfx)noload-mem): Likewise.
48650         ($(objpfx)tst-leaks1-mem): Likewise.
48651         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48652         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48653         $(objpfx)test-iconvconfig.out.
48654         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48655         set -e inside subshell and redirect output to file.
48656         * iconvdata/Makefile (generated): Rename tests to end with .out.
48657         Correct type.
48658         (tests-special): Rename tests to end with .out.
48659         ($(objpfx)mtrace-tst-loading): Likewise.
48660         * intl/Makefile (generated): Likewise.
48661         (tests-special): Likewise.
48662         ($(objpfx)mtrace-tst-gettext): Likewise.
48663         * misc/Makefile (generated): Likewise.
48664         (tests-special): Likewise.
48665         ($(objpfx)tst-error1-mem): Likewise.
48666         * nptl/Makefile (tests-special): Likewise.
48667         ($(objpfx)tst-stack3-mem): Likewise.
48668         (generated): Likewise.
48669         * posix/Makefile (generated): Likewise.
48670         (tests-special): Likewise.
48671         (xtests-special): Likewise.
48672         ($(objpfx)tst-fnmatch-mem): Likewise.
48673         ($(objpfx)bug-regex2-mem): Likewise.
48674         ($(objpfx)bug-regex14-mem): Likewise.
48675         ($(objpfx)bug-regex21-mem): Likewise.
48676         ($(objpfx)bug-regex31-mem): Likewise.
48677         ($(objpfx)tst-vfork3-mem): Likewise.
48678         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48679         ($(objpfx)tst-pcre-mem): Likewise.
48680         ($(objpfx)tst-boost-mem): Likewise.
48681         ($(objpfx)bug-ga2-mem): Likewise.
48682         ($(objpfx)bug-glob2-mem): Likewise.
48683         * resolv/Makefile (generate): Likewise.
48684         (tests-special): Likewise.
48685         (xtests-special): Likewise.
48686         (generated): Likewise.
48687         ($(objpfx)mtrace-tst-leaks): Likewise.
48688         ($(objpfx)mtrace-tst-leaks2): Likewise.
48690         * scripts/merge-test-results.sh: New file.
48691         * Makefile (tests-special-notdir): New variable.
48692         (tests): Run merge-test-results.sh.
48693         (xtests): Likewise.
48694         * Rules (tests-special-notdir): New variable.
48695         (xtests-special-notdir): Likewise.
48696         (tests): Run merge-test-results.sh
48697         (xtests): Likewise.
48699         * Makeconfig (test-xfail-name): New variable.
48700         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48701         compute variable name for expected failures.
48702         * conform/Makefile (conformtest-headers-data): New variable.
48703         (conformtest-standards): Likewise.
48704         (conformtest-headers-ISO): Likewise.
48705         (conformtest-headers-ISO99): Likewise.
48706         (conformtest-headers-ISO11): Likewise.
48707         (conformtest-headers-POSIX): Likewise.
48708         (conformtest-headers-XPG3): Likewise.
48709         (conformtest-headers-XPG4): Likewise.
48710         (conformtest-headers-UNIX98): Likewise.
48711         (conformtest-headers-XOPEN2K): Likewise.
48712         (conformtest-headers-POSIX2008): Likewise.
48713         (conformtest-headers-XOPEN2K8): Likewise.
48714         (conformtest-header-list-base): Likewise.
48715         (conformtest-header-list-tests): Likewise.
48716         (conformtest-header-base): Likewise.
48717         (conformtest-header-tests): Likewise.
48718         (tests-special): Add $(conformtest-header-list-tests).  If
48719         [$(fast-check) && !$(cross-compiling)], add
48720         $(conformtest-header-tests) instead of
48721         $(objpfx)run-conformtest.out.
48722         (generated): Add $(conformtest-header-list-base).  If
48723         [$(fast-check) && !$(cross-compiling)], add
48724         $(conformtest-header-base).  Remove previous setting.
48725         ($(conformtest-header-list-tests)): New target.
48726         (test-xfail-run-conformtest): Remove variable.
48727         ($(objpfx)run-conformtest.out): Remove target.
48728         (test-xfail-ISO11/complex.h/conform): New variable.
48729         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48730         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48731         (test-xfail-XPG3/varargs.h/conform): Likewise.
48732         (test-xfail-XPG4/varargs.h/conform): Likewise.
48733         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48734         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48735         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48736         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48737         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48738         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48739         (test-xfail-XPG3/ftw.h/conform): Likewise.
48740         (test-xfail-XPG3/grp.h/conform): Likewise.
48741         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48742         (test-xfail-XPG3/limits.h/conform): Likewise.
48743         (test-xfail-XPG3/pwd.h/conform): Likewise.
48744         (test-xfail-XPG3/search.h/conform): Likewise.
48745         (test-xfail-XPG3/signal.h/conform): Likewise.
48746         (test-xfail-XPG3/stdio.h/conform): Likewise.
48747         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48748         (test-xfail-XPG3/string.h/conform): Likewise.
48749         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48750         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48751         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48752         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48753         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48754         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48755         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48756         (test-xfail-XPG3/termios.h/conform): Likewise.
48757         (test-xfail-XPG3/time.h/conform): Likewise.
48758         (test-xfail-XPG3/unistd.h/conform): Likewise.
48759         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48760         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48761         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48762         (test-xfail-XPG4/netdb.h/conform): Likewise.
48763         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48764         (test-xfail-XPG4/signal.h/conform): Likewise.
48765         (test-xfail-XPG4/stdio.h/conform): Likewise.
48766         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48767         (test-xfail-XPG4/stropts.h/conform): Likewise.
48768         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48769         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48770         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48771         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48772         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48773         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48774         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48775         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48776         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48777         (test-xfail-XPG4/termios.h/conform): Likewise.
48778         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48779         (test-xfail-XPG4/unistd.h/conform): Likewise.
48780         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48781         (test-xfail-POSIX/sched.h/conform): Likewise.
48782         (test-xfail-POSIX/signal.h/conform): Likewise.
48783         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48784         (test-xfail-POSIX/tar.h/conform): Likewise.
48785         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48786         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48787         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48788         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48789         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48790         (test-xfail-UNIX98/sched.h/conform): Likewise.
48791         (test-xfail-UNIX98/signal.h/conform): Likewise.
48792         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48793         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48794         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48795         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48796         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48797         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48798         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48799         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48800         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48801         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48802         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48803         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48804         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48805         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48806         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48807         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48808         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48809         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48810         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48811         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48812         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48813         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48814         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48815         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48816         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48817         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48818         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48819         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48820         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48821         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48822         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48823         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48824         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48825         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48826         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48827         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48828         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48829         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48830         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48831         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48832         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48833         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48834         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48835         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48836         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48837         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48838         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48839         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48840         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48841         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48842         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48843         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48844         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48845         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48846         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48847         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48848         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48849         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48850         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48851         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48852         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48853         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48854         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48855         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48856         (conformtest-cc-flags): Likewise.
48857         ($(conformtest-header-tests): New target.
48858         * conform/check-header-lists.sh: New file.
48859         * conform/run-conformtest.sh: Remove.
48861         * conform/conformtest.pl: Allow ' and \ in values given for
48862         constants.
48863         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48864         inclusion.
48865         [POSIX] (sys/types.h): Likewise.
48866         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48867         inclusion.
48868         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48869         inclusion.
48870         * conform/data/signal.h-data (SIGIO): Remove expectation.
48871         [XPG3] (SIGBUS): Do not expect.
48872         [POSIX || XPG3] (SIGPOLL): Likewise.
48873         [POSIX || XPG3] (SIGPROF): Likewise.
48874         [POSIX || XPG3] (SIGSYS): Likewise.
48875         [XPG3] (SIGTRAP): Likewise.
48876         [POSIX || XPG3] (SIGURG): Likewise.
48877         [POSIX || XPG3] (SIGVTALRM): Likewise.
48878         [POSIX || XPG3] (SIGXCPU): Likewise.
48879         [POSIX || XPG3] (SIGXFSZ): Likewise.
48880         [POSIX] (SA_SIGINFO): Expect.
48881         [XPG3] (siginfo_t): Do not expect type or contents.
48882         [POSIX] (si_pid): Do not expect element.
48883         [POSIX] (si_uid): Likewise.
48884         [POSIX] (si_addr): Likewise.
48885         [POSIX] (si_status): Likewise.
48886         [POSIX] (si_band): Likewise.
48887         [XPG4] (si_value): Likewise.
48888         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48889         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48890         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48891         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48892         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48893         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48894         [POSIX || XPG3] (ILL_COPROC): Likewise.
48895         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48896         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48897         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48898         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48899         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48900         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48901         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48902         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48903         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48904         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48905         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48906         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48907         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48908         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48909         [POSIX || XPG3] (CLD_EXITED): Likewise.
48910         [POSIX || XPG3] (CLD_KILLED): Likewise.
48911         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48912         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48913         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48914         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48915         [POSIX || XPG3] (POLL_IN): Likewise.
48916         [POSIX || XPG3] (POLL_OUT): Likewise.
48917         [POSIX || XPG3] (POLL_MSG): Likewise.
48918         [POSIX || XPG3] (POLL_ERR): Likewise.
48919         [POSIX || XPG3] (POLL_PRI): Likewise.
48920         [POSIX || XPG3] (POLL_HUP): Likewise.
48921         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48922         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48923         (SIG*): Do not allow.
48924         [XPG3] (si_*): Likewise.
48925         [XPG3] (SI_*): Likewise.
48926         [XPG3 || XPG4] (sigev_*): Likewise.
48927         [XPG3 || XPG4] (SIGEV_*): Likewise.
48928         [XPG3 || XPG4] (sival_*): Likewise.
48929         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48930         [POSIX || XPG3] (BUS_*): Likewise.
48931         [POSIX || XPG3] (CLD_*): Likewise.
48932         [POSIX || XPG3] (FPE_*): Likewise.
48933         [POSIX || XPG3] (ILL_*): Likewise.
48934         [POSIX || XPG3] (POLL_*): Likewise.
48935         [POSIX || XPG3] (SEGV_*): Likewise.
48936         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48937         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48938         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48939         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48940         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48941         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48942         Specify type and value.
48943         (TVERSLEN): Likewise.
48944         (REGTYPE): Likewise.
48945         (AREGTYPE): Likewise.
48946         (LNKTYPE): Likewise.
48947         (SYMTYPE): Likewise.
48948         (CHRTYPE): Likewise.
48949         (BLKTYPE): Likewise.
48950         (DIRTYPE): Likewise.
48951         (FIFOTYPE): Likewise.
48952         (CONTTYPE): Likewise.
48953         (TSUID): Likewise.
48954         (TSGID): Likewise.
48955         (TSVTX): Likewise.
48956         (TUREAD): Likewise.
48957         (TUWRITE): Likewise.
48958         (TUEXEC): Likewise.
48959         (TGREAD): Likewise.
48960         (TGWRITE): Likewise.
48961         (TGEXEC): Likewise.
48962         (TOREAD): Likewise.
48963         (TOWRITE): Likewise.
48964         (TOEXEC): Likewise.
48965         [POSIX] (TSVTX): Expect constant.
48967 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48969         * Makefile (tests): Change dependencies to ....
48970         (tests-special): ... additions to this variable.
48971         (tests): Depend on $(tests-special).
48972         * Makerules (check-abi-list): New variable.
48973         (check-abi): Depend on $(check-abi-list).
48974         [$(subdir) = elf] (tests-special): Add
48975         $(objpfx)check-abi-libc.out.
48976         [$(build-shared) = yes && subdir] (tests-special): Add
48977         $(check-abi-list).
48978         [$(build-shared) = yes && subdir] (tests): Do not depend on
48979         check-abi.
48980         * Rules (tests): Depend on $(tests-special).
48981         (xtests): Depend on $(xtests-special).
48982         * catgets/Makefile (tests): Change dependencies to ....
48983         (tests-special): ... additions to this variable.
48984         * conform/Makefile (tests): Change dependencies to ....
48985         (tests-special): ... additions to this variable.
48986         * elf/Makefile (tests): Change dependencies to ....
48987         (tests-special): ... additions to this variable.
48988         * grp/Makefile (tests): Change dependencies to ....
48989         (tests-special): ... additions to this variable.
48990         * iconv/Makefile (xtests): Change dependencies to ....
48991         (xtests-special): ... additions to this variable.
48992         * iconvdata/Makefile (tests): Change dependencies to ....
48993         (tests-special): ... additions to this variable.
48994         * intl/Makefile (tests): Change dependencies to ....
48995         (tests-special): ... additions to this variable.  Also add
48996         $(objpfx)tst-gettext.out.
48997         * io/Makefile (tests): Change dependencies to ....
48998         (tests-special): ... additions to this variable.
48999         * libio/Makefile (tests): Change dependencies to ....
49000         (tests-special): ... additions to this variable.
49001         * malloc/Makefile (tests): Change dependencies to ....
49002         (tests-special): ... additions to this variable.
49003         * misc/Makefile (tests): Change dependencies to ....
49004         (tests-special): ... additions to this variable.
49005         * nptl/Makefile (tests): Change dependencies to ....
49006         (tests-special): ... additions to this variable.
49007         * nptl_db/Makefile (tests): Change dependencies to ....
49008         (tests-special): ... additions to this variable.
49009         * posix/Makefile (tests): Change dependencies to ....
49010         (tests-special): ... additions to this variable.
49011         (xtests): Change dependencies to ....
49012         (xtests-special): ... additions to this variable.
49013         * resolv/Makefile (tests): Change dependencies to ....
49014         (tests-special): ... additions to this variable.
49015         (xtests): Change dependencies to ....
49016         (xtests-special): ... additions to this variable.
49017         * stdio-common/Makefile (tests): Change dependencies to ....
49018         (tests-special): ... additions to this variable.
49019         (do-tst-unbputc): Remove target.
49020         (do-tst-printf): Likewise.
49021         * stdlib/Makefile (tests): Change dependencies to ....
49022         (tests-special): ... additions to this variable.
49023         * string/Makefile (tests): Change dependencies to ....
49024         (tests-special): ... additions to this variable.
49025         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49026         (tests-special): ... additions to this variable.
49028         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49029         whole file.
49030         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49031         whole file.
49032         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49033         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49035         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49036         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49037         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49038         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49039         * conform/data/libgen.h-data [XPG3]: Likewise.
49040         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49041         * conform/data/ndbm.h-data [XPG3]: Likewise.
49042         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49043         * conform/data/netdb.h-data [XPG3]: Likewise.
49044         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49045         * conform/data/poll.h-data [XPG3]: Likewise.
49046         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49047         * conform/data/strings.h-data [XPG3]: Likewise.
49048         * conform/data/stropts.h-data [XPG3]: Likewise.
49049         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49050         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49051         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49052         Likewise.
49053         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49054         * conform/data/sys/time.h-data [XPG3]: Likewise.
49055         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49056         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49057         * conform/data/sys/un.h-data [XPG3]: Likewise.
49058         * conform/data/syslog.h-data [XPG3]: Likewise.
49059         * conform/data/ucontext.h-data [XPG3]: Likewise.
49060         * conform/data/utmpx.h-data [XPG3]: Likewise.
49061         * conform/data/varargs.h-data [UNIX98]: Enable file.
49063         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49065         * math/libm-test.inc (struct test_f_f_data): Move expected results
49066         into structure for each rounding mode.
49067         (struct test_ff_f_data): Likewise.
49068         (struct test_ff_f_data_nexttoward): Likewise.
49069         (struct test_fi_f_data): Likewise.
49070         (struct test_fl_f_data): Likewise.
49071         (struct test_if_f_data): Likewise.
49072         (struct test_fff_f_data): Likewise.
49073         (struct test_c_f_data): Likewise.
49074         (struct test_f_f1_data): Likewise.
49075         (struct test_fF_f1_data): Likewise.
49076         (struct test_ffI_f1_data): Likewise.
49077         (struct test_c_c_data): Likewise.
49078         (struct test_cc_c_data): Likewise.
49079         (struct test_f_i_data): Likewise.
49080         (struct test_ff_i_data): Likewise.
49081         (struct test_f_l_data): Likewise.
49082         (struct test_f_L_data): Likewise.
49083         (struct test_fFF_11_data): Likewise.
49084         (RM_): New macro.
49085         (RM_FE_DOWNWARD): Likewise.
49086         (RM_FE_TONEAREST): Likewise.
49087         (RM_FE_TOWARDZERO): Likewise.
49088         (RM_FE_UPWARD): Likewise.
49089         (RUN_TEST_LOOP_f_f): Update references to expected results.
49090         (RUN_TEST_LOOP_2_f): Likewise.
49091         (RUN_TEST_LOOP_fff_f): Likewise.
49092         (RUN_TEST_LOOP_c_f): Likewise.
49093         (RUN_TEST_LOOP_f_f1): Likewise.
49094         (RUN_TEST_LOOP_fF_f1): Likewise.
49095         (RUN_TEST_LOOP_fI_f1): Likewise.
49096         (RUN_TEST_LOOP_ffI_f1): Likewise.
49097         (RUN_TEST_LOOP_c_c): Likewise.
49098         (RUN_TEST_LOOP_cc_c): Likewise.
49099         (RUN_TEST_LOOP_f_i): Likewise.
49100         (RUN_TEST_LOOP_f_i_tg): Likewise.
49101         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49102         (RUN_TEST_LOOP_f_b): Likewise.
49103         (RUN_TEST_LOOP_f_b_tg): Likewise.
49104         (RUN_TEST_LOOP_f_l): Likewise.
49105         (RUN_TEST_LOOP_f_L): Likewise.
49106         (RUN_TEST_LOOP_fFF_11): Likewise.
49107         * math/gen-libm-test.pl (parse_args): Output four copies of
49108         expected results for each test.
49110         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49111         (__ASSUME_UTIMES): Remove.
49112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49113         (__ASSUME_UTIMES): Likewise.
49115         * math/gen-auto-libm-tests.c: Update comment on output format.
49116         (output_for_one_input_case): Generate before-rounding and
49117         after-rounding information as conditions on output flags not
49118         floating-point format.
49119         * math/auto-libm-test-out: Regenerated.
49120         * math/gen-libm-test.pl (cond_value): New function.
49121         (or_cond_value): Use cond_value.
49122         (generate_testfile): Handle conditional exceptions.
49124 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49126         * math/libm-test.inc (max_valid_error): New variable.
49127         (init_max_error): Take new argument specifying whether function
49128         results are exactly determined.  Set max_valid_error and bound
49129         other variables for errors based on this argument.
49130         (set_max_error): Do not record results above max_valid_error.
49131         (check_float_internal): Only accept errors of up to 0.5ulps if
49132         also at most max_valid_error.
49133         (START): Take new argument EXACT and pass it to init_max_error.
49134         (acos_test): Update call to START.
49135         (acos_test_tonearest): Likewise.
49136         (acos_test_towardzero): Likewise.
49137         (acos_test_downward): Likewise.
49138         (acos_test_upward): Likewise.
49139         (acosh_test): Likewise.
49140         (asin_test): Likewise.
49141         (asin_test_tonearest): Likewise.
49142         (asin_test_towardzero): Likewise.
49143         (asin_test_downward): Likewise.
49144         (asin_test_upward): Likewise.
49145         (asinh_test): Likewise.
49146         (atan_test): Likewise.
49147         (atanh_test): Likewise.
49148         (atan2_test): Likewise.
49149         (cabs_test): Likewise.
49150         (cacos_test): Likewise.
49151         (cacosh_test): Likewise.
49152         (carg_test): Likewise.
49153         (casin_test): Likewise.
49154         (casinh_test): Likewise.
49155         (catan_test): Likewise.
49156         (catanh_test): Likewise.
49157         (cbrt_test): Likewise.
49158         (ccos_test): Likewise.
49159         (ccosh_test): Likewise.
49160         (ceil_test): Likewise.
49161         (cexp_test): Likewise.
49162         (cimag_test): Likewise.
49163         (clog_test): Likewise.
49164         (clog10_test): Likewise.
49165         (conj_test): Likewise.
49166         (copysign_test): Likewise.
49167         (cos_test): Likewise.
49168         (cos_test_tonearest): Likewise.
49169         (cos_test_towardzero): Likewise.
49170         (cos_test_downward): Likewise.
49171         (cos_test_upward): Likewise.
49172         (cosh_test): Likewise.
49173         (cosh_test_tonearest): Likewise.
49174         (cosh_test_towardzero): Likewise.
49175         (cosh_test_downward): Likewise.
49176         (cosh_test_upward): Likewise.
49177         (cpow_test): Likewise.
49178         (cproj_test): Likewise.
49179         (creal_test): Likewise.
49180         (csin_test): Likewise.
49181         (csinh_test): Likewise.
49182         (csqrt_test): Likewise.
49183         (ctan_test): Likewise.
49184         (ctan_test_tonearest): Likewise.
49185         (ctan_test_towardzero): Likewise.
49186         (ctan_test_downward): Likewise.
49187         (ctan_test_upward): Likewise.
49188         (ctanh_test): Likewise.
49189         (ctanh_test_tonearest): Likewise.
49190         (ctanh_test_towardzero): Likewise.
49191         (ctanh_test_downward): Likewise.
49192         (ctanh_test_upward): Likewise.
49193         (erf_test): Likewise.
49194         (erfc_test): Likewise.
49195         (exp_test): Likewise.
49196         (exp_test_tonearest): Likewise.
49197         (exp_test_towardzero): Likewise.
49198         (exp_test_downward): Likewise.
49199         (exp_test_upward): Likewise.
49200         (exp10_test): Likewise.
49201         (exp10_test_tonearest): Likewise.
49202         (exp10_test_towardzero): Likewise.
49203         (exp10_test_downward): Likewise.
49204         (exp10_test_upward): Likewise.
49205         (pow10_test): Likewise.
49206         (exp2_test): Likewise.
49207         (expm1_test): Likewise.
49208         (expm1_test_tonearest): Likewise.
49209         (expm1_test_towardzero): Likewise.
49210         (expm1_test_downward): Likewise.
49211         (expm1_test_upward): Likewise.
49212         (fabs_test): Likewise.
49213         (fdim_test): Likewise.
49214         (floor_test): Likewise.
49215         (fma_test): Likewise.
49216         (fma_test_towardzero): Likewise.
49217         (fma_test_downward): Likewise.
49218         (fma_test_upward): Likewise.
49219         (fmax_test): Likewise.
49220         (fmin_test): Likewise.
49221         (fmod_test): Likewise.
49222         (fpclassify_test): Likewise.
49223         (frexp_test): Likewise.
49224         (hypot_test): Likewise.
49225         (ilogb_test): Likewise.
49226         (isfinite_test): Likewise.
49227         (finite_test): Likewise.
49228         (isgreater_test): Likewise.
49229         (isgreaterequal_test): Likewise.
49230         (isinf_test): Likewise.
49231         (isless_test): Likewise.
49232         (islessequal_test): Likewise.
49233         (islessgreater_test): Likewise.
49234         (isnan_test): Likewise.
49235         (isnormal_test): Likewise.
49236         (issignaling_test): Likewise.
49237         (isunordered_test): Likewise.
49238         (j0_test): Likewise.
49239         (j1_test): Likewise.
49240         (jn_test): Likewise.
49241         (ldexp_test): Likewise.
49242         (lgamma_test): Likewise.
49243         (gamma_test): Likewise.
49244         (lrint_test): Likewise.
49245         (lrint_test_tonearest): Likewise.
49246         (lrint_test_towardzero): Likewise.
49247         (lrint_test_downward): Likewise.
49248         (lrint_test_upward): Likewise.
49249         (llrint_test): Likewise.
49250         (llrint_test_tonearest): Likewise.
49251         (llrint_test_towardzero): Likewise.
49252         (llrint_test_downward): Likewise.
49253         (llrint_test_upward): Likewise.
49254         (log_test): Likewise.
49255         (log10_test): Likewise.
49256         (log1p_test): Likewise.
49257         (log2_test): Likewise.
49258         (logb_test): Likewise.
49259         (logb_test_downward): Likewise.
49260         (lround_test): Likewise.
49261         (llround_test): Likewise.
49262         (modf_test): Likewise.
49263         (nearbyint_test): Likewise.
49264         (nextafter_test): Likewise.
49265         (nexttoward_test): Likewise.
49266         (pow_test): Likewise.
49267         (pow_test_tonearest): Likewise.
49268         (pow_test_towardzero): Likewise.
49269         (pow_test_downward): Likewise.
49270         (pow_test_upward): Likewise.
49271         (remainder_test): Likewise.
49272         (drem_test): Likewise.
49273         (remainder_test_tonearest): Likewise.
49274         (drem_test_tonearest): Likewise.
49275         (remainder_test_towardzero): Likewise.
49276         (drem_test_towardzero): Likewise.
49277         (remainder_test_downward): Likewise.
49278         (drem_test_downward): Likewise.
49279         (remainder_test_upward): Likewise.
49280         (drem_test_upward): Likewise.
49281         (remquo_test): Likewise.
49282         (rint_test): Likewise.
49283         (rint_test_tonearest): Likewise.
49284         (rint_test_towardzero): Likewise.
49285         (rint_test_downward): Likewise.
49286         (rint_test_upward): Likewise.
49287         (round_test): Likewise.
49288         (scalb_test): Likewise.
49289         (scalbn_test): Likewise.
49290         (scalbln_test): Likewise.
49291         (signbit_test): Likewise.
49292         (sin_test): Likewise.
49293         (sin_test_tonearest): Likewise.
49294         (sin_test_towardzero): Likewise.
49295         (sin_test_downward): Likewise.
49296         (sin_test_upward): Likewise.
49297         (sincos_test): Likewise.
49298         (sinh_test): Likewise.
49299         (sinh_test_tonearest): Likewise.
49300         (sinh_test_towardzero): Likewise.
49301         (sinh_test_downward): Likewise.
49302         (sinh_test_upward): Likewise.
49303         (sqrt_test): Likewise.
49304         (sqrt_test_tonearest): Likewise.
49305         (sqrt_test_towardzero): Likewise.
49306         (sqrt_test_downward): Likewise.
49307         (sqrt_test_upward): Likewise.
49308         (tan_test): Likewise.
49309         (tan_test_tonearest): Likewise.
49310         (tan_test_towardzero): Likewise.
49311         (tan_test_downward): Likewise.
49312         (tan_test_upward): Likewise.
49313         (tanh_test): Likewise.
49314         (tgamma_test): Likewise.
49315         (trunc_test): Likewise.
49316         (y0_test): Likewise.
49317         (y1_test): Likewise.
49318         (yn_test): Likewise.
49319         (significand_test): Likewise.
49321         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49322         individual tests in comment.
49323         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49324         (prev_max_error): New variable.
49325         (prev_real_max_error): Likewise.
49326         (prev_imag_max_error): Likewise.
49327         (compare_ulp_data): Don't refer to test names in comment.
49328         (find_test_ulps): Remove function.
49329         (find_function_ulps): Likewise.
49330         (find_complex_function_ulps): Likewise.
49331         (init_max_error): Take function name as argument.  Look up ulps
49332         for that function.
49333         (print_ulps): Remove function.
49334         (print_max_error): Use prev_max_error instead of calling
49335         find_function_ulps.
49336         (print_complex_max_error): Use prev_real_max_error and
49337         prev_imag_max_error instead of calling find_complex_function_ulps.
49338         (check_float_internal): Take max_ulp parameter instead of calling
49339         find_test_ulps.  Don't call print_ulps.
49340         (check_float): Update call to check_float_internal.
49341         (check_complex): Update calls to check_float_internal.
49342         (START): Pass argument to init_max_error.
49343         * math/gen-libm-test.pl (%results): Don't include "kind"
49344         information.
49345         (parse_ulps): Don't handle ulps of individual tests.
49346         (print_ulps_file): Likewise.
49347         (output_ulps): Likewise.
49348         * math/README.libm-test: Update.
49349         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49350         individual tests.
49351         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49352         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49353         * sysdeps/arm/libm-test-ulps: Likewise.
49354         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49355         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49356         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49357         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49358         * sysdeps/microblaze/libm-test-ulps: Likewise.
49359         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49361         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49362         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49363         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49364         * sysdeps/sh/libm-test-ulps: Likewise.
49365         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49366         * sysdeps/tile/libm-test-ulps: Likewise.
49367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49369 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49371         * math/libm-test.inc (print_complex_max_error): Check separately
49372         whether real and imaginary errors are within allowed range and
49373         pass 0 to print_complex_function_ulps instead of value within
49374         allowed range.
49376 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49378         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49379         formatting.
49380         (get_handles_fopen): Likewise.
49381         (do_write_test): Likewise.
49383         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49385         * libio/fileops.c (do_ftell): Use cached offset when
49386         available.
49387         * libio/iofwide.c (do_ftell_wide): Likewise.
49388         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49389         _IO_file_attach.
49390         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49392         [BZ #16532]
49393         * libio/libioP.h (get_file_offset): New function.
49394         * libio/fileops.c (get_file_offset): Likewise.
49395         (do_ftell): Likewise.
49396         (_IO_new_file_seekoff): Split out ftell logic.
49397         * libio/wfileops.c (do_ftell_wide): Likewise.
49398         (_IO_wfile_seekoff): Split out ftell logic.
49399         * libio/tst-ftell-active-handler.c: New test case.
49400         * libio/Makefile (tests): Add it.
49402 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49404         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49405         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49407 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49409         [BZ #16639]
49410         * nscd/connections.c (nscd_init): Call do_exit.
49411         (start_threads): Call do_exit and notify_parent.
49412         (begin_drop_privileges): Call do_exit.
49413         (finish_drop_privileges): Likewise.
49414         * nscd/selinux.c (preserve_capabilities): Likewise.
49415         (install_real_capabilities): Likewise.
49416         (nscd_selinux_enabled): Likewise.
49417         (avc_create_thread): Likewise.
49418         (avc_alloc_lock): Likewise.
49419         (nscd_avc_init): Likewise.
49420         * nscd/nscd.c (parent_fd): New static variable.
49421         (main): Create a pipe between parent and child processes.
49422         Skip closing parent_fd.
49423         (monitor_child): New function.
49424         (do_exit): Likewise.
49425         (notify_parent): Likewise.
49426         * nscd/nscd.h (notify_parent): Likewise.
49427         (do_exit): Likewise.
49429 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49431         * malloc/malloc.c (__libc_calloc): Revert last change.
49433 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49437 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49439         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49441         implementation.
49442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49443         (__libc_ifunc_impl_list): Likewise.
49444         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49445         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49446         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49447         * string/strrchr.c: Define STRRCHR.
49449 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49451         * benchtest/bench-strtok.c (simple_strtok): Delete.
49452         (strtok_string): Use as benchmark.
49453         * string/strtok (STRTOK): New macro.
49455 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49457         * manual/threads.texi: Add header and standard comments to all
49458         functions.
49460         * elf/dl-lookup.c (check_match): New function.
49461         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49462         (do_lookup_x): Remove nested function check_match. Use non-nested
49463         function check_match.
49465 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49467         * csu/Makefile (generated, before-compile): Use += rather than =.
49468         * catgets/Makefile (generated, generated-dirs): Likewise.
49469         * debug/Makefile (generated): Likewise.
49470         * dlfcn/Makefile (generated): Likewise.
49471         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49472         * iconvdata/Makefile (before-compile, generated): Likewise.
49473         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49474         * libio/Makefile (generated): Likewise.
49475         * malloc/Makefile (generated): Likewise.
49476         * manual/Makefile (generated, generated-dirs): Likewise.
49477         * misc/Makefile (generated): Likewise.
49478         * posix/Makefile (generated): Likewise.
49479         * resolv/Makefile (generated): Likewise.
49480         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49481         * timezone/Makefile (generated, generated-dirs): Likewise.
49483         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49485 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49488         power8 implementation.
49489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49490         file: POWER8 llround ifunc implementation.
49491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49492         (__lllround): Add POWER8 implementation.
49493         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49494         POWER8 llround implementation.
49496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49497         power8 implementation.
49498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49499         file: POWER8 llrint ifunc implementation.
49500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49501         Add POWER8 implementation.
49502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49503         POWER8 llrint implementation.
49505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49506         power8 implementation.
49507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49508         file: POWER8 finite ifunc implementation.
49509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49510         Add POWER8 implementation.
49511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49512         Likewise.
49513         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49514         POWER8 finite implementation.
49515         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49518         power8 implementation.
49519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49520         file: POWER8 isinf ifunc implementation.
49521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49522         POWER8 implementation.
49523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49524         Likewise.
49525         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49526         isinf implementation.
49527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49529         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49530         (INIT_ARCH): Add hwcap2 initialization.
49531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49532         power8 implementation.
49533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49534         file: POWER8 isnan ifunc implementation.
49535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49536         POWER8 implementation.
49537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49538         Likewise.
49539         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49540         isnan implementation.
49541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49543 2014-02-27  Joey Ye  <joey.ye@arm.com>
49545         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49546         (_FP_NANFRAC_Q): Set to zero.
49548 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49550         [BZ #16623]
49551         * math/auto-libm-test-in: New test inputs.
49552         * math/auto-libm-test-out: Regenerate.
49553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49554         and DA.
49555         (__cos): Likewise.
49556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49558 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49560         * scripts/evaluate-test.sh: Take new argument indicating whether
49561         failure is expected.
49562         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49563         indicating whether failure is expected.
49564         * conform/Makefile (test-xfail-run-conformtest): New variable.
49565         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49566         level.
49567         * posix/Makefile (test-xfail-annexc): New variable.
49568         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49570 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49572         * argp/Makefile: Include Makeconfig immediately after defining
49573         subdir.
49574         * assert/Makefile: Likewise.
49575         * benchtests/Makefile: Likewise.
49576         * catgets/Makefile: Likewise.
49577         * conform/Makefile: Likewise.
49578         * crypt/Makefile: Likewise.
49579         * csu/Makefile: Likewise.
49580         (all): Remove target.
49581         * ctype/Makefile: Include Makeconfig immediately after defining
49582         subdir.
49583         * debug/Makefile: Likewise.
49584         * dirent/Makefile: Likewise.
49585         * dlfcn/Makefile: Likewise.
49586         * gmon/Makefile: Likewise.
49587         * gnulib/Makefile: Likewise.
49588         * grp/Makefile: Likewise.
49589         * gshadow/Makefile: Likewise.
49590         * hesiod/Makefile: Likewise.
49591         * hurd/Makefile: Likewise.
49592         (all): Remove target.
49593         * iconvdata/Makefile: Include Makeconfig immediately after
49594         defining subdir.
49595         * inet/Makefile: Likewise.
49596         * intl/Makefile: Likewise.
49597         * io/Makefile: Likewise.
49598         * libio/Makefile: Likewise.
49599         (all): Remove target.
49600         * locale/Makefile: Include Makeconfig immediately after defining
49601         subdir.
49602         * login/Makefile: Likewise.
49603         * mach/Makefile: Likewise.
49604         (all): Remove target.
49605         * malloc/Makefile: Include Makeconfig immediately after defining
49606         subdir.
49607         (all): Remove target.
49608         * manual/Makefile: Include Makeconfig immediately after defining
49609         subdir.
49610         * math/Makefile: Likewise.
49611         * misc/Makefile: Likewise.
49612         * nis/Makefile: Likewise.
49613         * nss/Makefile: Likewise.
49614         * po/Makefile: Likewise.
49615         (all): Remove target.
49616         * posix/Makefile: Include Makeconfig immediately after defining
49617         subdir.
49618         * pwd/Makefile: Likewise.
49619         * resolv/Makefile: Likewise.
49620         * resource/Makefile: Likewise.
49621         * rt/Makefile: Likewise.
49622         * setjmp/Makefile: Likewise.
49623         * shadow/Makefile: Likewise.
49624         * signal/Makefile: Likewise.
49625         * socket/Makefile: Likewise.
49626         * soft-fp/Makefile: Likewise.
49627         * stdio-common/Makefile: Likewise.
49628         * stdlib/Makefile: Likewise.
49629         * streams/Makefile: Likewise.
49630         * string/Makefile: Likewise.
49631         * sunrpc/Makefile: Likewise.
49632         (all): Remove target.
49633         * sysvipc/Makefile: Include Makeconfig immediately after defining
49634         subdir.
49635         * termios/Makefile: Likewise.
49636         * time/Makefile: Likewise.
49637         * timezone/Makefile: Likewise.
49638         (all): Remove target.
49639         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49640         subdir.
49641         * wctype/Makefile: Likewise.
49643 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49645         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49646         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49647         (libc_feholdexcept_setround_mips): Ditto.
49648         (libc_feholdsetround): New.
49649         (libc_feholdsetroundf): New.
49650         (libc_feholdsetroundl): New.
49651         (libc_feupdateenv_test_mips): New.
49652         (libc_feupdateenv_test): New.
49653         (libc_feupdateenv_testf): New.
49654         (libc_feupdateenv_testl): New.
49655         (libc_feresetround): New.
49656         (libc_feresetroundf): New.
49657         (libc_feresetroundl): New.
49658         (libc_fetestexcept_mips): New.
49659         (libc_fetestexcept): New.
49660         (libc_fetestexceptf): New.
49661         (libc_fetestexceptl): New.
49662         (HAVE_RM_CTX): New.
49663         (libc_feholdexcept_setround_mips_ctx): New.
49664         (libc_feholdexcept_setround_ctx): New.
49665         (libc_feholdexcept_setroundf_ctx): New.
49666         (libc_feholdexcept_setroundl_ctx): New.
49667         (libc_fesetenv_mips_ctx): New.
49668         (libc_fesetenv_ctx): New.
49669         (libc_fesetenv_ctxf): New.
49670         (libc_fesetenv_ctxl): New.
49671         (libc_feupdateenv_mips_ctx): New.
49672         (libc_feupdateenv_ctx): New.
49673         (libc_feupdateenvf_ctx): New.
49674         (libc_feupdateenvl_ctx): New.
49675         (libc_feholdsetround_mips_ctx): New.
49676         (libc_feholdsetround_ctx): New.
49677         (libc_feholdsetroundf_ctx): New.
49678         (libc_feholdsetroundl_ctx): New.
49679         (libc_feresetround_mips_ctx): New.
49680         (libc_feresetround_ctx): New.
49681         (libc_feresetroundf_ctx): New.
49682         (libc_feresetroundl_ctx): New.
49684 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49686         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49688         * manual/ipc.texi: New file.
49689         * manual/Makefile (chapters): Add ipc.
49690         * manual/job.texi: Add "Inter-Process Communication" to next.
49691         * manual/process.texi: Add "Inter-Process Communication" to prev.
49693 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49697 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49699         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49701         * manual/arith.texi: Fix spaces after sentences.
49702         * manual/charset.texi: Likewise.
49703         * manual/errno.texi: Likewise.
49704         * manual/install.texi: Likewise.
49705         * manual/llio.texi: Likewise.
49706         * manual/locale.texi: Likewise.
49707         * manual/maint.texi: Likewise.
49708         * manual/math.texi: Likewise.
49709         * manual/memory.texi: Likewise.
49710         * manual/message.texi: Likewise.
49711         * manual/probes.texi: Likewise.
49712         * manual/resource.texi: Likewise.
49713         * manual/signal.texi: Likewise.
49714         * manual/socket.texi: Likewise.
49715         * manual/stdio.texi: Likewise.
49716         * manual/string.texi: Likewise.
49717         * manual/time.texi: Likewise.
49718         * manual/users.texi: Likewise.
49720 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49722         [BZ #16632]
49723         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49724         _DEFAULT_SOURCE is defined.
49726 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49727             Carlos O'Donell  <carlos@redhat.com>
49729         [BZ #16613]
49730         * elf/dl-tls.c (_dl_count_modids): New function.
49731         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49732         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49733         audit library and increment generation counter.
49734         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49735         * elf/tst-audit9.c: New file.
49736         * elf/tst-auditmod9a.c: New file.
49737         * elf/tst-auditmod9b.c: New file.
49738         * elf/Makefile: Add rules to build and run tst-audit9.
49740 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49742         [BZ #15347]
49743         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49745 2014-02-25  Will Newton  <will.newton@linaro.org>
49747         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49748         (__longjmp): Restore sp and lr before restoring callee
49749         saved registers.  Add longjmp and longjmp_target
49750         SystemTap probe point.
49751         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49752         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49753         Define to zero to match jmpbuf layout.
49754         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49755         (__sigsetjmp): Save sp and lr before saving callee
49756         saved registers.  Add setjmp SystemTap probe point.
49758 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49760         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49762 2014-02-24  Andreas Schwab  <schwab@suse.de>
49764         [BZ #15804]
49765         * elf/pldd.c (wait_for_ptrace_stop): New function.
49766         (main): Call it after attaching.
49768 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49770         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49771         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49772         Versions files is now verboten.
49773         * hurd/Versions (libc: GLIBC_2.0):
49774         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49775         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49776         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49777         * mach/Versions: Likewise.
49779         * csu/Versions: Remove unused %include.
49780         * resolv/Versions: Likewise.
49782 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49784         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49785         ($(objpfx)check-local-headers.out): Likewise.
49786         ($(objpfx)begin-end-check.out): Likewise.
49787         * Makerules (check-abi-%.out): Likewise.
49788         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49789         ($(objpfx)test2.cat): Likewise.
49790         ($(objpfx)de/libc.cat): Likewise.
49791         ($(objpfx)test-gencat.out): Likewise.
49792         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49793         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49794         ($(objpfx)noload-mem): Likewise.
49795         ($(objpfx)tst-pathopt.out): Likewise.
49796         ($(objpfx)tst-rtld-load-self.out): Likewise.
49797         ($(objpfx)tst-array1-cmp.out): Likewise.
49798         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49799         ($(objpfx)tst-array2-cmp.out): Likewise.
49800         ($(objpfx)tst-array3-cmp.out): Likewise.
49801         ($(objpfx)tst-array4-cmp.out): Likewise.
49802         ($(objpfx)tst-array5-cmp.out): Likewise.
49803         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49804         ($(objpfx)check-textrel.out): Likewise.
49805         ($(objpfx)check-execstack.out): Likewise.
49806         ($(objpfx)check-localplt.out): Likewise.
49807         ($(objpfx)order2-cmp.out): Likewise.
49808         ($(objpfx)tst-leaks1-mem): Likewise.
49809         ($(objpfx)tst-leaks1-static-mem): Likewise.
49810         ($(objpfx)tst-initorder-cmp.out): Likewise.
49811         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49812         ($(objpfx)tst-unused-dep.out): Likewise.
49813         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49814         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49815         * iconv/Makefile (test-iconvconfig): Likewise.
49816         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49817         ($(objpfx)iconv-test.out): Likewise.
49818         ($(objpfx)tst-tables.out): Likewise.
49819         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49820         ($(objpfx)tst-gettext.out): Likewise.
49821         ($(objpfx)tst-translit.out): Likewise.
49822         ($(objpfx)tst-gettext2.out): Likewise.
49823         ($(objpfx)tst-gettext4.out): Likewise.
49824         ($(objpfx)tst-gettext6.out): Likewise.
49825         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49826         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49827         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49828         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49829         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49830         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49831         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49832         ($(objpfx)wordexp-tst.out): Likewise.
49833         ($(objpfx)annexc.out): Likewise.
49834         ($(objpfx)tst-fnmatch-mem): Likewise.
49835         ($(objpfx)bug-regex2-mem): Likewise.
49836         ($(objpfx)bug-regex14-mem): Likewise.
49837         ($(objpfx)bug-regex21-mem): Likewise.
49838         ($(objpfx)bug-regex31-mem): Likewise.
49839         ($(objpfx)tst-vfork3-mem): Likewise.
49840         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49841         ($(objpfx)tst-pcre-mem): Likewise.
49842         ($(objpfx)tst-boost-mem): Likewise.
49843         ($(objpfx)tst-getconf.out): Likewise.
49844         ($(objpfx)bug-ga2-mem): Likewise.
49845         ($(objpfx)bug-glob2-mem): Likewise.
49846         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49847         ($(objpfx)mtrace-tst-leaks2): Likewise.
49848         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49849         ($(objpfx)tst-printf.out): Likewise.
49850         ($(objpfx)tst-setvbuf1.out): Likewise.
49851         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49852         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49853         ($(objpfx)tst-fmtmsg.out): Likewise.
49854         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49855         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49857         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49858         * bits/sigaction.h [__USE_MISC]: Likewise.
49859         * bits/waitstatus.h: Update #endif comments.
49860         * ctype/ctype.h: Likewise.
49861         * dirent/dirent.h: Likewise.
49862         [__USE_MISC]: Remove redundant conditionals.
49863         * grp/grp.h: Update #endif comments.
49864         [__USE_GNU]: Remove redundant conditionals.
49865         [__USE_MISC]: Likewise.
49866         * inet/netinet/in.h [__USE_GNU]: Likewise.
49867         * io/sys/stat.h [__USE_MISC]: Likewise.
49868         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49869         * libio/bits/stdio.h: Update #endif comments.
49870         [__USE_MISC]: Remove redundant conditionals.
49871         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49872         * libio/stdio.h: Update #endif comments.
49873         [__USE_MISC]: Remove redundant conditionals.
49874         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49875         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49876         * math/math.h: Update #else and #endif comments.
49877         [__USE_MISC]: Remove redundant conditionals.
49878         * misc/sys/uio.h: Update #endif comments.
49879         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49880         * posix/glob.h [__USE_MISC]: Likewise.
49881         * posix/sys/types.h: Update #endif comments.
49882         [__USE_MISC]: Remove redundant conditionals.
49883         * posix/sys/wait.h: Update #endif comments.
49884         [__USE_MISC]: Remove redundant conditionals.
49885         * posix/unistd.h: Update #endif comments.
49886         [__USE_MISC]: Remove redundant conditionals.
49887         * pwd/pwd.h [__USE_GNU]: Likewise.
49888         [__USE_MISC]: Likewise.
49889         * resolv/netdb.h [__USE_GNU]: Likewise.
49890         * signal/signal.h: Update #endif comments.
49891         [__USE_MISC]: Remove redundant conditionals.
49892         * stdlib/stdlib.h: Update #else and #endif comments.
49893         [__USE_MISC]: Remove redundant conditionals.
49894         [__USE_GNU]: Likewise.
49895         * string/bits/string2.h [__USE_MISC]: Likewise.
49896         * string/string.h: Update #endif comments.
49897         [__USE_MISC]: Remove redundant conditionals.
49898         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49899         Likewise.
49900         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49901         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49902         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49903         Likewise.
49904         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49905         Likewise.
49906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49907         comments.
49908         [__USE_MISC]: Remove redundant conditionals.
49909         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49910         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49911         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49912         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49913         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49914         Likewise.
49915         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49916         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49917         Likewise.
49918         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49919         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49920         Likewise.
49921         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49922         Likewise.
49923         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49924         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49925         Likewise.
49926         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49927         Likewise.
49928         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49929         * sysdeps/x86/bits/string.h: Update #endif comments.
49930         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49931         conditionals.
49932         * time/sys/time.h: Update #endif comments.
49933         * time/time.h: Likewise.
49934         [__USE_MISC]: Remove redundant conditionals.
49936 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49938         [BZ #16600]
49939         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49941 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49943         * Versions.def (librt): Add GLIBC_2.17.
49945 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49947         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49948         synonym for _SYS_AUXV_H to allow direct inclusion.
49949         * sysdeps/sparc/bits/hwcap.h: Likewise.
49950         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49951         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49952         * sysdeps/sparc/sysdep.h: Likewise.
49954 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49956         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49958 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49960         * benchtests/bench-strrchr.c: Print length instead of position.
49962 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49964         [BZ #16611]
49965         * sysdeps/unix/sysv/linux/kernel-features.h
49966         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49967         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49968         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49969         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49970         Likewise.
49971         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49972         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49973         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49974         (__ASSUME_SENDMMSG): Define instead of using previous
49975         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49976         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49977         (__ASSUME_SENDMMSG_SYSCALL): Define.
49978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49979         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49980         Likewise.
49981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49982         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49983         Likewise.
49984         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49985         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49986         Likewise.
49987         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49988         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49989         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49990         [__ASSUME_SENDMMSG]: Change conditionals to
49991         [__ASSUME_SENDMMSG_SOCKETCALL].
49992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49993         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49994         Define.
49995         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49996         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49997         Likewise.
49998         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49999         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50000         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50001         [!__ASSUME_SENDMMSG]: Change conditional to
50002         [!__ASSUME_SENDMMSG_SOCKETCALL].
50003         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50004         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50005         Define.
50007         [BZ #16610]
50008         * sysdeps/unix/sysv/linux/kernel-features.h
50009         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50010         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50011         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50012         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50013         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50014         [__i386__ || __sparc__]
50015         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50016         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50017         (__ASSUME_RECVMMSG): Define instead of using previous
50018         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50019         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50020         (__ASSUME_RECVMMSG_SYSCALL): Define.
50021         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50023         Likewise.
50024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50026         Likewise.
50027         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50028         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50029         Likewise.
50030         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50031         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50032         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50033         [__ASSUME_RECVMMSG]: Change condition to
50034         [__ASSUME_RECVMMSG_SOCKETCALL].
50035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50037         Define.
50038         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50041         Likewise.
50042         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50043         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50044         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50045         [!__ASSUME_RECVMMSG]: Change condition to
50046         [!__ASSUME_RECVMMSG_SOCKETCALL].
50047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50048         (__ASSUME_RECVMMSG_SYSCALL): Define.
50050         [BZ #16609]
50051         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50052         __powerpc__ || __s390__ || __sh__ || __sparc__]
50053         (__ASSUME_SOCKETCALL): Define.
50054         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50055         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50056         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50057         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50058         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50059         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50060         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50061         (__ASSUME_ACCEPT4): Define instead of using previous
50062         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50063         __powerpc__ || __sparc__ || __s390__)] condition.
50064         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50065         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50066         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50067         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50068         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50069         [!__ASSUME_ACCEPT4]: Change condition to
50070         [!__ASSUME_ACCEPT4_SOCKETCALL].
50071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50072         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50073         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50074         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50075         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50076         __ASSUME_ACCEPT4_SYSCALL.
50077         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50078         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50080         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50081         __ASSUME_ACCEPT4_SYSCALL.
50082         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50083         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50084         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50085         [__ASSUME_ACCEPT4]: Change condition to
50086         [__ASSUME_ACCEPT4_SOCKETCALL].
50087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50088         (__ASSUME_SOCKETCALL): Define.
50089         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50091         (__ASSUME_SOCKETCALL): Define.
50092         (__ASSUME_ACCEPT4): Remove.
50093         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50094         Define.
50095         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50096         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50097         Likewise.
50098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50099         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50101         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50102         macro.
50103         (HWCAP_ARM_LPAE): Likewise.
50104         (HWCAP_ARM_EVTSTRM): Likewise.
50105         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50106         Add vpfd32, lpae and evtstrm.
50107         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50108         Increase to 22.
50110 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50112         * math/auto-libm-test-in: Add tests of clog10.
50113         * math/auto-libm-test-out: Regenerated.
50114         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50115         * sysdeps/i386/fpu/libm-test-ulps: Update.
50116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50118 2014-02-18  Andreas Schwab  <schwab@suse.de>
50120         [BZ #16574]
50121         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50122         Store non-zero if the second buffer was newly allocated.
50123         (send_dg): Likewise.
50124         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50125         to send_vc and send_dg.
50126         (res_nsend): Pass NULL for ansp2_malloced.
50127         * resolv/res_query.c (__libc_res_nquery): Add parameter
50128         answerp2_malloced and pass it down to __libc_res_nsend.
50129         (res_nquery): Pass additional NULL to __libc_res_nquery.
50130         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50131         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50132         second answer buffer if answerp2_malloced was set.
50133         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50134         (__libc_res_nquerydomain): Add parameter
50135         answerp2_malloced and pass it down to __libc_res_nquery.
50136         (res_nquerydomain): Pass additional NULL to
50137         __libc_res_nquerydomain.
50138         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50139         additional NULL to __libc_res_nsend and __libc_res_nquery.
50140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50141         additional NULL to __libc_res_nsearch.
50142         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50143         parameter of __libc_res_nsearch to check for separately allocated
50144         second buffer.
50145         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50146         __libc_res_nquery.
50147         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50148         additional NULL to __libc_res_nquery.
50149         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50150         __libc_res_nsearch.
50151         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50152         * include/resolv.h: Update prototypes of __libc_res_nquery,
50153         __libc_res_nsearch, __libc_res_nsend.
50155 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50157         * math/auto-libm-test-in: Add tests of fma.
50158         * math/auto-libm-test-out: Regenerated.
50159         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50160         (fma_towardzero_test_data): Likewise.
50161         (fma_downward_test_data): Likewise.
50162         (fma_upward_test_data): Likewise.
50163         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50164         mpc_mode.
50165         (rounding_modes): Add values for new field.
50166         (func_calc_method): Add value mpfr_fff_f.
50167         (func_calc_desc): Add mpfr_fff_f union field.
50168         (test_function): Add field exact_args.
50169         (FUNC): Add macro argument EXACT_ARGS.
50170         (FUNC_mpfr_f_f): Update call to FUNC.
50171         (FUNC_mpfr_f_f): Likewise.
50172         (FUNC_mpfr_ff_f): Likewise.
50173         (FUNC_mpfr_if_f): Likewise.
50174         (FUNC_mpc_c_f): Likewise.
50175         (FUNC_mpc_c_c): Likewise.
50176         (test_functions): Add fma.  Update calls to FUNC.
50177         (handle_input_arg): Add argument exact_args.
50178         (add_test): Update call to handle_input_arg.
50179         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50180         (output_for_one_input_case): Update call to calc_generic_results.
50181         Recalculate exact zero results in each rounding mode.
50183         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50184         non-negative before setting low bit.
50185         * math/auto-libm-test-in: Mark one asin test possibly having
50186         spurious underflow.
50187         * math/auto-libm-test-out: Regenerated.
50188         * sysdeps/i386/fpu/libm-test-ulps: Update.
50189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50191 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50193         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50194         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50195         ports/sysdeps/unix/sysv/linux/microblaze.
50196         * README: Add missing listing for microblaze*-*-linux-gnu.
50198 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50200         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50201         duplicate code
50203 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50205         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50206         * sysdeps/unix/sysv/linux/ia64: Move directory from
50207         ports/sysdeps/unix/sysv/linux/ia64.
50208         * README: Update listing for ia64-*-linux-gnu.
50210 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50211             Joseph Myers  <joseph@codesourcery.com>
50213         * Makeconfig (test-name): New variable.
50214         (evaluate-test): Likewise.
50215         * Makerules (do-test-clean): Remove .test-result files.
50216         (common-mostlyclean): Likewise.
50217         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50218         * scripts/evaluate-test.sh: New file.
50220 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50222         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50223         separate $(objpfx)tst-fopenloc-cmp.out and
50224         $(objpfx)tst-fopenloc-mem.out targets.
50225         (tests): Update dependencies.
50226         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50227         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50228         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50229         (tst-rxspencer-no-utf8-ARGS): New variable.
50230         (tst-rxspencer-no-utf8-ENV): Likewise.
50231         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50232         instead of $(objpfx)tst-rxspencer-mem.
50233         ($(objpfx)tst-rxspencer-mem): Change target to
50234         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50235         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50236         * posix/tst-rxspencer-no-utf8.c: New file.
50238         * elf/Makefile ($(objpfx)order.out): Remove rule.
50239         [$(run-built-tests) = yes] (tests): Depend on
50240         $(objpfx)order-cmp.out.
50241         ($(objpfx)order-cmp.out): New rule.
50242         [$(run-built-tests) = yes] (tests): Depend on
50243         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50244         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50245         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50246         $(objpfx)tst-array5-static-cmp.out.
50247         ($(objpfx)tst-array1.out): Remove rule.
50248         ($(objpfx)tst-array1-cmp.out): New rule.
50249         ($(objpfx)tst-array1-static.out): Remove rule.
50250         ($(objpfx)tst-array1-static-cmp.out): New rule.
50251         ($(objpfx)tst-array2.out): Remove rule.
50252         ($(objpfx)tst-array2-cmp.out): New rule.
50253         ($(objpfx)tst-array3.out): Remove rule.
50254         ($(objpfx)tst-array3-cmp.out): New rule.
50255         ($(objpfx)tst-array4.out): Remove rule.
50256         ($(objpfx)tst-array4-cmp.out): New rule.
50257         ($(objpfx)tst-array5.out): Remove rule.
50258         ($(objpfx)tst-array5-cmp.out): New rule.
50259         ($(objpfx)tst-array5-static.out): Remove rule.
50260         ($(objpfx)tst-array5-static-cmp.out): New rule.
50261         [$(run-built-tests) = yes] (tests): Depend on
50262         $(objpfx)order2-cmp.out.
50263         ($(objpfx)order2.out): Remove rule.
50264         ($(objpfx)order2-cmp.out): New rule.
50265         ($(objpfx)tst-initorder.out): Remove rule.
50266         [$(run-built-tests) = yes] (tests): Depend on
50267         $(objpfx)tst-initorder-cmp.out.
50268         ($(objpfx)tst-initorder-cmp.out): New rule.
50269         ($(objpfx)tst-initorder2.out): Remove rule.
50270         [$(run-built-tests) = yes] (tests): Depend on
50271         $(objpfx)tst-initorder2-cmp.out.
50272         ($(objpfx)tst-initorder2-cmp.out): New rule.
50273         [$(run-built-tests) = yes] (tests): Depend on
50274         $(objpfx)tst-unused-dep-cmp.out.
50275         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50276         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50277         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50278         on $(objpfx)tst-setvbuf1-cmp.out.
50279         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50280         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50281         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50282         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50283         ($(objpfx)tst-svc.out): Remove rule.
50284         ($(objpfx)tst-svc-cmp.out): New rule.
50286 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50288         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50289         * ctype/ctype.h [__USE_MISC]: Likewise.
50290         * dirent/dirent.h [__USE_MISC]: Likewise.
50291         * grp/grp.h [__USE_MISC]: Likewise.
50292         * io/fcntl.h [__USE_MISC]: Likewise.
50293         * io/sys/stat.h [__USE_MISC]: Likewise.
50294         * libio/stdio.h [__USE_MISC]: Likewise.
50295         * posix/unistd.h [__USE_MISC]: Likewise.
50296         * pwd/pwd.h [__USE_MISC]: Likewise.
50297         * stdlib.h [__USE_MISC]: Likewise.
50298         * string/bits/string2.h [__USE_MISC]: Likewise.
50299         * string/string.h [__USE_MISC]: Likewise.
50300         * time/time.h [__USE_MISC]: Likewise.
50302 2014-02-13  Andreas Schwab  <schwab@suse.de>
50304         [BZ #16574]
50305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50306         second answer buffer if it was separately allocated.
50308 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50310         * sysdeps/mips/math-tests.h: Include <features.h>.
50311         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50312         (ROUNDING_TESTS_long_double): Do not define.
50313         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50314         (EXCEPTION_TESTS_long_double): Likewise.
50315         * sysdeps/mips/mips64/libm-test-ulps: Update.
50317         * include/features.h (__USE_BSD): Remove macro definitions.
50318         (__USE_SVID): Likewise.
50319         (_BSD_SOURCE): Likewise.
50320         (_SVID_SOURCE): Likewise.
50321         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50322         from definition of _DEFAULT_SOURCE.
50323         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50324         [_DEFAULT_SOURCE].
50325         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50326         * bits/mman.h [__USE_BSD]: Likewise.
50327         * bits/termios.h [__USE_BSD]: Likewise.
50328         * bits/waitstatus.h [__USE_BSD]: Likewise.
50329         * ctype/ctype.h [__USE_SVID]: Likewise.
50330         * dirent/dirent.h [__USE_BSD]: Likewise.
50331         * grp/grp.h [__USE_SVID]: Likewise.
50332         [__USE_BSD]: Likewise.
50333         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50334         * io/fcntl.h [__USE_BSD]: Likewise.
50335         * io/ftw.h [__USE_BSD]: Likewise.
50336         * io/sys/stat.h [__USE_BSD]: Likewise.
50337         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50338         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50339         * libio/stdio.h [__USE_SVID]: Likewise.
50340         [__USE_BSD]: Likewise.
50341         * math/math.h [__USE_SVID]: Likewise.
50342         [__USE_BSD]: Likewise.
50343         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50344         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50345         * misc/search.h [__USE_SVID]: Likewise.
50346         * misc/sys/mman.h [__USE_BSD]: Likewise.
50347         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50348         * misc/sys/uio.h [__USE_BSD]: Likewise.
50349         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50350         * posix/glob.h [__USE_BSD]: Likewise.
50351         * posix/regex.h [__USE_BSD]: Likewise.
50352         * posix/sys/types.h [__USE_BSD]: Likewise.
50353         [__USE_SVID]: Likewise.
50354         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50355         * posix/sys/wait.h [__USE_BSD]: Likewise.
50356         [__USE_SVID]: Likewise.
50357         * posix/unistd.h [__USE_BSD]: Likewise.
50358         [__USE_SVID]: Likewise.
50359         * pwd/pwd.h [__USE_SVID]: Likewise.
50360         * resolv/netdb.h [__USE_BSD]: Likewise.
50361         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50362         * signal/signal.h [__USE_BSD]: Likewise.
50363         [__USE_SVID]: Likewise.
50364         * socket/sys/socket.h [__USE_BSD]: Likewise.
50365         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50366         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50367         [__USE_SVID]: Likewise.
50368         * string/bits/string2.h [__USE_BSD]: Likewise.
50369         [__USE_SVID]: Likewise.
50370         * string/bits/string3.h [__USE_BSD]: Likewise.
50371         * string/endian.h [__USE_BSD]: Likewise.
50372         * string/string.h [__USE_SVID]: Likewise.
50373         [__USE_BSD]: Likewise.
50374         * string/strings.h [__USE_BSD]: Likewise.
50375         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50376         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50377         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50378         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50379         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50380         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50381         Likewise.
50382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50383         Likewise.
50384         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50385         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50386         Likewise.
50387         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50388         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50389         Likewise.
50390         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50391         Likewise.
50392         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50393         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50394         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50395         Likewise.
50396         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50397         Likewise.
50398         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50399         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50400         * termios/termios.h [__USE_BSD]: Likewise.
50401         * time/sys/time.h [__USE_BSD]: Likewise.
50402         * time/time.h [__USE_BSD]: Likewise.
50403         [__USE_SVID]: Likewise.
50405         * Makefile (subdir_targets): Remove subdir_lint.out.
50407         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50408         (do-tst-printf): Likewise.
50409         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50410         $(objpfx)tst-printf.out.
50412         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50414         * Makerules (check-abi-%): Change target to
50415         $(objpfx)check-abi-%.out.
50416         (check-abi target): Update dependencies.
50417         (check-abi-pattern variable): Redirect output of diff to $@.
50418         (check-abi variable): Likewise.
50419         * elf/Makefile (check-abi): Update dependencies.
50421         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50422         unused.
50423         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50424         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50425         subnormal range.
50426         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50427         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50428         value has largest subnormal exponent.
50429         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50430         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50431         * sysdeps/aarch64/soft-fp/sfp-machine.h
50432         (_FP_TININESS_AFTER_ROUNDING): New macro.
50433         * sysdeps/alpha/soft-fp/sfp-machine.h
50434         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50435         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50436         Likewise.
50437         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50439         * sysdeps/mips/soft-fp/sfp-machine.h
50440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50441         * sysdeps/powerpc/soft-fp/sfp-machine.h
50442         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50443         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50444         Likewise.
50445         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50446         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50447         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50448         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50449         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50450         Likewise.
50452 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50454         [BZ #16545]
50455         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50456         model 1.
50458 2014-02-12  Richard Henderson  <rth@redhat.com>
50460         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50461         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50462         * sysdeps/unix/sysv/linux/alpha: Move directory from
50463         ports/sysdeps/unix/sysv/linux/alpha.
50464         * README: Update listing for alpha-*-linux-gnu.
50466 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50468         * include/features.h: Update comment documenting feature test
50469         macros.
50470         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50471         _DEFAULT_SOURCE.
50472         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50473         (_SVID_SOURCE): Likewise.
50474         (_DEFAULT_SOURCE): Update description of default features.
50475         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50476         with _GNU_SOURCE.
50477         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50478         (S_ISVTX): Likewise.
50479         * manual/math.texi (Mathematical Constants): Likewise.
50480         * manual/signal.texi (Interrupted Primitives): Likewise.
50481         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50482         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50483         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50484         Don't refer to _SVID_SOURCE in warning text.
50486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50488         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50489         already defined.
50490         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50491         * sysdeps/mips/dl-lookup.c: Remove.
50492         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50494 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50496         [BZ #16447]
50497         * math/auto-libm-test-in: Add testcase for expl.
50498         * math/auto-libm-test-out: Regenerate.
50499         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50500         calculation of unsafe.
50501         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50503 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50505         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50506         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50507         ports/sysdeps/unix/sysv/linux/aarch64.
50508         * README: Update listing for aarch64*-*-linux-gnu.
50510 2014-02-11  Will Newton  <will.newton@linaro.org>
50512         * manual/probes.texi (Mathematical Function Probes): Use
50513         "triggered" instead of "hit".
50515         * manual/probes.texi (Internal Probes): Add documentation
50516         of setjmp, longjmp and longjmp_target probes.
50518         * include/stap-probe.h: Add comment about probe argument
50519         format.
50521         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50522         definition.  (tr_where, tr_freehook, tr_mallochook,
50523         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50525 2014-02-11  David S. Miller  <davem@davemloft.net>
50527         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50528         processing int_tests.
50530 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50532         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50533         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50534         * sysdeps/unix/sysv/linux/mips: Move directory from
50535         ports/sysdeps/unix/sysv/linux/mips.
50536         * README: Update listing for mips-*-linux-gnu and
50537         mips64-*-linux-gnu.
50539 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50541         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50542         * sysdeps/unix/sysv/linux/m68k: Move directory from
50543         ports/sysdeps/unix/sysv/linux/m68k.
50544         * README: Update listing for m68k-*-linux-gnu.
50546 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50548         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50549         * sysdeps/unix/sysv/linux/generic: Move directory from
50550         ports/sysdeps/unix/sysv/linux/generic.
50551         * sysdeps/unix/sysv/linux/tile: Move directory from
50552         ports/sysdeps/unix/sysv/linux/tile.
50553         * README: Update listing for tile*-*-linux-gnu.
50555 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50557         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50558         __builtin_expect.
50559         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50560         * catgets/open_catalog.c (__open_catalog): Likewise.
50561         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50562         * debug/confstr_chk.c: Likewise.
50563         * debug/fread_chk.c (__fread_chk): Likewise.
50564         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50565         * debug/getgroups_chk.c: Likewise.
50566         * debug/mbsnrtowcs_chk.c: Likewise.
50567         * debug/mbsrtowcs_chk.c: Likewise.
50568         * debug/mbstowcs_chk.c: Likewise.
50569         * debug/memcpy_chk.c: Likewise.
50570         * debug/memmove_chk.c: Likewise.
50571         * debug/mempcpy_chk.c: Likewise.
50572         * debug/memset_chk.c: Likewise.
50573         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50574         * debug/strcat_chk.c (__strcat_chk): Likewise.
50575         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50576         * debug/strncat_chk.c (__strncat_chk): Likewise.
50577         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50578         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50579         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50580         * debug/wcpncpy_chk.c: Likewise.
50581         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50582         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50583         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50584         * debug/wcsncpy_chk.c: Likewise.
50585         * debug/wcsnrtombs_chk.c: Likewise.
50586         * debug/wcsrtombs_chk.c: Likewise.
50587         * debug/wcstombs_chk.c: Likewise.
50588         * debug/wmemcpy_chk.c: Likewise.
50589         * debug/wmemmove_chk.c: Likewise.
50590         * debug/wmempcpy_chk.c: Likewise.
50591         * debug/wmemset_chk.c: Likewise.
50592         * dirent/scandirat.c (SCANDIRAT): Likewise.
50593         * dlfcn/dladdr1.c (dladdr1): Likewise.
50594         * dlfcn/dladdr.c (dladdr): Likewise.
50595         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50596         * dlfcn/dlerror.c (__dlerror): Likewise.
50597         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50598         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50599         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50600         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50601         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50602         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50603         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50604         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50605         Likewise.
50606         * elf/dl-conflict.c: Likewise.
50607         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50608         * elf/dl-dst.h: Likewise.
50609         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50610         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50611         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50612         * elf/dl-init.c (call_init, _dl_init): Likewise.
50613         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50614         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50615         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50616         Likewise.
50617         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50618         Likewise.
50619         * elf/dl-minimal.c (__libc_memalign): Likewise.
50620         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50621         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50622         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50623         * elf/dl-sym.c (do_sym): Likewise.
50624         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50625         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50626         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50627         * elf/dl-writev.h (_dl_writev): Likewise.
50628         * elf/ldconfig.c (search_dir): Likewise.
50629         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50630         (dl_main): Likewise.
50631         * elf/setup-vdso.h (setup_vdso): Likewise.
50632         * grp/compat-initgroups.c (compat_call): Likewise.
50633         * grp/fgetgrent.c (fgetgrent): Likewise.
50634         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50635         * grp/putgrent.c (putgrent): Likewise.
50636         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50637         Likewise.
50638         * hurd/hurdinit.c: Likewise.
50639         * iconvdata/8bit-gap.c (struct): Likewise.
50640         * iconvdata/ansi_x3.110.c : Likewise.
50641         * iconvdata/big5.c : Likewise.
50642         * iconvdata/big5hkscs.c : Likewise.
50643         * iconvdata/cp1255.c: Likewise.
50644         * iconvdata/cp1258.c : Likewise.
50645         * iconvdata/cp932.c : Likewise.
50646         * iconvdata/euc-cn.c: Likewise.
50647         * iconvdata/euc-jisx0213.c : Likewise.
50648         * iconvdata/euc-jp.c: Likewise.
50649         * iconvdata/euc-jp-ms.c : Likewise.
50650         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50651         * iconvdata/gb18030.c : Likewise.
50652         * iconvdata/gbbig5.c (const): Likewise.
50653         * iconvdata/gbgbk.c: Likewise.
50654         * iconvdata/gbk.c : Likewise.
50655         * iconvdata/ibm1364.c : Likewise.
50656         * iconvdata/ibm930.c : Likewise.
50657         * iconvdata/ibm932.c: Likewise.
50658         * iconvdata/ibm933.c : Likewise.
50659         * iconvdata/ibm935.c : Likewise.
50660         * iconvdata/ibm937.c : Likewise.
50661         * iconvdata/ibm939.c : Likewise.
50662         * iconvdata/ibm943.c: Likewise.
50663         * iconvdata/iso_11548-1.c: Likewise.
50664         * iconvdata/iso-2022-cn.c : Likewise.
50665         * iconvdata/iso-2022-cn-ext.c : Likewise.
50666         * iconvdata/iso-2022-jp-3.c: Likewise.
50667         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50668         * iconvdata/iso-2022-kr.c : Likewise.
50669         * iconvdata/iso646.c (gconv_end): Likewise.
50670         * iconvdata/iso_6937-2.c : Likewise.
50671         * iconvdata/iso_6937.c : Likewise.
50672         * iconvdata/iso8859-1.c: Likewise.
50673         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50674         * iconvdata/shift_jisx0213.c : Likewise.
50675         * iconvdata/sjis.c : Likewise.
50676         * iconvdata/t.61.c : Likewise.
50677         * iconvdata/tcvn5712-1.c : Likewise.
50678         * iconvdata/tscii.c: Likewise.
50679         * iconvdata/uhc.c : Likewise.
50680         * iconvdata/unicode.c (gconv_end): Likewise.
50681         * iconvdata/utf-16.c (gconv_end): Likewise.
50682         * iconvdata/utf-32.c (gconv_end): Likewise.
50683         * iconvdata/utf-7.c (base64): Likewise.
50684         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50685         * iconv/gconv_close.c (__gconv_close): Likewise.
50686         * iconv/gconv_open.c (__gconv_open): Likewise.
50687         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50688         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50689         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50690         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50691         (ucs4le_internal_loop_single): Likewise.
50692         * iconv/iconv.c (iconv): Likewise.
50693         * iconv/iconv_close.c: Likewise.
50694         * iconv/loop.c (SINGLE): Likewise.
50695         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50696         * include/atomic.h: Likewise.
50697         * inet/inet6_option.c (option_alloc): Likewise.
50698         * intl/bindtextdom.c (set_binding_values): Likewise.
50699         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50700         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50701         * intl/localealias.c (read_alias_file): Likewise.
50702         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50703         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50704         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50705         * libio/fmemopen.c (fmemopen): Likewise.
50706         * libio/iofgets.c (_IO_fgets): Likewise.
50707         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50708         * libio/iofgetws.c (fgetws): Likewise.
50709         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50710         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50711         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50712         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50713         * locale/findlocale.c (_nl_find_locale): Likewise.
50714         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50715         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50716         Likewise.
50717         * locale/setlocale.c (setlocale): Likewise.
50718         * login/programs/pt_chown.c (main): Likewise.
50719         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50720         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50721         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50722         (mmap, mmap64, mremap, munmap): Likewise.
50723         * math/e_exp2l.c: Likewise.
50724         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50725         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50726         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50727         * math/s_catan.c (__catan): Likewise.
50728         * math/s_catanf.c (__catanf): Likewise.
50729         * math/s_catanh.c (__catanh): Likewise.
50730         * math/s_catanhf.c (__catanhf): Likewise.
50731         * math/s_catanhl.c (__catanhl): Likewise.
50732         * math/s_catanl.c (__catanl): Likewise.
50733         * math/s_ccosh.c (__ccosh): Likewise.
50734         * math/s_ccoshf.c (__ccoshf): Likewise.
50735         * math/s_ccoshl.c (__ccoshl): Likewise.
50736         * math/s_cexp.c (__cexp): Likewise.
50737         * math/s_cexpf.c (__cexpf): Likewise.
50738         * math/s_cexpl.c (__cexpl): Likewise.
50739         * math/s_clog10.c (__clog10): Likewise.
50740         * math/s_clog10f.c (__clog10f): Likewise.
50741         * math/s_clog10l.c (__clog10l): Likewise.
50742         * math/s_clog.c (__clog): Likewise.
50743         * math/s_clogf.c (__clogf): Likewise.
50744         * math/s_clogl.c (__clogl): Likewise.
50745         * math/s_csin.c (__csin): Likewise.
50746         * math/s_csinf.c (__csinf): Likewise.
50747         * math/s_csinh.c (__csinh): Likewise.
50748         * math/s_csinhf.c (__csinhf): Likewise.
50749         * math/s_csinhl.c (__csinhl): Likewise.
50750         * math/s_csinl.c (__csinl): Likewise.
50751         * math/s_csqrt.c (__csqrt): Likewise.
50752         * math/s_csqrtf.c (__csqrtf): Likewise.
50753         * math/s_csqrtl.c (__csqrtl): Likewise.
50754         * math/s_ctan.c (__ctan): Likewise.
50755         * math/s_ctanf.c (__ctanf): Likewise.
50756         * math/s_ctanh.c (__ctanh): Likewise.
50757         * math/s_ctanhf.c (__ctanhf): Likewise.
50758         * math/s_ctanhl.c (__ctanhl): Likewise.
50759         * math/s_ctanl.c (__ctanl): Likewise.
50760         * math/w_pow.c: Likewise.
50761         * math/w_powf.c: Likewise.
50762         * math/w_powl.c: Likewise.
50763         * math/w_scalb.c (sysv_scalb): Likewise.
50764         * math/w_scalbf.c (sysv_scalbf): Likewise.
50765         * math/w_scalbl.c (sysv_scalbl): Likewise.
50766         * misc/error.c (error_tail): Likewise.
50767         * misc/pselect.c (__pselect): Likewise.
50768         * nis/nis_callback.c (__nis_create_callback): Likewise.
50769         * nis/nis_call.c (__nisfind_server): Likewise.
50770         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50771         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50772         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50773         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50774         * nis/nis_lookup.c (nis_lookup): Likewise.
50775         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50776         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50777         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50778         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50779         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50780         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50781         * nis/nss_compat/compat-initgroups.c (add_group)
50782         (internal_getgrent_r): Likewise.
50783         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50784         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50785         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50786         (internal_getspnam_r): Likewise.
50787         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50788         (_nss_nis_getaliasbyname_r): Likewise.
50789         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50790         (_nss_nis_getntohost_r): Likewise.
50791         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50792         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50793         (_nss_nis_getgrgid_r): Likewise.
50794         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50795         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50796         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50797         (_nss_nis_gethostbyname4_r): Likewise.
50798         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50799         (initgroups_netid): Likewise.
50800         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50801         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50802         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50803         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50804         (_nss_nis_getprotobynumber_r): Likewise.
50805         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50806         (_nss_nis_getsecretkey): Likewise.
50807         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50808         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50809         (_nss_nis_getpwuid_r): Likewise.
50810         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50811         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50812         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50813         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50814         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50815         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50816         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50817         Likewise.
50818         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50819         (_nss_nisplus_getntohost_r): Likewise.
50820         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50821         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50822         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50823         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50824         Likewise.
50825         * nis/nss_nisplus/nisplus-initgroups.c
50826         (_nss_nisplus_initgroups_dyn): Likewise.
50827         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50828         (_nss_nisplus_getnetbyaddr_r): Likewise.
50829         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50830         (_nss_nisplus_getprotobynumber_r): Likewise.
50831         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50832         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50833         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50834         Likewise.
50835         * nis/nss_nisplus/nisplus-service.c
50836         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50837         (_nss_nisplus_getservbyport_r): Likewise.
50838         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50839         (_nss_nisplus_getspnam_r): Likewise.
50840         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50841         Likewise.
50842         * nscd/aicache.c (addhstaiX): Likewise.
50843         * nscd/cache.c (cache_search, prune_cache): Likewise.
50844         * nscd/connections.c (register_traced_file, send_ro_fd)
50845         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50846         (main_loop_epoll): Likewise.
50847         * nscd/grpcache.c (addgrbyX): Likewise.
50848         * nscd/hstcache.c (addhstbyX): Likewise.
50849         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50850         * nscd/mem.c (gc, mempool_alloc): Likewise.
50851         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50852         (addinnetgrX): Likewise.
50853         * nscd/nscd-client.h (__nscd_acquire_maplock)
50854         (__nscd_drop_map_ref): Likewise.
50855         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50856         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50857         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50858         Likewise.
50859         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50861         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50862         (__nscd_get_map_ref): Likewise.
50863         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50864         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50865         Likewise.
50866         * nscd/pwdcache.c (addpwbyX): Likewise.
50867         * nscd/selinux.c (preserve_capabilities): Likewise.
50868         * nscd/servicescache.c (addservbyX): Likewise.
50869         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50870         * posix/fnmatch.c (fnmatch): Likewise.
50871         * posix/getopt.c (_getopt_internal_r): Likewise.
50872         * posix/glob.c (glob, glob_in_dir): Likewise.
50873         * posix/wordexp.c (exec_comm_child): Likewise.
50874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50875         (getanswer_r, gaih_getanswer_slice): Likewise.
50876         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50877         * resolv/res_init.c: Likewise.
50878         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50879         * resolv/res_query.c (__libc_res_nquery): Likewise.
50880         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50881         Likewise.
50882         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50883         * stdio-common/perror.c (perror): Likewise.
50884         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50885         * stdio-common/tmpnam.c (tmpnam): Likewise.
50886         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50887         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50888         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50889         Likewise.
50890         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50891         * stdlib/putenv.c (putenv): Likewise.
50892         * stdlib/setenv.c (__add_to_environ): Likewise.
50893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50894         * stdlib/strtol_l.c (INTERNAL): Likewise.
50895         * string/memmem.c (memmem): Likewise.
50896         * string/strerror.c (strerror): Likewise.
50897         * string/strnlen.c (__strnlen): Likewise.
50898         * string/test-memmem.c (simple_memmem): Likewise.
50899         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50900         * sunrpc/pm_getport.c (__get_socket): Likewise.
50901         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50902         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50903         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50904         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50905         Likewise.
50906         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50907         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50908         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50909         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50910         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50911         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50912         Likewise.
50913         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50914         Likewise.
50915         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50916         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50918         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50919         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50921         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50922         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50923         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50924         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50925         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50926         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50927         Likewise.
50928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50929         Likewise.
50930         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50931         Likewise.
50932         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50934         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50935         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50936         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50937         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50938         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50941         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50942         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50944         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50945         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50947         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50948         Likewise.
50949         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50950         Likewise.
50951         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50952         Likewise.
50953         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50954         Likewise.
50955         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50957         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50958         Likewise.
50959         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50960         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50961         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50962         * sysdeps/posix/sleep.c: Likewise.
50963         * sysdeps/posix/tempname.c: Likewise.
50964         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50965         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50966         Likewise.
50967         * sysdeps/powerpc/powerpc32/dl-machine.h
50968         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50969         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50971         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50972         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50973         Likewise.
50974         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50976         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50977         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50978         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50979         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50980         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50981         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50982         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50983         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50985         (elf_machine_lazy_rel): Likewise.
50986         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50988         (elf_machine_lazy_rel): Likewise.
50989         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50990         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50991         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50992         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50993         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50994         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50995         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50997         Likewise.
50998         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50999         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51000         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51001         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51003         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51004         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51005         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51006         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51007         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51008         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51009         Likewise.
51010         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51011         (__posix_fallocate64_l64): Likewise.
51012         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51013         (posix_fallocate): Likewise.
51014         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51015         Likewise.
51016         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51017         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51018         (getifaddrs_internal): Likewise.
51019         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51020         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51021         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51022         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51023         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51024         (__posix_fallocate64_l64): Likewise.
51025         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51026         Likewise.
51027         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51028         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51029         (__get_clockfreq): Likewise.
51030         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51031         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51032         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51035         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51036         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51037         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51038         Likewise.
51039         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51040         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51041         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51043         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51044         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51045         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51046         Likewise.
51047         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51048         (posix_fallocate): Likewise.
51049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51050         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51051         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51052         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51053         (elf_machine_rela, elf_machine_rela_relative)
51054         (elf_machine_lazy_rel): Likewise.
51055         * time/asctime.c (asctime_internal): Likewise.
51056         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51057         * time/tzset.c (__tzset_parse_tz): Likewise.
51058         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51059         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51060         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51061         * wcsmbs/wcsmbsload.h: Likewise.
51063         [BZ #15894]
51064         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51066         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51067         (arena_get2): Remove THREAD_STATS conditionals.
51068         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51069         (__malloc_stats, int): Likewise.
51071 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51073         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51074         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51076         * manual/setjmp.texi: Fix typos/grammar errors.
51078         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51079         Only return early when n is <= 0.  Delete unused return statement.
51081         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51082         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51083         * debug/tst-longjmp_chk3.c: New file.
51085         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51086         (test_main): Replace code with set_fortify_handler call.
51087         * debug/test-strcpy_chk.c: Likewise.
51088         * debug/tst-chk1.c: Likewise.
51089         * debug/tst-longjmp_chk.c: Likewise.
51090         * test-skeleton.c: Include fcntl.h & paths.h
51091         (set_fortify_handler): Define.
51093         * debug/tst-longjmp_chk.c: Add header comment and include
51094         ../test-skeleton.c.
51095         (do_test): Mark static.
51096         (TEST_FUNCTION): Define.
51098         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51099         (IP_PMTUDISC_INTERFACE): Likewise.
51100         (IP_MULTICAST_IF): Likewise.
51101         (IP_MULTICAST_TTL): Likewise.
51102         (IP_MULTICAST_LOOP): Likewise.
51103         (IP_ADD_MEMBERSHIP): Likewise.
51104         (IP_DROP_MEMBERSHIP): Likewise.
51105         (IP_UNBLOCK_SOURCE): Likewise.
51106         (IP_BLOCK_SOURCE): Likewise.
51107         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51108         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51109         (IP_MSFILTER): Likewise.
51110         (MCAST_JOIN_GROUP): Likewise.
51111         (MCAST_BLOCK_SOURCE): Likewise.
51112         (MCAST_UNBLOCK_SOURCE): Likewise.
51113         (MCAST_LEAVE_GROUP): Likewise.
51114         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51115         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51116         (MCAST_MSFILTER): Likewise.
51117         (IP_MULTICAST_ALL): Likewise.
51118         (IP_UNICAST_IF): Likewise.
51120         * timezone/Makefile: Delete $(have-ksh) check.
51121         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51122         * timezone/tzselect.ksh: Add +x mode bits.
51124         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51125         (ANON_INODE_FS_MAGIC): Likewise.
51126         (BDEVFS_MAGIC): Likewise.
51127         (BINFMTFS_MAGIC): Likewise.
51128         (BTRFS_TEST_MAGIC): Likewise.
51129         (CRAMFS_MAGIC_WEND): Likewise.
51130         (DEBUGFS_MAGIC): Likewise.
51131         (ECRYPTFS_SUPER_MAGIC): Likewise.
51132         (EXT3_SUPER_MAGIC): Likewise.
51133         (EXT4_SUPER_MAGIC): Likewise.
51134         (FUTEXFS_SUPER_MAGIC): Likewise.
51135         (HOSTFS_SUPER_MAGIC): Likewise.
51136         (HUGETLBFS_MAGIC): Likewise.
51137         (MINIX3_SUPER_MAGIC): Likewise.
51138         (MTD_INODE_FS_MAGIC): Likewise.
51139         (NILFS_SUPER_MAGIC): Likewise.
51140         (OPENPROM_SUPER_MAGIC): Likewise.
51141         (PIPEFS_MAGIC): Likewise.
51142         (PSTOREFS_MAGIC): Likewise.
51143         (QNX6_SUPER_MAGIC): Likewise.
51144         (RAMFS_MAGIC): Likewise.
51145         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51146         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51147         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51148         (SECURITYFS_MAGIC): Likewise.
51149         (SELINUX_MAGIC): Likewise.
51150         (SMACK_MAGIC): Likewise.
51151         (SOCKFS_MAGIC): Likewise.
51152         (SQUASHFS_MAGIC): Likewise.
51153         (STACK_END_MAGIC): Likewise.
51154         (TMPFS_MAGIC): Likewise.
51155         (USBDEVICE_SUPER_MAGIC): Likewise.
51156         (V9FS_MAGIC): Likewise.
51157         (XENFS_SUPER_MAGIC): Likewise.
51158         (CRAMFS_MAGIC): Fix typo in comment.
51159         (EXT2_SUPER_MAGIC): Update comment.
51160         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51162 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51164         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51165         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51166         * sysdeps/unix/sysv/linux/arm: Move directory from
51167         ports/sysdeps/unix/sysv/linux/arm.
51168         * README: Update listing for arm-*-linux-gnueabi.
51170         * README: Remove mention of am33.
51172 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51174         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51175         than the comma operator, to avoid "rhs of comma has no effect"
51176         compiler warnings.
51177         (__sigfillset, __sigandset, __sigorset): Likewise.
51178         * include/signal.h (__sigemptyset): Likewise.
51179         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51181 2014-02-07  Allan McRae  <allan@archlinux.org>
51183         * version.h (RELEASE): Set to "development".
51184         (VERSION): Set to "2.19.90"
51185         * NEWS: Add 2.20 section.
51187 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51189         [BZ #16529]
51190         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51192 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         * manual/contrib.texi: Update entry for Carlos O'Donell,
51195         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51197 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51199         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51201         * sysdeps/unix/sysv/linux/kernel-features.h
51202         [__LINUX_KERNEL_VERSION >= 0x020621]
51203         (__ASSUME_PROC_PID_TASK_COMM): Define.
51205 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51207         [BZ #16398]
51208         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51209         conversion when destination buffer does not have enough space.
51210         * libio/tst-ftell-partial-wide.c: New test case.
51211         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51213         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51214         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51215         Leonard and Allan McRae.
51217 2014-02-04  David S. Miller  <davem@davemloft.net>
51219         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51220         32-bit.
51222 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51225         New file
51226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51227         New file
51228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51229         New file.
51230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51231         New file.
51232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51233         New file.
51234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51235         New file.
51236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51237         New file.
51238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51239         New file.
51240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51241         New file.
51242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51243         New file.
51244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51245         New file.
51246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51247         New file.
51248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51249         New file.
51251 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51253         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51254         * shlib-versions: Likewise.
51256 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51257             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51259         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51260         (abilist-pattern): New variable, set to %-le.abilist.
51262         * Makerules (abilist-pattern): New variable.
51263         (vpath): Use $(abilist-pattern) in place of %.abilist.
51264         (check-abi-% pattern rule): Likewise.
51265         (check-abi, update-abi): Likewise.
51267 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51271 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51273         * manual/startup.texi: Add next, previous, and top entries for
51274         the `Program Arguments' and `Environment Variables' nodes.
51276 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51278         * manual/macros.texi: Add comments before MTASC-safety macros.
51280         * manual/users.texi: Document MTASC-safety properties.
51282         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51283         (pthread_getspecific, pthread_setspecific): Format with
51284         @deftypefun, and add @safety note.
51285         * manual/signal.texi: Move comments that analyze the above
51286         functions to their home place.
51288 2014-02-03  Allan McRae  <allan@archlinux.org>
51290         * po/sl.po: Update Slovenian translation from translation project.
51292 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51294         * manual/time.texi (timegm): Add missing blank after @c.
51295         Reported by Joseph Myers <joseph@codesourcery.com>.
51297 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51299         * manual/check-safety.sh: New.
51300         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51302         * manual/terminal.texi: Document MTASC-safety properties.
51304         * manual/filesys.texi: Document MTASC-safety properties.
51306         * manual/errno.texi: Document MTASC-safety properties.
51308         * manual/intro.texi: Document safety identifiers and
51309         conditionals.
51311         * manual/string.texi (wcstok): Fix prototype.
51312         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51314         * manual/time.texi: Document MTASC-safety properties.
51316         * manual/string.texi: Document MTASC-safety properties.
51318         * manual/threads.texi: Document MTASC-safety properties.
51320         * manual/stdio.texi: Document MTASC-safety properties.
51322         * manual/syslog.texi: Document MTASC-safety properties.
51324         * manual/sysinfo.texi: Document MTASC-safety properties.
51326         * manual/startup.texi: Document MTASC-safety properties.
51328         * manual/socket.texi: Document MTASC-safety properties.
51330         * manual/signal.texi: Document MTASC-safety properties.
51332 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51334         * manual/setjmp.texi: Document MTASC-safety properties.
51336         * manual/search.texi: Document MTASC-safety properties.
51338         * manual/resource.texi: Document MTASC-safety properties.
51340         * manual/process.texi: Document MTASC-safety properties.
51342         * manual/platform.texi: Document MTASC-safety properties.
51344         * manual/pipe.texi: Document MTASC-safety properties.
51346         * manual/pattern.texi: Document MTASC-safety properties.
51348         * manual/message.texi: Document MTASC-safety properties.
51350         [BZ #12751]
51351         * manual/memory.texi: Document MTASC-safety properties.
51353         * manual/math.texi: Document MTASC-safety properties.
51355         * manual/locale.texi: Document MTASC-safety properties.
51357         * manual/llio.texi: Document MTASC-safety properties.
51359         * manual/libdl.texi: New.
51361         * manual/lang.texi: Document MTASC-safety properties.
51363         * manual/job.texi: Document MTASC-safety properties.
51365         * manual/getopt.texi: Document MTASC-safety properties.
51367         * manual/ctype.texi: Document MTASC-safety properties.
51369 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51371         [BZ #16046]
51372         * csu/libc-tls.c (static_map): Remove variable.
51373         (__libc_setup_tls): Use main executable's link map for TLS data.
51374         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51375         casing for LM_ID_BASE and GL(dl_nns).
51376         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51377         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51378         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51379         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51380         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51381         member.
51382         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51383         l_phnum members.
51385 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51387         * manual/debug.texi: Document MTASC-safety properties.
51389 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51391         [BZ #16510]
51392         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51393         of __x86_64__ when disabling x87 inline functions.
51395 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51397         * manual/charset.texi: Document MTASC-safety properties.
51399         * manual/crypt.texi: Document MTASC-safety properties.
51401         * manual/conf.texi: Document MTASC-safety properties.
51403         * manual/arith.texi: Document MTASC-safety properties.
51405         * manual/argp.texi: Document MTASC-safety properties.
51407         * manual/macros.texi: Introduce macros to document multi
51408         thread, asynchronous signal and asynchronous cancellation
51409         safety properties.
51410         * manual/intro.texi: Introduce the properties themselves.
51412 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51414         * sysdeps/sh/sh4/Makefile: New file.
51416 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51418         * math/gen-libm-test.pl ($srcdir): New variable.
51419         ($auto_input): Use it.
51421 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51423         [BZ #16506]
51424         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51425         access beyond array bounds when parsing netgroups file.
51427         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51428         the old buffer before realloc.
51430 2014-01-27  Allan McRae  <allan@archlinux.org>
51432         * po/fr.po: Update French translation from translation project.
51434 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51436         * sysdeps/sh/libm-test-ulps: Regenerate.
51438 2014-01-24  David S. Miller  <davem@davemloft.net>
51440         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51442 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51444         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51445         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51447 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51449         [BZ #16474]
51450         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51451         string pointers after reallocation.
51453 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51455         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51456         __SH4A__ instead of __SH_FPU_ANY__.
51458 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51460         * sysdeps/sh/fpu_control.h: New file.
51461         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51462         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51463         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51464         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51465         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51466         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51467         * sysdeps/sh/sys/ucontext.h: Remove.
51468         * sysdeps/sh/sys: Remove directory.
51470 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51472         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51473         s390/sys/ucontext.h.
51474         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51475         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51477 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51479         [BZ #15605]
51480         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51482 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51484         [BZ #16431]
51485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51486         Adjust the vDSO correctly for internal calls.
51487         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51489 2014-01-20  Allan McRae  <allan@archlinux.org>
51491         * po/ca.po: Update Catalan translation from translation project.
51493 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51495         * sysdeps/s390/sotruss-lib.c: New file.
51497 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51499         [BZ #16430]
51500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51501         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51502         local calls issues by not having a PLT stub required for IFUNC calls.
51503         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51505 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51507         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51508         * math/test-fpucw-static.c: Likewise.
51510 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51512         [BZ #16453]
51513         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51515 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51517         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51518         implementation for powerpc.
51520 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51522         [BZ #14782]
51523         * sysdeps/posix/system.c (__libc_system): Do not enable
51524         asynchronous cancellation.
51526 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51528         [BZ #16427]
51529         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51530         handling only for numbers special also in the IEEE case.
51532 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51536 2014-01-11  Allan McRae  <allan@archlinux.org>
51538         * po/bg.po: Update Bulgarian translation from translation project.
51540         * po/de.po: Update German translation from translation project.
51542 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51544         * sysdeps/generic/gcc-compat.h: New file.
51546 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51548         * benchtests/asin-inputs: Correct slow inputs.
51549         * benchtests/acos-inputs: Likewise.
51551 2014-01-10  Allan McRae  <allan@archlinux.org>
51553         * po:sv.po: Update Swedish translation from translation project.
51555         * po/vi.po: Update Vietnamese translation from translation project.
51557         * po/eo.po: Update Esperanto translation from translation project.
51559         * po/cs.po: Update Czech translation from translation project.
51561         * po/nl.po: Update Dutch translation from translation project.
51563         * po/pl.po: Update Polish translation from translation project.
51565         * po/ru.po: Update Russian translation from translation project.
51567         * po/uk.po: Update Ukrainian translation from translation project.
51569 2014-01-08  Brooks Moses  <bmoses@google.com>
51571         * elf/dl-load.c: Fix comment typo.
51573 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51575         * po/header.pot: Rename to...
51576         * po/pot.header: ... this.
51577         * po/Makefile: Use pot.header.
51579 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51580             Maxim Kuvyrkov  <maxim@kugelworks.com>
51582         [BZ #16394]
51583         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51584         SRC and DEST against LEN.
51586 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51588         [BZ #16414]
51589         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51590         implementation.
51591         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51593 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51597 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #16408]
51600         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51601         for large positive arguments.
51603 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51605         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51607         * math/auto-libm-test-in: Mark various tests with
51608         xfail-rounding:ldbl-128ibm.
51609         * math/auto-libm-test-out: Regenerated.
51611         [BZ #16407]
51612         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51613         Increase overflow threshold.
51615 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51617         [BZ #14286]
51618         * stdio-common/vfprintf.c: Check for integer overflow.
51620 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51622         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51623         the first argument and return value of __tls_get_addr_internal.
51625 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51627         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51628         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51630 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51632         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51633         * sysdeps/s390/rtld-global-offsets.sym: New file.
51634         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51635         GLIBC_2.19 symbol.
51636         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51637         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51639         ... this.
51640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51641         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51642         ... this.
51643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51644         Regenerate.
51645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51646         Regenerate.
51647         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51648         halfs of GPRs for high_gprs contexts.
51649         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51650         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51651         field.
51652         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51653         uc_flags field.
51654         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51655         64 bit versions:
51656         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51657         for high GPRs (uc_high_gprs) and for future extensions
51658         (__reserved).
51659         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51660         for future extensions (__reserved).
51661         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51662         64 bit versions:
51663         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51664         SC_HIGHGPRS offset definition.
51665         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51666         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51668         * Versions.def: Add GLIBC_2.19 for libpthread.
51669         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51670         siglongjmp for libpthread with GLIBC_2.19 symver.
51671         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51672         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51673         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51674         * sysdeps/s390/__longjmp.c: New file.
51675         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51676         * sysdeps/s390/longjmp.c: New file.
51677         * sysdeps/s390/setjmp.S: New file.
51678         * sysdeps/s390/sigjmp.S: New file.
51679         * sysdeps/s390/v1-longjmp.c: New file.
51680         * sysdeps/s390/v1-setjmp.h: New file.
51681         * sysdeps/s390/v1-sigjmp.c: New file.
51682         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51683         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51684         GLIBC_2.19 version.
51685         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51686         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51687         versioned symbols for ____longjmp_chk.
51688         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51689         Likewise.
51690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51691         Regenerate.
51692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51693         Regenerate.
51694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51695         Regenerate.
51696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51697         Regenerate.
51698         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51699         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51700         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51701         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51702         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51703         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51704         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51705         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51706         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51707         * sysdeps/s390/rtld-__longjmp.c: New file.
51708         * sysdeps/s390/rtld-setjmp.S: New file.
51710 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51712         [BZ #16400]
51713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51714         Return -__logl (x) for small positive arguments without evaluating
51715         a polynomial.
51717 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51719         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51720         Rename to ...
51721         (__ptrace_peeksiginfo_args): ... this.
51722         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51726 2014-01-06  Allan McRae  <allan@archlinux.org>
51728         * inet/netinet/in.h: Fix typo in comment.
51730 2014-01-05  Andreas Jaeger  <aj@suse.de>
51732         * sysdeps/i386/fpu/libm-test-ulps: Update.
51734 2014-01-05  Allan McRae  <allan@archlinux.org>
51736         * po/libc.pot: Regenerated.
51738         * malloc/memusagestat.c: Fix gettext call formatting.
51740 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51742         * nscd/nscd.c: Improve usage() output.
51744 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51746         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51747         * sysdeps/unix/sysv/linux/configure: Regenerated.
51748         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51749         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51751 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51753         [BZ #16390]
51754         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51755         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51757 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51760         extra tokens at end of #undef directive.
51761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51762         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51763         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51765 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51767         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51769         * math/auto-libm-test-in: Mark various tests with
51770         xfail-rounding:ldbl-128ibm.
51771         * math/auto-libm-test-out: Regenerated.
51773 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51775         [BZ #16386]
51776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51777         numbers with subnormal high part when calculating exponent.
51779         [BZ #16385]
51780         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51781         fabs.
51783         [BZ #16384]
51784         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51785         M_LN2l.
51786         (__ieee754_acoshl): Use __log1pl not __log1p.
51788 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51790         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51791         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51792         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51793         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51794         (reused_arena, arena_get2): Convert to GNU style.
51795         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51796         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51797         (memalign_check, __malloc_set_state): Likewise.
51798         * malloc/mallocbug.c (main): Likewise.
51799         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51800         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51801         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51802         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51803         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51804         (__posix_memalign, malloc_info): Likewise.
51805         * malloc/malloc.h: Likewise.
51806         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51807         (mallochook, memalignhook, reallochook, mabort): Likewise.
51808         * malloc/mcheck.h: Likewise.
51809         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51810         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51811         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51812         * malloc/morecore.c (__default_morecore): Likewise.
51813         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51814         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51815         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51816         (print_and_abort): Likewise.
51817         * malloc/obstack.h: Likewise.
51818         * malloc/set-freeres.c (__libc_freeres): Likewise.
51819         * malloc/tst-mallocstate.c (main): Likewise.
51820         * malloc/tst-mtrace.c (main): Likewise.
51821         * malloc/tst-realloc.c (do_test): Likewise.
51823 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51825         [BZ #16366]
51826         * nscd/netgroupcache.c (do_notfound): New function.
51827         (addgetnetgrentX): Use it.
51829         [BZ # 16365]
51830         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51831         NSS_STATUS_NOTFOUND.
51833 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51835         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51838 2014-01-01  Allan McRae  <allan@archlinux.org>
51840         * scripts/update-copyrights: Update configure input file suffix.
51842         * NEWS: Update copyright year.
51843         * catgets/gencat.c: Likewise.
51844         * csu/version.c: Likewise.
51845         * debug/catchsegv.sh: Likewise.
51846         * debug/pcprofiledump.c: Likewise.
51847         * debug/xtrace.sh: Likewise.
51848         * elf/ldconfig.c: Likewise.
51849         * elf/ldd.bash.in: Likewise.
51850         * elf/pldd.c: Likewise.
51851         * elf/sotruss.ksh: Likewise.
51852         * elf/sprof.c: Likewise.
51853         * iconv/iconv_prog.c: Likewise.
51854         * iconv/iconvconfig.c: Likewise.
51855         * locale/programs/locale.c: Likewise.
51856         * locale/programs/localedef.c: Likewise.
51857         * login/programs/pt_chown.c: Likewise.
51858         * malloc/memusage.sh: Likewise.
51859         * malloc/memusagestat.c: Likewise.
51860         * malloc/mtrace.pl: Likewise.
51861         * manual/libc.texinfo: Likewise.
51862         * nscd/nscd.c: Likewise.
51863         * nss/getent.c: Likewise.
51864         * nss/makedb.c: Likewise.
51865         * posix/getconf.c: Likewise.
51866         * scripts/test-installation.pl: Likewise.
51868         * All files with FSF copyright notices: Update copyright dates
51869         using scripts/update-copyrights.
51870         * intl/plural.c: Regenerated.
51871         * locale/programs/charmap-kw.h: Likewise.
51872         * locale/programs/locfile-kw.h: Likewise.
51874 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51876         * sysdeps/unix/sysv/linux/configure: Regenerated.
51877         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51878         the linux/fanotify.h header.
51879         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51880         HAVE_LINUX_FANOTIFY_H is defined.
51882 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51884         * benchtests/cos-inputs: New inputs.
51885         * benchtests/sin-inputs: Likewise.
51887         * benchtests/atan-inputs: New inputs. Fix name of multiple
51888         precision fallback inputs.
51890         * benchtests/atanh-inputs: New inputs.
51891         * benchtests/tanh-inputs: Likewise.
51893         * benchtests/acosh-inputs: New inputs.
51894         * benchtests/asinh-inputs: Likewise.
51896         * benchtests/cosh-inputs: New inputs.
51897         * benchtests/sinh-inputs: Likewise.
51899         * benchtests/acos-inputs: Add more inputs.
51900         * benchtests/asin-inputs: Likewise.
51902 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51904         [BZ #16375]
51905         * manual/arith.texi: Fix spelling.
51906         * manual/charset.texi: Likewise.
51907         * manual/errno.texi: Likewise.
51908         * manual/filesys.texi: Likewise.
51909         * manual/lang.texi: Likewise.
51910         * manual/llio.texi: Likewise.
51911         * manual/locale.texi: Likewise.
51912         * manual/message.texi: Likewise.
51913         * manual/resource.texi: Likewise.
51914         * manual/search.texi: Likewise.
51915         * manual/setjmp.texi: Likewise.
51916         * manual/stdio.texi: Likewise.
51917         * manual/string.texi: Likewise.
51918         * manual/sysinfo.texi: Likewise.
51919         * manual/time.texi: Likewise.
51921 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51923         * po/sl.po: New file.
51925 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51927         * .gitignore: Add core/.gdbinit/.gdb_history.
51929 2013-12-27  Allan McRae  <allan@archlinux.org>
51931         [BZ #16369]
51932         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51933         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51935 2013-12-24  Brooks Moses  <bmoses@google.com>
51937         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51938         all compilers that claim C++98 compliance, not just GCC.
51939         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51940         Likewise.
51942 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51944         * NEWS: Restore accidentally deleted bug-fix entries.
51946 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51947             Ondřej Bílka  <neleai@seznam.cz>
51949         [BZ #15073]
51950         * malloc/malloc.c (_int_free): Perform sanity check only if we
51951         have_lock.
51953 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51955         [BZ #12986]
51956         * manual/stdio.texi (String Input Conversions): Clarify that character
51957         classes are not supported.
51959 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51963 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51965         [BZ #16337]
51966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51967         Calculate results for small negative arguments directly rather
51968         than using reflection formula with special underflow handling.
51970         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51971         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51972         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51973         (fchflags): Likewise.
51974         (revoke): Likewise.
51975         (setlogin): Likewise.
51976         (sigaltstack): Likewise.
51977         (wait4): Likewise.
51978         (sigblock): Remove.
51979         (sigsetmask): Likewise.
51980         (wait3): Likewise.
51981         (waitpid): Likewise.
51982         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51983         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51984         file.
51985         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51986         * sysdeps/unix/bsd/Makefile: ... here.
51987         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51988         * sysdeps/unix/bsd/Versions: ... here.
51989         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51990         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51991         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51992         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51993         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51994         * sysdeps/unix/bsd/sigblock.c: ... here.
51995         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51996         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51997         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51998         * sysdeps/unix/bsd/sigvec.c: ... here.
51999         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52000         * sysdeps/unix/bsd/tcdrain.c: ... here.
52001         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52002         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52003         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52004         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52005         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52006         * sysdeps/unix/bsd/wait.c: ... here.
52007         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52008         * sysdeps/unix/bsd/wait3.c: ... here.
52009         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52010         * sysdeps/unix/bsd/waitpid.c: ... here.
52012 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52014         [BZ #16356]
52015         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52016         round-to-nearest for [!USE_AS_EXPM1L].
52017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52018         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52019         more tests of exp and exp10.  Expect some exp10 tests to miss
52020         exceptions or fail in directed rounding modes.
52021         * math/auto-libm-test-out: Regenerated.
52022         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52023         (exp10_test_tonearest): New function.
52024         (exp10_towardzero_test_data): New array.
52025         (exp10_test_towardzero): New function.
52026         (exp10_downward_test_data): New array.
52027         (exp10_test_downward): New function.
52028         (exp10_upward_test_data): New array.
52029         (exp10_test_upward): New function.
52030         (main): Call the new functions.
52031         * sysdeps/i386/fpu/libm-test-ulps: Update.
52032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52034 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52036         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52037         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52038         * math/auto-libm-test-out: Regenerated.
52039         * math/libm-test.inc (acosh_test_data): Add more tests.
52040         (atanh_test_data): Likewise.
52041         (ceil_test_data): Likewise.
52042         (copysign_test_data): Likewise.
52043         * sysdeps/i386/fpu/libm-test-ulps: Update.
52044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52046         * timezone/checktab.awk: Update from tzcode 2013i.
52047         * timezone/private.h: Likewise.
52048         * timezone/scheck.c: Likewise.
52049         * timezone/tzfile.h: Likewise.
52050         * timezone/tzselect.ksh: Likewise.
52051         * timezone/zdump.c: Likewise.
52052         * timezone/zic.c: Likewise.
52054         * math/auto-libm-test-in: Add tests of cpow.
52055         * math/auto-libm-test-out: Regenerated.
52056         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52057         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52058         mpc_cc_c.
52059         (func_calc_desc): Add mpc_cc_c union field.
52060         (test_functions): Add cpow.
52061         (special_fill_2pi): New function.
52062         (special_real_inputs): Add 2pi.
52063         (calc_generic_results): Handle mpc_cc_c.
52064         * sysdeps/i386/fpu/libm-test-ulps: Update.
52065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52067         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52068         csqrt, ctan and ctanh.
52069         * math/auto-libm-test-out: Regenerated.
52070         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52071         (TEST_COND_x86): Likewise.
52072         (ccos_test_data): Use AUTO_TESTS_c_c.
52073         (ccosh_test_data): Likewise.
52074         (cexp_test_data): Likewise.
52075         (clog_test_data): Likewise.
52076         (csqrt_test_data): Likewise.
52077         (ctan_test_data): Likewise.
52078         (ctan_tonearest_test_data): Likewise.
52079         (ctan_towardzero_test_data): Likewise.
52080         (ctan_downward_test_data): Likewise.
52081         (ctan_upward_test_data): Likewise.
52082         (ctanh_test_data): Likewise.
52083         (ctanh_tonearest_test_data): Likewise.
52084         (ctanh_towardzero_test_data): Likewise.
52085         (ctanh_downward_test_data): Likewise.
52086         (ctanh_upward_test_data): Likewise.
52087         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52088         mpc_c_c.
52089         (func_calc_desc): Add mpc_c_c union field.
52090         (FUNC_mpc_c_c): New macro.
52091         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52092         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52093         ctanh.
52094         (special_fill_min_subnorm_p120): New function.
52095         (special_real_inputs): Add min_subnorm_p120.
52096         (calc_generic_results): Handle mpc_c_c.
52097         * sysdeps/i386/fpu/libm-test-ulps: Update.
52098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52100 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52102         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52103         (do_sin_slow): New functions.
52104         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52105         (cslow2, csloww1, csloww2): Use the new functions.
52107         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52108         Use M to change sign of result instead of X.  Assume X is
52109         positive.
52110         (csloww1): Likewise.
52111         (__sin): Adjust.
52112         (__cos): Adjust.
52114         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52115         arguments A and DA.
52116         (__sin): Adjust.
52117         (__cos): Likewise.
52119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52120         (__cos): Likewise.
52121         (sloww1): Don't adjust sign of DX.
52122         (csloww1): Likewise.
52123         (sloww2): Use X directly and don't adjust sign of DX.
52124         (csloww2): Likewise.
52126 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52128         * math/auto-libm-test-in: Add tests of cabs and carg.
52129         * math/auto-libm-test-out: Regenerated.
52130         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52131         (carg_test_data): Likewise.
52132         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52133         mpc_c_f.
52134         (func_calc_desc): Add mpc_c_f union field.
52135         (test_functions): Add cabs and carg.
52136         (calc_generic_results): Handle mpc_c_f.
52138         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52139         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52140         as a macro and a compat symbol.
52141         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52142         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52143         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52144         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52145         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52147         not use .hidden.
52148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52149         Likewise.
52150         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52151         Likewise.
52152         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52153         Likewise.
52154         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52155         Likewise.
52156         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52157         Likewise.
52158         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52159         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52160         from GLIBC_2.3.2.
52162 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52166 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52168         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52169         trailing whitespace removed.
52170         * scripts/config.guess: Update to version 2013-11-29.
52171         * scripts/config.sub: Update to version 2013-10-01.
52173         * math/auto-libm-test-in: Add tests of sincos.
52174         * math/auto-libm-test-out: Regenerated.
52175         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52177         mpfr_f_11.
52178         (func_calc_desc): Add mpfr_f_11 union field.
52179         (test_functions): Add sincos.
52180         (calc_generic_results): Handle mpfr_f_11.
52181         * sysdeps/i386/fpu/libm-test-ulps: Update.
52182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52184 2013-12-19  Andreas Schwab  <schwab@suse.de>
52186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52187         CALL_MCOUNT.
52188         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52189         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52190         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52192 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52194         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52195         * sysdeps/i386/fpu/libm-test-ulps: Update.
52196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52198         [BZ #16293]
52199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52200         round-to-nearest mode when using frndint.
52201         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52202         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52204         Likewise.
52205         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52206         sinh test to fail.
52207         * math/auto-libm-test-out: Regenerated.
52208         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52209         (TEST_COND_x86): Likewise.
52210         (expm1_tonearest_test_data): New array.
52211         (expm1_test_tonearest): New function.
52212         (expm1_towardzero_test_data): New array.
52213         (expm1_test_towardzero): New function.
52214         (expm1_downward_test_data): New array.
52215         (expm1_test_downward): New function.
52216         (expm1_upward_test_data): New array.
52217         (expm1_test_upward): New function.
52218         (main): Run the new test functions.
52219         * sysdeps/i386/fpu/libm-test-ulps: Update.
52220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52222         * include/features.h: Update comment documenting feature test
52223         macros.  Mention _DEFAULT_SOURCE in comment.
52224         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52225         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52226         _BSD_SOURCE and _SVID_SOURCE.
52227         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52228         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52229         !_SVID_SOURCE]: Likewise.
52230         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52231         (__USE_POSIX_IMPLICITLY): Define.
52232         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52233         (_POSIX_SOURCE): Undefine and redefine.
52234         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52235         (_POSIX_C_SOURCE): Likewise.
52236         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52237         (Feature Test Macros): Update documentation of default features.
52239 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52241         * benchtests/Makefile: Add bench-strtok.
52242         * benchtests/bench-strtok.c: New file: strtok benchtest.
52244 2013-12-19  Allan McRae  <allan@archlinux.org>
52246         * manual/install.texi: Suppress menu for plain text output.
52247         * INSTALL: Regenerated.
52249 2013-12-18  Brooks Moses  <bmoses@google.com>
52251         [BZ #15846]
52252         * misc/getauxval.c: Include errno.h.
52253         (__getauxval): Set errno to ENOENT if the requested type is not
52254         found.
52255         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52256         don't declare with __attribute_const__.
52257         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52258         * manual/startup.texi: Document that getauxval sets errno.
52260 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52262         * math/auto-libm-test-in: Add tests of jn and yn.
52263         * math/auto-libm-test-out: Regenerated.
52264         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52265         (yn_test_data): Likewise.
52266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52267         mpfr_if_f.
52268         (func_calc_desc): Add mpfr_if_f union field.
52269         (FUNC_mpfr_if_f): New macro.
52270         (test_functions): Add jn and yn.
52271         (calc_generic_results): Assert type of second input for
52272         mpfr_ff_f.  Handle mpfr_if_f.
52273         (output_for_one_input_case): Disable all checking for arguments
52274         fitting floating-point types in case of an integer argument.
52275         * sysdeps/i386/fpu/libm-test-ulps: Update.
52276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52279         Don't expect fegetround reference in libm.so.
52281 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52283         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52284         $(config-cflags-nofma).
52286 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52288         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52289         * math/auto-libm-test-out: Regenerated.
52291         [BZ #16338]
52292         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52293         to determine exponent and adjust argument to have exponent of -1.
52294         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52295         log2.
52296         * math/auto-libm-test-out: Regenerated.
52297         * sysdeps/i386/fpu/libm-test-ulps: Update.
52298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52300 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52302         * manual/probes.texi: Remove cases when per-thread arenas are
52303         disabled.
52305 2013-12-18  Andreas Schwab  <schwab@suse.de>
52307         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52308         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52309         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52310         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52311         * sysdeps/i386/i686/multiarch/Makefile: Update.
52312         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52314 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52316         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52317         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52319 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52321         [BZ #15968]
52322         Support TZ transition times < 00:00:00.
52323         This is needed for version-3 tz-format files; it supports time
52324         stamps past 2037 for America/Godthab (the only entry in the tz
52325         database for which this change is relevant).
52326         * manual/time.texi (TZ Variable): Document transition times
52327         from -167:59:59 through -00:00:01.
52328         * time/tzset.c (tz_rule): Time of day is now signed.
52329         (__tzset_parse_tz): Parse negative time of day.
52331         Document TZ transition times >= 25:00:00.
52332         * manual/time.texi (TZ Variable): Document transition times from
52333         25:00:00 through 167:59:59.  These are already supported, and this
52334         support will help with version-3 tz-format files.
52336         * manual/time.texi (TZ Variable): Modernize North America example
52337         to reflect current (i.e., 2007-and-later) daylight saving rules.
52339         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52341 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52343         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52344         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52345         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52347         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52348         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52349         * sysdeps/unix/bsd/clock.c: Likewise.
52350         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52351         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52352         * sysdeps/unix/bsd/init-posix.c: Likewise.
52353         * sysdeps/unix/bsd/poll.c: Likewise.
52354         * sysdeps/unix/bsd/ptsname.c: Likewise.
52355         * sysdeps/unix/bsd/seekdir.c: Likewise.
52356         * sysdeps/unix/bsd/setegid.c: Likewise.
52357         * sysdeps/unix/bsd/seteuid.c: Likewise.
52358         * sysdeps/unix/bsd/setgid.c: Likewise.
52359         * sysdeps/unix/bsd/setrgid.c: Likewise.
52360         * sysdeps/unix/bsd/setruid.c: Likewise.
52361         * sysdeps/unix/bsd/setsid.c: Likewise.
52362         * sysdeps/unix/bsd/setuid.c: Likewise.
52363         * sysdeps/unix/bsd/sigaction.c: Likewise.
52364         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52365         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52366         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52367         * sysdeps/unix/bsd/telldir.c: Likewise.
52368         * sysdeps/unix/bsd/times.c: Likewise.
52369         * sysdeps/unix/bsd/usleep.c: Likewise.
52371         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52372         ($(objpfx)libbsd-compat.a): Remove rule.
52374         * include/features.h (__FAVOR_BSD): Do not define.
52375         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52376         features conflicting with POSIX.
52377         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52378         (_BSD_SOURCE): Remove description of not being a subset of other
52379         feature test macros.
52380         * manual/job.texi (getpgrp): Do not document BSD version.
52381         (getpgid): Do not document by reference to BSD getpgrp.
52382         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52383         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52384         * signal/signal.h [__FAVOR_BSD]: Likewise.
52385         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52386         instead of making contents conditional on [__FAVOR_BSD].
52387         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52389 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52393 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52395         [BZ #16314]
52396         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52397         values below 2**-450, not 2**-500.
52398         * math/auto-libm-test-in: Don't allow spurious underflow from
52399         hypot.
52400         * math/auto-libm-test-out: Regenerated.
52402         [BZ #16316]
52403         [BZ #16330]
52404         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52405         values of ha and hb and sort them after adjusting subnormal
52406         arguments.
52407         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52408         Likewise.
52409         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52410         values of ea and eb and sort them after adjusting subnormal
52411         arguments.
52412         * math/auto-libm-test-in: Do not expect some hypot tests of
52413         subnormals to fail.  Add more hypot tests.
52414         * math/auto-libm-test-out: Regenerated.
52416 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52418         [BZ #13304]
52419         * sysdeps/sh/s_fma.c: New file.
52420         * sysdeps/sh/s_fmaf.c: New file.
52421         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52422         version.
52423         * sysdeps/sh/Implies: Add sh/soft-fp.
52425 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52427         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52428         level of indirection to members `objname', `errstring', `malloced'.
52429         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52430         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52431         it as the __longjmp argument (just pass 1 instead).
52432         (_dl_catch_error): Initialize C with argument pointers and address of
52433         volatile local ERRCODE rather than copying values out of C at return.
52435 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52437         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52438         * math/auto-libm-test-out: Regenerated.
52439         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52440         (hypot_test_data): Likewise.
52441         (pow_test_data): Likewise.
52442         (pow_tonearest_test_data): Likewise.
52443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52444         mpfr_ff_f.
52445         (func_calc_desc): Add mpfr_ff_f union field.
52446         (FUNC_mpfr_ff_f): New macro.
52447         (test_functions): Add atan2, hypot and pow.
52448         (special_fill_min): New function.
52449         (special_fill_minus_min): Likewise.
52450         (special_fill_min_subnorm): Likewise.
52451         (special_fill_minus_min_subnorm): Likewise.
52452         (special_real_inputs): Add min, -min, min_subnorm and
52453         -min_subnorm.
52454         (calc_generic_results): Handle mpfr_ff_f.
52455         * sysdeps/i386/fpu/libm-test-ulps: Update.
52456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52458 2013-12-16  Will Newton  <will.newton@linaro.org>
52460         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52461         (Aligned Memory Blocks): Add documentation for aligned_alloc
52462         and suggest it as an alternative to posix_memalign.
52463         (Hooks for Malloc): Document __memalign_hook is also called
52464         for aligned_alloc.  (Summary of Malloc): Add summary for
52465         aligned alloc.  Document __memalign_hook is also called
52466         for aligned_alloc.
52468 2013-12-16  Will Newton  <will.newton@linaro.org>
52470         * manual/memory.texi (Malloc Examples): Clarify default
52471         alignment documentation.  Suggest posix_memalign rather
52472         than memalign or valloc.
52473         (Aligned Memory Blocks): Remove suggestion to use memalign
52474         or valloc.  Remove obsolete comment about BSD.
52475         Document memalign errno values and mark the function obsolete.
52476         Document posix_memalign returned error codes.  Mark valloc
52477         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52478         called for posix_memalign and valloc.
52479         (Summary of Malloc): Add posix_memalign to function summary.
52480         __memalign_hook is also called for posix_memalign and valloc.
52482 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52484         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52485         TAYLOR_SIN.
52486         (__sin): Adjust.
52487         (__cos): Likewise.
52488         (sloww): Use mynumber union.  Expand ternary operator into
52489         if-else statements.
52490         (cslow): use mynumber union.
52492 2013-12-16  Allan McRae  <allan@archlinux.org>
52494         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52495         * configure: Regenerated.
52497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52499         [BZ #14120]
52500         * configure.ac: Added --enable-maintainer-mode. Check for
52501         autoconf when enabled.
52502         * configure: Regenerated.
52504         * nscd/nscd.service: New file.
52505         * nscd/nscd.tmpfiles: New file.
52507 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52509         [BZ #12100]
52510         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52511         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52512         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52513         (strstr): Add __strstr_sse2_unaligned ifunc.
52514         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52515         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52516         (strcasestr): Remove __strcasestr_sse42 ifunc.
52517         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52521 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52523         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52524         * sysdeps/sh/bits/fenv.h: ... here.
52525         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52527 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52529         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52532         hypotf multiarch implementations.
52533         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52534         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52536         multiarch hypot for PPC64.
52537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52538         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52540         multiarch hypotf for PPC64.
52542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52543         modff multiarch implementations.
52544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52547         multiarch modf for PPC64.
52548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52551         multiarch modff for PPC64.
52553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52554         and logl multiarch implementations.
52555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52558         multiarch logb for PPC64.
52559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52562         multiarch logb for PPC64.
52563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52566         multiarch logb for PPC64.
52568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52569         isinff multiarch implementation.
52570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52571         file.
52572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52574         multiarch isinf for PPC64.
52575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52576         file.
52577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52578         multiarch isinff for PPC64.
52580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52581         finitef multiarch implementation.
52582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52583         file.
52584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52586         multiarch finite for PPC64.
52587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52588         file.
52589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52590         multiarch finitef for PPC64.
52592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52593         lrint multiarch implementation.
52594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52595         file.
52596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52598         multiarch llrint for PPC64.
52599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52600         multiarch lrint for PPC64.
52602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52603         copysignf multiarch implementation.
52604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52605         file.
52606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52607         file.
52608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52609         multiarch copysign for PPC64.
52610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52611         multiarch copysignf for PPC64.
52613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52614         multiarch implementation.
52615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52616         file.
52617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52618         file.
52619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52620         file.
52621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52622         file.
52623         multiarch llround for PPC64.
52624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52625         multiarch trunc for PPC64.
52626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52627         multiarch truncf for PPC64.
52629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52630         multiarch implementation.
52631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52632         file.
52633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52634         file.
52635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52636         file.
52637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52638         file.
52639         multiarch llround for PPC64.
52640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52641         multiarch round for PPC64.
52642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52643         multiarch roundf for PPC64.
52645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52646         multiarch implementation.
52647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52648         file.
52649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52650         file.
52651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52652         file.
52653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52654         file.
52655         multiarch llround for PPC64.
52656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52657         multiarch floor for PPC64.
52658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52659         multiarch floorf for PPC64.
52661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52662         multiarch implementation.
52663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52664         file.
52665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52666         file.
52667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52668         file.
52669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52670         file.
52671         multiarch llround for PPC64.
52672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52673         multiarch ceil for PPC64.
52674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52675         multiarch ceilf for PPC64.
52677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52678         multiarch implementation.
52679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52680         file.
52681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52682         file.
52683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52684         file.
52685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52686         multiarch llround for PPC64.
52687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52688         multiarch lround for PPC64.
52690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52691         multiarch implementation.
52692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52695         file.
52696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52699         multiarch isnan for PPC64.
52700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52701         multiarch isnanf for PPC64.
52703         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52704         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52705         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52706         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52707         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52710         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52711         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52716         multiarch implementations.
52717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52718         (__libc_ifunc_impl_list): Likewise.
52719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52722         multiarch stpcpy for PPC64.
52724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52725         multiarch implementations.
52726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52727         (__libc_ifunc_impl_list): Likewise.
52728         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52729         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52730         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52731         multiarch strcpy for PPC64.
52733         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52734         redefine function name.
52735         (_wordcopy_fwd_dest_aligned): Likewise.
52736         (_wordcopy_bwd_aligned): Likewise.
52737         (_wordcopy_bwd_dest_aligned): Likewise.
52738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52739         multiarch implementations.
52740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52741         (__libc_ifunc_impl_list): Likewise.
52742         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52743         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52744         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52745         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52746         multiarch wcscpy for PPC64.
52748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52749         multiarch implementations.
52750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52751         (__libc_ifunc_impl_list): Likewise.
52752         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52753         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52755         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52756         multiarch wcscpy for PPC64.
52758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52759         multiarch implementations.
52760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52761         (__libc_ifunc_impl_list): Likewise.
52762         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52763         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52764         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52765         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52766         multiarch wcsrchr for PPC64.
52768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52769         multiarch implementations.
52770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52771         (__libc_ifunc_impl_list): Likewise.
52772         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52773         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52774         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52775         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52776         multiarch wcschr for PPC64.
52778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52779         multiarch implementations.
52780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52781         (__libc_ifunc_impl_list): Likewise.
52782         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52783         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52784         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52785         multiarch strchrnul for PPC64.
52787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52788         implementations.
52789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52790         (__libc_ifunc_impl_list): Likewise.
52791         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52792         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52793         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52794         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52795         strchr for PPC64.
52797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52798         implementations.
52799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52800         (__libc_ifunc_impl_list): Likewise.
52801         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52802         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52803         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52804         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52805         strncmp for PPC64.
52807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52808         multiarch implementations.
52809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52810         (__libc_ifunc_impl_list): Likewise.
52811         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52812         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52813         strncasecmp for PPC64.
52814         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52815         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52816         multiarch strncasecmp_l for PPC64.
52818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52819         multiarch implementations.
52820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52821         (__libc_ifunc_impl_list): Likewise.
52822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52824         multiarch strcasecmp for PPC64.
52825         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52826         file.
52827         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52828         multiarch strcasecmp_l for PPC64.
52830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52831         implementations.
52832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52833         (__libc_ifunc_impl_list): Likewise.
52834         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52835         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52836         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52837         strnlen for PPC64.
52839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52840         implementations.
52841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52842         (__libc_ifunc_impl_list): Likewise.
52843         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52844         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52846         strlen for PPC64.
52848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52849         implementations.
52850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52851         (__libc_ifunc_impl_list): Likewise.
52852         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52853         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52854         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52855         rawmemrchr for PPC64.
52857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52858         implementation.
52859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52860         (__libc_ifunc_impl_list): Likewise.
52861         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52862         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52863         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52864         memrchr for PPC64.
52866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52867         implementation.
52868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52869         (__libc_ifunc_impl_list): Likewise.
52870         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52871         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52872         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52873         memchr for PPC64.
52875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52876         implementation.
52877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52878         (__libc_ifunc_impl_list): Likewise.
52879         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52880         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52881         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52882         mempcpy for PPC64.
52884         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52885         avoid cretion of __bzero symbol.
52886         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52887         Likewise.
52888         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52889         Likewise.
52890         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52891         Likewise.
52892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52893         multiarch implementations.
52894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52895         (__libc_ifunc_impl_list): Likewise.
52896         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52897         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52898         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52899         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52900         bzero for PPC32.
52901         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52902         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52903         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52904         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52905         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52906         memset for PPC64.
52907         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52909         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52911         implementations.
52912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52913         (__libc_ifunc_impl_list): Likewise.
52914         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52915         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52916         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52917         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52918         memcmp for PPC64.
52920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52921         multiarch for POWER/PPC64.
52922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52923         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52924         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52925         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52926         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52927         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52928         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52929         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52930         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52931         memcpy for PPC64.
52933         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52934         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52935         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52936         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52937         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52938         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52939         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52940         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52941         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52942         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52943         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52944         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52945         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52946         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52947         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52956 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52958         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52960 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52962         * benchtests/Makefile (bench): Add exp2 and log2.
52963         (LDLIBS-bench-exp2): Add -lm.
52964         (LDLIBS-bench-log2): Likewise.
52965         * benchtests/exp2-inputs: New inputs file.
52966         * benchtests/log2-inputs: New inputs file.
52967         * benchtests/log-inputs: Add new inputs.
52968         * benchtests/tan-inputs: Likewise.
52970 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52973         definition...
52974         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52975         (csloww2): ... from here.
52977         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52978         instead of structures.
52979         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52980         (POLYNOMIAL): Likewise.
52981         (TAYLOR_SLOW): Likewise.
52982         (__sin): Likewise.
52983         (__cos): Likewise.
52984         (slow1): Likewise.
52985         (slow2): Likewise.
52986         (sloww): Likewise.
52987         (sloww1); Likewise.
52988         (sloww2): Likewise.
52989         (bsloww1): Likewise.
52990         (bsloww2): Likewise.
52991         (cslow2): Likewise.
52992         (csloww): Likewise.
52993         (csloww1): Likewise.
52994         (csloww2): Likewise.
52996 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52998         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52999         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53000         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53001         * malloc/hooks.c (realloc_check): Likewise.
53003         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53004         * malloc/arena.c: Remove PER_THREAD conditional.
53005         [!PER_THREAD]: Remove code.
53006         (ptmalloc_unlock_all2): Likewise.
53007         (ptmalloc_init): Likewise.
53008         (_int_new_arena): Likewise.
53009         (arena_get2): Likewise.
53010         * malloc/hooks.c (__malloc_get_state): Likewise.
53011         (__malloc_set_state): Likewise.
53012         * malloc/malloc.c: Likewise.
53013         (struct malloc_state): Likewise.
53014         (struct malloc_par): Likewise.
53015         (__libc_realloc): Likewise.
53016         (__libc_mallopt): Likewise.
53018 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53020         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53022 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53024         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53025         macro to a function.  Check for zero perturb_byte.
53026         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53028         * malloc/malloc.c: (force_reg): Remove.
53029         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53030         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53031         force_reg by atomic_forced_read.
53032         * malloc/arena.c (ptmalloc_init): Likewise.
53033         * malloc/hooks.c (top_check): Likewise.
53035 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53039 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53043 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53045         * math/auto-libm-test-in: Add tests of lgamma.
53046         * math/auto-libm-test-out: Regenerated.
53047         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53048         (M_LOG_2_SQRT_PIl): Likewise.
53049         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53051         mpfr_f_f1.
53052         (func_calc_desc): Add mpfr_f_f1 union field.
53053         (ARGS1): New macro.
53054         (ARGS2): Likewise.
53055         (ARGS3): Likewise.
53056         (ARGS4): Likewise.
53057         (RET1): Likewise.
53058         (RET2): Likewise.
53059         (CALC): Likewise.
53060         (FUNC): Likewise.
53061         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53062         (test_functions): Add lgamma.
53063         (calc_generic_results): Handle mpfr_f_f1.
53064         * sysdeps/i386/fpu/libm-test-ulps: Update.
53065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53069         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53070         __mpn_add_n for PowerPC64/POWER7.
53071         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53072         __mpn_sub_n for PowerPC64/POWER7.
53074         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53075         __mpn_addmul_1 for PowerPC64.
53076         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53077         __mpn_submul_1 for PowerPC64.
53078         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53079         for PowerPC64.
53080         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53081         for PowerPC64.
53083 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53085         [BZ #15089]
53086         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53090         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53092         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53093         add multiarch folders.
53094         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53095         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53096         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53097         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53098         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53099         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53100         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53101         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53102         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53103         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53104         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53113         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53115         New file.
53116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53117         New file.
53118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53119         multiarch __ieee754_hypot for PowerPC32.
53120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53121         New file.
53122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53123         New file.
53124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53125         multiarch __ieee754_hypotf for PowerPC32.
53127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53128         long_double_symbol only if __logbl is defined.
53129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53130         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53132         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53134         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53135         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53136         path for implementation.
53137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53138         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53140         logb, and logbl multiarch implementations for PowerPC32.
53141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53142         file.
53143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53144         file.
53145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53146         multiarch logb for PowerPC32.
53147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53148         file.
53149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53150         file.
53151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53152         multiarch logbf for PowerPC32.
53153         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53155         file.
53156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53157         multiarch logbl implementation for PowerPC32.
53159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53160         and modff multiarch implementations.
53161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53162         New file.
53163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53164         New file.
53165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53166         multiarch modf for PowerPC32.
53167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53168         New file.
53169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53170         New file.
53171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53172         multiarch modff for PowerPC32.
53174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53175         and lrintf multiarch implementations.
53176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53177         New file.
53178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53179         New file.
53180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53181         multiarch lrint for PowerPC32.
53182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53183         file: multiarch lrintf for PowerPC32.
53185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53186         and lroundf multiarch implementations.
53187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53188         New file.
53189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53190         New file.
53191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53192         New file.
53193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53194         multiarch lround for PowerPC32.
53195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53196         file: multiarch lroundf for PowerPC32.
53198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53199         copysign and copysignf multiarch implementations.
53200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53201         New file.
53202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53203         New file.
53204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53205         file: multiarch copysign for PowerPC32.
53206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53207         file: multiarch copysignf for PowerPC32.
53209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53210         and truncf multiarch implementations.
53211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53212         New file.
53213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53214         file.
53215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53216         multiarch trunc for PowerPC32.
53217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53218         New file.
53219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53220         New file.
53221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53222         multiarch truncf for PowerPC32.
53224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53225         and roundf multiarch implementations.
53226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53227         New file.
53228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53229         file.
53230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53231         multiarch round for PowerPC32.
53232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53233         New file.
53234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53235         New file.
53236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53237         multiarch roundf for PowerPC32.
53239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53240         and floorf multiarch implementations.
53241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53242         New file.
53243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53244         file.
53245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53246         multiarch floor for PowerPC32.
53247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53248         New file.
53249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53250         New file.
53251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53252         multiarch floorf for PowerPC32.
53254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53255         and ceilf multiarch implementations.
53256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53257         New file.
53258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53259         file.
53260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53261         multiarch ceil for PowerPC32.
53262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53263         New file.
53264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53265         file.
53266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53267         multiarch ceilf for PowerPC32.
53269         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53270         is defined.
53271         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53272         FINITEF is defined.
53273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53274         and finitef multiarch implementations.
53275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53276         New file.
53277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53278         file.
53279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53280         multiarch finite for PowerPC32.
53281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53282         New file.
53283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53284         file: multiarch finitef for PowerPC32.
53286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53287         and isinff multiarch implementations.
53288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53289         file.
53290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53291         file.
53292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53293         multiarch isinf for PowerPC32.
53294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53295         New file.
53296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53297         multiarch isinff for PowerPC32.
53299         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53300         alias when __isnan is defined.
53301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53302         and isnanf multiarch implementations.
53303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53304         file.
53305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53306         file.
53307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53308         file.
53309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53310         file.
53311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53312         multiarch isnan for PowerPC32.
53313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53314         New file.
53315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53316         New file.
53317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53318         multiarch isnanf for PowerPC32.
53320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53321         and sqrtf multiarch implementations.
53322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53323         file.
53324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53325         file.
53326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53327         multiarch sqrt for PowerPC32.
53328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53329         file.
53330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53331         file.
53332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53333         multiarch sqrtf for PowerPC32.
53335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53336         and llroundf multiarch implementations.
53337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53338         New file.
53339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53340         New file.
53341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53342         New file.
53343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53344         file: multiarch llround for PowerPC32.
53345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53346         file: multiarch llroundf for PowerPC32.
53348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53349         multiarch PowerPC32 fpu implementations.
53350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53351         New file.
53352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53353         New file.
53354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53355         multiarch llrint for PowerPC32.
53356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53357         New file.
53358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53359         New file.
53360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53361         file.
53363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53365         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53366         file.
53367         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53368         file.
53369         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53370         file.
53371         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53372         multiarch wordcopy for PPC32.
53373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53374         wordcopy objects.
53375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53376         (__libc_ifunc_impl_list): Likewise.
53377         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53378         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53379         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53380         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53381         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53382         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53384         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53386         file.
53387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53388         file.
53389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53390         file.
53391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53392         multiarch wcscpy for PPC32.
53393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53394         multiarch objects.
53395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53396         (__libc_ifunc_impl_list): Likewise.
53397         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53398         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53399         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53400         sysdeps/powerpc/power6/wcscpy.c.
53402         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53404         file.
53405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53406         file.
53407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53408         file.
53409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53410         multiarch wcsrchr for PPC32.
53411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53412         multiarch objects.
53413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53414         (__libc_ifunc_impl_list): Likewise.
53415         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53416         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53417         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53418         sysdeps/powerpc/power6/wcsrchr.c.
53420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53421         file.
53422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53423         file.
53424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53426         multiarch wcschr for PPc32.
53427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53428         multiarch objects.
53429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53430         (__libc_ifunc_impl_list): Likewise.
53431         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53432         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53433         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53434         sysdeps/powerpc/power6/wcschr.c.
53436         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53438         file.
53439         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53440         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53441         file: multiarch strchr for PPC32.
53442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53443         multiarch objects.
53444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53445         (__libc_ifunc_impl_list): Likewise.
53447         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53448         name.
53449         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53450         file.
53451         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53452         file.
53453         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53454         multiarch strchrnul for PPC32.
53455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53456         multiarch objects.
53457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53458         (__libc_ifunc_impl_list): Likewise.
53460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53461         file.
53462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53463         multiarch strncasecmp for PPC32.
53464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53465         file.
53466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53467         multiarch strncasecmp_l for PPC32.
53468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53469         strncasecmp multiarch objects.
53470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53471         (__libc_ifunc_impl_list): Likewise.
53473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53474         file.
53475         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53476         multiarch strncasecmp for PPC32.
53477         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53478         New file.
53479         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53480         multiarch strcasecmp_l for PPC32.
53481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53482         multiarch objects.
53483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53484         (__libc_ifunc_impl_list): Likewise.
53486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53487         file.
53488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53489         file.
53490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53491         multiarch strncmp for PPC32.
53492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53493         multiarch objects.
53494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53495         (__libc_ifunc_impl_list): Likewise.
53497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53498         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53499         file.
53500         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53501         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53503         multiarch objects.
53504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53505         (__libc_ifunc_impl_list): Likewise.
53507         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53508         file.
53509         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53510         file.
53511         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53513         multiarch objects.
53514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53515         (__libc_ifunc_impl_list): Likewise.
53517         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53518         file.
53519         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53520         file.
53521         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53522         multiarch rawmemchr for PPC32.
53523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53524         multiarch objects.
53525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53526         (__libc_ifunc_impl_list): Likewise.
53528         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53529         file.
53530         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53531         file.
53532         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53533         file: memrchr multiarch for PPC32.
53534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53535         multiarch objects.
53536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53537         (__libc_ifunc_impl_list): Likewise.
53539         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53541         file.
53542         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53543         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53544         multiarch memchr for PPC32.
53545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53546         multiarch objects.
53547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53548         (__libc_ifunc_impl_list): Likewise.
53550         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53551         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53552         file.
53553         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53554         file.
53555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53556         file: multiarch mempcpy for PPC32.
53557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53558         multiarch objects.
53559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53560         (__libc_ifunc_impl_list): Likewise.
53562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53563         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53564         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53566         multiarch bzero for PPC32.
53567         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53568         file.
53569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53570         file.
53571         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53572         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53573         file: multiarch memset for PPC32.
53574         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53576         memset multiarch objects.
53577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53578         (__libc_ifunc_impl_list): Likewise.
53580         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53581         file.
53582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53584         memcmp for PPC32.
53585         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53587         multiarch objects.
53588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53589         (__libc_ifunc_impl_list): Likewise.
53591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53594         file.
53595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53596         file.
53597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53598         file.
53599         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53600         multiarch memcpy for PPC32.
53601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53602         multiarch objects.
53603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53604         (__libc_ifunc_impl_list): Likewise.
53606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53607         support multiarch for POWER/PPC32.
53608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53609         Likewise.
53610         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53612         Implies file to make multiarch folder appers before the fpu and
53613         default folder for power4 configuration.
53615 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53617         * scripts/bench.pl: Append volatile keyword to type.
53619 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53621         * sysdeps/sh/sotruss-lib.c: New file.
53622         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53624 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53628 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53630         [BZ #6810]
53631         * math/w_tgamma.c: Include <errno.h>.
53632         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53633         * math/w_tgammaf.c: Include <errno.h>.
53634         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53635         * math/w_tgammal.c: Include <errno.h>.
53636         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53637         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53638         underflow.  Add more tgamma tests.
53639         * math/auto-libm-test-out: Regenerated.
53640         * sysdeps/i386/fpu/libm-test-ulps: Update.
53641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53643         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53644         sin, sinh, tan, tanh, tgamma, y0 and y1.
53645         * math/auto-libm-test-out: Regenerated.
53646         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53647         (TEST_COND_x86): Likewise.
53648         (M_E2l): Remove macro.
53649         (M_E3l): Likewise.
53650         (M_2_SQRT_PIl): Likewise.
53651         (M_SQRT_PIl): Likewise.
53652         (M_1_DIV_El): Likewise.
53653         (log_test_data): Use AUTO_TESTS_f_f.
53654         (log10_test_data): Likewise.
53655         (log1p_test_data): Likewise.
53656         (log2_test_data): Likewise.
53657         (sin_test_data): Likewise.
53658         (sin_tonearest_test_data): Likewise.
53659         (sin_towardzero_test_data): Likewise.
53660         (sin_downward_test_data): Likewise.
53661         (sin_upward_test_data): Likewise.
53662         (sinh_test_data): Likewise.
53663         (sinh_tonearest_test_data): Likewise.
53664         (sinh_towardzero_test_data): Likewise.
53665         (sinh_downward_test_data): Likewise.
53666         (sinh_upward_test_data): Likewise.
53667         (tan_test_data): Likewise.
53668         (tan_tonearest_test_data): Likewise.
53669         (tan_towardzero_test_data): Likewise.
53670         (tan_downward_test_data): Likewise.
53671         (tan_upward_test_data): Likewise.
53672         (tanh_test_data): Likewise.
53673         (tgamma_test_data): Likewise.
53674         (y0_test_data): Likewise.
53675         (y1_test_data): Likewise.
53676         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53677         (special_real_inputs): Add pi/4.
53678         * sysdeps/i386/fpu/libm-test-ulps: Update.
53679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53681 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53683         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53684         "longjmp_target" static probes.
53685         (__longjmp): Rename to __longjmp_symbol.
53686         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53687         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53688         on which longjmp to generate.
53689         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53690         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53691         probe.
53692         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53693         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53694         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53695         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53696         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53697         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53699         __longjmp_symbol based on which __longjmp to generate.
53700         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53701         probe.
53702         (setjmp): Rename to setjmp_symbol.
53703         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53704         (_setjmp): Rename to _setjmp_symbol.
53705         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53706         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53707         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53708         which setjmp to generate.
53709         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53710         "longjmp_target" static probes.
53712 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53714         * benchtests/README: Add note about output arguments.
53715         * benchtests/bench-sincos.c: Remove file.
53716         * benchtests/sincos-inputs: New file.
53717         * scripts/bench.pl: Identify output arguments and define
53718         static variables for them.
53720         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53722         [BZ #15941]
53723         * Makefile (INSTALL): Add install-plain.texi as the primary
53724         dependency.
53725         * manual/install-plain.texi: New file.
53726         * manual/install.texi: Include node directive only for
53727         non-plaintext output.
53729 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53731         * stdlib/longlong.h: Update from GCC.
53733         [BZ #6807]
53734         [BZ #15901]
53735         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53736         * math/w_j0f.c (y0f): Likewise.
53737         * math/w_j0l.c (__y0l): Likewise.
53738         * math/w_j1.c (y1): Likewise.
53739         * math/w_j1f.c (y1f): Likewise.
53740         * math/w_j1l.c (__y1l): Likewise.
53741         * math/w_jn.c (yn): Likewise.
53742         * math/w_jnf.c (ynf): Likewise.
53743         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53744         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53745         value for Bessel function domain errors outside _SVID_ mode.
53746         Adjust sign of return value for yn (negative integer, 0).
53747         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53748         by zero in return for negative x and set sign appropriately for
53749         negative n.
53750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53751         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53752         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53753         expectations in error cases.
53754         (y1_test_data): Likewise.
53755         (yn_test_data): Likewise.
53756         * sysdeps/i386/fpu/libm-test-ulps: Update.
53757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53759 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53761         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53762         "64" to "64-v1".  Add "64-v2".
53763         (abi-64-options): Rename to ...
53764         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53765         (abi-64-condition): Rename to ...
53766         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53767         (abi-64-ld-soname): Rename to ...
53768         (abi-64-v1-ld-soname): ... this.
53769         (abi-64-v2-options): Define.
53770         (abi-64-v2-condition): Likewise.
53771         (abi-64-v2-ld-soname): Likewise.
53772         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53773         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53778 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53779             Alan Modra  <amodra@gmail.com>
53781         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53782         New versions for use with the ELFv2 ABI.
53783         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53784         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53785         declaration.
53786         (struct La_ppc64v2_retval): Likewise.
53787         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53788         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53789         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53790         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53791         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53792         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53793         Do not save or restore CR.
53794         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53795         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53796         return values for ELFv2 ABI.  Fix location of FPR return registers.
53797         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53798         updated values for _CALL_ELF == 2.
53799         (La_regs, La_retval, int_retval): Likewise.
53801 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53803         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53804         (FRAME_MIN_SIZE_PARM): Likewise.
53805         (FRAME_BACKCHAIN): Likewise.
53806         (FRAME_CR_SAVE): Likewise.
53807         (FRAME_LR_SAVE): Likewise.
53808         (FRAME_TOC_SAVE): Likewise.
53809         (FRAME_PARM_SAVE): Likewise.
53810         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53811         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53812         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53813         (call_mcount_parm_offset): New macro.
53814         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53815         (PROF): Use symbolic stack frame offsets.
53816         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53818         Redefine in terms of FRAME_MIN_SIZE.
53819         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53820         (_dl_profile_resolve): Likewise.  Update comment.
53821         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53822         symbols stack frame offsets.
53823         (__sigsetjmp): Likewise.
53824         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53825         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53826         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53827         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53830         (FRAME_BACKCHAIN): Remove.
53831         (FRAME_CR_SAVE): Likewise.
53832         (FRAME_LR_SAVE): Likewise.
53833         (FRAME_COMPILER_DW): Likewise.
53834         (FRAME_LINKER_DW): Likewise.
53835         (FRAME_TOC_SAVE): Likewise.
53836         (FRAME_PARM_SAVE): Likewise.
53837         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53838         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53839         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53841         (CHECK_SP): Use symbolic stack frame offsets.
53842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53843         zone" instead of caller's parameter save area for temp storage.
53844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53845         Likewise.  Also, use symbolic stack frame offsets.
53846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53847         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53848         our own stack frame instead of the caller's.
53849         (__socket): Use symbolic stack frame offsets.
53851 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53852             Alan Modra  <amodra@gmail.com>
53854         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53855         Define.
53856         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53857         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53858         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53859         New function.
53860         (elf_machine_fixup_plt): Call it.
53861         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53862         reloc arguments.
53863         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53864         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53865         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53866         r2 before calling target.
53868 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53869             Alan Modra  <amodra@gmail.com>
53871         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53872         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53873         versions of macros to support ELFv2 ABI.
53874         (LOCALENTRY): New macro.
53875         (ENTRY, EALIGN): Use it.
53876         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53877         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53878         fall through into ENTRY entry point.
53879         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53880         Only define if _CALL_ELF != 2.
53882         (elf_machine_matches_host): Verify ABI version matches.
53883         (RTLD_START): Use LOCALENTRY.
53884         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53885         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53886         (PLT_ENTRY_WORDS): New macro.
53887         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53888         (elf_machine_runtime_setup): Support ELFv2 ABI.
53889         (elf_machine_fixup_plt): Likewise.
53890         (elf_machine_plt_conflict): Likewise.
53891         (resolve_ifunc): Likewise.
53892         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53893         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53894         Likewise.
53895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53896         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53898         (makecontext): Support ELFv2 ABI.
53899         * elf/elf.h (EF_PPC64_ABI): Define.
53901 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53903         * sysdeps/powerpc/powerpc64/sysdep.h
53904         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53905         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53906         (ENTRY) [ASSEMBLER]: ... but instead here ...
53907         (EALIGN) [ASSEMBLER]: ... and here.
53908         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53909         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53910         (ENTRY_2) [!ASSEMBLER]: Use it.
53911         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53912         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53913         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53914         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53915         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53917         Use PPC64_LOAD_FUNCPTR.
53919         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53921 2013-12-04  Alan Modra  <amodra@gmail.com>
53923         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53924         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53925         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53926         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53929         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53930         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53931         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53932         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53933         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53938         (__makecontext): Fix incorrect CFI when backtracing out of
53939         context created via makecontext.
53940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53941         (__setcontext): Fix incorrect CFI during switch to new context.
53942         (__novec_setcontext): Likewise.
53944 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53946         [BZ #4772]
53947         * time/strptime_l.c (__strptime_internal): Allow modifiers
53948         in strptime.
53949         * time/tst-strptime.c (day_tests): Add testcase.
53951 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53953         * scripts/bench.pl: Skip over blank lines.
53955 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53957         [BZ #926]
53958         * manual/time.texi (Calendar Time): Clarify what timezone functions
53959         use.
53961 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53965 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53967         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53968         implementation.
53969         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53970         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53971         * debug/memset_chk.c (__memset_chk): Likewise.
53972         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53973         * debug/strncpy_chk.c: Likewise.
53975 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53977         [BZ #15268]
53978         [BZ #15425]
53979         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53980         (__ieee754_exp): For possibly underflowing results, check size of
53981         result and force underflow exception if required.
53982         * math/auto-libm-test-in: Add more tests of exp.
53983         * math/auto-libm-test-out: Regenerated.
53984         * sysdeps/i386/fpu/libm-test-ulps: Update.
53985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53987         [BZ #16283]
53988         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53989         * math/w_exp2f.c (__exp2f): Likewise.
53990         * math/w_exp2l.c (__exp2l): Likewise.
53991         * math/auto-libm-test-in: Do not allow missing errno on exp2
53992         underflow.
53993         * math/auto-libm-test-out: Regenerated.
53995 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53997         [BZ #16274]
53998         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53999         handle filename validation.
54000         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54001         (do_open): Delete.
54003 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54005         [BZ #6786]
54006         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54007         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54008         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54009         <float.h>.
54010         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54011         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54012         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54014         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54015         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54016         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54017         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54018         Add more erfc tests.
54019         * math/auto-libm-test-out: Regenerated.
54020         * sysdeps/i386/fpu/libm-test-ulps: Update.
54021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54023         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54024         exp2, expm1, j0 and j1.
54025         * math/auto-libm-test-out: Regenerated.
54026         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54027         (erfc_test_data): Likewise.
54028         (exp_test_data): Likewise.
54029         (exp_tonearest_test_data): Likewise.
54030         (exp_towardzero_test_data): Likewise.
54031         (exp_downward_test_data): Likewise.
54032         (exp_upward_test_data): Likewise.
54033         (exp10_test_data): Likewise.
54034         (exp2_test_data): Likewise.
54035         (expm1_test_data): Likewise.
54036         (j0_test_data): Likewise.
54037         (j1_test_data): Likewise.
54038         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54039         (input_flag_type): Add flag_xfail_rounding.
54040         (input_flags): Add xfail-rounding.
54041         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54042         (output_for_one_input_case): Handle flag_xfail_rounding.
54043         * sysdeps/i386/fpu/libm-test-ulps: Update.
54044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54046 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54048         [BZ #16289]
54049         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54050         division by 0.
54052 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54054         [BZ #16195]
54055         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54056         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54057         (STAP_PROBE0): New macro.
54058         (STAP_PROBE1): Likewise.
54059         (STAP_PROBE2): Likewise.
54060         (STAP_PROBE3): Likewise.
54061         (STAP_PROBE4): Likewise.
54063 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54065         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54067 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54069         * benchtests/Makefile (bench): Add sqrt.
54070         (LDLIBS-bench-sqrt): New.
54071         * benchtests/sqrt-input: New.
54073 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54075         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54076         (GAIH_EAI): Likewise.
54077         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54078         (gaih_inet): Likewise.
54079         (getaddrinfo): Don't use GAIH_EAI.
54081         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54082         (struct gaih): Remove definition.
54084 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54086         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54087         Use HERRNOP directly.
54089 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54093 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54095         * math/gen-auto-libm-tests.c (test_functions): Add more
54096         single-argument functions.
54097         (special_fill_pi_2): New function.
54098         (special_fill_minus_pi_2): Likewise.
54099         (special_fill_pi_6): Likewise.
54100         (special_fill_minus_pi_6): Likewise.
54101         (special_fill_pi_3): Likewise.
54102         (special_fill_2pi_3): Likewise.
54103         (special_fill_e): Likewise.
54104         (special_fill_1_e): Likewise.
54105         (special_fill_e_minus_1): Likewise.
54106         (special_real_inputs): Add more special inputs.
54107         (output_for_one_input_case): Do not require ERANGE on underflow to
54108         zero if round-to-nearest result does not underflow to zero, unless
54109         exact results required.
54110         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54111         atan, atanh, cbrt, cos and cosh.
54112         * math/auto-libm-test-out: Regenerated.
54113         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54114         (acos_tonearest_test_data): Likewise.
54115         (acos_towardzero_test_data): Likewise.
54116         (acos_downward_test_data): Likewise.
54117         (acos_upward_test_data): Likewise.
54118         (acosh_test_data): Likewise.
54119         (asin_test_data): Likewise.
54120         (asin_tonearest_test_data): Likewise.
54121         (asin_towardzero_test_data): Likewise.
54122         (asin_upward_test_data): Likewise.
54123         (asinh_test_data): Likewise.
54124         (atan_test_data): Likewise.
54125         (atanh_test_data): Likewise.
54126         (cbrt_test_data): Likewise.
54127         (cos_test_data): Likewise.
54128         (cos_tonearest_test_data): Likewise.
54129         (cos_towardzero_test_data): Likewise.
54130         (cos_downward_test_data): Likewise.
54131         (cos_upward_test_data): Likewise.
54132         (cosh_test_data): Likewise.
54133         (cosh_tonearest_test_data): Likewise.
54134         (cosh_towardzero_test_data): Likewise.
54135         (cosh_downward_test_data): Likewise.
54136         (cosh_upward_test_data): Likewise.
54137         * sysdeps/i386/fpu/libm-test-ulps: Update.
54138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54140 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54142         [BZ #6787]
54143         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54144         * math/w_exp10f.c (__exp10f): Likewise.
54145         * math/w_exp10l.c (__exp10l): Likewise.
54146         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54147         errno settings in existing tests.
54149         [BZ #14032]
54150         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54151         precision control set to double precision.
54152         * sysdeps/i386/fpu/w_sqrt.c: New file.
54153         * math/auto-libm-test-in: Add more tests.
54154         * math/auto-libm-test-out: Update.
54156         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54157         (sqrt_test_tonearest): New function.
54158         (sqrt_towardzero_test_data): New variable.
54159         (sqrt_test_towardzero): New function.
54160         (sqrt_downward_test_data): New variable.
54161         (sqrt_test_downward): New function.
54162         (sqrt_upward_test_data): New variable.
54163         (sqrt_test_upward): New function.
54164         (main): Call the new functions.
54166         * math/gen-auto-libm-tests.c: New file.
54167         * math/auto-libm-test-in: Likewise.
54168         * math/auto-libm-test-out: New generated file.
54169         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54170         variables.
54171         (%beautify): Add generated representations of zero.
54172         (top level): Set $auto_input and call parse_auto_input.
54173         (beautify): Remove trailing "f" from hex float constants.
54174         (parse_args): Handle XFAIL_TEST.
54175         (convert_condition): New function.
54176         (or_value): Likewise.
54177         (or_cond_value): Likewise.
54178         (generate_testfile): Handle AUTO_TESTS_* lines.
54179         (parse_auto_input): New function.
54180         * math/libm-test.inc (XFAIL_TEST): New macro.
54181         (ERRNO_UNCHANGED): Update value.
54182         (ERRNO_EDOM): Likewise.
54183         (ERRNO_ERANGE): Likewise.
54184         (IGNORE_RESULT): Likewise.
54185         (TEST_COND_flt_32): New macro.
54186         (TEST_COND_dbl_64): Likewise.
54187         (TEST_COND_ldbl_96_intel): Likewise.
54188         (TEST_COND_ldbl_96_m68k): Likewise.
54189         (TEST_COND_ldbl_128): Likewise.
54190         (TEST_COND_ldbl_128ibm): Likewise.
54191         (TEST_COND_long32): Likewise.
54192         (TEST_COND_long64): Likewise.
54193         (TEST_COND_before_rounding): Likewise.
54194         (TEST_COND_after_rounding): Likewise.
54195         (enable_test): Handle XFAIL_TEST flag.
54196         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54197         with finite results.
54198         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54199         auto-libm-test-out.
54201 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54202             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54204         [BZ #16214]
54205         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54206         __tls_get_addr_internal instead of __tls_get_offset in order to
54207         avoid GOT pointer dependency.  Make rtld export
54208         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54209         __tls_get_addr since we are a __tls_get_offset platform.
54210         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54211         GOT pointer being set up before.
54212         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54214 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54216         * manual/math.texi (Errors in Math Functions): Document accuracy
54217         goals.
54219         [BZ #15004]
54220         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54221         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54222         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54223         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54224         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54225         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54226         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54227         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54228         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54229         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54230         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54231         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54232         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54233         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54237         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54238         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54239         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54240         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54241         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54242         Likewise.
54243         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54244         Likewise.
54245         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54246         Likewise.
54247         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54248         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54249         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54250         atomic-feupdateenv and flt-rounds.
54251         * sysdeps/powerpc/nofpu/Versions (libc): Add
54252         __atomic_feholdexcept, __atomic_feclearexcept,
54253         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54254         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54255         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54256         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54257         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54258         here.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54260         Update.
54262         * manual/arith.texi (FP Exceptions): Document that exceptions may
54263         not be raised when matherr is used.
54264         (Math Error Reporting): Document overflow in directed rounding
54265         modes.  Document that errno may not be set when finite values are
54266         returned on overflow.  Document intent to set errno on underflow
54267         only for underflow to zero.
54269         [BZ #16271]
54270         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54271         round-to-nearest then adjust result for other rounding modes.
54272         * include/fenv.h (fegetround): Use libm_hidden_proto.
54273         * math/fegetround.c (fegetround): Use libm_hidden_def.
54274         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54275         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54276         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54277         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54278         Likewise.
54279         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54280         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54281         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54282         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54284 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54286         [BZ #16077]
54287         * nss/Versions (libnss_files): Add
54288         _nss_files_gethostbyname3_r.
54289         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54290         New function.
54291         (HOST_DB_LOOKUP): Remove macro.
54292         (_nss_files_gethostbyname_r): Implement function without the
54293         HOST_DB_LOOKUP macro.
54294         (_nss_files_gethostbyname2_r): Likewise.
54296 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54298         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54300 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54302         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54303         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54304         warning.
54306 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54308         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54309         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54310         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54311         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54313         __fe_nomask_env_priv and attribute_hidden.
54314         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54315         (libc_feupdateenv_test_ppc): Likewise.
54316         (libc_feresetround_ppc): Likewise.
54317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54318         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54319         compat_symbol macro.
54320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54321         (__fe_nomask_env): Likewise.
54322         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54326         * string/Makefile: Remove ifunc tests.
54327         * string/test-string.h: Define TEST_IFUNC.
54328         * string/test-bcopy-ifunc.c: Remove.
54329         * string/test-bzero-ifunc.c: Likewise.
54330         * string/test-memccpy-ifunc.c: Likewise.
54331         * string/test-memchr-ifunc.c: Likewise.
54332         * string/test-memcmp-ifunc.c: Likewise.
54333         * string/test-memcpy-ifunc.c: Likewise.
54334         * string/test-memmem-ifunc.c: Likewise.
54335         * string/test-memmove-ifunc.c: Likewise.
54336         * string/test-mempcpy-ifunc.c: Likewise.
54337         * string/test-memrchr-ifunc.c: Likewise.
54338         * string/test-memset-ifunc.c: Likewise.
54339         * string/test-rawmemchr-ifunc.c: Likewise.
54340         * string/test-stpcpy-ifunc.c: Likewise.
54341         * string/test-stpncpy-ifunc.c: Likewise.
54342         * string/test-strcasecmp-ifunc.c: Likewise.
54343         * string/test-strcasestr-ifunc.c: Likewise.
54344         * string/test-strcat-ifunc.c: Likewise.
54345         * string/test-strchr-ifunc.c: Likewise.
54346         * string/test-strchrnul-ifunc.c: Likewise.
54347         * string/test-strcmp-ifunc.c: Likewise.
54348         * string/test-strcpy-ifunc.c: Likewise.
54349         * string/test-strcspn-ifunc.c: Likewise.
54350         * string/test-strlen-ifunc.c: Likewise.
54351         * string/test-strncasecmp-ifunc.c: Likewise.
54352         * string/test-strncat-ifunc.c: Likewise.
54353         * string/test-strncmp-ifunc.c: Likewise.
54354         * string/test-strncpy-ifunc.c: Likewise.
54355         * string/test-strnlen-ifunc.c: Likewise.
54356         * string/test-strpbrk-ifunc.c: Likewise.
54357         * string/test-strrchr-ifunc.c: Likewise.
54358         * string/test-strspn-ifunc.c: Likewise.
54359         * string/test-strstr-ifunc.c: Likewise.
54361 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54363         * benchtests/Makefile: Remove ifunc tests.
54364         * benchtests/bench-string.h: Define TEST_IFUNC.
54365         * benchtests/bench-bcopy-ifunc.c: Remove.
54366         * benchtests/bench-bzero-ifunc.c: Likewise.
54367         * benchtests/bench-memccpy-ifunc.c: Likewise.
54368         * benchtests/bench-memchr-ifunc.c: Likewise.
54369         * benchtests/bench-memcmp-ifunc.c: Likewise.
54370         * benchtests/bench-memcpy-ifunc.c: Likewise.
54371         * benchtests/bench-memmem-ifunc.c: Likewise.
54372         * benchtests/bench-memmove-ifunc.c: Likewise.
54373         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54374         * benchtests/bench-memrchr-ifunc.c: Likewise.
54375         * benchtests/bench-memset-ifunc.c: Likewise.
54376         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54377         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54378         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54379         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54380         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54381         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54382         * benchtests/bench-strcat-ifunc.c: Likewise.
54383         * benchtests/bench-strchr-ifunc.c: Likewise.
54384         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54385         * benchtests/bench-strcmp-ifunc.c: Likewise.
54386         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54387         * benchtests/bench-strcpy-ifunc.c: Likewise.
54388         * benchtests/bench-strcspn-ifunc.c: Likewise.
54389         * benchtests/bench-strlen-ifunc.c: Likewise.
54390         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54391         * benchtests/bench-strncat-ifunc.c: Likewise.
54392         * benchtests/bench-strncmp-ifunc.c: Likewise.
54393         * benchtests/bench-strncpy-ifunc.c: Likewise.
54394         * benchtests/bench-strnlen-ifunc.c: Likewise.
54395         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54396         * benchtests/bench-strrchr-ifunc.c: Likewise.
54397         * benchtests/bench-strsep-ifunc.c: Likewise.
54398         * benchtests/bench-strspn-ifunc.c: Likewise.
54399         * benchtests/bench-strstr-ifunc.c: Likewise.
54401 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54403         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54405 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54407         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54408         * rt/aio.h: Likewise.
54409         * sysdeps/gnu/bits/utmp.h: Likewise.
54410         * sysdeps/gnu/bits/utmpx.h: Likewise.
54411         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54412         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54413         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54414         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54415         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54416         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54417         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54418         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54419         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54420         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54421         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54422         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54423         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54425         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54426         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54427         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54428         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54429         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54430         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54431         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54432         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54433         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54434         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54435         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54437         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54438         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54439         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54440         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54441         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54442         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54443         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54444         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54445         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54446         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54447         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54448         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54449         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54450         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54451         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54452         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54454 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54456         [BZ #16245]
54457         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54458         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54460 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54462         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54464         Likewise.
54466 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54468         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54469         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54470         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54471         (__fesetround): Remove define.
54472         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54473         rounding and exceptions handling.
54474         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54475         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54476         (__fe_nomask_env): Likewise.
54477         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54478         __fegetround instead of fegetround.
54479         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54480         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54482 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54484         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54485         it's there.
54487         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54489 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54491         [BZ #11157]
54492         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54493         (encrypt_r): Likewise.
54494         * malloc/obstack.h (obstack_free): Likewise.
54495         * posix/unistd.h (encrypt): Likewise.
54497 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54499         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54500         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54501         DL_CALL_DT_FINI() that call the functions directly.
54502         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54503         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54504         * elf/dl-fini.c: Likewise.
54506 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54508         * malloc/hooks.c (memalign_check): Add alignment rounding.
54509         * malloc/malloc.c (_mid_memalign): New function.
54510         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54511         Implement by calling _mid_memalign.
54512         * manual/probes.texi (Memory Allocation Probes): Remove
54513         memory_valloc_retry and memory_pvalloc_retry.
54515 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54517         * locale/programs/locarchive.c (open_archive): Add const
54518         qualifier to ARCHIVEFNAME and copy default fname to
54519         DEFAULT_FNAME.
54521         [BZ #15601]
54522         * libio/tst-widetext.input: Rename Oriya to Odia.
54523         * locale/iso-639.def: Likewise.
54525         * manual/probes.texi (Mathematical Function Probes): Add
54526         documentation for sin, cos, asin and acos probes.
54527         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54528         (__sin32): Add slowasin probe.
54529         (__cos32): Add slowacos probe.
54530         (__mpsin): Add slowsin probe.
54531         (__mpcos): Add slowcos probe.
54533 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54535         [BZ #15483]
54536         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54537         thread-local __sim_exceptions_thread and global
54538         __sim_exceptions_global.
54539         (__sim_disabled_exceptions): Change to thread-local
54540         __sim_disabled_exceptions_thread and global
54541         __sim_disabled_exceptions_global.
54542         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54543         and global __sim_round_mode_global.
54544         (__simulate_exceptions): Use thread-local floating-point state and
54545         set global state from it as needed.
54546         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54547         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54548         __sim_round_mode_thread.
54549         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54550         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54551         and global __sim_exceptions_global.
54552         (__sim_disabled_exceptions): Change to thread-local
54553         __sim_disabled_exceptions_thread and global
54554         __sim_disabled_exceptions_global.
54555         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54556         and global __sim_round_mode_global.
54557         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54558         (SIM_SET_GLOBAL): Likewise.
54559         * sysdeps/powerpc/soft-fp/sfp-machine.h
54560         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54561         __sim_round_mode_thread.
54562         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54563         __sim_disabled_exceptions_thread.
54564         (__sim_exceptions): Change to __sim_exceptions_thread.
54565         (__sim_disabled_exceptions): Change to
54566         __sim_disabled_exceptions_thread.
54567         (__sim_round_mode): Change to __sim_round_mode_thread.
54568         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54569         thread-local floating-point state and set global state from it as
54570         needed.
54571         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54572         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54573         (__sim_disabled_exceptions): Remove extern declaration.
54574         (feenableexcept): Use thread-local floating-point state and set
54575         global state from it as needed.
54576         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54577         extern declaration.
54578         (__sim_disabled_exceptions): Likewise.
54579         (__sim_round_mode): Likewise.
54580         (__fegetenv): Use thread-local floating-point state.
54581         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54582         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54583         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54584         floating-point state and set global state from it as needed.
54585         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54586         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54587         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54588         Likewise.
54589         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54590         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54591         Likewise.
54592         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54593         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54594         Use __sim_round_mode_thread.
54595         * math/test-fenv-tls.c: New file.
54596         * math/Makefile (tests): Add test-fenv-tls.
54597         ($(objpfx)test-fenv-tls): Depend on
54598         $(common-objpfx)nptl/libpthread.so.
54600 2013-11-19  Andreas Schwab  <schwab@suse.de>
54602         * locale/programs/locale.c (show_info): Decode wordarray elements.
54603         * locale/categories.def (LC_MONETARY): Add element for
54604         _NL_MONETARY_CRNCYSTR.
54605         * locale/C-monetary.c (conversion_rate): New variable.
54606         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54607         element.
54609 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54611         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54612         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54614 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54616         * elf/Makefile (tst-auxv): New test.
54617         * elf/tst-auxv.c: New
54618         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54620 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54622         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54623         (hidden_proto): Caller changed.
54624         (hidden_tls_proto): New macro.
54625         (libc_hidden_tls_proto): Likewise.
54626         (rtld_hidden_tls_proto): Likewise.
54627         (libm_hidden_tls_proto): Likewise.
54628         (libresolv_hidden_tls_proto): Likewise.
54629         (librt_hidden_tls_proto): Likewise.
54630         (libdl_hidden_tls_proto): Likewise.
54631         (libnss_files_hidden_tls_proto): Likewise.
54632         (libnsl_hidden_tls_proto): Likewise.
54633         (libnss_nisplus_hidden_tls_proto): Likewise.
54634         (libutil_hidden_tls_proto): Likewise.
54636 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54638         [BZ #10253]
54639         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54640         (decompose_rpath): Defer expansion to fillin_rpath.
54641         (_dl_init_paths): Pass linkmap to fillin_rpath.
54643 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54645         * benchtests/Makefile: Add strsep.
54646         * benchtests/bench-strsep.c: New file: strsep benchtest.
54647         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54649 2013-11-18  Andreas Schwab  <schwab@suse.de>
54651         * locale/programs/locale.c (show_info) [case byte]: Check for
54652         '\377' instead of '\177'.
54653         * locale/C-monetary.c (not_available): Always use "\377".
54654         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54655         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54656         detect unavailable sign_posn locale elements.
54657         * locale/localeconv.c (__localeconv): For grouping and
54658         mon_grouping handle "\177" and "\377" like no grouping.
54659         (INT_ELEM): New macro.  Use it to set all numeric members.
54660         * locale/programs/ld-monetary.c (monetary_read)
54661         <tok_mon_grouping>: Normalize single -1 to the empty string.
54662         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54663         Likewise.
54665 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54667         [BZ #16055]
54668         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54669         when we match (nil).
54670         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54672 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54674         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54675         (NO_TEST_INLINE): Update value.
54676         (ERRNO_UNCHANGED): Likewise.
54677         (ERRNO_EDOM): Likewise.
54678         (ERRNO_ERANGE): Likewise.
54679         (IGNORE_RESULT): Likewise.
54680         (check_float_internal): Check signs of NaN results if
54681         TEST_NAN_SIGN used.
54682         (check_complex): Pass TEST_NAN_SIGN flag through to second
54683         check_float_internal call.
54684         (copysign_test_data): Add tests with quiet NaNs as second
54685         argument.  Use TEST_NAN_SIGN.
54686         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54687         TEST_NAN_SIGN.
54688         (signbit_test_data): Add tests of quiet NaN argument.
54689         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54691         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54692         $ignore_result.
54693         (parse_args): Handle function results specified as IGNORE.
54694         * math/libm-test.inc (IGNORE_RESULT): New macro.
54695         (check_float_internal): Do not check numerical result if flag
54696         IGNORE_RESULT set.
54697         (check_complex): Pass through IGNORE_RESULT to second
54698         check_float_internal call.
54699         (check_int): Do not check numerical result if flag IGNORE_RESULT
54700         set.
54701         (check_long): Likewise.
54702         (check_bool): Likewise.
54703         (check_longlong): Likewise.
54704         (lrint_test_data): Add tests of infinite and NaN arguments.
54705         (lrint_tonearest_test_data): Likewise.
54706         (lrint_towardzero_test_data): Likewise.
54707         (lrint_downward_test_data): Likewise.
54708         (lrint_upward_test_data): Likewise.
54709         (llrint_test_data): Likewise.
54710         (llrint_tonearest_test_data): Likewise.
54711         (llrint_towardzero_test_data): Likewise.
54712         (llrint_downward_test_data): Likewise.
54713         (llrint_upward_test_data): Likewise.
54714         (lround_test_data): Likewise.
54715         (llround_test_data): Likewise.
54717         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54718         (ERRNO_UNCHANGED): Update value.
54719         (ERRNO_EDOM): Likewise.
54720         (ERRNO_ERANGE): Likewise.
54721         (NO_TEST_INLINE_FLOAT): New macro.
54722         (NO_TEST_INLINE_DOUBLE): Likewise.
54723         (enable_test): New function.
54724         (RUN_TEST_f_f): Check enable_test before running test.
54725         (RUN_TEST_2_f): Likewise.
54726         (RUN_TEST_fff_f): Likewise.
54727         (RUN_TEST_c_f): Likewise.
54728         (RUN_TEST_f_f1): Likewise.
54729         (RUN_TEST_fF_f1): Likewise.
54730         (RUN_TEST_fI_f1): Likewise.
54731         (RUN_TEST_ffI_f1): Likewise.
54732         (RUN_TEST_c_c): Likewise.
54733         (RUN_TEST_cc_c): Likewise.
54734         (RUN_TEST_f_i): Likewise.
54735         (RUN_TEST_f_i_tg): Likewise.
54736         (RUN_TEST_ff_i_tg): Likewise.
54737         (RUN_TEST_f_b): Likewise.
54738         (RUN_TEST_f_b_tg): Likewise.
54739         (RUN_TEST_f_l): Likewise.
54740         (RUN_TEST_f_L): Likewise.
54741         (RUN_TEST_fFF_11): Likewise.
54742         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54743         conditionals.
54744         (cosh_test_data): Likewise.
54745         (exp_test_data): Likewise.
54746         (expm1_test_data): Likewise.
54747         (hypot_test_data): Likewise.
54748         (pow_test_data): Likewise.
54749         (sinh_test_data): Likewise.
54750         (tanh_test_data): Likewise.
54751         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54752         flags argument.
54754         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54755         tests with quiet NaN input and output.
54756         (acosh_test_data): Likewise.
54757         (asin_test_data): Likewise.
54758         (asinh_test_data): Likewise.
54759         (atan_test_data): Likewise.
54760         (atanh_test_data): Likewise.
54761         (atan2_test_data): Likewise.
54762         (cbrt_test_data): Likewise.
54763         (cos_test_data): Likewise.
54764         (cosh_test_data): Likewise.
54765         (erf_test_data): Likewise.
54766         (erfc_test_data): Likewise.
54767         (exp_test_data): Likewise.
54768         (exp10_test_data): Likewise.
54769         (exp2_test_data): Likewise.
54770         (expm1_test_data): Likewise.
54771         (hypot_test_data): Likewise.
54772         (j0_test_data): Likewise.
54773         (j1_test_data): Likewise.
54774         (jn_test_data): Likewise.
54775         (lgamma_test_data): Likewise.
54776         (log_test_data): Likewise.
54777         (log10_test_data): Likewise.
54778         (log1p_test_data): Likewise.
54779         (log2_test_data): Likewise.
54780         (pow_test_data): Likewise.
54781         (scalb_test_data): Likewise.
54782         (sin_test_data): Likewise.
54783         (sincos_test_data): Likewise.
54784         (sinh_test_data): Likewise.
54785         (tan_test_data): Likewise.
54786         (tanh_test_data): Likewise.
54787         (tgamma_test_data): Likewise.
54788         (y0_test_data): Likewise.
54789         (y1_test_data): Likewise.
54790         (yn_test_data): Likewise.
54792         [BZ #16167]
54793         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54794         argument being NaN and avoid computations with second argument in
54795         that case.
54796         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54797         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54798         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54800 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54802         * locale/iso-639.def: Add Chitwani Tharu (the).
54804 2013-11-14  Andreas Schwab  <schwab@suse.de>
54806         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54807         word instead of empty string.
54809 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54812         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54814         (__fe_nomask_env): Likewise.
54816 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54818         * benchtests/bench-timing.h: Include time.h.
54820 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54822         [BZ #15997]
54823         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54824         to 3.4.0 for x32.
54825         * sysdeps/unix/sysv/linux/configure: Regenerated.
54827 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54829         [BZ #16151]
54830         * stdlib/strtod_l.c (round_and_return): Do not consider
54831         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54832         exponent one less than half the least subnormal exponent.
54833         * stdlib/test-strtod-round-data: Add more tests.
54834         * stdlib/tst-strtod-round.c (tests): Regenerated.
54836 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54838         [BZ #14143]
54839         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54840         (__fe_mask_env): Likewise.
54841         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54842         libm_hidden_proto and add function prototype.
54843         (__fe_mask_env): Add function prototype.
54844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54845         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54847         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54849         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54851 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54853         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54854         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54856 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54858         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54859         of htab_find_slot().
54861 2013-11-11  David S. Miller  <davem@davemloft.net>
54863         [BZ #16150]
54864         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54865         symbol in the non-vis3 case in static builds.
54866         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54867         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54868         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54869         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54871 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54873         [BZ #387]
54874         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54875         it is empty.
54877 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54879         * benchtests/Makefile: Add bench-strtod.
54880         * benchtests/bench-strtod.c: New file: strtod benchtest
54882 2013-11-11  Andreas Schwab  <schwab@suse.de>
54884         [BZ #16153]
54885         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54886         terminating NUL in key length.
54888 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54890         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54891         Add artificial ODP entry for vDSO symbol for PPC64.
54892         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54893         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54895 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54897         [BZ #15374]
54898         * nss/getent.c (services_keys): Recognize services starting with digit.
54900 2013-11-06  David S. Miller  <davem@davemloft.net>
54902         [BZ #15985]
54903         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54904         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54906 2013-11-06  Will Newton  <will.newton@linaro.org>
54908         * manual/memory.texi (Malloc Examples): Remove register
54909         keyword from examples.
54911 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54913         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54915 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54917         [BZ #6981]
54918         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54919         depending on [__GCC_IEC_559 > 0].
54920         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54921         depending on [__GCC_IEC_559_COMPLEX > 0].
54923 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54925         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54926         to iso-639.def.
54928 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54930         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54932 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54934         [BZ #16112]
54935         * malloc/malloc (malloc_info): Do not handle first bin as
54936         special case.
54938 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54940         * locale/iso-639.def: Add Central Nahuatl (nhn).
54942 2013-11-01  Bruno Haible  <bruno@clisp.org>
54944         [BZ #7003]
54945         * manual/math.texi (BSD Random): Specify range upper bound as
54946         in POSIX.
54948 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54950         * locale/iso-639.def: Add Meadow Mari (mhr).
54952 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54954         [BZ #14752], [BZ #15763]
54955         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54956         Validate name.
54957         * rt/tst_shm.c: Add test for escaping directory.
54959 2013-10-31  Andreas Schwab  <schwab@suse.de>
54961         [BZ #15917]
54962         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54963         followed by 'x' as part of digit sequence.
54964         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54966 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54968         [BZ #16037]
54969         * configure.ac: allow GNU Make 4.0 and greater.
54970         * configure: Regenerated.
54972 2013-10-30  Will Newton  <will.newton@linaro.org>
54974         [BZ #16038]
54975         * malloc/hooks.c (memalign_check): Limit alignment to the
54976         maximum representable power of two.
54977         * malloc/malloc.c (__libc_memalign): Likewise.
54978         * malloc/tst-memalign.c (do_test): Add test for very
54979         large alignment values.
54980         * malloc/tst-posix_memalign.c (do_test): Likewise.
54982 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54984         [BZ #11087]
54985         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54986         (munmap_chunk): Likewise.
54987         (mremap_chunk): Likewise.
54989 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54991         [BZ #15799]
54992         * stdlib/div.c (div): Remove obsolete code.
54993         * stdlib/ldiv.c (ldiv): Likewise.
54994         * stdlib/lldiv.c (lldiv): Likewise.
54996 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54998         [BZ #16071]
54999         * nss/nss_files/files-XXX.c (get_contents_ret): New
55000         enumerator.
55001         (get_contents): New function.
55002         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55004 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55006         * configure.in: Moved to ...
55007         * configure.ac: ... here. Change reference to configure.in
55008         to configure.ac.
55009         * sysdeps/arm/preconfigure.ac: ... here.
55010         configure.in to configure.ac.
55011         * sysdeps/gnu/configure.in: Moved to ...
55012         * sysdeps/gnu/configure.ac: ... here.
55013         * sysdeps/i386/configure.in: Moved to ...
55014         * sysdeps/i386/configure.ac: ... here.
55015         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55016         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55017         * sysdeps/mach/configure.in: Moved to ...
55018         * sysdeps/mach/configure.ac: ... here.
55019         * sysdeps/mach/hurd/configure.in: Moved to ...
55020         * sysdeps/mach/hurd/configure.ac: ... here.
55021         * sysdeps/powerpc/configure.in: Moved to ...
55022         * sysdeps/powerpc/configure.ac: ... here.
55023         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55024         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55025         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55026         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55027         * sysdeps/s390/s390-32/configure.in: Moved to ...
55028         * sysdeps/s390/s390-32/configure.ac: ... here.
55029         * sysdeps/s390/s390-64/configure.in: Moved to ...
55030         * sysdeps/s390/s390-64/configure.ac: ... here.
55031         * sysdeps/sh/configure.in: Moved to ...
55032         * sysdeps/sh/configure.ac: ... here.
55033         * sysdeps/sparc/configure.in: Moved to ...
55034         * sysdeps/sparc/configure.ac: ... here.
55035         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55036         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55037         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55038         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55039         * sysdeps/x86_64/configure.in: Moved to ...
55040         * sysdeps/x86_64/configure.ac: ... here.
55041         * sysdeps/x86_64/preconfigure.in: Moved to ...
55042         * sysdeps/x86_64/preconfigure.ac: ... here.
55043         * aclocal.m4: Change reference to configure.in to configure.ac.
55044         * config.h.in: Likewise.
55045         * manual/install.texi: Likewise.
55046         * manual/maint.texi: Likewise.
55047         * Makefile: Likewise.
55048         * malloc/Makefile: Likewise.
55049         * nscd/Makefile: Likewise.
55050         * Makeconfig: Change reference to configure.in and
55051         preconfigure.in to configure.ac and preconfigure.ac
55052         respectively.
55053         * INSTALL: Regenerated.
55054         * configure: Likewise.
55055         * sysdeps/gnu/configure: Likewise.
55056         * sysdeps/i386/configure: Likewise.
55057         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55058         * sysdeps/mach/configure: Likewise.
55059         * sysdeps/mach/hurd/configure: Likewise.
55060         * sysdeps/powerpc/configure: Likewise.
55061         * sysdeps/powerpc/powerpc32/configure: Likewise.
55062         * sysdeps/powerpc/powerpc64/configure: Likewise.
55063         * sysdeps/s390/s390-32/configure: Likewise.
55064         * sysdeps/s390/s390-64/configure: Likewise.
55065         * sysdeps/sh/configure: Likewise.
55066         * sysdeps/sparc/configure: Likewise.
55067         * sysdeps/unix/sysv/linux/configure: Likewise.
55068         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55069         * sysdeps/x86_64/configure: Likewise.
55070         * sysdeps/x86_64/preconfigure: Likewise.
55072 2013-10-29  Andreas Schwab  <schwab@suse.de>
55074         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55076 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55078         * benchtests/pow-inputs: Add new inputs.
55080         * benchtests/exp-inputs: Add new inputs.
55082         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55083         conditional check for return value.
55084         (__cos32): Likewise.
55086 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55088         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55089         to provide a boost for large inputs with word alignment.
55090         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55091         implementation based on optimized PPC64 strcpy.
55092         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55093         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55094         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55095         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55097 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55099         [BZ #2801]
55100         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55102 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55104         [BZ #14876]
55105         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55106         * time/tst-strptime.c (day_tests): Add testcase.
55108 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55110         [BZ #14029]
55111         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55113 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55115         [BZ #16074]
55116         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55117         MAP_FAILED on error.
55119 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55121         [BZ #16072]
55122         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55123         heap for large requests.
55125 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55127         [BZ #9954]
55128         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55129         result if the result has no associated interface.
55130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55131         interface for all 127.X.Y.Z addresses.
55133 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55135         * locale/iso-639.def: Add Ligurian (lij)
55137 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55139         [BZ #15825]
55140         * sunrpc/rpc_main.c: Document rpcgen -5.
55142 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55144         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55146 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55148         [BZ #10278]
55149         * posix/glob.c: Match only directories when trailing slash is present.
55150         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55151         (main): Add testcase.
55153 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55155         [BZ #15670]
55156         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55158 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55160         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55161         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55162         AUTH_DES and cindex for FIPS 140-2.
55163         (DES Encryption): Add cindex FIPS 46-3.
55165         * locale/locarchive.h (struct locarhandle): Add fname.
55166         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55167         if an optional argument was specified to --list-archive,
55168         otherwise NULL.
55169         * locale/programs/locarchive.c (show_archive_content): Take new
55170         argument fname and pass it via ah.fname to open_archive.
55171         * locale/programs/localedef.h: Update decl.
55172         (open_archive): If AH->fname is non-null, open that file
55173         rather than the default file name, and don't ignore ENOENT.
55174         (create_archive): Set AH.fname to NULL.
55175         (delete_locales_from_archive): Likewise.
55176         (add_locales_to_archive): Likewise.
55177         * locale/programs/locfile.c (write_all_categories): Likewise.
55179 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55180             Aldy Hernandez  <aldyh@redhat.com>
55182         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55183         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55184         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55185         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55186         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55187         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55188         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55189         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55190         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55191         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55192         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55193         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55194         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55195         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55196         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55197         Likewise.
55198         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55199         Likewise.
55200         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55201         Likewise.
55202         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55203         Likewise.
55204         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55205         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55206         Likewise.
55207         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55208         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55209         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55210         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55211         Likewise.
55212         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55213         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55214         * sysdeps/powerpc/preconfigure: Likewise.
55215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55216         Likewise.
55217         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55218         Replace contents of file by #include of <fenv_libc.h>.
55219         * sysdeps/powerpc/soft-fp/sfp-machine.h
55220         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55221         and <sys/prctl.h>.
55222         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55226         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55227         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55229         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55230         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55231         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55232         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55233         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55235         Allow copysignl PLT reference to be missing.
55237 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55238             Joseph Myers  <joseph@codesourcery.com
55240         [BZ #15948]
55241         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55242         single character.
55243         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55245 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55247         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55248         * elf/tst-tls1.c: Likewise.
55249         * elf/tst-tls10.h: Likewise.
55250         * elf/tst-tls14.c: Likewise.
55251         * elf/tst-tls2.c: Likewise.
55252         * elf/tst-tls3.c: Likewise.
55253         * elf/tst-tls4.c: Likewise.
55254         * elf/tst-tls5.c: Likewise.
55255         * elf/tst-tls6.c: Likewise.
55256         * elf/tst-tls7.c: Likewise.
55257         * elf/tst-tls8.c: Likewise.
55258         * elf/tst-tls9.c: Likewise.
55259         * elf/tst-tlsmod1.c: Likewise.
55260         * elf/tst-tlsmod13.c: Likewise.
55261         * elf/tst-tlsmod13a.c: Likewise.
55262         * elf/tst-tlsmod14a.c: Likewise.
55263         * elf/tst-tlsmod16a.c: Likewise.
55264         * elf/tst-tlsmod16b.c: Likewise.
55265         * elf/tst-tlsmod2.c: Likewise.
55266         * elf/tst-tlsmod3.c: Likewise.
55267         * elf/tst-tlsmod4.c: Likewise.
55268         * elf/tst-tlsmod5.c: Likewise.
55269         * elf/tst-tlsmod6.c: Likewise.
55271 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55273         [BZ #12486]
55274         * malloc/malloc.c: remove checks for statistics.
55276 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55278         [BZ #15277]
55279         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55280         * inet/tst-network.c: Add testcase.
55282 2013-10-17  Andreas Schwab  <schwab@suse.de>
55284         [BZ #15218]
55285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55286         to determine canonical name.
55288 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55290         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55291         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55293         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55295         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55296         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55297         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55298         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55299         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55300         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55301         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55303         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55304         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55305         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55307         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55308         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55309         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55312         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55313         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55314         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55315         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55316         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55317         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55318         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55319         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55320         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55322         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55323         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55324         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55325         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55326         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55327         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55328         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55329         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55330         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55331         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55332         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55333         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55334         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55335         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55336         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55337         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55338         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55339         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55340         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55341         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55342         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55343         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55345         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55346         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55347         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55349 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55351         [BZ #16041]
55352         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55353         make result into a quiet NaN.
55355 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55357         * soft-fp/adddf3.c: Fix horizontal whitespace.
55358         * soft-fp/addsf3.c: Likewise.
55359         * soft-fp/addtf3.c: Likewise.
55360         * soft-fp/divdf3.c: Likewise.
55361         * soft-fp/divsf3.c: Likewise.
55362         * soft-fp/divtf3.c: Likewise.
55363         * soft-fp/double.h: Likewise.
55364         * soft-fp/eqdf2.c: Likewise.
55365         * soft-fp/eqsf2.c: Likewise.
55366         * soft-fp/eqtf2.c: Likewise.
55367         * soft-fp/extenddftf2.c: Likewise.
55368         * soft-fp/extended.h: Likewise.
55369         * soft-fp/extendsfdf2.c: Likewise.
55370         * soft-fp/extendsftf2.c: Likewise.
55371         * soft-fp/extendxftf2.c: Likewise.
55372         * soft-fp/fixdfdi.c: Likewise.
55373         * soft-fp/fixdfsi.c: Likewise.
55374         * soft-fp/fixdfti.c: Likewise.
55375         * soft-fp/fixsfdi.c: Likewise.
55376         * soft-fp/fixsfsi.c: Likewise.
55377         * soft-fp/fixsfti.c: Likewise.
55378         * soft-fp/fixtfdi.c: Likewise.
55379         * soft-fp/fixtfsi.c: Likewise.
55380         * soft-fp/fixtfti.c: Likewise.
55381         * soft-fp/fixunsdfdi.c: Likewise.
55382         * soft-fp/fixunsdfsi.c: Likewise.
55383         * soft-fp/fixunsdfti.c: Likewise.
55384         * soft-fp/fixunssfdi.c: Likewise.
55385         * soft-fp/fixunssfsi.c: Likewise.
55386         * soft-fp/fixunssfti.c: Likewise.
55387         * soft-fp/fixunstfdi.c: Likewise.
55388         * soft-fp/fixunstfsi.c: Likewise.
55389         * soft-fp/fixunstfti.c: Likewise.
55390         * soft-fp/floatdidf.c: Likewise.
55391         * soft-fp/floatdisf.c: Likewise.
55392         * soft-fp/floatditf.c: Likewise.
55393         * soft-fp/floatsidf.c: Likewise.
55394         * soft-fp/floatsisf.c: Likewise.
55395         * soft-fp/floatsitf.c: Likewise.
55396         * soft-fp/floattidf.c: Likewise.
55397         * soft-fp/floattisf.c: Likewise.
55398         * soft-fp/floattitf.c: Likewise.
55399         * soft-fp/floatundidf.c: Likewise.
55400         * soft-fp/floatundisf.c: Likewise.
55401         * soft-fp/floatunditf.c: Likewise.
55402         * soft-fp/floatunsidf.c: Likewise.
55403         * soft-fp/floatunsisf.c: Likewise.
55404         * soft-fp/floatunsitf.c: Likewise.
55405         * soft-fp/floatuntidf.c: Likewise.
55406         * soft-fp/floatuntisf.c: Likewise.
55407         * soft-fp/floatuntitf.c: Likewise.
55408         * soft-fp/fmadf4.c: Likewise.
55409         * soft-fp/fmasf4.c: Likewise.
55410         * soft-fp/fmatf4.c: Likewise.
55411         * soft-fp/gedf2.c: Likewise.
55412         * soft-fp/gesf2.c: Likewise.
55413         * soft-fp/getf2.c: Likewise.
55414         * soft-fp/ledf2.c: Likewise.
55415         * soft-fp/lesf2.c: Likewise.
55416         * soft-fp/letf2.c: Likewise.
55417         * soft-fp/muldf3.c: Likewise.
55418         * soft-fp/mulsf3.c: Likewise.
55419         * soft-fp/multf3.c: Likewise.
55420         * soft-fp/negdf2.c: Likewise.
55421         * soft-fp/negsf2.c: Likewise.
55422         * soft-fp/negtf2.c: Likewise.
55423         * soft-fp/op-1.h: Likewise.
55424         * soft-fp/op-2.h: Likewise.
55425         * soft-fp/op-4.h: Likewise.
55426         * soft-fp/op-8.h: Likewise.
55427         * soft-fp/op-common.h: Likewise.
55428         * soft-fp/quad.h: Likewise.
55429         * soft-fp/single.h: Likewise.
55430         * soft-fp/soft-fp.h: Likewise.
55431         * soft-fp/sqrtdf2.c: Likewise.
55432         * soft-fp/sqrtsf2.c: Likewise.
55433         * soft-fp/sqrttf2.c: Likewise.
55434         * soft-fp/subdf3.c: Likewise.
55435         * soft-fp/subsf3.c: Likewise.
55436         * soft-fp/subtf3.c: Likewise.
55437         * soft-fp/truncdfsf2.c: Likewise.
55438         * soft-fp/trunctfdf2.c: Likewise.
55439         * soft-fp/trunctfsf2.c: Likewise.
55440         * soft-fp/trunctfxf2.c: Likewise.
55441         * soft-fp/unorddf2.c: Likewise.
55442         * soft-fp/unordsf2.c: Likewise.
55443         * soft-fp/unordtf2.c: Likewise.
55445 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55447         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55448         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55450 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55452         * elf/dl-libc.c: Clear initfini list after freeing.
55454 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55456         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55457         * soft-fp/addsf3.c: Likewise.
55458         * soft-fp/addtf3.c: Likewise.
55459         * soft-fp/divdf3.c: Likewise.
55460         * soft-fp/divsf3.c: Likewise.
55461         * soft-fp/divtf3.c: Likewise.
55462         * soft-fp/double.h: Likewise.
55463         * soft-fp/eqdf2.c: Likewise.
55464         * soft-fp/eqsf2.c: Likewise.
55465         * soft-fp/eqtf2.c: Likewise.
55466         * soft-fp/extenddftf2.c: Likewise.
55467         * soft-fp/extended.h: Likewise.
55468         * soft-fp/extendsfdf2.c: Likewise.
55469         * soft-fp/extendsftf2.c: Likewise.
55470         * soft-fp/extendxftf2.c: Likewise.
55471         * soft-fp/fixdfdi.c: Likewise.
55472         * soft-fp/fixdfsi.c: Likewise.
55473         * soft-fp/fixdfti.c: Likewise.
55474         * soft-fp/fixsfdi.c: Likewise.
55475         * soft-fp/fixsfsi.c: Likewise.
55476         * soft-fp/fixsfti.c: Likewise.
55477         * soft-fp/fixtfdi.c: Likewise.
55478         * soft-fp/fixtfsi.c: Likewise.
55479         * soft-fp/fixtfti.c: Likewise.
55480         * soft-fp/fixunsdfdi.c: Likewise.
55481         * soft-fp/fixunsdfsi.c: Likewise.
55482         * soft-fp/fixunsdfti.c: Likewise.
55483         * soft-fp/fixunssfdi.c: Likewise.
55484         * soft-fp/fixunssfsi.c: Likewise.
55485         * soft-fp/fixunssfti.c: Likewise.
55486         * soft-fp/fixunstfdi.c: Likewise.
55487         * soft-fp/fixunstfsi.c: Likewise.
55488         * soft-fp/fixunstfti.c: Likewise.
55489         * soft-fp/floatdidf.c: Likewise.
55490         * soft-fp/floatdisf.c: Likewise.
55491         * soft-fp/floatditf.c: Likewise.
55492         * soft-fp/floatsidf.c: Likewise.
55493         * soft-fp/floatsisf.c: Likewise.
55494         * soft-fp/floatsitf.c: Likewise.
55495         * soft-fp/floattidf.c: Likewise.
55496         * soft-fp/floattisf.c: Likewise.
55497         * soft-fp/floattitf.c: Likewise.
55498         * soft-fp/floatundidf.c: Likewise.
55499         * soft-fp/floatundisf.c: Likewise.
55500         * soft-fp/floatunsidf.c: Likewise.
55501         * soft-fp/floatunsisf.c: Likewise.
55502         * soft-fp/floatuntidf.c: Likewise.
55503         * soft-fp/floatuntisf.c: Likewise.
55504         * soft-fp/floatuntitf.c: Likewise.
55505         * soft-fp/fmadf4.c: Likewise.
55506         * soft-fp/fmasf4.c: Likewise.
55507         * soft-fp/fmatf4.c: Likewise.
55508         * soft-fp/gedf2.c: Likewise.
55509         * soft-fp/gesf2.c: Likewise.
55510         * soft-fp/getf2.c: Likewise.
55511         * soft-fp/ledf2.c: Likewise.
55512         * soft-fp/lesf2.c: Likewise.
55513         * soft-fp/letf2.c: Likewise.
55514         * soft-fp/muldf3.c: Likewise.
55515         * soft-fp/mulsf3.c: Likewise.
55516         * soft-fp/multf3.c: Likewise.
55517         * soft-fp/negdf2.c: Likewise.
55518         * soft-fp/negsf2.c: Likewise.
55519         * soft-fp/negtf2.c: Likewise.
55520         * soft-fp/op-1.h: Likewise.
55521         * soft-fp/op-2.h: Likewise.
55522         * soft-fp/op-4.h: Likewise.
55523         * soft-fp/op-8.h: Likewise.
55524         * soft-fp/op-common.h: Likewise.
55525         * soft-fp/quad.h: Likewise.
55526         * soft-fp/single.h: Likewise.
55527         * soft-fp/soft-fp.h: Likewise.
55528         * soft-fp/sqrtdf2.c: Likewise.
55529         * soft-fp/sqrtsf2.c: Likewise.
55530         * soft-fp/sqrttf2.c: Likewise.
55531         * soft-fp/subdf3.c: Likewise.
55532         * soft-fp/subsf3.c: Likewise.
55533         * soft-fp/subtf3.c: Likewise.
55534         * soft-fp/truncdfsf2.c: Likewise.
55535         * soft-fp/trunctfdf2.c: Likewise.
55536         * soft-fp/trunctfsf2.c: Likewise.
55537         * soft-fp/trunctfxf2.c: Likewise.
55538         * soft-fp/unorddf2.c: Likewise.
55539         * soft-fp/unordsf2.c: Likewise.
55540         * soft-fp/unordtf2.c: Likewise.
55542 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55544         [BZ #15672]
55545         * misc/error.c (error_tail): Fix possible buffer overflow.
55547 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55549         [BZ #13028]
55550         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55551         address.
55553 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55555         [BZ #832]
55556         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55557         testing pipefail option.
55559 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55561         * soft-fp/double.h: Indent preprocessor directives inside #if.
55562         * soft-fp/extended.h: Likewise.
55563         * soft-fp/op-2.h: Likewise.
55564         * soft-fp/op-4.h: Likewise.
55565         * soft-fp/op-common.h: Likewise.
55566         * soft-fp/quad.h: Likewise.
55567         * soft-fp/single.h: Likewise.
55568         * soft-fp/soft-fp.h: Likewise.
55570 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55572         * iconv/iconv_prog.c: Fix typos.
55573         * stdio-common/psiginfo-data.h: Likewise.
55575 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55577         [BZ #15764]
55578         * locale/setlocale.c: Fix typo.
55580 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55582         [BZ #16036]
55583         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55584         signaling NaN arguments.
55585         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55586         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55588         [BZ #14910]
55589         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55590         unordered operands.
55591         * soft-fp/gesf2.c (__gesf2): Likewise.
55592         * soft-fp/getf2.c (__getf2): Likewise.
55593         * soft-fp/ledf2.c (__ledf2): Likewise.
55594         * soft-fp/lesf2.c (__lesf2): Likewise.
55595         * soft-fp/letf2.c (__letf2): Likewise.
55597         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55598         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55599         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55600         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55601         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55602         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55603         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55604         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55605         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55606         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55607         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55608         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55609         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55610         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55611         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55612         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55613         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55614         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55615         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55616         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55617         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55618         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55619         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55620         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55621         * soft-fp/floattidf.c (__floattidf): Likewise.
55622         * soft-fp/floattisf.c (__floattisf): Likewise.
55623         * soft-fp/floattitf.c (__floattitf): Likewise.
55624         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55625         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55626         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55627         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55628         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55629         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55630         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55631         * soft-fp/gesf2.c (__gesf2): Likewise.
55632         * soft-fp/getf2.c (__getf2): Likewise.
55633         * soft-fp/ledf2.c (__ledf2): Likewise.
55634         * soft-fp/lesf2.c (__lesf2): Likewise.
55635         * soft-fp/letf2.c (__letf2): Likewise.
55637         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55638         Undefine and redefine.
55639         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55640         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55641         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55642         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55643         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55644         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55645         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55646         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55647         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55648         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55649         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55650         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55651         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55652         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55653         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55655         [BZ #16032]
55656         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55657         without decrementing exponent if mantissa >= that for the
55658         denominator, not >.
55659         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55660         denominator, not >.  Decrement exponent in < case instead of
55661         incrementing in >= case.
55662         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55663         without decrementing exponent if mantissa >= that for the
55664         denominator, not >.
55666         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55667         computing saturated result for unsigned overflow.
55669 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55670             Jeff Law  <law@redhat.com>
55672         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55673         (atan2Mp): Add systemtap probe marker.
55674         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55675         (__ieee754_log): Add systemtap probe marker.
55676         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55677         (atanMp): Add systemtap probe marker.
55678         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55679         (tanMp): Add systemtap probe marker.
55680         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55681         (__slowexp): Add systemtap probe marker.
55682         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55683         (__slowpow): Add systemtap probe marker.
55684         * manual/probes.texi: Document probes.
55686 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55688         [BZ #15362]
55689         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55690         written.
55691         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55692         written.
55693         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55694         written to buffer but not flushed.
55695         * libio/iofwrite_u.c:  Likewise.
55696         * libio/iopadn.c:  Return bytes returned even if EOF was
55697         encountered.
55698         * libio/iowpadn.c:  Likewise.
55699         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55700         if _IO_padn does not write the whole buffer.
55701         [!COMPILE_WPRINTF] (PAD): Likewise.
55703 2013-10-10  David S. Miller  <davem@davemloft.net>
55705         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55706         directory block.
55708 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55710         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55711         instead of FSF address.
55712         * soft-fp/fixdfti.c: Likewise.
55713         * soft-fp/fixsfti.c: Likewise.
55714         * soft-fp/fixtfti.c: Likewise.
55715         * soft-fp/fixunsdfti.c: Likewise.
55716         * soft-fp/fixunssfti.c: Likewise.
55717         * soft-fp/fixunstfti.c: Likewise.
55718         * soft-fp/floattidf.c: Likewise.
55719         * soft-fp/floattisf.c: Likewise.
55720         * soft-fp/floattitf.c: Likewise.
55721         * soft-fp/floatuntidf.c: Likewise.
55722         * soft-fp/floatuntisf.c: Likewise.
55723         * soft-fp/floatuntitf.c: Likewise.
55724         * soft-fp/trunctfxf2.c: Likewise.
55726         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55727         * soft-fp/fixdfti.c: Likewise.
55728         * soft-fp/fixsfti.c: Likewise.
55729         * soft-fp/fixtfti.c: Likewise.
55730         * soft-fp/fixunsdfti.c: Likewise.
55731         * soft-fp/fixunssfti.c: Likewise.
55732         * soft-fp/fixunstfti.c: Likewise.
55733         * soft-fp/floattidf.c: Likewise.
55734         * soft-fp/floattisf.c: Likewise.
55735         * soft-fp/floattitf.c: Likewise.
55736         * soft-fp/floatuntidf.c: Likewise.
55737         * soft-fp/floatuntisf.c: Likewise.
55738         * soft-fp/floatuntitf.c: Likewise.
55739         * soft-fp/trunctfxf2.c: Likewise.
55741 2013-10-10  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55745 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55747         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55748         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55749         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55750         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55751         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55752         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55753         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55756         for NaNs before doing comparisons on argument.
55757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55758         Likewise.
55760 2013-10-10  Will Newton  <will.newton@linaro.org>
55762         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55763         passed to _int_memalign does not overflow.
55765 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55767         * scripts/bench.pl: Add include-sources directive.
55768         * benchtests/README: Update documentation.
55770 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55772         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55773         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55774         instead of FP_INIT_ROUNDMODE.
55775         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55776         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55778         [BZ #16034]
55779         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55780         copy class of input value.
55781         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55782         not handle exceptions.
55783         * soft-fp/negsf2.c (__negsf2): Likewise.
55784         * soft-fp/negtf2.c (__negtf2): Likewise.
55785         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55787 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55789         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55790         semicolon.  From Linux kernel.
55792 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55794         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55796 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55798         [BZ #156]
55799         * manual/socket.texi: Added statement about buffer
55800         for gethostbyname2_r.
55802 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55804         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55805         Use .p2align directive instead, throughout.
55806         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55807         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55808         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55810         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55811         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55812         * sysdeps/x86_64/strchr.S: Likewise.
55813         * sysdeps/x86_64/strrchr.S: Likewise.
55815 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55817         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55819         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55821         * sysdeps/generic/math_private.h (__mpsin1): Remove
55822         declaration.
55823         (__mpcos1): Likewise.
55824         (__mpsin): New argument __range_reduce.
55825         (__mpcos): Likewise.
55826         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55827         (slow): Use __mpsin and __mpcos.
55828         (slow1): Likewise.
55829         (slow2): Likewise.
55830         (sloww): Likewise.
55831         (sloww1): Likewise.
55832         (sloww2): Likewise.
55833         (bsloww): Likewise.
55834         (bsloww1): Likewise.
55835         (bsloww2): Likewise.
55836         (cslow2): Likewise.
55837         (csloww): Likewise.
55838         (csloww1): Likewise.
55839         (csloww2): Likewise.
55840         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55841         range_reduce.  Merge in __mpsin1.
55842         (__mpcos): Likewise.
55843         (__mpsin1): Remove.
55844         (__mpcos1): Likewise.
55846 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55848         * locale/loadlocale.c (_nl_intern_locale_data): Use
55849         LOCFILE_ALIGNED_P.
55850         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55851         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55852         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55853         obstack data is appropriately aligned.
55854         (obstack_int32_grow_fast): Likewise.
55855         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55856         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55857         (add_locale_uint32_array): Likewise.
55859 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55861         * benchtests/Makefile: Remove ARGLIST and RET variables.
55862         ($(objpfx)bench-%.c): Pass only function name to the script.
55863         * benchtests/README: Update documentation.
55864         * benchtests/acos-inputs: Add new directives.
55865         * benchtests/acosh-inputs: Likewise.
55866         * benchtests/asin-inputs: Likewise.
55867         * benchtests/asinh-inputs: Likewise.
55868         * benchtests/atan-inputs: Likewise.
55869         * benchtests/atanh-inputs: Likewise.
55870         * benchtests/cos-inputs: Likewise.
55871         * benchtests/cosh-inputs: Likewise.
55872         * benchtests/exp-inputs: Likewise.
55873         * benchtests/log-inputs: Likewise.
55874         * benchtests/pow-inputs: Likewise.
55875         * benchtests/rint-inputs: Likewise.
55876         * benchtests/sin-inputs: Likewise.
55877         * benchtests/sinh-inputs: Likewise.
55878         * benchtests/tan-inputs: Likewise.
55879         * benchtests/tanh-inputs: Likewise.
55880         * scripts/bench.pl: Add support for new directives.
55882 2013-10-07  Alan Modra  <amodra@gmail.com>
55884         * README: Fix careless merge.
55886 2013-10-05  Alan Modra  <amodra@gmail.com>
55888         * NEWS: Mention powerpc64le support and bugs fixed.
55889         * README: Both big-endian and little-endian powerpc64 supported.
55891 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55893         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55894         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55895         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55896         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55898 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55900         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55901         match prototype.
55903 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55905         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55906         Move -mhard-float appending from
55907         ports/sysdeps/powerpc/powerpc32/Makefile.
55908         [$(with-fp) = yes] (ASFLAGS): Likewise.
55909         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55910         * sysdeps/powerpc/nofpu: Move directory from
55911         ports/sysdeps/powerpc/nofpu.
55912         * sysdeps/powerpc/soft-fp: Move directory from
55913         ports/sysdeps/powerpc/soft-fp.
55914         * sysdeps/powerpc/powerpc32/405: Move directory from
55915         ports/sysdeps/powerpc/powerpc32/405.
55916         * sysdeps/powerpc/powerpc32/440: Move directory from
55917         ports/sysdeps/powerpc/powerpc32/440.
55918         * sysdeps/powerpc/powerpc32/464: Move directory from
55919         ports/sysdeps/powerpc/powerpc32/464.
55920         * sysdeps/powerpc/powerpc32/476: Move directory from
55921         ports/sysdeps/powerpc/powerpc32/476.
55922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55923         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55925         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55927         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55929         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55931         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55932         * README: Update for powerpc-*-linux-gnu software floating point
55933         support in libc.
55935         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55936         case to powerpc/powerpc32*.
55937         * sysdeps/unix/sysv/linux/configure: Regenerated.
55939         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55940         (_FPU_MASK_OM): Define as 0x04.
55941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55943         0x00c10080.
55944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55945         0x0000003c.
55946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55949         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55950         getcontext_e500.
55951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55952         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55953         setcontext_e500.
55954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55955         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55956         and setcontext_e500.
55958 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55960         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55962 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55964         * manual/threads.texi (Default Thread Attributes): Fix typo.
55966 2013-10-04  Will Newton  <will.newton@linaro.org>
55968         * malloc/Makefile: Add tst-memalign.
55969         * malloc/tst-memalign.c: New file.
55971         * malloc/tst-posix_memalign.c: Add comments.
55972         (do_test): Add comments and call free on all potentially
55973         allocated pointers. Add space after cast.
55975         * malloc/tst-pvalloc.c: Add comments.
55976         (do_test): Add comments and call free on all potentially
55977         allocated pointers. Remove duplicate check for NULL pointer.
55978         Add space after cast.
55980         * malloc/tst-valloc.c: Add comments.
55981         (do_test): Add comments and call free on all potentially
55982         allocated pointers. Remove duplicate check for NULL pointer.
55983         Add space after cast.
55985 2013-10-04  Alan Modra  <amodra@gmail.com>
55987         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55988         Use stdint types in rather than __attribute__((mode())).
55989         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55991 2013-10-04  Alan Modra  <amodra@gmail.com>
55993         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55994         Correct handling of unaligned relocs for little-endian.
55995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55997 2013-10-04  Alan Modra  <amodra@gmail.com>
55999         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56000         * configure: Regenerate.
56001         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56002         * shlib-versions: Likewise.
56004 2013-10-04  Alan Modra  <amodra@gmail.com>
56006         * string/tester.c (test_memrchr): Increment reported test cycle.
56008 2013-10-04  Alan Modra  <amodra@gmail.com>
56010         * string/test-memcpy.c (do_one_test): When reporting errors, print
56011         string address and don't overrun end of string.
56013 2013-10-04  Alan Modra  <amodra@gmail.com>
56015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56016         insrdi.  Make better use of reg selection to speed exit slightly.
56017         Schedule entry path a little better.  Remove useless "are we done"
56018         checks on entry to main loop.  Handle wrapping around zero address.
56019         Correct main loop count.  Handle single left-over word from main
56020         loop inline rather than by using loop_small.  Remove extra word
56021         case in loop_small caused by wrong loop count.  Add little-endian
56022         support.
56023         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56024         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56025         cache hint.
56026         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56027         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56028         support.  Avoid rlwimi.
56029         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56031 2013-10-04  Alan Modra  <amodra@gmail.com>
56033         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56034         insrdi.  Formatting.
56035         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56036         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56037         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56038         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56039         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56040         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56042 2013-10-04  Alan Modra  <amodra@gmail.com>
56044         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56046         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56047         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56048         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56049         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56050         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56051         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56052         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56053         use of regs.  Use power7 mtocrf.  Tidy function tails.
56055 2013-10-04  Alan Modra  <amodra@gmail.com>
56057         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56058         Formatting.  Consistently use rXXX register defines or rN defines.
56059         Use early exit labels that avoid restoring unused non-volatile regs.
56060         Make cr field use more consistent with rWORDn compares.  Rename
56061         regs used as shift registers for unaligned loop, using rN defines
56062         for short lifetime/multiple use regs.
56063         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56064         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56065         addi 1,1,64 to pop stack frame.  Simplify return value code.
56066         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56068 2013-10-04  Alan Modra  <amodra@gmail.com>
56070         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56071         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56072         rather than rlwimi.
56073         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56074         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56075         little-endian support.  Correct typos.
56076         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56077         rather than rlwimi.
56078         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56079         in loop and entry code to keep "and." results.
56080         (strchr): Add little-endian support.  Comment.  Move cntlzd
56081         earlier in tail.
56082         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56084 2013-10-04  Alan Modra  <amodra@gmail.com>
56086         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56087         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56088         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56089         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56091 2013-10-04  Alan Modra  <amodra@gmail.com>
56093         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56094         (rTMP): Define as r11.
56095         (strcmp): Add little-endian support.  Optimise tail.
56096         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56097         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56098         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56099         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56101         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56102         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56104 2013-10-04  Alan Modra  <amodra@gmail.com>
56106         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56107         little-endian support.  Remove unnecessary "are we done" tests.
56108         Handle "s" wrapping around zero and extremely large "size".
56109         Correct main loop count.  Handle single left-over word from main
56110         loop inline rather than by using small_loop.  Correct comments.
56111         Delete "zero" tail, use "end_max" instead.
56112         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56114 2013-10-04  Alan Modra  <amodra@gmail.com>
56116         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56117         support.  Don't branch over align.
56118         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56119         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56120         support.  Rearrange tmp reg use to suit.  Comment.
56121         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56123 2013-10-04  Alan Modra  <amodra@gmail.com>
56125         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56127 2013-10-04  Alan Modra  <amodra@gmail.com>
56129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56130         conditional form of branch and link when obtaining pc.
56131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56133 2013-10-04  Alan Modra  <amodra@gmail.com>
56135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56136         HIWORD/LOWORD.
56137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56140 2013-10-04  Alan Modra  <amodra@gmail.com>
56142         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56143         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56144         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56145         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56146         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56147         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56148         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56149         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56150         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56151         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56153 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56154             Alistair Popple <alistair@ozlabs.au.ibm.com>
56155             Alan Modra <amodra@gmail.com>
56157         [BZ #15723]
56158         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56159         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56160         _dl_hwcap access for little-endian.
56161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56162         destroy vmx regs when saving unaligned.
56163         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56164         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56165         destroy vmx regs when saving unaligned.
56167 2013-10-04  Alan Modra  <amodra@gmail.com>
56169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56170         Don't use a union to pack hi/low value.
56172 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56174         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56175         for little-endian.
56176         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56178         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56179         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56180         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56182 2013-10-04  Alan Modra  <amodra@gmail.com>
56184         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56185         constants to usual value for .cst8 section, and remove redundant
56186         high address load.
56187         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56188         constant for 0x1p52.  Load little-endian words of double from
56189         correct stack offsets.
56191 2013-10-04  Alan Modra  <amodra@gmail.com>
56193         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56194         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56195         words of double from correct stack offsets.
56196         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56197         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56198         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56199         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56200         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56201         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56202         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56203         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56204         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56206         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56207         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56208         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56209         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56210         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56211         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56212         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56214 2013-10-04  Alan Modra  <amodra@gmail.com>
56216         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56217         64-bit int/double union.
56218         (_FPU_SETCW): Likewise.
56219         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56220         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56222 2013-10-04  Alan Modra  <amodra@gmail.com>
56224         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56225         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56227 2013-10-04  Alan Modra  <amodra@gmail.com>
56229         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56230         use vector int constants.
56231         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56233 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56235         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56236         array with long long.
56237         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56238         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56239         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56240         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56241         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56242         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56243         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56244         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56245         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56246         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56247         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56248         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56249         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56251 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56253         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56254         (__signbit): Likewise.  Correct for little-endian.
56255         (__signbitl): Call __signbit.
56256         (lrint): Correct for little-endian.
56257         (lrintf): Call lrint.
56259 2013-10-04  Alan Modra  <amodra@gmail.com>
56261         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56262         union 32-bit int array member with 64-bit int array.
56263         (t515, tm256): Double rather than long double.
56264         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56266 2013-10-04  Alan Modra  <amodra@gmail.com>
56268         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56269         Delete.
56270         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56272         version of math_ldbl.h.
56274 2013-10-04  Alan Modra  <amodra@gmail.com>
56276         [BZ #15734], [BZ #15735]
56277         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56278         all uses of ieee875 long double macros and unions.  Simplify test
56279         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56280         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56281         normalize after ldbl_extract_mantissa, and don't add hidden bit
56282         already handled.  Don't treat low word of ieee854 mantissa like
56283         low word of IBM long double and mask off bit when testing for
56284         zero.
56285         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56286         all uses of ieee875 long double macros and unions.  Simplify tests
56287         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56288         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56289         two1022, instead use their values.  Recognise that tests for large
56290         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56291         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56292         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56293         test for 0.0L and nan.  Correct negation.
56294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56295         ieee875 long double macros and unions.  Correct output for large
56296         magnitude x.  Correct absolute value calculation.
56297         (__erfcl): Likewise.
56298         * math/libm-test.inc: Add tests for errors discovered in IBM long
56299         double versions of fmodl, remainderl, erfl and erfcl.
56301 2013-10-04  Alan Modra  <amodra@gmail.com>
56303         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56304         all uses of ieee854 long double macros and unions.  Simplify tests
56305         for long doubles that are fully specified by the high double.
56306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56307         Likewise.
56308         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56309         Remove dead code too.
56310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56311         (__ieee754_ynl): Likewise.
56312         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56313         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56315         Remove dead code too.
56316         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56318         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56319         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56320         Simplify.
56321         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56322         Simplify.
56323         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56324         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56326         Comment on variable precision.
56327         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56328         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56329         Likewise.
56330         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56333         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56334         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56336 2013-10-04  Alan Modra  <amodra@gmail.com>
56338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56340         all uses of ieee854 long double macros and unions.
56341         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56342         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56343         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56345         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56346         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56347         Likewise.
56348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56349         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56351         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56352         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56353         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56354         Simplify sign and nan test too.
56355         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56356         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56357         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56358         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56359         Likewise.
56360         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56361         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56362         Likewise.
56363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56364         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56365         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56366         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56367         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56370 2013-10-04  Alan Modra  <amodra@gmail.com>
56372         * stdio-common/printf_size.c (__printf_size): Don't use
56373         union ieee854_long_double in fpnum union.
56374         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56375         signbit macro to retrieve sign from long double.
56376         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56377         retrieve sign from long double.
56378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56379         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56380         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56381         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56382         * math/test-misc.c (main): Don't use union ieee854_long_double.
56384 2013-10-04  Alan Modra  <amodra@gmail.com>
56386         [BZ #15680]
56387         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56388         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56389         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56390         calculation.  Remove unnecessary test for denormal exponent.
56391         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56392         Correct handling of denormals.  Avoid undefined shift behaviour.
56393         Correct normalisation of low mantissa when low double is denormal.
56394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56395         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56396         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56397         Correct normalisation of low mantissa.  Test for overflow of high
56398         mantissa and normalise.
56399         (ldbl_nearbyint): Use more readable constant for two52.
56400         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56401         (__mpn_construct_long_double): Fix test for overflow of high
56402         mantissa and correct normalisation.  Avoid undefined shift.
56404 2013-10-04  Alan Modra  <amodra@gmail.com>
56406         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56407         (union ibm_extended_long_double): Define as an array of ieee754_double.
56408         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56409         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56410         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56411         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56414         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56417         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56418         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56420 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56422         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56423         page size instead of calling getpagesize.
56425         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56426         (LOCFILE_ALIGN_MASK): Likewise.
56427         (LOCFILE_ALIGN_UP): Likewise.
56428         (LOCFILE_ALIGNED_P): Likewise.
56429         * locale/programs/ld-collate.c (collate_output): Use the new
56430         macros instead of __alignof__ (int32_t).
56431         * locale/weight.h (findidx): Likewise.
56433 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56435         [BZ #431]
56436         * manual/string.texi: Fix strncat and wcsncat.
56438 2013-10-03  Brooks Moses  <bmoses@google.com>
56440         [BZ #15915]
56441         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56442         * Makerules: ...here, and adjust associated comments.
56444 2013-10-02  Will Newton  <will.newton@linaro.org>
56446         * malloc/Makefile: Add tst-pvalloc.
56447         * malloc/tst-pvalloc.c: New file.
56449 2013-10-02  Will Newton  <will.newton@linaro.org>
56451         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56452         improve test coverage.
56454 2013-10-02  Will Newton  <will.newton@linaro.org>
56456         * malloc/Makefile: Add tst-posix_memalign.
56457         * malloc/tst-posix_memalign.c: New file.
56459 2013-10-01  Eric Blake  <eblake@redhat.com>
56461         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56462         Use __THROWNL rather than __THROW on static functions.
56464 2013-09-30  Petr Machata  <pmachata@redhat.com>
56466         * elf/elf.h (R_AARCH64_ABS16): New macro.
56467         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56468         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56469         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56470         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56471         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56472         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56473         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56474         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56475         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56476         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56477         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56478         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56479         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56480         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56481         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56482         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56483         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56484         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56485         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56486         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56487         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56488         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56489         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56490         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56491         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56492         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56493         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56494         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56495         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56496         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56497         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56498         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56499         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56500         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56501         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56502         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56503         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56504         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56505         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56506         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56507         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56508         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56509         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56510         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56511         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56512         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56513         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56514         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56515         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56516         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56517         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56518         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56519         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56520         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56521         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56522         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56523         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56524         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56525         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56526         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56527         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56528         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56529         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56530         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56531         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56532         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56533         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56534         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56535         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56536         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56537         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56538         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56539         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56540         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56541         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56542         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56543         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56544         (R_AARCH64_TLSDESC_LDR): Likewise.
56545         (R_AARCH64_TLSDESC_ADD): Likewise.
56546         (R_AARCH64_TLSDESC_CALL): Likewise.
56548 2013-09-30  Andreas Schwab  <schwab@suse.de>
56550         [BZ #15048]
56551         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56552         the nss database lookup.
56553         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56556 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56558         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56560 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56562         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56563         ${Bash-specific parameter/pattern/string} parameter expansion.
56564         * sysdeps/unix/make-syscalls.sh: Likewise.
56566 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56568         * sysdeps/sh/stackguard-macros.h: New file.
56570 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56574         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56575         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56576         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56577         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56579 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56581         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56582         Fix thread ID register.
56584 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56586         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56587         [POSIX || UNIX98]: Require rather than permitting all symbols from
56588         <time.h>.
56589         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56590         element of struct sched_param.
56591         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56592         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56593         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56594         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56595         constant.
56597 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56599         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56600         argument calculation.
56602 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56604         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56605         Expect macro.
56606         [POSIX] (pthread_attr_t): Do not require type.
56607         [POSIX] (pthread_cond_t): Likewise.
56608         [POSIX] (pthread_condattr_t): Likewise.
56609         [POSIX] (pthread_key_t): Likewise.
56610         [POSIX] (pthread_mutex_t): Likewise.
56611         [POSIX] (pthread_mutexattr_t): Likewise.
56612         [POSIX] (pthread_once_t): Likewise.
56613         [POSIX] (pthread_t): Likewise.
56614         [POSIX-based standards] (pthread_atfork): Expect function.
56616 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56617             Richard Sandiford  <richard@codesourcery.com>
56619         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56620         (swap_endianness_p): New extern variable.
56621         (set_big_endian): New inline function.
56622         (maybe_swap_uint32): Likewise.
56623         (maybe_swap_uint32_array): Likewise.
56624         (maybe_swap_uint32_obstack): Likewise.
56625         * locale/programs/locfile.c: Include <stdbool.h>.
56626         (swap_endianness_p): New variable.
56627         (add_locale_uint32): Call maybe_swap_uint32.
56628         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56629         (write_locale_data): Call maybe_swap_uint32_array.
56630         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56631         maybe_swap_uint32.
56632         (obstack_int32_grow_fast): Likewise.
56633         (output_weightwc): Call maybe_swap_uint32_obstack.
56634         (collate_output): Likewise.
56635         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56636         (OPT_LITTLE_ENDIAN): Likewise.
56637         (options): Add --little-endian and --big-endian options.
56638         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56639         * locale/programs/locarchive.c: Include "locfile.h".
56640         (GET): New macro.
56641         (SET): Likewise.
56642         (INC): Likewise.
56643         (create_archive): Use the new macros to access fields of
56644         structures directly mapped from or written to locale archives.
56645         (oldlocrecentcmp): Likewise.
56646         (enlarge_archive): Likewise.
56647         (insert_name): Likewise.
56648         (add_alias): Likewise.
56649         (add_locale): Likewise.
56650         (delete_locales_from_archive): Likewise.
56651         (show_archive_content): Likewise.
56652         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56653         locale data.
56655 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56657         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56658         http://www.gnu.org/doc/freemanuals.texi.
56659         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56661 2013-09-24  Will Newton  <will.newton@linaro.org>
56663         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56664         macro.
56666 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56668         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56669         unsigned char.
56671 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56673         * manual/threads.texi (POSIX Threads): Fix a typo.
56675 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56677         [BZ #14547]
56678         * string/tst-strcoll-overflow.c: New test case.
56679         * string/Makefile (xtests): Add tst-strcoll-overflow.
56680         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56681         cache if string sizes may cause integer overflow.
56683         [BZ #14547]
56684         * string/strcoll_l.c (coll_seq): New members rule, idx,
56685         save_idx and back_us.
56686         (get_next_seq_nocache): New function.
56687         (do_compare_nocache): New function.
56688         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56689         when malloc fails.
56691 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56693         [BZ #15754]
56694         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56695         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56696         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56698         [BZ #15754]
56699         * elf/Makefile (tests): Add tst-ptrguard1.
56700         (tests-static): Add tst-ptrguard1-static.
56701         (tst-ptrguard1-ARGS): Define.
56702         (tst-ptrguard1-static-ARGS): Define.
56703         * elf/tst-ptrguard1.c: New file.
56704         * elf/tst-ptrguard1-static.c: New file.
56705         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56706         * sysdeps/i386/stackguard-macros.h: Likewise.
56707         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56708         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56709         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56710         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56711         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56712         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56714 2013-09-23  Hector Marco  <hecmargi@upv.es>
56715             Ismael Ripoll  <iripoll@disca.upv.es>
56716             Carlos O'Donell  <carlos@redhat.com>
56718         [BZ #15754]
56719         * sysdeps/generic/stackguard-macros.h: Define
56720         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56721         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56722         Define __pointer_chk_guard_local.
56723         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56724         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56726 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56728         [BZ #15859]
56729         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56731 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56733         * include/string.h (__ffs): Declare as hidden.
56734         * string/ffs.c (__ffs): Define as hidden.
56735         * sysdeps/i386/ffs.c (__ffs): Likewise.
56736         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56737         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56738         * sysdeps/s390/ffs.c (__ffs): Likewise.
56739         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56741 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56743         * NEWS: Mention malloc probes.
56745         * malloc/arena.c (new_heap): New memory_heap_new probe.
56746         (grow_heap): New memory_heap_more probe.
56747         (shrink_heap): New memory_heap_less probe.
56748         (heap_trim): New memory_heap_free probe.
56749         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56750         (systrim): New memory_sbrk_less probe.
56751         * manual/probes.texi: Document them.
56753         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56754         * manual/probes.texi: Document it.
56756         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56757         (__libc_realloc): Add memory_realloc_retry probe.
56758         (__libc_memalign): Add memory_memalign_retry probe.
56759         (__libc_valloc): Add memory_valloc_retry probe.
56760         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56761         (__libc_calloc): Add memory_calloc_retry probe.
56762         * manual/probes.texi: Document them.
56764         * malloc/arena.c (get_free_list): Add probe
56765         memory_arena_reuse_free_list.
56766         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56767         and memory_arena_reuse.
56768         (arena_get2) [!PER_THREAD]: Likewise.
56769         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56770         memory_arena_reuse_realloc.
56771         * manual/probes.texi: Document them.
56773         * malloc/malloc.c (__libc_free): Add
56774         memory_mallopt_free_dyn_thresholds probe.
56775         (__libc_mallopt): Add multiple memory_mallopt probes.
56776         * manual/probes.texi: Document them.
56778         * malloc/malloc.c: Include stap-probe.h.
56779         (__libc_mallopt): Add memory_mallopt probe.
56780         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56781         * manual/probes.texi: New.
56782         * manual/Makefile (chapters): Add probes.
56783         * manual/threads.texi: Set next node.
56785 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56787         [BZ #15963, #13985]
56788         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56789         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56790         Add `Chinese' to `nan' entry name.
56792 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56794         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56795         (POLYNOMIAL): Likewise.
56796         (TAYLOR_SINCOS): Likewise.
56797         (TAYLOR_SLOW): Likewise.
56798         (__sin): Use TAYLOR_SINCOS.
56799         (__cos): Likewise.
56800         (slow): Use TAYLOR_SLOW.
56801         (sloww): Likewise.
56802         (bsloww): Likewise.
56803         (csloww): Likewise.
56805 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56807         * stdlib/strtod_l.c: Fix buffer overrun.
56809 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56811         * benchtests/Makefile (bench): Add sincos.
56812         * benchtests/bench-sincos.c: New file.
56814         * math/libm-test.inc (cos_test_data): New test inputs.
56815         (sin_test_data): Likewise.
56817         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56818         macro.
56819         (__sin): Use it.
56820         (__cos): Likewise.
56821         (slow1): Likewise.
56822         (slow2): Likewise.
56823         (sloww1): Likewise.
56824         (sloww2): Likewise.
56825         (bsloww1): Likewise.
56826         (bsloww2): Likewise.
56827         (cslow2): Likewise.
56828         (csloww1): Likewise.
56829         (csloww2): Likewise.
56831         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56832         function.
56833         (__sin): Use it.
56834         (__cos): Likewise.
56836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56837         gotos.
56838         (__cos): Likewise.
56840 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56842         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56843         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56844         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56845         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56846         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56847         * elf/cache.c (print_entry): Handle the new cache flags.
56849 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56850             Aldy Hernandez  <aldyh@redhat.com>
56852         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56853         Change condition to [_SOFT_FLOAT].
56854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56866         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56869         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56870         declaration.
56872 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56874         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56875         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56876         (__longjmp): Use LOAD_GP to load saved GPRs.
56877         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56878         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56879         (__sigsetjmp): Use SAVE_GP to save GPRs.
56881         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56882         Do not append -msoft-float.
56883         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56885 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56887         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56889 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56891         [BZ #15966]
56892         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56893         (_FPU_GETCW): Use initial "__" on variable and field names but not
56894         on macro parameter name.
56895         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56896         parentheses around reference to macro parameter.
56898 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56900         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56901         prototype.
56902         (ctype_startup): Use uint32_t in cast and sizeof for
56903         ctype->charnames.
56905 2013-09-11  Jia Liu  <proljc@gmail.com>
56907         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56908         __daddr_t_defined.
56909         [__FreeBSD__]: Likewise.
56911 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56914         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56915         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56916         (strchr): Remove __strchr_sse42 ifunc selection.
56917         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56918         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56920 2013-09-11  Will Newton  <will.newton@linaro.org>
56922         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56923         parameter to RES. Remove hardcoded 1000 value.
56924         * benchtests/bench-skeleton.c (main): Pass RES parameter
56925         to TIMING_INIT and multiply result by 1000.
56927 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56931 2013-09-11  Andreas Schwab  <schwab@suse.de>
56933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56934         if not defined.
56935         (O_TMPFILE) [__USE_GNU]: Define.
56936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56937         Define.
56939 2013-09-11  Will Newton  <will.newton@linaro.org>
56941         [BZ #15857]
56942         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56943         does not overflow.
56945 2013-09-11  Will Newton  <will.newton@linaro.org>
56947         [BZ #15856]
56948         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56949         does not overflow.
56951 2013-09-11  Will Newton  <will.newton@linaro.org>
56953         [BZ #15855]
56954         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56955         does not overflow.
56957 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56959         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56960         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56961         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56963         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56965 2013-09-10  Allan McRae  <allan@archlinux.org>
56967         [BZ #15748]
56968         * manual/arith.texi (Parsing of Floats): Clarify
56969         cross-reference.
56971         [BZ #15849]
56972         * manual/install.texi (Running make install): Mention
56973         --enable-pt-chown.
56974         * INSTALL: Regenerated.
56976 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56978         * csu/init-first.c (_init): Remove the !SHARED condition around
56979         FPU control word initialization.
56980         * elf/dl-support.c (_dl_fpu_control): New variable.
56981         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56982         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56983         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56984         * math/test-fpucw-static.c: New file.
56985         * math/test-fpucw-ieee.c: New file.
56986         * math/test-fpucw-ieee-static.c: New file.
56987         * math/Makefile (tests): Add `test-fpucw-ieee' and
56988         `$(tests-static)'.
56989         (tests-static): New variable.
56990         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56991         dependency to...
56992         [($(build-shared),yes)]
56993         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56994         ... this.
56995         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56996         New dependency.
56998 2013-09-09  Allan McRae  <allan@archlinux.org>
57000         [BZ #15939]
57001         * manual/string.texi (Collation Functions): Fix typo in
57002         strcoll example.
57003         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57005         [BZ #15893]
57006         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57008         [BZ #15892]
57009         * libio/memstream.c (open_memstream): Fix memory leak.
57010         * libio/wmemstream.c (open_wmemstream): Likewise.
57012         [BZ #15895]
57013         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57015 2013-09-09  Will Newton  <will.newton@linaro.org>
57017         * malloc/Makefile: Add tst-realloc to tests.
57018         * malloc/tst-realloc.c: New file.
57020 2013-09-09  Allan McRae  <allan@archlinux.org>
57022         [BZ #15844]
57023         * COPYING: Update from GNU website to fix FSF address.
57024         * COPYING.LIB: Likewise.
57026 2013-09-06  David S. Miller  <davem@davemloft.net>
57028         * po/zh_TW.po: Update Chinese (traditional) translation from
57029         translation project.
57031 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57032             Joseph Myers  <joseph@codesourcery.com>
57034         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57035         "localeinfo.h".
57036         (obstack_chunk_alloc): New macro.
57037         (obstack_chunk_free): Likewise.
57038         (record_offset): New function.
57039         (init_locale_data): Likewise.
57040         (align_locale_data): Likewise.
57041         (add_locale_empty): Likewise.
57042         (add_locale_raw_data): Likewise.
57043         (add_locale_raw_obstack): Likewise.
57044         (add_locale_string): Likewise.
57045         (add_locale_wstring): Likewise.
57046         (add_locale_uint32): Likewise.
57047         (add_locale_uint32_array): Likewise.
57048         (add_locale_char): Likewise.
57049         (start_locale_structure): Likewise.
57050         (end_locale_structure): Likewise.
57051         (start_locale_prelude): Likewise.
57052         (end_locale_prelude): Likewise.
57053         (write_locale_data): Take locale_file structure rather than an
57054         iovec.
57055         * locale/programs/locfile.h: Include "obstack.h".
57056         (struct locale_file): Change to store locale file contents instead
57057         of header.
57058         (init_locale_data): New prototype.
57059         (align_locale_data): Likewise.
57060         (add_locale_empty): Likewise.
57061         (add_locale_raw_data): Likewise.
57062         (add_locale_raw_obstack): Likewise.
57063         (add_locale_string): Likewise.
57064         (add_locale_wstring): Likewise.
57065         (add_locale_uint32): Likewise.
57066         (add_locale_uint32_array): Likewise.
57067         (add_locale_char): Likewise.
57068         (start_locale_structure): Likewise.
57069         (end_locale_structure): Likewise.
57070         (start_locale_prelude): Likewise.
57071         (end_locale_prelude): Likewise.
57072         (write_locale_data): Update prototype.
57073         * locale/programs/3level.h (struct TABLE): Remove result field.
57074         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57075         Use new locale_file interface.
57076         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57077         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57078         * locale/programs/ld-address.c (address_output): Use new
57079         locale_file interface.
57080         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57081         NO_ADD_LOCALE.
57082         (collate_finish): Don't call collseq_table_finalize.
57083         (collate_output): Use new locale_file interface.
57084         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57085         in file.
57086         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57087         (TABLE): Move defines earlier in file.
57088         (ELEMENT): Likewise.
57089         (DEFAULT): Likewise.
57090         (wctrans_table_add): Move macro and inline function earlier in
57091         file.
57092         (struct wctype_table): Move type earlier in file.
57093         (add_locale_wctype_table): New static prototype.
57094         (struct locale_ctype_t): Use logical types instead of struct iovec
57095         pointers for members.
57096         (ctype_output): Use new locale_file interface.
57097         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57098         new locale_file interface.
57099         (allocate_arrays): Update for use of new locale_file interface.
57100         * locale/programs/ld-identification.c (identification_output): Use
57101         new locale_file interface.
57102         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57103         * locale/programs/ld-messages.c (messages_output): Likewise.
57104         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57105         * locale/programs/ld-name.c (name_output): Likewise.
57106         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57107         * locale/programs/ld-paper.c (paper_output): Likewise.
57108         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57109         * locale/programs/ld-time.c (time_output): Likewise.
57111 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57113         * benchtests/Makefile: Add memrchr benchmark.
57114         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57115         benchmark as memrchr.
57116         * benchtests/bench-memrchr-ifunc.c: New file.
57117         * benchtests/bench-memrchr.c: New file.
57119 2013-09-06   Will Newton  <will.newton@linaro.org>
57121         * benchtests/Makefile (string-bench): Add memcpy.
57123 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57124             Cong Wang  <amwang@redhat.com>
57126         [BZ #15850]
57127         * sysdeps/unix/sysv/linux/bits/in.h
57128         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57129         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57130         before __USE_KERNEL_IPV6_DEFS uses.
57131         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57132         IPPROTO_BEETPH.
57133         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57134         sockaddr_in6, or ipv6_mreq.
57136 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57138         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57139         memory access for final bytes in some large inputs.
57140         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57142 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57144         * string/test-memrchr.c: New file.
57145         * string/test-memrchr-ifunc.c: New file.
57146         * string/Makefile: Add new memrchr testcase.
57148 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57150         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57151         fanotify_init returns EPERM.
57153 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57155         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57156         errors.
57157         (top level): Treat second token from macro or constant entries for
57158         allowed headers as allowed.
57159         * include/complex.h: Condition internal declarations on
57160         [!_ISOMAC].
57161         * include/fenv.h: Condition include of <stdbool.h> and internal
57162         declarations on [!_ISOMAC].
57164 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57166         [BZ #15923]
57167         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57169 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57171         * configure.in (--enable-versioning): Remove configure option.
57172         (libc_cv_asm_symver_directive): Remove configure test.
57173         (libc_cv_ld_version_script_option): Likewise.
57174         (VERSIONING): Remove variable and AC_SUBST.
57175         (DO_VERSIONING): Remove AC_DEFINE.
57176         * configure: Regenerated.
57177         * config.h.in (DO_VERSIONING): Remove macro.
57178         * Makerules [$(versioning) = yes]: Change conditionals to
57179         [$(build-shared) = yes].
57180         * config.make.in (versioning): Remove variable.
57181         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57182         [$(build-shared) = yes].
57183         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57184         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57185         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57186         [$(build-shared) = yes].
57187         * extra-lib.mk [$(versioning) = yes]: Likewise.
57188         * hurd/Makefile [$(versioning) = yes]: Likewise.
57189         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57190         [SHARED].
57191         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57192         [SHARED].
57193         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57194         [SHARED && !NO_HIDDEN].
57195         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57196         [SHARED].
57197         [SHARED && DO_VERSIONING]: Likewise..
57198         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57199         [$(build-shared) = yes].
57200         * manual/install.texi (--disable-versioning): Remove
57201         documentation.
57202         * INSTALL: Regenerated.
57203         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57204         to [SHARED].
57205         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57206         [$(build-shared) = yes].
57207         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57208         * sysdeps/i386/i686/multiarch/strstr-c.c
57209         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57210         [SHARED && !NO_HIDDEN].
57211         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57212         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57213         * sysdeps/powerpc/powerpc32/dl-machine.c
57214         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57215         * sysdeps/powerpc/powerpc32/sysdep.h
57216         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57217         to [SHARED && PIC && !NO_HIDDEN].
57218         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57219         conditional to [SHARED].
57221 2013-09-04   Will Newton  <will.newton@linaro.org>
57223         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57224         * benchtests/bench-string.h: Include bench-timing.h instead
57225         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57226         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57227         call to HP_TIMING_DIFF_INIT.
57228         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57229         instead of hp-timing.h macros.
57230         * benchtests/bench-memchr.c: Likewise.
57231         * benchtests/bench-memcmp.c: Likewise.
57232         * benchtests/bench-memcpy.c: Likewise.
57233         * benchtests/bench-memmem.c: Likewise.
57234         * benchtests/bench-memmove.c: Likewise.
57235         * benchtests/bench-memset.c: Likewise.
57236         * benchtests/bench-rawmemchr.c: Likewise.
57237         * benchtests/bench-strcasecmp.c: Likewise.
57238         * benchtests/bench-strcasestr.c: Likewise.
57239         * benchtests/bench-strcat.c: Likewise.
57240         * benchtests/bench-strchr.c: Likewise.
57241         * benchtests/bench-strcmp.c: Likewise.
57242         * benchtests/bench-strcpy.c: Likewise.
57243         * benchtests/bench-strcpy_chk.c: Likewise.
57244         * benchtests/bench-strlen.c: Likewise.
57245         * benchtests/bench-strncasecmp.c: Likewise.
57246         * benchtests/bench-strncat.c: Likewise.
57247         * benchtests/bench-strncmp.c: Likewise.
57248         * benchtests/bench-strncpy.c: Likewise.
57249         * benchtests/bench-strnlen.c: Likewise.
57250         * benchtests/bench-strpbrk.c: Likewise.
57251         * benchtests/bench-strrchr.c: Likewise.
57252         * benchtests/bench-strspn.c: Likewise.
57253         * benchtests/bench-strstr.c: Likewise.
57255 2013-09-04  Will Newton  <will.newton@linaro.org>
57257         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57259 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57261         [BZ #15427]
57262         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57263         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57264         * math/libm-test.inc (lgamma_test_data): Add more tests.
57265         * sysdeps/i386/fpu/libm-test-ulps: Update.
57266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57268 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57270         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57272         Add ifunc.
57273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57274         Add strcmp-sse2-unaligned
57275         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57277 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57279         * Versions.def (libc): Add GLIBC_2.19.
57281 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57283         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57284         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57286 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57288         [BZ #14155]
57289         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57290         intermediate calculations in recurrence.
57291         (__ieee754_ynf): Likewise.
57292         * math/libm-test.inc (jn_test_data): Do not allow spurious
57293         underflow exception.  Add more tests.
57294         (yn_test_data): Add more tests.
57295         * sysdeps/i386/fpu/libm-test-ulps: Update.
57296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57298 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57300         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57302 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57304         * csu/init-first.c: Fix then/than typos.
57305         * locale/programs/ld-collate.c: Likewise.
57306         * locale/programs/linereader.h: Likewise.
57307         * manual/charset.texi: Likewise.
57308         * manual/filesys.texi: Likewise.
57309         * manual/stdio.texi: Likewise.
57310         * manual/string.texi: Likewise.
57311         * stdlib/fmtmsg.c: Likewise.
57312         * sysdeps/i386/stpncpy.S: Likewise.
57313         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57314         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57315         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57316         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57318 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57320         * elf/dl-open.c: Fix typos.
57321         * iconvdata/gbbig5.c: Likewise.
57322         * iconvdata/iso-2022-jp.c: Likewise.
57323         * iconv/gconv_int.h: Likewise.
57324         * iconv/loop.c: Likewise.
57325         * nis/rpcsvc/nis.h: Likewise.
57326         * resolv/ns_name.c: Likewise.
57327         * stdio-common/vfscanf.c: Likewise.
57328         * streams/stropts.h: Likewise.
57329         * sunrpc/rpc_thread.c: Likewise.
57330         * sysdeps/i386/strpbrk.S: Likewise.
57331         * sysdeps/ieee754/k_standard.c: Likewise.
57332         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57333         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57334         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57335         * sysdeps/mach/hurd/profil.c: Likewise.
57336         * sysdeps/s390/dl-procinfo.h: Likewise.
57337         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57338         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57339         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57340         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57341         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57343 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57345         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57348 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57350         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57351         aix specific files.
57352         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57353         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57354         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57355         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57356         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57357         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57358         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57359         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57361 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57362             Roland McGrath  <roland@hack.frob.com>
57364         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57365         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57367 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57369         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57370         __executable_start symbol instead of _start.
57372 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57374         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57375         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57376         Move macros to...
57377         * sysdeps/gnu/ldsodefs.h: ... this new file.
57379         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57380         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57381         instead of ELFOSABI_LINUX.
57383         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57384         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57385         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57386         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57387         Likewise.
57388         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57389         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57390         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57391         Likewise.
57392         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57393         (ibm_extended_long_double): Add ieee_nan member.
57394         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57395         (do_test): New function.
57397         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57398         TEST_TRUNC.
57399         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57400         functions, renamed from truncdfsf_test, trunctfsf_test,
57401         trunctfdf_test.
57402         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57403         functions.
57404         (do_test): Run all these.
57406 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57408         * argp/argp-help.c: Fix typos.
57409         * argp/argp-parse.c: Likewise.
57410         * debug/backtracesyms.c: Likewise.
57411         * elf/elf.h: Likewise.
57412         * malloc/malloc.c: Likewise.
57413         * nis/nis_print.c: Likewise.
57414         * resolv/res_comp.c: Likewise.
57415         * stdlib/stdlib.h: Likewise.
57416         * sunrpc/clnt_tcp.c: Likewise.
57417         * sunrpc/clnt_udp.c: Likewise.
57418         * sunrpc/clnt_unix.c: Likewise.
57419         * sysdeps/unix/bsd/ptsname.c: Likewise.
57420         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57421         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57423         Likewise.
57424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57425         Likewise.
57426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57427         Likewise.
57428         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57430 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57432         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57435 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57437         [BZ #15897]
57438         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57439         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57440         ($(objpfx)bug-dl-leaf): New rule.
57441         ($(objpfx)bug-dl-leaf.so): Likewise.
57442         ($(objpfx)bug-dl-leaf.out): Likewise.
57443         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57444         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57445         * dlfcn/bug-dl-leaf.c: New test.
57446         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57447         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57448         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57449         (dlclose): Likewise.
57450         (dlmopen): Likewise.
57452 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57454         * include/netdb.h [!_ISOMAC]:
57455         Don't include <tls.h>.
57456         (h_errno, __libc_h_errno): Move declaration and macros out of
57457         [_LIBC_REENTRANT].
57459         * include/resolv.h [_RESOLV_H_]:
57460         Don't include <tls.h>.
57461         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57462         * resolv/res_libc.c: Don't include <tls.h>.
57463         (_res): Use __attribute__ ((nocommon)) in place of
57464         __attribute__ ((section (".bss"))).
57466         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57467         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57469         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57471         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57472         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57474         * resolv/res_mkquery.c: Include <sys/time.h>.
57476         * inet/ifreq.c: Moved to ...
57477         * sysdeps/unix/ifreq.c: ... here.
57478         * inet/ifreq.c: New file, true stub version.
57480         * socket/sa_len.c: New file.
57481         * socket/Makefile (aux): Add it.
57482         * sysdeps/unix/sysv/linux/Makefile
57483         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57484         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57485         and #include <socket/sa_len.c>.
57486         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57487         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57489         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57490         * bits/socket.h: ... here.
57492         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57493         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57494         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57496 2013-08-27  Andreas Schwab  <schwab@suse.de>
57498         [BZ #15736]
57499         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57500         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57501         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57502         * string/test-strcasecmp.c (test_main): Run tests in several
57503         locales.
57504         * string/test-strncasecmp.c (test_main): Likewise.
57506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57507         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57508         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57510         (__strncasecmp_ssse3) [PIC]: Likewise.
57512 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57514         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57516         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57517         instead of explicitly declaring xdecrypt.
57518         * nis/nss_nis/nis-publickey.c: Likewise.
57520 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57522         [BZ #15890]
57523         * nscd/aicache.c: Include res_hconf.h.
57524         (addhstaiX): Initialize res_hconf.
57526 2013-08-26  Andreas Schwab  <schwab@suse.de>
57528         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57529         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57531 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57533         * nscd/aicache.c (addhstaiX): Fix indentation.
57535 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57537         * configure.ac: Quote $build_pt_chown test.
57538         * configure: Regenerated.
57540 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57542         [BZ #15532]
57543         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57544         * math/s_cexpf.c (__cexpf): Likewise.
57545         * math/s_cexpl.c (__cexpl): Likewise.
57546         * math/libm-test.inc (cexp_test_data): Correct expected return
57547         value for NaN + i0.  Add another test.
57549 2013-08-22  David S. Miller  <davem@davemloft.net>
57551         * po/ca.po: Update Catalan translation from translation project.
57552         * po/uk.po: Add Ukrainian translations from translation project.
57554 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57556         [BZ #15797]
57557         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57558         is infinite, not alongside NaN test.
57559         * math/s_fdimf.c (__fdimf): Likewise.
57560         * math/s_fdiml.c (__fdiml): Likewise.
57561         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57562         errno is unchanged.
57564 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57566         * argp/argp-help.c: Fix typos.
57567         * crypt/speeds.c: Likewise.
57568         * csu/check_fds.c: Likewise.
57569         * elf/dl-load.c: Likewise.
57570         * elf/dl-open.c: Likewise.
57571         * elf/reldep3.c: Likewise.
57572         * elf/reldep.c: Likewise.
57573         * elf/sprof.c: Likewise.
57574         * iconv/iconv_charmap.c: Likewise.
57575         * iconv/skeleton.c: Likewise.
57576         * iconv/strtab.c: Likewise.
57577         * io/lockf64.c: Likewise.
57578         * libio/libioP.h: Likewise.
57579         * resolv/gai_notify.c: Likewise.
57580         * resolv/ns_name.c: Likewise.
57581         * resolv/ns_samedomain.c: Likewise.
57582         * resolv/res_send.c: Likewise.
57583         * stdlib/random.c: Likewise.
57584         * sunrpc/rpc/xdr.h: Likewise.
57585         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57586         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57587         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57588         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57590         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57592         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57593         * sysdeps/mach/hurd/check_fds.c: Likewise.
57594         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57595         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57596         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57598         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57599         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57600         * sysdeps/pthread/aio_notify.c: Likewise.
57601         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57602         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57603         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57604         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57605         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57607 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57609         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57610         version if bit_Slow_SSE4_2 is set.
57611         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57612         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57614 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57616         [BZ #15867]
57617         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57618         trampoline stack frame information.
57619         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57621         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57622         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57623         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57624         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57625         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57626         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57627         sa_flags value.
57628         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57629         interrupting a syscall and set with option SA_SIGINFO.
57631 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57633         [BZ #15531]
57634         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57635         argument is infinite.
57636         * math/s_cprojf.c (__cprojf): Likewise.
57637         * math/s_cprojl.c (__cprojl): Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57639         * math/libm-test.inc (cproj_test_data): Add more tests.
57641         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57643         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57644         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57645         size.  Use __ffs to determine corresponding shift.
57647 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57648             Roland McGrath  <roland@hack.frob.com>
57650         * Makefile (INSTALL): Remove trailing blank lines from output of
57651         makeinfo.
57653 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57655         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57656         Align 32 bit compat elf_greg to 8 bytes.
57658 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57660         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57662 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57664         * string/strcoll_l.c (coll_seq): New structure.
57665         (get_next_seq_cached): New function.
57666         (get_next_seq): New function.
57667         (do_compare): New function.
57668         (STRCOLL): Use GNU style definition.  Simplify implementation
57669         by using get_next_seq, get_next_seq_cached and do_compare.
57671 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57673         [BZ #14699]
57674         CVE-2013-4237
57675         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57676         member.
57677         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57678         member.
57679         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57680         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57681         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57682         conditional.
57683         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57684         GETDENTS_64BIT_ALIGNED.
57685         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57686         * manual/filesys.texi (Reading/Closing Directory): Document
57687         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57688         strongly.
57689         * manual/conf.texi (Limits for Files): Add portability note to
57690         NAME_MAX, PATH_MAX.
57691         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57693 2013-08-13  Andreas Schwab  <schwab@suse.de>
57695         [BZ #15749]
57696         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57697         of fabs.
57698         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57699         LDBL_MAX_EXP >= 16384]: Add tests for it.
57701 2013-08-12  David S. Miller  <davem@davemloft.net>
57703         * version.h (RELEASE): Set to "development".
57704         (VERSION): Set to "2.18.90".
57705         * NEWS: Add 2.19 section.
57707 2013-08-03  David S. Miller  <davem@davemloft.net>
57709         * po/ko.po: Update Korean translation from translation project.
57711 2013-08-01  David S. Miller  <davem@davemloft.net>
57713         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57714         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57715         Bilka.
57717 2013-07-30  David S. Miller  <davem@davemloft.net>
57719         * po/fr.po: Update French translation from translation project.
57721 2013-07-28  David S. Miller  <davem@davemloft.net>
57723         * po/cs.po: Update Czech translation from translation project.
57725         * po/sv.po: Update Swedish translation from translation project.
57727 2013-07-27  David S. Miller  <davem@davemloft.net>
57729         * po/eo.po: Update Esperanto translation from translation project.
57731         * po/vi.po: Update Vietnamese translation from translation project.
57733         * po/de.po: Update German translation from translation project.
57735 2013-07-26  David S. Miller  <davem@davemloft.net>
57737         * po/bg.po: Update Bulgarian translation from translation project.
57739         * po/nl.po: Update Dutch translation from translation project.
57740         * po/pl.po: Update Polish translation from translation project.
57741         * po/ru.po: Update Russian translation from translation project.
57743 2013-07-24  David S. Miller  <davem@davemloft.net>
57745         * po/libc.pot: Update.
57747 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57749         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57750         variable page size.
57751         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57752         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57753         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57755 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57757         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57759 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57760             Andreas Schwab  <schwab@suse.de>
57761             Roland McGrath  <roland@hack.frob.com>
57762             Joseph Myers  <joseph@codesourcery.com>
57763             Carlos O'Donell  <carlos@redhat.com>
57765         [BZ #15755]
57766         * config.h.in: Define HAVE_PT_CHOWN.
57767         * config.make.in (build-pt-chown): New variable.
57768         * configure.in (--enable-pt_chown): New configure option.
57769         * configure: Regenerate.
57770         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57771         build-pt-chown is enabled.
57772         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57773         pt_chown to fix pty ownership.
57774         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57775         CLOSE_ALL_FDS.
57776         * manual/install.texi (Configuring and compiling): Mention
57777         --enable-pt_chown. Add @findex for grantpt.
57778         * INSTALL: Regenerate.
57780 2013-07-20  David S. Miller  <davem@davemloft.net>
57782         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57783         difference between 32-bit and 64-bit.
57785 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57787         [BZ #15711]
57788         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57789         Avoid system header dependency with -ffreestanding.
57790         ($(objpfx)bits/syscall%d): Likewise.
57792 2013-07-13  David S. Miller  <davem@davemloft.net>
57794         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57795         underflows from atanl/atan2l due to bug 15319.
57796         (casinh_test_data): Likewise.
57798 2013-07-07  David S. Miller  <davem@davemloft.net>
57800         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57802 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57804         * sysdeps/i386/fpu/libm-test-ulps: Update.
57805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57807 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57809         * configure.in (--enable-lock-elision): Fix message text.
57810         * INSTALL: Regenerate.
57811         * configure: Regenerate.
57813 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57817 2013-07-03  Andreas Jaeger  <aj@suse.de>
57819         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57820         define.
57821         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57822         (ptrace_peeksiginfo_args): Add.
57823         (__ptrace_peeksiginfo_flags): Add.
57824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57828 2013-07-03  Allan McRae  <allan@archlinux.org>
57830         * sysdeps/i386/fpu/libm-test-ulps: Update.
57832 2013-07-02  David S. Miller  <davem@davemloft.net>
57834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57836 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57840 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57842         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57845 2013-07-02  Andi Kleen <ak@linux.intel.com>
57847         * config.h.in (ENABLE_LOCK_ELISION): Add.
57848         * configure.in (--enable-lock-elision): Add option.
57849         * manual/install.texi: Document --enable lock elision.
57850         * configure: Regenerate
57851         * INSTALL: Regenerate.
57853 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57855         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57856         SSE4.2 strcasecmp for libc.a.
57857         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57859 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57861         [BZ #13304]
57862         * soft-fp/op-common.h (_FP_FMA): New macro.
57863         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57864         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57865         (_FP_MUL_MEAT_1_imm): ... here.
57866         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57867         (_FP_MUL_MEAT_1_wide): ... here.
57868         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57869         (_FP_MUL_MEAT_1_hard): ... here.
57870         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57871         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57872         (_FP_MUL_MEAT_2_wide): ... here.
57873         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57874         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57875         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57876         (_FP_MUL_MEAT_2_gmp): ... here.
57877         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57878         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57879         (_FP_MUL_MEAT_4_wide): ... here.
57880         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57881         (_FP_MUL_MEAT_4_gmp): ... here.
57882         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57883         (_FP_WFRACBITS_DW_S): Likewise.
57884         (_FP_WFRACXBITS_DW_S): Likewise.
57885         (_FP_HIGHBIT_DW_S): Likewise.
57886         (FP_FMA_S): Likewise.
57887         (_FP_FRAC_HIGH_DW_S): Likewise.
57888         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57889         (_FP_WFRACBITS_DW_D): Likewise.
57890         (_FP_WFRACXBITS_DW_D): Likewise.
57891         (_FP_HIGHBIT_DW_D): Likewise.
57892         (FP_FMA_D): Likewise.
57893         (_FP_FRAC_HIGH_DW_D): Likewise.
57894         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57895         (_FP_WFRACBITS_DW_E): Likewise.
57896         (_FP_WFRACXBITS_DW_E): Likewise.
57897         (_FP_HIGHBIT_DW_E): Likewise.
57898         (FP_FMA_E): Likewise.
57899         (_FP_FRAC_HIGH_DW_E): Likewise.
57900         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57901         (_FP_WFRACBITS_DW_Q): Likewise.
57902         (_FP_WFRACXBITS_DW_Q): Likewise.
57903         (_FP_HIGHBIT_DW_Q): Likewise.
57904         (FP_FMA_Q): Likewise.
57905         (_FP_FRAC_HIGH_DW_Q): Likewise.
57906         * soft-fp/fmasf4.c: New file.
57907         * soft-fp/fmadf4.c: Likewise.
57908         * soft-fp/fmatf4.c: Likewise.
57910 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57913         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57914         Silvermont.
57915         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57916         macro.
57917         (index_Slow_SSE4_2): Likewise.
57918         (index_Prefer_PMINUB_for_stringop): Likewise.
57919         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57920         bit_Slow_SSE4_2 is set.
57921         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57922         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57924 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57926         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57927         rtld_global._dl_hwcap2.
57928         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57929         POWER8.
57930         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57931         POWER8 feature descriptions defined in _dl_hwcap2.
57932         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57933         string handling for POWER8 feature bits.
57934         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57935         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57936         _dl_powerpc_cap_flags.
57937         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57938         * sysdeps/powerpc/rtld-global-offsets.sym
57939         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57940         _dl_hwcap2 in the rtld_global_ro structure.
57942 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57944         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57945         hardware capabilities in support of AT_HWCAP2.
57946         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57947         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57948         GLRO(dl_hwcap2).
57949         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57950         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57951         explicitly the unknown a_type display mechanism is used.
57952         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57953         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57954         struct member.
57955         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57956         to macro prototype for AT_HWCAP2 support.
57957         * sysdeps/i386/dl-procinfo.h: Likewise.
57958         * sysdeps/s390/dl-procinfo.h: Likewise.
57959         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57960         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57961         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57962         return -1 for unknown a_type display fallback.
57963         * sysdeps/sparc/dl-procinfo.h: Likewise.
57964         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57965         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57967 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57969         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57970         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57972 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57974         [BZ #12492]
57975         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57976         mprotect making __stack_prot writable.
57978 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57979             Joseph Myers  <joseph@codesourcery.com>
57981         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57982         as being properly aligned.
57984 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57986         * dlfcn/modstatic5.c: New file.
57987         * dlfcn/tststatic5.c: New file.
57988         * dlfcn/Makefile (tests): Add tststatic5.
57989         (tests-static): Likewise.
57990         (modules-names): Add modstatic5.
57991         (tststatic5-ENV): New variable.
57992         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57994         [BZ #15022]
57995         * elf/dl-support.c (_dl_main_map): New variable.
57996         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57997         (_dl_nns, _dl_load_adds): Set to 1.
57998         (_dl_initial_searchlist): Refer to _dl_main_map.
57999         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58000         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58001         call to _dl_get_origin.
58002         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58003         around call_map.
58004         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58005         * dlfcn/modstatic3.c: New file.
58006         * dlfcn/tststatic3.c: New file.
58007         * dlfcn/tststatic4.c: New file.
58008         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58009         (tests-static): Likewise.
58010         (modules-names): Add modstatic3.
58011         (tststatic3-ENV, tststatic4-ENV): New variables.
58012         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58013         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58015 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58017         * configure.in (CC): Require GCC version 4.4 or later.
58018         * configure: Regenerated.
58019         * manual/install.texi (Tools for Compilation): Update GCC version
58020         requirement.
58021         * INSTALL: Regenerated.
58023 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58025         [BZ #15674]
58026         * string/test-memcmp.c (check2): New.
58027         (main): Call check2.
58029         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58031 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58033         [BZ #15022]
58034         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58035         over to...
58036         (dl_open_worker) [!SHARED]: ... here.
58038 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58040         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58042 2013-06-25  Richard Henderson  <rth@redhat.com>
58044         * locale/programs/locarchive.c: Include <libc-internal.h>
58046 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58048         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58049         trailing whitespace removed.
58051 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58053         [BZ #10283]
58054         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58055         * locale/programs/locarchive.c: Include libc-mmap.h.
58056         (prepare_address_space): Take two new outputs (the mmap base and len).
58057         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58058         values.
58059         (create_archive): Declare new mmap base and len values for
58060         prepare_address_space, and store the result in ah.
58061         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58062         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58063         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58064         Declare new mmap base and len values for
58065         prepare_address_space, and store the result in new_ah.
58066         (open_archive): Declare new mmap base and len values for
58067         prepare_address_space, and store the result in ah.
58068         (close_archive): If ah->mmap_base is not NULL, use that and
58069         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58070         * sysdeps/generic/libc-mmap.h: New file.
58072 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58074         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58075         (ALIGN_UP): Likewise.
58076         (PTR_ALIGN_DOWN): Likewise.
58077         (PTR_ALIGN_UP): Likewise.
58079 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58081         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58082         entry mapped to PPC_PLATFORM_POWER8.
58083         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58084         POWER8.
58085         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58086         (_dl_string_platform): Add case for exporting platform position for
58087         POWER8.
58088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58089         search path to sysdeps/powerpc/powerpc32/power8 directory.
58090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58091         search path to sysdeps/powerpc/powerpc64/power8 directory.
58092         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58093         power7 directories.
58094         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58095         power7 directories.
58097 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58099         * INSTALL: Regenerate.
58101         * nscd/connections.c (nscd_init): Fix comment.
58103 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58105         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58107         [BZ #15667]
58108         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58109         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58111 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58113         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58114         DL_DST_REQ_STATIC.
58115         (DL_DST_REQ_STATIC): Remove macro.
58117 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58119         [BZ #7006]
58120         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58121         with a shift of 0 bits.
58123 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58125         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58126         $(tststatic-ENV).
58128 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58130         [BZ #15655]
58131         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58133 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58135         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58136         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58137         accepts -fno-tree-loop-distribute-patterns.
58138         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58139         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58140         recursive call.
58141         * string/memset.c (memset): Likewise.
58142         * string/test-memmove.c (simple_memmove): Disable loop transformation
58143         to library calls.
58144         * string/test-memset.c (simple_memset): Likewise.
58145         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58146         * benchtests/bench-memset.c (simple_memset): Likewise.
58147         * configure: Regenerated.
58149 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58151         * math/test-misc.c (main): Ignore fesetround failure when failures
58152         of subsequent rounding tests would be ignored.
58154         [BZ #15654]
58155         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58156         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58157         * math/fegetenv.c (__fegetenv): Return 0.
58158         * math/fegetexcept.c (fegetexcept): Return 0.
58159         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58160         FE_TONEAREST.
58161         * math/feholdexcpt.c (feholdexcept): Return 0.
58162         * math/fesetenv.c (__fesetenv): Return 0.
58163         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58164         argument FE_TONEAREST.
58165         * math/feupdateenv.c (__feupdateenv): Return 0.
58166         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58168 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58170         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58171         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58172         ($(objpfx)rtld-%.os rules): Use them.
58174 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58176         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58177         fields.
58179 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58181         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58182         length of target pattern, then descending length of dependency pattern.
58183         * configure.in (AWK): Require gawk 3.1.2 or newer.
58184         * manual/install.texi (Tools for Compilation): Say that we do.
58185         * configure: Regenerated.
58187         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58188         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58189         * scripts/sysd-rules.awk: ... this new script.
58190         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58191         than a glob-style pattern.
58193 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58195         * math/test-misc.c (main): Do not treat incorrectly rounded
58196         conversions as failure unless ROUNDING_TESTS passes.
58198 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58200         [BZ #15631]
58201         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58202         restore exception state around main square root computation, then
58203         check for inexactness explicitly.
58205         * math/libm-test.inc (fma_test_data): Add another test.
58207 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58209         * manual/threads.texi (Non-POSIX Extensions): New document
58210         node.  Document pthread_getattr_default_np and
58211         pthread_setattr_default_np.
58213         * Versions.def (libpthread): Add GLIBC_2.18.
58214         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58216         Likewise.
58217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58218         Likewise.
58219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58220         Likewise.
58221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58222         Likewise.
58223         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58224         Likewise.
58225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58226         Likewise.
58227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58228         Likewise.
58229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58230         Likewise.
58231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58232         Likewise.
58234 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58237         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58239 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58240             H.J. Lu  <hjl.tools@gmail.com>
58242         [BZ #15627]
58243         * sysdeps/x86_64/rtld-memset.c: Remove file.
58244         * sysdeps/x86_64/rtld-memset.S: New file.
58246 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58248         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58249         (test_in_one_mode): Take arguments for whether the rounding mode
58250         is supported for each floating-point type.
58251         (do_test): Pass new arguments to test_in_one_mode using
58252         ROUNDING_TESTS.
58254 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58256         * posix/tst-waitid.c (do_test): Distinguish different instances of
58257         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58258         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58259         before entering the kernel for waitpid.
58261 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58263         * NEWS: Fix note on clock function precision.  Text by Roland
58264         McGrath.
58266 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58268         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58269         it into place only when and if the sanity check passes.
58271 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58273         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58274         output for whether conversion result is exact.  Take argument
58275         indicating whether type is IBM long double.
58276         (round_for_all): Change need_exact field to ibm_ld.
58277         * stdlib/tst-strtod-round.c (struct exactness): New type.
58278         (struct test): Change bool ld_ok field to struct exactness exact.
58279         (TEST): Update all definitions for change to field.
58280         (tests): Regenerate array contents.
58281         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58282         field value.  Check for IBM long double here.
58283         (do_test): Update calls to test_in_one_mode.
58285 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58287         [BZ #12515]
58288         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58289         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58291 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58293         [BZ #15605]
58294         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58295         generated by the compiler on loop optimizations.
58296         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58297         general definitions.
58299 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58301         * math/bug-nextafter.c: Include <math-tests.h>.
58302         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58303         the relevant type.
58304         * math/bug-nexttoward.c: Include <math-tests.h>.
58305         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58306         the relevant type.
58307         * math/test-misc.c: Include <math-tests.h>.
58308         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58309         the relevant type.
58311 2013-06-12  Andreas Jaeger  <aj@suse.de>
58313         * po/ia.po: Update Interlingua translation from translation
58314         project.
58316 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58318         * include/fenv.h: Include stdbool.h.
58319         (struct rm_ctx): New structure.
58320         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58321         Define macro.
58322         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58323         (SET_RESTORE_ROUNDF): Likewise.
58324         (SET_RESTORE_ROUNDL): Likewise.
58325         (SET_RESTORE_ROUND_NOEX): Likewise.
58326         (SET_RESTORE_ROUND_NOEXF): Likewise.
58327         (SET_RESTORE_ROUND_NOEXL): Likewise.
58328         (SET_RESTORE_ROUND_53BIT): Likewise.
58329         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58330         (libc_feresetround_noexf_ctx): Likewise.
58331         (libc_feresetround_noexl_ctx): Likewise.
58332         (libc_feholdsetround_53bit_ctx): Likewise.
58333         (libc_feresetround_53bit_ctx): Likewise.
58334         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58335         (libc_feholdexcept_setround_sse_ctx): New function.
58336         (libc_fesetenv_sse_ctx): Likewise.
58337         (libc_feupdateenv_sse_ctx): Likewise.
58338         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58339         (libc_feholdexcept_setround_387_ctx): Likewise.
58340         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58341         (libc_feholdsetround_387_prec_ctx): Likewise.
58342         (libc_feholdsetround_387_ctx): Likewise.
58343         (libc_feholdsetround_387_53bit_ctx): Likewise.
58344         (libc_feholdsetround_sse_ctx): Likewise.
58345         (libc_feresetround_sse_ctx): Likewise.
58346         (libc_feresetround_387_ctx): Likewise.
58347         (libc_feupdateenv_387_ctx): Likewise.
58348         (libc_feholdexcept_setroundf_ctx): Define macro.
58349         (libc_fesetenvf_ctx): Likewise.
58350         (libc_feupdateenvf_ctx): Likewise.
58351         (libc_feholdsetroundf_ctx): Likewise.
58352         (libc_feresetroundf_ctx): Likewise.
58353         (libc_feholdexcept_setround_ctx): Likewise.
58354         (libc_fesetenv_ctx): Likewise.
58355         (libc_feupdateenv_ctx): Likewise.
58356         (libc_feholdsetround_ctx): Likewise.
58357         (libc_feresetround_ctx): Likewise.
58358         (libc_feholdexcept_setroundl_ctx): Likewise.
58359         (libc_feupdateenvl_ctx): Likewise.
58360         (libc_feholdsetroundl_ctx): Likewise.
58361         (libc_feresetroundl_ctx): Likewise.
58362         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58363         (libc_feresetround_53bit_ctx): Likewise.
58365 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58367         * locale/iso-639.def: Convert to UTF-8.
58369 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58371         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58372         (EXCEPTION_TESTS_double): Likewise.
58373         (EXCEPTION_TESTS_long_double): Likewise.
58374         (EXCEPTION_TESTS): Likewise.
58375         * math/libm-test.inc (test_exceptions): Only test exceptions if
58376         EXCEPTION_TESTS (FLOAT).
58378 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58380         * benchtests/Makefile (string-bench): Add strcpy_chk and
58381         stpcpy_chk.
58382         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58383         * benchtests/bench-stpcpy_chk.c: New file.
58384         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58385         * benchtests/bench-strcpy_chk.c: New file.
58386         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58387         code.
58388         (do_test): Likewise.
58390 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58392         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58393         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58394         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58395         with tabs where appropriate.
58396         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58397         dl-procinfo.h.
58398         [PPC_PLATFORM_PPC440]: Likewise.
58399         [PPC_PLATFORM_PPC464]: Likewise.
58400         [PPC_PLATFORM_PPC476]: Likewise.
58401         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58402         ppc464, and ppc476 platform strings merging from ports/
58403         dl-procinfo.h.
58405 2013-06-11  Andreas Schwab  <schwab@suse.de>
58407         [BZ #14991]
58408         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58409         (from_ucs4_idx): Regenerate.
58410         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58411         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58412         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58413         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58414         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58415         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58416         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58417         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58418         from FROM_LOOP and TO_LOOP specific macros.
58419         (BODY): Handle combining characters.
58420         * iconvdata/BIG5HKSCS.irreversible: Update.
58421         * iconvdata/BIG5HKSCS.precomposed: New file.
58422         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58423         characters.
58424         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58428         * include/sys/time.h: Fix indentation and add copyright header.
58430         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58431         (do_test): Likewise.
58432         * string/test-memchr.c (do_one_test): Likewise.
58433         (do_test): Likewise.
58434         * string/test-memcmp.c (do_one_test): Likewise.
58435         (do_test): Likewise.
58436         * string/test-memcpy.c (do_one_test): Likewise.
58437         (do_test): Likewise.
58438         * string/test-memmem.c (do_one_test): Likewise.
58439         (do_test): Likewise.
58440         (do_random_tests): Likewise.
58441         * string/test-memmove.c (do_one_test): Likewise.
58442         (do_test): Likewise.
58443         * string/test-memset.c (do_one_test): Likewise.
58444         (do_test): Likewise.
58445         * string/test-rawmemchr.c (do_one_test): Likewise.
58446         (do_test): Likewise.
58447         * string/test-strcasecmp.c (do_one_test): Likewise.
58448         (do_test): Likewise.
58449         * string/test-strcasestr.c (do_one_test): Likewise.
58450         (do_test): Likewise.
58451         * string/test-strcat.c (do_one_test): Likewise.
58452         (do_test): Likewise.
58453         * string/test-strchr.c (do_one_test): Likewise.
58454         (do_test): Likewise.
58455         * string/test-strcmp.c (do_one_test): Likewise.
58456         (do_test): Likewise.
58457         * string/test-strcpy.c (do_one_test): Likewise.
58458         (do_test): Likewise.
58459         * string/test-string.h: Likewise.
58460         (test_init): Likewise.
58461         * string/test-strlen.c (do_one_test): Likewise.
58462         (do_test): Likewise.
58463         * string/test-strncasecmp.c (do_one_test): Likewise.
58464         (do_test): Likewise.
58465         * string/test-strncat.c (do_one_test): Likewise.
58466         (do_test): Likewise.
58467         * string/test-strncmp.c (do_one_test): Likewise.
58468         (do_test_limit): Likewise.
58469         (do_test): Likewise.
58470         * string/test-strncpy.c (do_one_test): Likewise.
58471         (do_test): Likewise.
58472         * string/test-strnlen.c (do_one_test): Likewise.
58473         (do_test): Likewise.
58474         * string/test-strpbrk.c (do_one_test): Likewise.
58475         (do_test): Likewise.
58476         * string/test-strrchr.c (do_one_test): Likewise.
58477         (do_test): Likewise.
58478         * string/test-strspn.c (do_one_test): Likewise.
58479         (do_test): Likewise.
58480         * string/test-strstr.c (do_one_test): Likewise.
58481         (do_test): Likewise.
58483         * benchtests/Makefile (string-bench): Add string benchmarks.
58484         * benchtests/bench-bcopy-ifunc.c: New file.
58485         * benchtests/bench-bcopy.c: New file.
58486         * benchtests/bench-bzero-ifunc.c: New file.
58487         * benchtests/bench-bzero.c: New file.
58488         * benchtests/bench-memccpy-ifunc.c: New file.
58489         * benchtests/bench-memccpy.c: New file.
58490         * benchtests/bench-memchr-ifunc.c: New file.
58491         * benchtests/bench-memchr.c: New file.
58492         * benchtests/bench-memcmp-ifunc.c: New file.
58493         * benchtests/bench-memcmp.c: New file.
58494         * benchtests/bench-memmem-ifunc.c: New file.
58495         * benchtests/bench-memmem.c: New file.
58496         * benchtests/bench-memmove-ifunc.c: New file.
58497         * benchtests/bench-memmove.c: New file.
58498         * benchtests/bench-mempcpy-ifunc.c: New file.
58499         * benchtests/bench-mempcpy.c: New file.
58500         * benchtests/bench-memset-ifunc.c: New file.
58501         * benchtests/bench-memset.c: New file.
58502         * benchtests/bench-rawmemchr-ifunc.c: New file.
58503         * benchtests/bench-rawmemchr.c: New file.
58504         * benchtests/bench-stpcpy-ifunc.c: New file.
58505         * benchtests/bench-stpcpy.c: New file.
58506         * benchtests/bench-stpncpy-ifunc.c: New file.
58507         * benchtests/bench-stpncpy.c: New file.
58508         * benchtests/bench-strcasecmp-ifunc.c: New file.
58509         * benchtests/bench-strcasecmp.c: New file.
58510         * benchtests/bench-strcasestr-ifunc.c: New file.
58511         * benchtests/bench-strcasestr.c: New file.
58512         * benchtests/bench-strcat-ifunc.c: New file.
58513         * benchtests/bench-strcat.c: New file.
58514         * benchtests/bench-strchr-ifunc.c: New file.
58515         * benchtests/bench-strchr.c: New file.
58516         * benchtests/bench-strchrnul-ifunc.c: New file.
58517         * benchtests/bench-strchrnul.c: New file.
58518         * benchtests/bench-strcmp-ifunc.c: New file.
58519         * benchtests/bench-strcmp.c: New file.
58520         * benchtests/bench-strcpy-ifunc.c: New file.
58521         * benchtests/bench-strcpy.c: New file.
58522         * benchtests/bench-strcspn-ifunc.c: New file.
58523         * benchtests/bench-strcspn.c: New file.
58524         * benchtests/bench-strlen-ifunc.c: New file.
58525         * benchtests/bench-strlen.c: New file.
58526         * benchtests/bench-strncasecmp-ifunc.c: New file.
58527         * benchtests/bench-strncasecmp.c: New file.
58528         * benchtests/bench-strncat-ifunc.c: New file.
58529         * benchtests/bench-strncat.c: New file.
58530         * benchtests/bench-strncmp-ifunc.c: New file.
58531         * benchtests/bench-strncmp.c: New file.
58532         * benchtests/bench-strncpy-ifunc.c: New file.
58533         * benchtests/bench-strncpy.c: New file.
58534         * benchtests/bench-strnlen-ifunc.c: New file.
58535         * benchtests/bench-strnlen.c: New file.
58536         * benchtests/bench-strpbrk-ifunc.c: New file.
58537         * benchtests/bench-strpbrk.c: New file.
58538         * benchtests/bench-strrchr-ifunc.c: New file.
58539         * benchtests/bench-strrchr.c: New file.
58540         * benchtests/bench-strspn-ifunc.c: New file.
58541         * benchtests/bench-strspn.c: New file.
58542         * benchtests/bench-strstr-ifunc.c: New file.
58543         * benchtests/bench-strstr.c: New file.
58545         * benchtests/Makefile: Disable parallel execution of targets.
58546         (string-bench): Add memcpy.
58547         (benchset): New variable to store a list of benchmark sets.
58548         (bench-func): Renamed from bench.
58549         (bench-set): New target.
58550         (bench): Depend on bench-func and bench-set.
58551         * benchtests/README: Add section on benchmark sets.
58552         * benchtests/bench-memcpy-ifunc.c: New file.
58553         * benchtests/bench-memcpy.c: New file.
58554         * benchtests/bench-string.h: New file.
58556 2013-06-11  Andreas Schwab  <schwab@suse.de>
58558         [BZ #15577]
58559         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58560         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58561         values in the triple.
58562         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58563         terminator in the group key.
58565 2013-06-11  Andreas Jaeger  <aj@suse.de>
58567         * po/zh_TW.po: Update Chinese (traditional) translation from
58568         translation project.
58570 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58572         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58573         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58574         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58575         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58576         (clock_getcpuclockid): Likewise.
58577         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58578         Add weak_alias and libc_hidden_def.
58579         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58580         * rt/clock_gettime.c (clock_gettime): Rename to
58581         __clock_gettime.  Add weak_alias and libc_hidden_def.
58582         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58583         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58584         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58585         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58586         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58587         Likewise.
58588         * rt/clock_settime.c (clock_settime): Rename to
58589         __clock_settime.  Add weak_alias and libc_hidden_def.
58590         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58592 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58594         * mach/err_boot.sub: Remove trailing whitespace.
58595         * mach/err_ipc.sub: Likewise.
58596         * mach/err_mach.sub: Likewise.
58598         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58599         (ROUNDING_TESTS_double): Likewise.
58600         (ROUNDING_TESTS_long_double): Likewise.
58601         (ROUNDING_TESTS): Likewise.
58602         * math/libm-test.inc: Include <math-tests.h>.
58603         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58604         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58605         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58606         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58608 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58610         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58611         of assigning.
58613 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58615         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58616         otherwise empty TRANS lines.
58617         * sysdeps/gnu/errlist.c: Regenerated.
58619         * catgets/gencat.c (error_print): Use (void) in function
58620         definition.
58621         * crypt/crypt_util.c (__init_des): Likewise.
58622         * crypt/speeds.c (Stop): Likewise.
58623         (main): Likewise.
58624         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58625         * inet/ruserpass.c (token): Likewise.
58626         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58627         * intl/localealias.c (extend_alias_table): Likewise.
58628         * intl/plural-exp.c (init_germanic_plural): Likewise.
58629         * libio/fcloseall.c (__fcloseall): Likewise.
58630         * libio/genops.c (_IO_flush_all): Likewise.
58631         (_IO_flush_all_linebuffered): Likewise.
58632         (_IO_cleanup): Likewise.
58633         (_IO_iter_begin): Likewise.
58634         (_IO_iter_end): Likewise.
58635         (_IO_list_lock): Likewise.
58636         (_IO_list_unlock): Likewise.
58637         (_IO_list_resetlock): Likewise.
58638         * libio/getchar.c (getchar): Likewise.
58639         * libio/getchar_u.c (getchar_unlocked): Likewise.
58640         * libio/getwchar.c (getwchar): Likewise.
58641         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58642         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58643         * login/getpt.c (__getpt): Likewise.
58644         * login/tst-utmp.c (main): Likewise.
58645         * malloc/hooks.c (__malloc_check_init): Likewise.
58646         * malloc/malloc.c (__malloc_stats): Likewise.
58647         * malloc/mtrace.c (tr_break): Likewise.
58648         (mtrace): Likewise.
58649         (muntrace): Likewise.
58650         * misc/fstab.c (endfsent): Likewise.
58651         * misc/getclktck.c (__getclktck): Likewise.
58652         * misc/getdtsz.c (__getdtablesize): Likewise.
58653         * misc/gethostid.c (gethostid): Likewise.
58654         * misc/getpagesize.c (__getpagesize): Likewise.
58655         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58656         (__get_nprocs): Likewise.
58657         (__get_phys_pages): Likewise.
58658         (__get_avphys_pages): Likewise.
58659         * misc/getttyent.c (getttyent): Likewise.
58660         (setttyent): Likewise.
58661         (endttyent): Likewise.
58662         * misc/getusershell.c (getusershell): Likewise.
58663         (endusershell): Likewise.
58664         (setusershell): Likewise.
58665         (initshells): Likewise.
58666         * misc/hsearch.c (__hdestroy): Likewise.
58667         * misc/sync.c (sync): Likewise.
58668         * misc/syslog.c (closelog_internal): Likewise.
58669         (closelog): Likewise.
58670         * misc/ttyslot.c (ttyslot): Likewise.
58671         * misc/vhangup.c (vhangup): Likewise.
58672         * posix/fork.c (__fork): Likewise.
58673         * posix/getegid.c (__getegid): Likewise.
58674         * posix/geteuid.c (__geteuid): Likewise.
58675         * posix/getgid.c (__getgid): Likewise.
58676         * posix/getpid.c (__getpid): Likewise.
58677         * posix/getppid.c (__getppid): Likewise.
58678         * posix/getuid.c (__getuid): Likewise.
58679         * posix/pause.c (pause): Likewise.
58680         * posix/setpgrp.c (setpgrp): Likewise.
58681         * posix/setsid.c (__setsid): Likewise.
58682         * posix/test-vfork.c (noop): Likewise.
58683         * resolv/gethnamaddr.c (_endhtent): Likewise.
58684         (_gethtent): Likewise.
58685         (ht_endhostent): Likewise.
58686         (gethostent): Likewise.
58687         (dns_service): Likewise.
58688         * stdlib/drand48.c (drand48): Likewise.
58689         * stdlib/lrand48.c (lrand48): Likewise.
58690         * stdlib/mrand48.c (mrand48): Likewise.
58691         * stdlib/rand.c (rand): Likewise.
58692         * stdlib/random.c (__random): Likewise.
58693         * stdlib/setenv.c (clearenv): Likewise.
58694         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58695         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58696         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58697         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58698         (__get_nprocs): Likewise.
58699         (__get_phys_pages): Likewise.
58700         (__get_avphys_pages): Likewise.
58701         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58702         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58703         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58704         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58705         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58706         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58707         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58708         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58709         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58710         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58711         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58712         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58713         * sysdeps/posix/clock.c (clock): Likewise.
58714         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58715         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58716         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58717         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58718         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58720         (__get_nprocs_conf): Likewise.
58721         (__get_phys_pages): Likewise.
58722         (__get_avphys_pages): Likewise.
58723         * time/clock.c (clock): Likewise.
58724         * time/tzset.c (__tzname_max): Likewise.
58726 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58728         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58729         (__bswap_32): Do not use "register".
58730         * crypt/crypt.c (_ufc_doit_r): Likewise.
58731         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58732         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58733         * gmon/gmon.c (__monstartup): Likewise.
58734         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58735         * hurd/hurdmalloc.c (more_memory): Likewise.
58736         (malloc): Likewise.
58737         (free): Likewise.
58738         (realloc): Likewise.
58739         (malloc_fork_prepare): Likewise.
58740         (malloc_fork_parent): Likewise.
58741         (malloc_fork_child): Likewise.
58742         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58743         (_svcauth_des): Likewise.
58744         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58745         * inet/inet_net.c (inet_network): Likewise.
58746         * inet/inet_netof.c (inet_netof): Likewise.
58747         * inet/rcmd.c (__validuser2_sa): Likewise.
58748         * io/fts.c (fts_open): Likewise.
58749         (fts_load): Likewise.
58750         (fts_close): Likewise.
58751         (fts_read): Likewise.
58752         (fts_children): Likewise.
58753         (fts_build): Likewise.
58754         (fts_stat): Likewise.
58755         (fts_sort): Likewise.
58756         (fts_alloc): Likewise.
58757         (fts_lfree): Likewise.
58758         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58759         (_IO_file_xsgetn): Likewise.
58760         (_IO_file_xsgetn_mmap): Likewise.
58761         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58762         (_IO_cookie_write): Likewise.
58763         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58764         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58765         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58766         * malloc/obstack.c (_obstack_begin): Likewise.
58767         (_obstack_begin_1): Likewise.
58768         (_obstack_newchunk): Likewise.
58769         (_obstack_allocated_p): Likewise.
58770         (obstack_free): Likewise.
58771         (_obstack_memory_used): Likewise.
58772         * misc/getttyent.c (getttynam): Likewise.
58773         (getttyent): Likewise.
58774         (skip): Likewise.
58775         (value): Likewise.
58776         * misc/getusershell.c (initshells): Likewise.
58777         * misc/syslog.c (__vsyslog_chk): Likewise.
58778         * misc/ttyslot.c (ttyslot): Likewise.
58779         * nis/nis_hash.c (__nis_hash): Likewise.
58780         * posix/fnmatch_loop.c (FCT): Likewise.
58781         * posix/getconf.c (print_all): Likewise.
58782         (main): Likewise.
58783         * posix/getopt.c (exchange): Likewise.
58784         * posix/glob.c (globfree): Likewise.
58785         (prefix_array): Likewise.
58786         (__glob_pattern_type): Likewise.
58787         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58788         (NS_GET32): Likewise.
58789         (NS_PUT16): Likewise.
58790         (NS_PUT32): Likewise.
58791         * resolv/gethnamaddr.c (getanswer): Likewise.
58792         (gethostbyname2): Likewise.
58793         (gethostbyaddr): Likewise.
58794         (_gethtent): Likewise.
58795         (_gethtbyname2): Likewise.
58796         (_gethtbyaddr): Likewise.
58797         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58798         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58799         * resolv/res_init.c (__res_vinit): Likewise.
58800         (net_mask): Likewise.
58801         * resolv/res_mkquery.c (outchar): Likewise.
58802         (PRINT): Likewise.
58803         * stdio-common/printf_fp.c (outchar): Likewise.
58804         (PRINT): Likewise.
58805         * stdio-common/printf_fphex.c (outchar): Likewise.
58806         (PRINT): Likewise.
58807         * stdio-common/printf_size.c (outchar): Likewise.
58808         (PRINT): Likewise.
58809         * stdio-common/test_rdwr.c (main): Likewise.
58810         * stdio-common/tfformat.c (matches): Likewise.
58811         * stdio-common/vfprintf.c (outchar): Likewise.
58812         (printf_unknown): Likewise.
58813         (buffered_vfprintf): Likewise.
58814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58815         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58816         (ReadFile): Likewise.
58817         * stdlib/qsort.c (SWAP): Likewise.
58818         (_quicksort): Likewise.
58819         * stdlib/setenv.c (__add_to_environ): Likewise.
58820         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58821         * stdlib/strtol_l.c (__strtol_l): Likewise.
58822         * stdlib/tst-strtod.c (main): Likewise.
58823         * stdlib/tst-strtol.c (main): Likewise.
58824         * stdlib/tst-strtoll.c (main): Likewise.
58825         * string/bits/string2.h (__strcmp_cc): Likewise.
58826         (__strcmp_cg): Likewise.
58827         (__strcspn_c1): Likewise.
58828         (__strcspn_c2): Likewise.
58829         (__strcspn_c3): Likewise.
58830         (__strspn_c1): Likewise.
58831         (__strspn_c2): Likewise.
58832         (__strspn_c3): Likewise.
58833         (__strsep_1c): Likewise.
58834         (__strsep_2c): Likewise.
58835         (__strsep_3c): Likewise.
58836         * string/memccpy.c (__memccpy): Likewise.
58837         * string/stpcpy.c (__stpcpy): Likewise.
58838         * string/strcmp.c (strcmp): Likewise.
58839         * string/strrchr.c (strrchr): Likewise.
58840         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58841         Likewise.
58842         * sysdeps/mach/hurd/getcwd.c
58843         (_hurd_canonicalize_directory_name_internal): Likewise.
58844         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58845         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58847         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58848         Likewise, in both definitions.
58849         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58850         definitions.
58851         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58852         64] (__bswap_64): Likewise.
58853         * time/test_time.c (main): Likewise.
58854         * time/tzfile.c (__tzfile_read): Likewise.
58855         (__tzfile_compute): Likewise.
58856         * time/tzset.c (__tzset_parse_tz): Likewise.
58857         (tzset_internal): Likewise.
58858         (compute_change): Likewise.
58859         * wcsmbs/wcscat.c (__wcscat): Likewise.
58860         * wcsmbs/wcschr.c (wcschr): Likewise.
58861         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58862         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58863         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58864         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58865         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58866         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58867         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58868         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58869         * wcsmbs/wmemset.c (wmemset): Likewise.
58871 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58873         * scripts/config.guess: Update to version 2013-05-16.
58874         * scripts/config.sub: Update to version 2013-04-24.
58875         * scripts/install-sh: Update to version 2011-11-20.07.
58876         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58877         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58879 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58881         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58882         * elf/sln.c: Likewise.
58883         * hurd/hurd/ioctl.h: Likewise.
58884         * hurd/hurdmalloc.c: Likewise.
58885         * hurd/xattr.c: Likewise.
58886         * include/shlib-compat.h: Likewise.
58887         * inet/ruserpass.c: Likewise.
58888         * libio/iofgets_u.c: Likewise.
58889         * libio/iofgetws_u.c: Likewise.
58890         * locale/programs/ld-identification.c: Likewise.
58891         * locale/programs/ld-time.c: Likewise.
58892         * mach/msg-destroy.c: Likewise.
58893         * nss/nss_files/files-netgrp.c: Likewise.
58894         * resolv/res_data.c: Likewise.
58895         * soft-fp/op-1.h: Likewise.
58896         * soft-fp/op-2.h: Likewise.
58897         * soft-fp/op-4.h: Likewise.
58898         * soft-fp/op-common.h: Likewise.
58899         * stdio-common/printf_fphex.c: Likewise.
58900         * stdlib/strtod_l.c: Likewise.
58901         * sunrpc/rpc/clnt.h: Likewise.
58902         * sysdeps/generic/framestate.c: Likewise.
58903         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58904         * sysdeps/i386/bsd-setjmp.S: Likewise.
58905         * sysdeps/i386/__longjmp.S: Likewise.
58906         * sysdeps/i386/setjmp.S: Likewise.
58907         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58910         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58911         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58912         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58914         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58915         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58916         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58917         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58918         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58919         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58920         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58921         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58922         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58923         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58924         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58925         * sysdeps/ieee754/support.c: Likewise.
58926         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58927         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58928         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58929         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58930         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58931         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58932         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58933         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58934         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58935         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58936         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58937         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58938         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58939         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58940         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58941         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58942         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58945 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58947         * posix/transbug.c: Remove executable mode.
58949 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58951         * crypt/speeds.c: Remove trailing whitespace.
58952         * dlfcn/default.c: Likewise.
58953         * elf/ifuncdep2.c: Likewise.
58954         * elf/ifuncmain1.c: Likewise.
58955         * elf/ifuncmain1vis.c: Likewise.
58956         * elf/testobj.h: Likewise.
58957         * elf/tst-stackguard1.c: Likewise.
58958         * gmon/sys/gmon.h: Likewise.
58959         * hurd/hurdmsg.c: Likewise.
58960         * hurd/new-fd.c: Likewise.
58961         * hurd/ports-get.c: Likewise.
58962         * iconvdata/ibm1008_420.c: Likewise.
58963         * inet/tst-getni1.c: Likewise.
58964         * inet/tst-getni2.c: Likewise.
58965         * libio/ioungetc.c: Likewise.
58966         * libio/wfiledoalloc.c: Likewise.
58967         * manual/libm-err-tab.pl: Likewise.
58968         * math/w_dremf.c: Likewise.
58969         * misc/ftruncate.c: Likewise.
58970         * posix/bug-glob2.c: Likewise.
58971         * posix/tst-pcre.c: Likewise.
58972         * posix/wait4.c: Likewise.
58973         * resolv/README: Likewise.
58974         * resolv/res_debug.h: Likewise.
58975         * resolv/tst-inet_ntop.c: Likewise.
58976         * setjmp/bug269-setjmp.c: Likewise.
58977         * soft-fp/extended.h: Likewise.
58978         * soft-fp/op-1.h: Likewise.
58979         * soft-fp/op-2.h: Likewise.
58980         * soft-fp/op-4.h: Likewise.
58981         * soft-fp/op-8.h: Likewise.
58982         * soft-fp/testit.c: Likewise.
58983         * stdio-common/bug16.c: Likewise.
58984         * stdlib/random.c: Likewise.
58985         * sunrpc/rpcsvc/rquota.x: Likewise.
58986         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58991         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58992         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58993         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58994         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58995         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58996         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58997         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58999         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59000         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59001         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59002         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59003         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59004         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59005         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59006         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59007         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59008         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59009         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59010         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59011         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59014         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59015         * sysdeps/ieee754/s_lib_version.c: Likewise.
59016         * sysdeps/mach/hurd/check_fds.c: Likewise.
59017         * sysdeps/mach/hurd/getsockname.c: Likewise.
59018         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59019         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59020         * sysdeps/powerpc/bits/link.h: Likewise.
59021         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59022         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59023         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59024         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59025         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59027         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59028         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59029         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59030         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59031         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59032         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59033         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59034         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59035         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59036         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59038         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59040         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59041         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59042         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59043         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59044         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59045         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59046         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59047         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59048         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59049         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59050         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59051         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59052         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59053         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59054         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59055         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59056         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59057         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59058         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59059         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59060         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59061         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59062         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59063         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59064         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59065         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59066         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59067         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59068         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59069         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59070         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59073         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59074         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59075         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59076         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59077         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59078         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59079         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59080         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59081         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59082         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59083         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59084         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59085         * sysdeps/powerpc/sysdep.h: Likewise.
59086         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59087         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59088         * sysdeps/sh/dl-trampoline.S: Likewise.
59089         * sysdeps/sh/memset.S: Likewise.
59090         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59091         * sysdeps/sh/strlen.S: Likewise.
59092         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59093         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59094         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59095         * sysdeps/sparc/sparc32/rem.S: Likewise.
59096         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59097         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59098         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59099         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59100         * sysdeps/sparc/sparc32/urem.S: Likewise.
59101         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59103         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59104         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59106         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59107         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59108         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59109         * sysdeps/unix/bsd/times.c: Likewise.
59110         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59111         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59115         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59116         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59117         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59118         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59119         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59120         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59121         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59122         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59123         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59124         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59125         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59126         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59127         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59128         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59129         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59130         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59131         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59132         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59133         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59134         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59135         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59136         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59137         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59138         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59139         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59140         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59141         * sysdeps/x86_64/strcspn.S: Likewise.
59143 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59145         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59146         generated file.  Regenerate properly from gen-translit.pl.
59147         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59148         locale/C-translit.h.
59150 2013-06-05  Andreas Schwab  <schwab@suse.de>
59152         [BZ #15100]
59153         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59154         week as 6 instead of -1.
59155         * time/tst-strptime.c (day_tests): Add test case.
59157 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59159         * sysdeps/generic/math_private.h
59160         (libc_feholdexcept_setround_53bit): Replace with
59161         libc_feholdsetround_53bit.
59162         (libc_feupdateenv_53bit): Replace with
59163         libc_feresetround_53bit.
59164         (SET_RESTORE_ROUND_53BIT): Adjust.
59166 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59168         * string/test-strchrnul.c: Add copyright header.
59170         * posix/tst-getaddrinfo4.c: Increase test timeout.
59172 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59174         [BZ #15536]
59175         * math/libm-test.inc (MAX_EXP): Remove
59176         (MIN_EXP): Define.
59177         (ulp): Use MIN_EXP - MANT_DIG.
59178         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59180 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59182         * po/be.po: Revert last change.
59183         * po/zh_CN.po: Likewise.
59184         * po/header.pot: Likewise.
59186 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59188         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59189         link-libc-deps to empty as target-specific variable.
59190         * Makerules (link-libc-args): New variable.
59191         (libc-for-link): Likewise.
59192         (link-libc-deps): Likewise.
59193         (lib%.so): Depend on $(link-libc-deps).  Link with
59194         $(link-libc-args).
59195         (build-module): Link with $(link-libc-args).
59196         (build-module-asneeded): Likewise.
59197         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59198         list of objects.
59199         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59200         target-specific variable.
59201         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59202         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59203         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59204         libc.
59205         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59206         libc and ld.so.
59207         ($(objpfx)libpcprofile.so): Likewise.
59208         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59209         libc_nonshared.a.
59210         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59211         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59212         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59213         $(link-libc-deps).
59214         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59215         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59216         * login/Makefile ($(objpfx)libutil.so): Likewise.
59217         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59218         * math/Makefile ($(objpfx)libm.so): Likewise.
59219         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59220         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59221         variable instead of depending directly on libc.
59222         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59223         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59224         $(link-libc-deps).
59225         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59226         libc.
59227         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59228         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59229         ($(objpfx)libanl.so): Likewise.
59230         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59231         ld.so.
59232         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59233         $(link-libc-deps).
59234         * sysdeps/i386/fpu/Makefile: Remove file.
59235         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59236         ($(objpfx)libm.so): Remove dependency on ld.so.
59238 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59240         [BZ # 15553]
59241         * nis/yp_xdr.c (XDRMAXNAME): Define.
59242         (XDRMAXRECORD): Define.
59243         (xdr_domainname): Use XDRMAXNAME.
59244         (xdr_mapname): Likewise.
59245         (xdr_peername): Likewise.
59246         (xdr_keydat): Use XDRMAXRECORD.
59247         (xdr_valdat): Likewise.
59249 2013-05-30  Jeff Law  <law@redhat.com>
59251         [BZ #14256]
59252         * manual/errno.texi (ESTALE): Update to account for more than
59253         just NFS file systems.
59254         * sysdeps/gnu/errlist.c: Regenerated.
59256 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59258         [BZ #15465]
59259         * elf/Makefile (tests): Add tst-null-argv.
59260         (modules-names):  Add tst-null-argv-lib.
59261         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59262         (tst-null-argv-ENV): Set environment for tst-null-argv.
59263         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59264         (RTLD_PROGNAME): New macro.
59265         * elf/tst-null-argv.c: New test case.
59266         * elf/tst-null-argv-lib.c: Library for test case.
59267         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59268         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59269         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59270         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59271         * elf/dl-init.c (call_init): Likewise.
59272         (_dl_init): Likewise.
59273         * elf/dl-load.c (print_search_path): Likewise.
59274         (_dl_map_object): Likewise.
59275         * elf/dl-lookup.c (do_lookup_x): Likewise.
59276         (add_dependency): Likewise.
59277         (_dl_lookup_symbol_x): Likewise.
59278         (_dl_debug_bindings): Likewise.
59279         * elf/dl-open.c (_dl_show_scope): Likewise.
59280         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59281         * elf/dl-version.c (match_symbol): Likewise.
59282         (_dl_check_map_versions): Likewise.
59283         * elf/rtld.c (dl_main): Likewise.
59284         (print_unresolved): Use RTLD_PROGNAME.
59285         (print_missing_version): Likewise.
59286         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59287         (elf_machine_rela): Likewise.
59288         * sysdeps/powerpc/powerpc32/dl-machine.c
59289         (__process_machine_rela): Likewise.
59290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59291         Likewise.
59292         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59293         Likewise.
59294         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59295         Likewise.
59296         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59297         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59298         Likewise.
59299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59300         Likewise.
59301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59303 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59305         * po/be.po: Add descriptive title.
59306         * po/zh_CN.po: Likewise.
59307         * po/header.pot: Likewise.
59309 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59311         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59312         error message.
59313         (enlarge_archive): Likewise.
59315 2013-05-28  Ben North  <ben@redfrontdoor.org>
59317         * manual/arith.texi (frexp): It is the magnitude of the return
59318         value which lies in [0.5, 1), not the return value itself.
59320 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59324 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59326         * stdio-common/bug26.c (main): Correct fscanf template.
59328         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59329         declare _dl_skip_args.
59331         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59332         Don't declare.
59334         * manual/platform.texi: Add missing @end deftypefun.
59336 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59338         [BZ #15529]
59339         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59340         bit of mantissa of 2^16382.
59341         * math/libm-test.inc (hypot_test_data): Add more tests.
59343         * math/libm-test.inc: Add drem and pow10 to list of tested
59344         functions.
59345         (pow10_test): New function.
59346         (drem_test): Likewise.
59347         (drem_test_tonearest): Likewise.
59348         (drem_test_towardzero): Likewise.
59349         (drem_test_downward): Likewise.
59350         (drem_test_upward): Likewise.
59351         (main): Call the new functions.
59353         * math/libm-test.inc (finite_test_data): Remove.
59354         (finite_test): Run tests from isfinite_test_data.
59355         (gamma_test_data): Remove.
59356         (gamma_test): Run tests from lgamma_test_data.
59357         * sysdeps/i386/fpu/libm-test-ulps: Update.
59358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59360 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59362         * manual/platform.texi: Add PowerPC PPR function set documentation.
59363         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59364         implementation.
59366 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59368         * math/libm-test.inc (MAX_EXP): Define.
59369         (ULPDIFF): Define.
59370         (ulp): New function.
59371         (check_float_internal): Use ULPDIFF.
59372         (cpow_test): Disable failing test.
59373         (check_ulp): Test ulp() implementation.
59374         (main): Call check_ulp before starting tests.
59376 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59378         * math/gen-libm-test.pl (generate_testfile): Do not handle
59379         START_DATA and END_DATA.
59380         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59381         END_DATA.
59382         (acos_tonearest_test_data): Likewise.
59383         (acos_towardzero_test_data): Likewise.
59384         (acos_downward_test_data): Likewise.
59385         (acos_upward_test_data): Likewise.
59386         (acosh_test_data): Likewise.
59387         (asin_test_data): Likewise.
59388         (asin_tonearest_test_data): Likewise.
59389         (asin_towardzero_test_data): Likewise.
59390         (asin_downward_test_data): Likewise.
59391         (asin_upward_test_data): Likewise.
59392         (asinh_test_data): Likewise.
59393         (atan_test_data): Likewise.
59394         (atanh_test_data): Likewise.
59395         (atan2_test_data): Likewise.
59396         (cabs_test_data): Likewise.
59397         (cacos_test_data): Likewise.
59398         (cacosh_test_data): Likewise.
59399         (carg_test_data): Likewise.
59400         (casin_test_data): Likewise.
59401         (casinh_test_data): Likewise.
59402         (catan_test_data): Likewise.
59403         (catanh_test_data): Likewise.
59404         (cbrt_test_data): Likewise.
59405         (ccos_test_data): Likewise.
59406         (ccosh_test_data): Likewise.
59407         (ceil_test_data): Likewise.
59408         (cexp_test_data): Likewise.
59409         (cimag_test_data): Likewise.
59410         (clog_test_data): Likewise.
59411         (clog10_test_data): Likewise.
59412         (conj_test_data): Likewise.
59413         (copysign_test_data): Likewise.
59414         (cos_test_data): Likewise.
59415         (cos_tonearest_test_data): Likewise.
59416         (cos_towardzero_test_data): Likewise.
59417         (cos_downward_test_data): Likewise.
59418         (cos_upward_test_data): Likewise.
59419         (cosh_test_data): Likewise.
59420         (cosh_tonearest_test_data): Likewise.
59421         (cosh_towardzero_test_data): Likewise.
59422         (cosh_downward_test_data): Likewise.
59423         (cosh_upward_test_data): Likewise.
59424         (cpow_test_data): Likewise.
59425         (cproj_test_data): Likewise.
59426         (creal_test_data): Likewise.
59427         (csin_test_data): Likewise.
59428         (csinh_test_data): Likewise.
59429         (csqrt_test_data): Likewise.
59430         (ctan_test_data): Likewise.
59431         (ctan_tonearest_test_data): Likewise.
59432         (ctan_towardzero_test_data): Likewise.
59433         (ctan_downward_test_data): Likewise.
59434         (ctan_upward_test_data): Likewise.
59435         (ctanh_test_data): Likewise.
59436         (ctanh_tonearest_test_data): Likewise.
59437         (ctanh_towardzero_test_data): Likewise.
59438         (ctanh_downward_test_data): Likewise.
59439         (ctanh_upward_test_data): Likewise.
59440         (erf_test_data): Likewise.
59441         (erfc_test_data): Likewise.
59442         (exp_test_data): Likewise.
59443         (exp_tonearest_test_data): Likewise.
59444         (exp_towardzero_test_data): Likewise.
59445         (exp_downward_test_data): Likewise.
59446         (exp_upward_test_data): Likewise.
59447         (exp10_test_data): Likewise.
59448         (exp2_test_data): Likewise.
59449         (expm1_test_data): Likewise.
59450         (fabs_test_data): Likewise.
59451         (fdim_test_data): Likewise.
59452         (finite_test_data): Likewise.
59453         (floor_test_data): Likewise.
59454         (fma_test_data): Likewise.
59455         (fma_towardzero_test_data): Likewise.
59456         (fma_downward_test_data): Likewise.
59457         (fma_upward_test_data): Likewise.
59458         (fmax_test_data): Likewise.
59459         (fmin_test_data): Likewise.
59460         (fmod_test_data): Likewise.
59461         (fpclassify_test_data): Likewise.
59462         (frexp_test_data): Likewise.
59463         (gamma_test_data): Likewise.
59464         (hypot_test_data): Likewise.
59465         (ilogb_test_data): Likewise.
59466         (isfinite_test_data): Likewise.
59467         (isgreater_test_data): Likewise.
59468         (isgreaterequal_test_data): Likewise.
59469         (isinf_test_data): Likewise.
59470         (isless_test_data): Likewise.
59471         (islessequal_test_data): Likewise.
59472         (islessgreater_test_data): Likewise.
59473         (isnan_test_data): Likewise.
59474         (isnormal_test_data): Likewise.
59475         (issignaling_test_data): Likewise.
59476         (isunordered_test_data): Likewise.
59477         (j0_test_data): Likewise.
59478         (j1_test_data): Likewise.
59479         (jn_test_data): Likewise.
59480         (ldexp_test_data): Likewise.
59481         (lgamma_test_data): Likewise.
59482         (lrint_test_data): Likewise.
59483         (lrint_tonearest_test_data): Likewise.
59484         (lrint_towardzero_test_data): Likewise.
59485         (lrint_downward_test_data): Likewise.
59486         (lrint_upward_test_data): Likewise.
59487         (llrint_test_data): Likewise.
59488         (llrint_tonearest_test_data): Likewise.
59489         (llrint_towardzero_test_data): Likewise.
59490         (llrint_downward_test_data): Likewise.
59491         (llrint_upward_test_data): Likewise.
59492         (log_test_data): Likewise.
59493         (log10_test_data): Likewise.
59494         (log1p_test_data): Likewise.
59495         (log2_test_data): Likewise.
59496         (logb_test_data): Likewise.
59497         (logb_downward_test_data): Likewise.
59498         (lround_test_data): Likewise.
59499         (llround_test_data): Likewise.
59500         (modf_test_data): Likewise.
59501         (nearbyint_test_data): Likewise.
59502         (nextafter_test_data): Likewise.
59503         (nexttoward_test_data): Likewise.
59504         (pow_test_data): Likewise.
59505         (pow_tonearest_test_data): Likewise.
59506         (pow_towardzero_test_data): Likewise.
59507         (pow_downward_test_data): Likewise.
59508         (pow_upward_test_data): Likewise.
59509         (remainder_test_data): Likewise.
59510         (remainder_tonearest_test_data): Likewise.
59511         (remainder_towardzero_test_data): Likewise.
59512         (remainder_downward_test_data): Likewise.
59513         (remainder_upward_test_data): Likewise.
59514         (remquo_test_data): Likewise.
59515         (rint_test_data): Likewise.
59516         (rint_tonearest_test_data): Likewise.
59517         (rint_towardzero_test_data): Likewise.
59518         (rint_downward_test_data): Likewise.
59519         (rint_upward_test_data): Likewise.
59520         (round_test_data): Likewise.
59521         (scalb_test_data): Likewise.
59522         (scalbn_test_data): Likewise.
59523         (scalbln_test_data): Likewise.
59524         (signbit_test_data): Likewise.
59525         (sin_test_data): Likewise.
59526         (sin_tonearest_test_data): Likewise.
59527         (sin_towardzero_test_data): Likewise.
59528         (sin_downward_test_data): Likewise.
59529         (sin_upward_test_data): Likewise.
59530         (sincos_test_data): Likewise.
59531         (sinh_test_data): Likewise.
59532         (sinh_tonearest_test_data): Likewise.
59533         (sinh_towardzero_test_data): Likewise.
59534         (sinh_downward_test_data): Likewise.
59535         (sinh_upward_test_data): Likewise.
59536         (sqrt_test_data): Likewise.
59537         (tan_test_data): Likewise.
59538         (tan_tonearest_test_data): Likewise.
59539         (tan_towardzero_test_data): Likewise.
59540         (tan_downward_test_data): Likewise.
59541         (tan_upward_test_data): Likewise.
59542         (tanh_test_data): Likewise.
59543         (tgamma_test_data): Likewise.
59544         (trunc_test_data): Likewise.
59545         (y0_test_data): Likewise.
59546         (y1_test_data): Likewise.
59547         (yn_test_data): Likewise.
59548         (significand_test_data): Likewise.
59550         * math/gen-libm-test.pl (@functions): Remove variable.
59551         (generate_testfile): Don't handle START and END lines.
59552         * math/libm-test.inc (START): New macro.
59553         (END): Likewise.
59554         (END_COMPLEX): Likewise.
59555         (acos_test): Use END macro without arguments.
59556         (acos_test_tonearest): Likewise.
59557         (acos_test_towardzero): Likewise.
59558         (acos_test_downward): Likewise.
59559         (acos_test_upward): Likewise.
59560         (acosh_test): Likewise.
59561         (asin_test): Likewise.
59562         (asin_test_tonearest): Likewise.
59563         (asin_test_towardzero): Likewise.
59564         (asin_test_downward): Likewise.
59565         (asin_test_upward): Likewise.
59566         (asinh_test): Likewise.
59567         (atan_test): Likewise.
59568         (atanh_test): Likewise.
59569         (atan2_test): Likewise.
59570         (cabs_test): Likewise.
59571         (cacos_test): Use END_COMPLEX macro without arguments.
59572         (cacosh_test): Likewise.
59573         (carg_test): Use END macro without arguments.
59574         (casin_test): Use END_COMPLEX macro without arguments.
59575         (casinh_test): Likewise.
59576         (catan_test): Likewise.
59577         (catanh_test): Likewise.
59578         (cbrt_test): Use END macro without arguments.
59579         (ccos_test): Use END_COMPLEX macro without arguments.
59580         (ccosh_test): Likewise.
59581         (ceil_test): Use END macro without arguments.
59582         (cexp_test): Use END_COMPLEX macro without arguments.
59583         (cimag_test): Use END macro without arguments.
59584         (clog_test): Use END_COMPLEX macro without arguments.
59585         (clog10_test): Likewise.
59586         (conj_test): Likewise.
59587         (copysign_test): Use END macro without arguments.
59588         (cos_test): Likewise.
59589         (cos_test_tonearest): Likewise.
59590         (cos_test_towardzero): Likewise.
59591         (cos_test_downward): Likewise.
59592         (cos_test_upward): Likewise.
59593         (cosh_test): Likewise.
59594         (cosh_test_tonearest): Likewise.
59595         (cosh_test_towardzero): Likewise.
59596         (cosh_test_downward): Likewise.
59597         (cosh_test_upward): Likewise.
59598         (cpow_test): Use END_COMPLEX macro without arguments.
59599         (cproj_test): Likewise.
59600         (creal_test): Use END macro without arguments.
59601         (csin_test): Use END_COMPLEX macro without arguments.
59602         (csinh_test): Likewise.
59603         (csqrt_test): Likewise.
59604         (ctan_test): Likewise.
59605         (ctan_test_tonearest): Likewise.
59606         (ctan_test_towardzero): Likewise.
59607         (ctan_test_downward): Likewise.
59608         (ctan_test_upward): Likewise.
59609         (ctanh_test): Likewise.
59610         (ctanh_test_tonearest): Likewise.
59611         (ctanh_test_towardzero): Likewise.
59612         (ctanh_test_downward): Likewise.
59613         (ctanh_test_upward): Likewise.
59614         (erf_test): Use END macro without arguments.
59615         (erfc_test): Likewise.
59616         (exp_test): Likewise.
59617         (exp_test_tonearest): Likewise.
59618         (exp_test_towardzero): Likewise.
59619         (exp_test_downward): Likewise.
59620         (exp_test_upward): Likewise.
59621         (exp10_test): Likewise.
59622         (exp2_test): Likewise.
59623         (expm1_test): Likewise.
59624         (fabs_test): Likewise.
59625         (fdim_test): Likewise.
59626         (finite_test): Likewise.
59627         (floor_test): Likewise.
59628         (fma_test): Likewise.
59629         (fma_test_towardzero): Likewise.
59630         (fma_test_downward): Likewise.
59631         (fma_test_upward): Likewise.
59632         (fmax_test): Likewise.
59633         (fmin_test): Likewise.
59634         (fmod_test): Likewise.
59635         (fpclassify_test): Likewise.
59636         (frexp_test): Likewise.
59637         (gamma_test): Likewise.
59638         (hypot_test): Likewise.
59639         (ilogb_test): Likewise.
59640         (isfinite_test): Likewise.
59641         (isgreater_test): Likewise.
59642         (isgreaterequal_test): Likewise.
59643         (isinf_test): Likewise.
59644         (isless_test): Likewise.
59645         (islessequal_test): Likewise.
59646         (islessgreater_test): Likewise.
59647         (isnan_test): Likewise.
59648         (isnormal_test): Likewise.
59649         (issignaling_test): Likewise.
59650         (isunordered_test): Likewise.
59651         (j0_test): Likewise.
59652         (j1_test): Likewise.
59653         (jn_test): Likewise.
59654         (ldexp_test): Likewise.
59655         (lgamma_test): Likewise.
59656         (lrint_test): Likewise.
59657         (lrint_test_tonearest): Likewise.
59658         (lrint_test_towardzero): Likewise.
59659         (lrint_test_downward): Likewise.
59660         (lrint_test_upward): Likewise.
59661         (llrint_test): Likewise.
59662         (llrint_test_tonearest): Likewise.
59663         (llrint_test_towardzero): Likewise.
59664         (llrint_test_downward): Likewise.
59665         (llrint_test_upward): Likewise.
59666         (log_test): Likewise.
59667         (log10_test): Likewise.
59668         (log1p_test): Likewise.
59669         (log2_test): Likewise.
59670         (logb_test): Likewise.
59671         (logb_test_downward): Likewise.
59672         (lround_test): Likewise.
59673         (llround_test): Likewise.
59674         (modf_test): Likewise.
59675         (nearbyint_test): Likewise.
59676         (nextafter_test): Likewise.
59677         (nexttoward_test): Likewise.
59678         (pow_test): Likewise.
59679         (pow_test_tonearest): Likewise.
59680         (pow_test_towardzero): Likewise.
59681         (pow_test_downward): Likewise.
59682         (pow_test_upward): Likewise.
59683         (remainder_test): Likewise.
59684         (remainder_test_tonearest): Likewise.
59685         (remainder_test_towardzero): Likewise.
59686         (remainder_test_downward): Likewise.
59687         (remainder_test_upward): Likewise.
59688         (remquo_test): Likewise.
59689         (rint_test): Likewise.
59690         (rint_test_tonearest): Likewise.
59691         (rint_test_towardzero): Likewise.
59692         (rint_test_downward): Likewise.
59693         (rint_test_upward): Likewise.
59694         (round_test): Likewise.
59695         (scalb_test): Likewise.
59696         (scalbn_test): Likewise.
59697         (scalbln_test): Likewise.
59698         (signbit_test): Likewise.
59699         (sin_test): Likewise.
59700         (sin_test_tonearest): Likewise.
59701         (sin_test_towardzero): Likewise.
59702         (sin_test_downward): Likewise.
59703         (sin_test_upward): Likewise.
59704         (sincos_test): Likewise.
59705         (sinh_test): Likewise.
59706         (sinh_test_tonearest): Likewise.
59707         (sinh_test_towardzero): Likewise.
59708         (sinh_test_downward): Likewise.
59709         (sinh_test_upward): Likewise.
59710         (sqrt_test): Likewise.
59711         (tan_test): Likewise.
59712         (tan_test_tonearest): Likewise.
59713         (tan_test_towardzero): Likewise.
59714         (tan_test_downward): Likewise.
59715         (tan_test_upward): Likewise.
59716         (tanh_test): Likewise.
59717         (tgamma_test): Likewise.
59718         (trunc_test): Likewise.
59719         (y0_test): Likewise.
59720         (y1_test): Likewise.
59721         (yn_test): Likewise.
59722         (significand_test): Likewise.
59724 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59726         [BZ #15381]
59727         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59729 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59731         [BZ #14894]
59732         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59733         __ppc_mdoio and __ppc_mdoom.
59734         * manual/platform.texi: Document new functions __ppc_yield,
59735         __ppc_mdoio and __ppc_mdoom.
59737 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59739         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59740         (main): Mention "tls" pseudo-hwcap is legacy.
59741         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59743 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59745         * math/gen-libm-test.pl (parse_args): Output only string of
59746         arguments as text for test name, not full call or descriptions of
59747         tests for extra outputs.
59748         (generate_testfile): Do not pass function name to parse_args.
59749         Generate this_func variable from START.
59750         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59751         field to arg_str.
59752         (struct test_ff_f_data): Likewise.
59753         (test_ff_f_data_nexttoward): Likewise.
59754         (struct test_fi_f_data): Likewise.
59755         (struct test_fl_f_data): Likewise.
59756         (struct test_if_f_data): Likewise.
59757         (struct test_fff_f_data): Likewise.
59758         (struct test_c_f_data): Likewise.
59759         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59760         (struct test_fF_f1_data): Likewise.
59761         (struct test_ffI_f1_data): Likewise.
59762         (struct test_c_c_data): Rename test_name field to arg_str.
59763         (struct test_cc_c_data): Likewise.
59764         (struct test_f_i_data): Likewise.
59765         (struct test_ff_i_data): Likewise.
59766         (struct test_f_l_data): Likewise.
59767         (struct test_f_L_data): Likewise.
59768         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59769         and extra2_name.
59770         (COMMON_TEST_SETUP): New macro.
59771         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59772         (COMMON_TEST_CLEANUP): Likewise.
59773         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59774         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59775         macros.
59776         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59777         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59778         macros.
59779         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59780         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59781         cleanup macros.
59782         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59783         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59784         macros.
59785         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59786         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59787         macros.
59788         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59789         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59790         cleanup macros.
59791         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59792         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59793         cleanup macros.
59794         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59795         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59796         cleanup macros.
59797         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59798         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59799         macros.
59800         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59801         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59802         macros.
59803         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59804         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59805         macros.
59806         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59807         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59808         cleanup macros.
59809         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59810         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59811         cleanup macros.
59812         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59813         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59814         macros.
59815         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59816         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59817         cleanup macros.
59818         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59819         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59820         macros.
59821         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59822         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59823         macros.
59824         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59825         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59826         cleanup macros.
59827         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59829 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59831         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59832         to _sifields.sigfault.
59833         (si_addr_lsb): Define new macro.
59834         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59835         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59836         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59838 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59840         [BZ #15441]
59841         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59842         returns -1.
59843         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59844         null return -1.
59845         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59846         loading the domain.
59848 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59850         * math/gen-libm-test.pl (parse_args): Do not include expected
59851         result in test name.
59852         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59854         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59856         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59859 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59861         * benchtests/Makefile: Sort function entries.
59863         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59864         tanh, asinh, acosh, atanh.
59865         * benchtests/acos-inputs: New file.
59866         * benchtests/acosh-inputs: New file.
59867         * benchtests/asin-inputs: New file.
59868         * benchtests/asinh-inputs: New file.
59869         * benchtests/atanh-inputs: New file.
59870         * benchtests/cosh-inputs: New file.
59871         * benchtests/log-inputs: New file.
59872         * benchtests/sinh-inputs: New file.
59873         * benchtests/tanh-inputs: New file.
59875 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59877         [BZ #15339]
59878         * posix/tst-getaddrinfo4.c: New test.
59879         * posix/Makefile (tests): Add it.
59881 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59883         [BZ #15339]
59884         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59885         when no services were used.
59886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59887         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59889 2013-05-21  Andreas Schwab  <schwab@suse.de>
59891         [BZ #15014]
59892         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59893         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59894         successful.
59895         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59896         redundant variable declarations and reallocation of buffer when
59897         parsing as IPv6 address.  Always set NSS status when called from
59898         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59899         buffer too small.  Correct computation of needed size.
59900         * nss/Makefile (tests): Add test-digits-dots.
59901         * nss/test-digits-dots.c: New test.
59903 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59905         * benchtests/Makefile: Remove instructions for adding
59906         benchmark tests.
59907         * benchtests/README: New file to explain how to execute and
59908         enhance the benchmark tests.
59910 2013-05-21  Andreas Schwab  <schwab@suse.de>
59912         [BZ #15493]
59913         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59914         * setjmp/tst-sigsetjmp.c: New test.
59916 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59918         * sysdeps/x86_64/memset.S (memset): New implementation.
59919         (__bzero): Likewise.
59920         (__memset_tail): New function.
59922 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59924         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59925         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59926         __memcpy_sse2_unaligned ifunc selection.
59927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59928         Add memcpy-sse2-unaligned.S.
59929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59930         Add: __memcpy_sse2_unaligned.
59932 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59934         [BZ #15490]
59935         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59936         math_force_eval before restoring floating-point envrionment.
59937         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59939         Likewise.
59940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59941         <math_private.h>.
59942         (__nearbyintl): Use math_force_eval before restoring
59943         floating-point environment.
59944         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59946         * math/gen-libm-test.pl (special_functions): Remove.
59947         (parse_args): Don't handle TEST_extra.  Handle functions with no
59948         return value.
59949         * math/libm-test.inc (struct test_sincos_data): Replace with
59950         struct test_fFF_11_data.
59951         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59952         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59953         (sincos_test_data): Change element type to struct
59954         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59955         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59956         RUN_TEST_LOOP_sincos.
59957         * math/README.libm-test: Don't mention special handling of
59958         individual functions.
59959         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59960         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59961         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59962         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59963         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59966         * math/gen-libm-test.pl (get_variable): Remove function.
59967         (parse_args): Don't show pointer parameters to call in test
59968         names.  Use "extra output N" in test names for extra outputs
59969         rather than naming variables.
59971 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59973         [BZ #15488]
59974         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59975         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59976         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59977         double tests.
59978         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59979         disable.
59980         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59981         check_long_double.
59983         * math/gen-libm-test.pl (@tests): Remove variable.
59984         ($count): Likewise.
59985         (new_test): Remove function.
59986         (show_exceptions): New function.
59987         (special_functions): Use show_exceptions instead of new_test.
59988         (parse_args): Likewise.
59989         (generate_testfile): Pass only function name in generated call to
59990         print_max_error or print_complex_max_error.
59991         (get_ulps): Do not handle complex tests specially.
59992         (output_test): Rename to ...
59993         (get_all_ulps_for_test): ... this.  Return a string rather than
59994         printing to a file.  Require ulps to be present.
59995         (output_ulps): Generate arrays rather than #defines.
59996         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59997         (struct ulp_data): New type.
59998         (BUILD_COMPLEX_ULP): Remove macro.
59999         (compare_ulp_data): New function.
60000         (find_ulps): Likewise.
60001         (find_test_ulps): Likewise.
60002         (find_function_ulps): Likewise.
60003         (find_complex_function_ulps): Likewise.
60004         (print_max_error): Determine allowed ulps using
60005         find_function_ulps.
60006         (print_complex_max_error): Determine allowed ulps using
60007         find_complex_function_ulps.
60008         (check_float_internal): Determine max ulps using find_test_ulps.
60009         (check_float): Do not take max_ulp parameter.  Update call to
60010         check_float_internal.
60011         (check_complex): Likewise.
60012         (check_int): Do not take max_ulp parameter.
60013         (check_long): Likewise.
60014         (check_bool): Likewise.
60015         (check_longlong): Likewise.
60016         (struct test_f_f_data): Remove max_ulp field.
60017         (struct test_ff_f_data): Likewise.
60018         (struct test_ff_f_data_nexttoward): Likewise.
60019         (struct test_fi_f_data): Likewise.
60020         (struct test_fl_f_data): Likewise.
60021         (struct test_if_f_data): Likewise.
60022         (struct test_fff_f_data): Likewise.
60023         (struct test_c_f_data): Likewise.
60024         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60025         (struct test_fF_f1_data): Likewise.
60026         (struct test_ffI_f1_data): Likewise.
60027         (struct test_c_c_data): Remove max_ulp field.
60028         (struct test_cc_c_data): Likewise.
60029         (struct test_f_i_data): Likewise.
60030         (struct test_ff_i_data): Likewise.
60031         (struct test_f_l_data): Likewise.
60032         (struct test_f_L_data): Likewise.
60033         (struct test_sincos_data): Likewise.
60034         (RUN_TEST_f_f): Do not handle ulps.
60035         (RUN_TEST_LOOP_f_f): Likewise.
60036         (RUN_TEST_2_f): Likewise.
60037         (RUN_TEST_LOOP_2_f): Likewise.
60038         (RUN_TEST_fff_f): Likewise.
60039         (RUN_TEST_LOOP_fff_f): Likewise.
60040         (RUN_TEST_c_f): Likewise.
60041         (RUN_TEST_LOOP_c_f): Likewise.
60042         (RUN_TEST_f_f1): Likewise.
60043         (RUN_TEST_LOOP_f_f1): Likewise.
60044         (RUN_TEST_fF_f1): Likewise.
60045         (RUN_TEST_LOOP_fF_f1): Likewise.
60046         (RUN_TEST_fI_f1): Likewise.
60047         (RUN_TEST_LOOP_fI_f1): Likewise.
60048         (RUN_TEST_ffI_f1): Likewise.
60049         (RUN_TEST_LOOP_ffI_f1): Likewise.
60050         (RUN_TEST_c_c): Likewise.
60051         (RUN_TEST_LOOP_c_c): Likewise.
60052         (RUN_TEST_cc_c): Likewise.
60053         (RUN_TEST_LOOP_cc_c): Likewise.
60054         (RUN_TEST_f_i): Likewise.
60055         (RUN_TEST_LOOP_f_i): Likewise.
60056         (RUN_TEST_f_i_tg): Likewise.
60057         (RUN_TEST_LOOP_f_i_tg): Likewise.
60058         (RUN_TEST_ff_i_tg): Likewise.
60059         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60060         (RUN_TEST_f_b): Likewise.
60061         (RUN_TEST_LOOP_f_b): Likewise.
60062         (RUN_TEST_f_b_tg): Likewise.
60063         (RUN_TEST_LOOP_f_b_tg): Likewise.
60064         (RUN_TEST_f_l): Likewise.
60065         (RUN_TEST_LOOP_f_l): Likewise.
60066         (RUN_TEST_f_L): Likewise.
60067         (RUN_TEST_LOOP_f_L): Likewise.
60068         (RUN_TEST_sincos): Likewise.
60069         (RUN_TEST_LOOP_sincos): Likewise.
60071 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60073         [BZ #15480]
60074         [BZ #15485]
60075         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60076         main case of finite arguments, set rounding mode to FE_TONEAREST
60077         and discard exceptions.
60078         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60079         exceptions.
60080         (remainder_tonearest_test_data): New variable.
60081         (remainder_test_tonearest): New function.
60082         (remainder_towardzero_test_data): New variable.
60083         (remainder_test_towardzero): New function.
60084         (remainder_downward_test_data): New variable.
60085         (remainder_test_downward): New function.
60086         (remainder_upward_test_data): New variable.
60087         (remainder_test_upward): New function.
60088         (main): Call the new test functions.
60090         * math/libm-test.inc (struct test_f_f1_data): Remove field
60091         extra_init.
60092         (struct test_fF_f1_data): Likewise.
60093         (struct test_ffI_f1_data): Likewise.
60094         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60095         based on value of EXTRA_EXPECTED.
60096         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60097         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60098         EXTRA_VAR based on value of EXTRA_EXPECTED.
60099         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60100         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60101         EXTRA_VAR based on value of EXTRA_EXPECTED.
60102         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60103         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60104         EXTRA_VAR based on value of EXTRA_EXPECTED.
60105         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60106         * math/gen-libm-test.pl (parse_args): Don't output initializers
60107         for extra output values.
60109         * math/libm-test.inc (check_int): Expect result to be exactly
60110         equal to expected value and do not handle ulps.
60111         (check_long): Likewise.
60112         (check_longlong): Likewise.
60114         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60115         exceptions.
60116         (cimag_test_data): Likewise.
60117         (conj_test_data): Likewise.
60118         (copysign_test_data): Likewise.
60119         (cproj_test_data): Likewise.
60120         (creal_test_data): Likewise.
60121         (fabs_test_data): Likewise.
60122         (fdim_test_data): Likewise.
60123         (finite_test_data): Likewise.
60124         (floor_test_data): Likewise.
60125         (fmax_test_data): Likewise.
60126         (fmin_test_data): Likewise.
60127         (fmod_test_data): Likewise.
60128         (fpclassify_test_data): Likewise.
60129         (frexp_test_data): Likewise.
60130         (ilogb_test_data): Likewise.
60131         (isfinite_test_data): Likewise.
60132         (isgreater_test_data): Likewise.
60133         (isgreaterequal_test_data): Likewise.
60134         (isinf_test_data): Likewise.
60135         (isless_test_data): Likewise.
60136         (islessequal_test_data): Likewise.
60137         (islessgreater_test_data): Likewise.
60138         (isnan_test_data): Likewise.
60139         (isnormal_test_data): Likewise.
60140         (issignaling_test_data): Likewise.
60141         (isunordered_test_data): Likewise.
60142         (ldexp_test_data): Likewise.
60143         (lrint_test_data): Likewise.
60144         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60145         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60146         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60147         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60148         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60149         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60150         test input.
60151         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60152         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60153         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60154         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60155         that test input.
60156         (lrint_downward_test_data): Test for "inexact" exceptions.
60157         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60158         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60159         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60160         test input.
60161         (lrint_upward_test_data): Test for "inexact" exceptions.
60162         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60163         test input.
60164         (llrint_test_data): Test for "inexact" exceptions.
60165         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60166         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60167         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60168         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60169         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60170         (llrint_downward_test_data): Test for "inexact" exceptions.
60171         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60172         (llrint_upward_test_data): Test for "inexact" exceptions.
60173         (logb_test_data): Likewise.
60174         (logb_downward_test_data): Likewise.
60175         (nextafter_test_data): Likewise.
60176         (nexttoward_test_data): Likewise.
60177         (remainder_test_data): Likewise.
60178         (remquo_test_data): Likewise.
60179         (scalbn_test_data): Likewise.
60180         (scalbln_test_data): Likewise.
60181         (signbit_test_data): Likewise.
60182         (sqrt_test_data): Likewise.
60183         (significand_test_data): Likewise.
60185 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60187         [BZ #15424]
60188         * benchtests/bench-modf.c (struct args): Mark arg0 as
60189         volatile.
60190         * scripts/bench.pl: Mark members of struct args as volatile.
60192 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60194         [BZ # 15497]
60195         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60196         negative infinity on POWER6 or lower.
60197         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60199 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60201         [BZ #15442]
60202         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60203         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60204         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60205         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60206         (_FP_SETQNAN): New macro.
60207         (_FP_SETQNAN_SEMIRAW): Likewise.
60208         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60209         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60210         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60211         (FP_EXTEND): Use _FP_FRAC_SNANP.
60212         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60213         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60214         into account.
60215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60216         New macro.
60217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60218         Likewise.
60220 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60222         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60223         with DIVIDE_BY_ZERO_EXCEPTION.
60224         (gamma_test_data): Likewise.
60225         (lgamma_test_data): Likewise.
60226         (log_test_data): Likewise.
60227         (log10_test_data): Likewise.
60228         (log2_test_data): Likewise.
60229         (tgamma_test_data): Likewise.
60231         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60232         (acos_test_tonearest): Likewise.
60233         (acos_test_towardzero): Likewise.
60234         (acos_test_downward): Likewise.
60235         (acos_test_upward): Likewise.
60236         (acosh_test): Likewise.
60237         (asin_test): Likewise.
60238         (asin_test_tonearest): Likewise.
60239         (asin_test_towardzero): Likewise.
60240         (asin_test_downward): Likewise.
60241         (asin_test_upward): Likewise.
60242         (asinh_test): Likewise.
60243         (atan_test): Likewise.
60244         (atanh_test): Likewise.
60245         (atan2_test): Likewise.
60246         (cabs_test): Likewise.
60247         (cacos_test): Likewise.
60248         (cacosh_test): Likewise.
60249         (casin_test): Likewise.
60250         (casinh_test): Likewise.
60251         (catan_test): Likewise.
60252         (catanh_test): Likewise.
60253         (cbrt_test): Likewise.
60254         (ccos_test): Likewise.
60255         (ccosh_test): Likewise.
60256         (cexp_test): Likewise.
60257         (clog_test): Likewise.
60258         (clog10_test): Likewise.
60259         (cos_test): Likewise.
60260         (cos_test_tonearest): Likewise.
60261         (cos_test_towardzero): Likewise.
60262         (cos_test_downward): Likewise.
60263         (cos_test_upward): Likewise.
60264         (cosh_test): Likewise.
60265         (cosh_test_tonearest): Likewise.
60266         (cosh_test_towardzero): Likewise.
60267         (cosh_test_downward): Likewise.
60268         (cosh_test_upward): Likewise.
60269         (cpow_test): Likewise.
60270         (csin_test): Likewise.
60271         (csinh_test): Likewise.
60272         (csqrt_test): Likewise.
60273         (ctan_test): Likewise.
60274         (ctan_test_tonearest): Likewise.
60275         (ctan_test_towardzero): Likewise.
60276         (ctan_test_downward): Likewise.
60277         (ctan_test_upward): Likewise.
60278         (ctanh_test): Likewise.
60279         (ctanh_test_tonearest): Likewise.
60280         (ctanh_test_towardzero): Likewise.
60281         (ctanh_test_downward): Likewise.
60282         (ctanh_test_upward): Likewise.
60283         (erf_test): Likewise.
60284         (erfc_test): Likewise.
60285         (exp_test): Likewise.
60286         (exp_test_tonearest): Likewise.
60287         (exp_test_towardzero): Likewise.
60288         (exp_test_downward): Likewise.
60289         (exp_test_upward): Likewise.
60290         (exp10_test): Likewise.
60291         (exp2_test): Likewise.
60292         (expm1_test): Likewise.
60293         (fmod_test): Likewise.
60294         (gamma_test): Likewise.
60295         (hypot_test): Likewise.
60296         (j0_test): Likewise.
60297         (j1_test): Likewise.
60298         (jn_test): Likewise.
60299         (lgamma_test): Likewise.
60300         (log_test): Likewise.
60301         (log10_test): Likewise.
60302         (log1p_test): Likewise.
60303         (log2_test): Likewise.
60304         (logb_test_downward): Likewise.
60305         (pow_test): Likewise.
60306         (pow_test_tonearest): Likewise.
60307         (pow_test_towardzero): Likewise.
60308         (pow_test_downward): Likewise.
60309         (pow_test_upward): Likewise.
60310         (remainder_test): Likewise.
60311         (remquo_test): Likewise.
60312         (sin_test): Likewise.
60313         (sin_test_tonearest): Likewise.
60314         (sin_test_towardzero): Likewise.
60315         (sin_test_downward): Likewise.
60316         (sin_test_upward): Likewise.
60317         (sincos_test): Likewise.
60318         (sinh_test): Likewise.
60319         (sinh_test_tonearest): Likewise.
60320         (sinh_test_towardzero): Likewise.
60321         (sinh_test_downward): Likewise.
60322         (sinh_test_upward): Likewise.
60323         (sqrt_test): Likewise.
60324         (tan_test): Likewise.
60325         (tan_test_tonearest): Likewise.
60326         (tan_test_towardzero): Likewise.
60327         (tan_test_downward): Likewise.
60328         (tan_test_upward): Likewise.
60329         (tanh_test): Likewise.
60330         (tgamma_test): Likewise.
60331         (y0_test): Likewise.
60332         (y1_test): Likewise.
60333         (yn_test): Likewise.
60335         * math/gen-libm-test.pl (adjust_arg): Remove function.
60336         (special_function): Remove argument $in_func.  Only handle
60337         generating output for tables of tests, not inside functions.
60338         (parse_args): Likewise.
60339         (generate_testfile): Remove variable $in_func.  Update call to
60340         parse_args.
60341         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60342         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60343         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60344         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60345         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60346         (MAX_VALUE_INIT): Rename macro to max_value.
60347         (MIN_VALUE_INIT): Rename macro to min_value.
60348         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60349         (plus_zero): Remove variable.
60350         (minus_zero): Likewise.
60351         (plus_infty): Likewise.
60352         (minus_infty): Likewise.
60353         (qnan_value): Likewise.
60354         (max_value): Likewise.
60355         (min_value): Likewise.
60356         (min_subnorm_value): Likewise.
60358 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60360         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60361         uint64_t or uint32_t usage.
60362         * crypt/sha256-block.c: Likewise.
60363         * crypt/sha256-crypt.c: Likewise.
60364         * crypt/sha256.c: Likewise.
60365         * crypt/sha512-block.c: Likewise.
60366         * crypt/sha512-crypt.c: Likewise.
60367         * crypt/sha512.c: Likewise.
60368         * debug/backtrace-tst.c: Likewise.
60369         * debug/pcprofiledump.c: Likewise.
60370         * elf/cache.c: Likewise.
60371         * elf/dl-cache.c: Likewise.
60372         * elf/dl-misc.c: Likewise.
60373         * elf/dl-profile.c: Likewise.
60374         * elf/dl-support.c: Likewise.
60375         * elf/ldconfig.c: Likewise.
60376         * elf/sprof.c: Likewise.
60377         * iconv/dummy-repertoire.c: Likewise.
60378         * iconv/iconv_charmap.c: Likewise.
60379         * iconv/skeleton.c: Likewise.
60380         * iconvdata/8bit-generic.c: Likewise.
60381         * iconvdata/cp737.h: Likewise.
60382         * iconvdata/cp775.h: Likewise.
60383         * iconvdata/ibm1008.h: Likewise.
60384         * iconvdata/ibm1025.h: Likewise.
60385         * iconvdata/ibm1046.h: Likewise.
60386         * iconvdata/ibm1097.h: Likewise.
60387         * iconvdata/ibm1112.h: Likewise.
60388         * iconvdata/ibm1122.h: Likewise.
60389         * iconvdata/ibm1123.h: Likewise.
60390         * iconvdata/ibm1124.h: Likewise.
60391         * iconvdata/ibm1129.h: Likewise.
60392         * iconvdata/ibm1130.h: Likewise.
60393         * iconvdata/ibm1132.h: Likewise.
60394         * iconvdata/ibm1133.h: Likewise.
60395         * iconvdata/ibm1137.h: Likewise.
60396         * iconvdata/ibm1140.h: Likewise.
60397         * iconvdata/ibm1141.h: Likewise.
60398         * iconvdata/ibm1142.h: Likewise.
60399         * iconvdata/ibm1143.h: Likewise.
60400         * iconvdata/ibm1144.h: Likewise.
60401         * iconvdata/ibm1145.h: Likewise.
60402         * iconvdata/ibm1146.h: Likewise.
60403         * iconvdata/ibm1147.h: Likewise.
60404         * iconvdata/ibm1148.h: Likewise.
60405         * iconvdata/ibm1149.h: Likewise.
60406         * iconvdata/ibm1153.h: Likewise.
60407         * iconvdata/ibm1154.h: Likewise.
60408         * iconvdata/ibm1155.h: Likewise.
60409         * iconvdata/ibm1156.h: Likewise.
60410         * iconvdata/ibm1157.h: Likewise.
60411         * iconvdata/ibm1158.h: Likewise.
60412         * iconvdata/ibm1160.h: Likewise.
60413         * iconvdata/ibm1161.h: Likewise.
60414         * iconvdata/ibm1162.h: Likewise.
60415         * iconvdata/ibm1163.h: Likewise.
60416         * iconvdata/ibm1164.h: Likewise.
60417         * iconvdata/ibm1166.h: Likewise.
60418         * iconvdata/ibm1167.h: Likewise.
60419         * iconvdata/ibm12712.h: Likewise.
60420         * iconvdata/ibm1390.h: Likewise.
60421         * iconvdata/ibm1399.h: Likewise.
60422         * iconvdata/ibm16804.h: Likewise.
60423         * iconvdata/ibm4517.h: Likewise.
60424         * iconvdata/ibm4899.h: Likewise.
60425         * iconvdata/ibm4909.h: Likewise.
60426         * iconvdata/ibm4971.h: Likewise.
60427         * iconvdata/ibm5347.h: Likewise.
60428         * iconvdata/ibm803.h: Likewise.
60429         * iconvdata/ibm856.h: Likewise.
60430         * iconvdata/ibm901.h: Likewise.
60431         * iconvdata/ibm902.h: Likewise.
60432         * iconvdata/ibm9030.h: Likewise.
60433         * iconvdata/ibm9066.h: Likewise.
60434         * iconvdata/ibm921.h: Likewise.
60435         * iconvdata/ibm922.h: Likewise.
60436         * iconvdata/ibm9448.h: Likewise.
60437         * iconvdata/isiri-3342.h: Likewise.
60438         * iconvdata/jis0201.h: Likewise.
60439         * include/link.h: Likewise.
60440         * include/netdb.h: Likewise.
60441         * inet/check_native.c: Likewise.
60442         * inet/check_pf.c: Likewise.
60443         * inet/getipv4sourcefilter.c: Likewise.
60444         * inet/getnameinfo.c: Likewise.
60445         * inet/getsourcefilter.c: Likewise.
60446         * inet/htonl.c: Likewise.
60447         * inet/setipv4sourcefilter.c: Likewise.
60448         * inet/setsourcefilter.c: Likewise.
60449         * inet/test-inet6_opt.c: Likewise.
60450         * inet/tst-network.c: Likewise.
60451         * locale/C-collate.c: Likewise.
60452         * locale/C-ctype.c: Likewise.
60453         * locale/C-time.c: Likewise.
60454         * locale/C-translit.h: Likewise.
60455         * locale/loadarchive.c: Likewise.
60456         * locale/programs/3level.h: Likewise.
60457         * locale/programs/charmap.c: Likewise.
60458         * locale/programs/charmap.h: Likewise.
60459         * locale/programs/ld-address.c: Likewise.
60460         * locale/programs/ld-collate.c: Likewise.
60461         * locale/programs/ld-ctype.c: Likewise.
60462         * locale/programs/ld-identification.c: Likewise.
60463         * locale/programs/ld-measurement.c: Likewise.
60464         * locale/programs/ld-messages.c: Likewise.
60465         * locale/programs/ld-monetary.c: Likewise.
60466         * locale/programs/ld-name.c: Likewise.
60467         * locale/programs/ld-numeric.c: Likewise.
60468         * locale/programs/ld-paper.c: Likewise.
60469         * locale/programs/ld-telephone.c: Likewise.
60470         * locale/programs/ld-time.c: Likewise.
60471         * locale/programs/linereader.c: Likewise.
60472         * locale/programs/locale.c: Likewise.
60473         * locale/programs/locarchive.c: Likewise.
60474         * locale/programs/locfile.h: Likewise.
60475         * locale/programs/repertoire.c: Likewise.
60476         * locale/programs/simple-hash.c: Likewise.
60477         * locale/programs/simple-hash.h: Likewise.
60478         * malloc/memusage.c: Likewise.
60479         * malloc/memusagestat.c: Likewise.
60480         * nis/nis_defaults.c: Likewise.
60481         * nis/nis_hash.c: Likewise.
60482         * nis/nis_print.c: Likewise.
60483         * nis/nis_xdr.c: Likewise.
60484         * nscd/connections.c: Likewise.
60485         * nscd/hstcache.c: Likewise.
60486         * nscd/nscd_gethst_r.c: Likewise.
60487         * nscd/nscd_getserv_r.c: Likewise.
60488         * nscd/nscd_helper.c: Likewise.
60489         * nscd/servicescache.c: Likewise.
60490         * nss/makedb.c: Likewise.
60491         * nss/nss_db/db-XXX.c: Likewise.
60492         * nss/nss_db/db-initgroups.c: Likewise.
60493         * nss/nss_db/db-netgrp.c: Likewise.
60494         * nss/nss_files/files-network.c: Likewise.
60495         * nss/nss_files/files-parse.c: Likewise.
60496         * posix/bug-regex5.c: Likewise.
60497         * posix/fnmatch_loop.c: Likewise.
60498         * posix/regcomp.c: Likewise.
60499         * posix/regexec.c: Likewise.
60500         * posix/tst-rfc3484-2.c: Likewise.
60501         * posix/tst-rfc3484-3.c: Likewise.
60502         * posix/tst-rfc3484.c: Likewise.
60503         * resolv/nss_dns/dns-canon.c: Likewise.
60504         * resolv/nss_dns/dns-network.c: Likewise.
60505         * resolv/res_init.c: Likewise.
60506         * resolv/res_mkquery.c: Likewise.
60507         * resolv/tst-aton.c: Likewise.
60508         * stdlib/cxa_atexit.c: Likewise.
60509         * stdlib/cxa_finalize.c: Likewise.
60510         * stdlib/gen-fpioconst.c: Likewise.
60511         * stdlib/strtol_l.c: Likewise.
60512         * string/tst-endian.c: Likewise.
60513         * sunrpc/auth_des.c: Likewise.
60514         * sunrpc/clnt_udp.c: Likewise.
60515         * sunrpc/rtime.c: Likewise.
60516         * sunrpc/svcauth_des.c: Likewise.
60517         * sunrpc/xdr.c: Likewise.
60518         * sunrpc/xdr_intXX_t.c: Likewise.
60519         * sunrpc/xdr_rec.c: Likewise.
60520         * sysdeps/generic/ldconfig.h: Likewise.
60521         * sysdeps/generic/ldsodefs.h: Likewise.
60522         * sysdeps/generic/memusage.h: Likewise.
60523         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60524         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60525         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60526         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60529         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60531         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60533         * sysdeps/posix/getaddrinfo.c: Likewise.
60534         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60535         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60536         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60537         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60538         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60539         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60540         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60541         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60542         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60543         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60544         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60545         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60546         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60547         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60548         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60549         * sysdeps/x86_64/dl-tls.h: Likewise.
60550         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60551         * time/alt_digit.c: Likewise.
60552         * time/era.c: Likewise.
60553         * wcsmbs/tst-c16c32-1.c: Likewise.
60555 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60557         * math/libm-test.inc (struct test_sincos_data): New type.
60558         (RUN_TEST_LOOP_sincos): New macro.
60559         (sincos_test_data): New variable.
60560         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60562 2013-05-16  Richard Henderson  <rth@redhat.com>
60564         * math/atest-exp2.c (LIMB64): New macro.
60565         (CONSTSZ): New macro.
60566         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60567         (hexdig): Move ...
60568         (print_mpn_fp): ... to function scope.
60569         (read_mpn_hex): Remove.
60570         (get_log2): Remove.
60571         (exp2_mpn): Use mp_log2.
60572         (main): Use mp_exp1.
60574 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60576         * math/libm-test.inc: Remove comment about not testing "inexact"
60577         exceptions.
60578         (INEXACT_EXCEPTION): New macro.
60579         (NO_INEXACT_EXCEPTION): Likewise.
60580         (INVALID_EXCEPTION_OK): Update value.
60581         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60582         (OVERFLOW_EXCEPTION_OK): Likewise.
60583         (UNDERFLOW_EXCEPTION_OK): Likewise.
60584         (IGNORE_ZERO_INF_SIGN): Likewise.
60585         (ERRNO_UNCHANGED): Likewise.
60586         (ERRNO_EDOM): Likewise.
60587         (ERRNO_ERANGE): Likewise.
60588         (test_exceptions): Handle testing "inexact" exceptions.
60589         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60590         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60591         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60592         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60593         INEXACT_EXCEPTION.
60594         (rint_towardzero_test_data): Likewise.
60595         (rint_downward_test_data): Likewise.
60596         (rint_upward_test_data): Likewise.
60598         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60599         with OVERFLOW_EXCEPTION.
60600         (exp10_test_data): Likewise.
60601         (exp2_test_data): Likewise.
60602         (expm1_test_data): Likewise.
60603         (lgamma_test_data): Likewise.
60604         (pow_test_data): Likewise.
60605         (tgamma_test_data): Likewise.
60606         (yn_test_data): Remove duplicate test of overflow.
60608         * math/libm-test.inc (struct test_cc_c_data): New type.
60609         (RUN_TEST_LOOP_cc_c): New macro.
60610         (cpow_test_data): New variable.
60611         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60613         * math/libm-test.inc (struct test_f_L_data): New type.
60614         (RUN_TEST_LOOP_f_L): New macro.
60615         (llrint_test_data): New variable.
60616         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60617         (llrint_tonearest_test_data): New variable.
60618         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60619         (llrint_towardzero_test_data): New variable.
60620         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60621         (llrint_downward_test_data): New variable.
60622         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60623         (llrint_upward_test_data): New variable.
60624         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60625         (llround_test_data): New variable.
60626         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60628 2013-05-13  Peter Collingbourne  <pcc@google.com>
60630         * math/atest-exp2.c (get_log2): Remove const attribute.
60632 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60634         * math/libm-test.inc (struct test_f_l_data): New type.
60635         (RUN_TEST_LOOP_f_l): New macro.
60636         (lrint_test_data): New variable.
60637         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60638         (lrint_tonearest_test_data): New variable.
60639         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60640         (lrint_towardzero_test_data): New variable.
60641         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60642         (lrint_downward_test_data): New variable.
60643         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60644         (lrint_upward_test_data): New variable.
60645         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60646         (lround_test_data): New variable.
60647         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60649 2013-05-15  Peter Collingbourne  <pcc@google.com>
60651         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60652         (EXTRACT_WORDS64) Use where appropriate.
60653         (INSERT_WORDS64) Likewise.
60655         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60656         constraints with x constraints.
60657         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60659         * malloc/obstack.c (_obstack_compat): Add initializer.
60661 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60663         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60664         si_trapno and add si_addr_lsb to _sifields.sigfault.
60665         (si_trapno): Remove macro.
60666         (si_addr_lsb): Define new macro.
60667         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60669 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60671         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60672         instead of TEST_f_l.
60673         (llrint_test_tonearest): Likewise.
60674         (llrint_test_towardzero): Likewise.
60675         (llrint_test_downward): Likewise.
60676         (llrint_test_upward): Likewise.
60677         (llround_test): Likewise.
60679         * math/libm-test.inc (struct test_f_i_data): Add comment.
60680         (RUN_TEST_LOOP_f_b): New macro.
60681         (RUN_TEST_LOOP_f_b_tg): Likewise.
60682         (finite_test_data): New variable.
60683         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60684         (isfinite_test_data): New variable.
60685         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60686         (isinf_test_data): New variable.
60687         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60688         (isnan_test_data): New variable.
60689         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60690         (isnormal_test_data): New variable.
60691         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60692         (issignaling_test_data): New variable.
60693         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60694         (signbit_test_data): New variable.
60695         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60697         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60698         with INVALID_EXCEPTION.
60699         (acosh_test_data): Likewise.
60700         (asin_test_data): Likewise.
60701         (atanh_test_data): Likewise.
60702         (fmod_test_data): Likewise.
60703         (log_test_data): Likewise.
60704         (log10_test_data): Likewise.
60705         (log2_test_data): Likewise.
60706         (pow_test_data): Likewise.
60707         (sqrt_test_data): Likewise.
60708         (y0_test_data): Likewise.
60709         (y1_test_data): Likewise.
60710         (yn_test_data): Likewise.
60712         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60713         function contents.
60715         * math/libm-test.inc (struct test_ff_i_data): New type.
60716         (RUN_TEST_LOOP_ff_i_tg): New macro.
60717         (isgreater_test_data): New variable.
60718         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60719         (isgreaterequal_test_data): New variable.
60720         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60721         (isless_test_data): New variable.
60722         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60723         (islessequal_test_data): New variable.
60724         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60725         (islessgreater_test_data): New variable.
60726         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60727         (isunordered_test_data): New variable.
60728         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60730 2013-05-14  David S. Miller  <davem@davemloft.net>
60732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60734 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60736         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60738         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60739         extra_test to int.
60740         (struct test_f_i_data): Change type of max_ulp to int.
60742         * math/libm-test.inc (test_ffI_f1_data): New type.
60743         (RUN_TEST_LOOP_ffI_f1): New macro.
60744         (remquo_test_data): New variable.
60745         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60747         * setjmp/tst-setjmp-fp.c: New file.
60748         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60749         (link-libm): New variable.
60750         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60752         * math/libm-test.inc (struct test_f_i_data): New type.
60753         (RUN_TEST_LOOP_f_i): New macro.
60754         (RUN_TEST_LOOP_f_i_tg): Likewise.
60755         (fpclassify_test_data): New variable.
60756         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60757         (ilogb_test_data): New variable.
60758         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60760         * math/libm-test.inc (scalbln_test): Correct function name in END
60761         call.
60763         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60764         (RUN_TEST_LOOP_fI_f1): New macro.
60765         (frexp_test_data): New variable.
60766         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60768         * math/libm-test.inc (struct test_fF_f1_data): New type.
60769         (RUN_TEST_LOOP_fF_f1): New macro.
60770         (modf_test_data): New variable.
60771         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60773         * math/libm-test.inc (struct test_f_f1_data): New type.
60774         (RUN_TEST_LOOP_f_f1): New macro.
60775         (gamma_test_data): New variable.
60776         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60777         (lgamma_test_data): New variable.
60778         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60780 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60783         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60784         (main): Comment "tls" pseudo-hwcap.
60786 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60788         * math/libm-test.inc (struct test_fl_f_data): New type.
60789         (RUN_TEST_LOOP_fl_f): New variable.
60790         (scalbln_test_data): New variable.
60791         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60793         * math/libm-test.inc (struct test_fi_f_data): New type.
60794         (RUN_TEST_LOOP_fi_f): New macro.
60795         (ldexp_test_data): New variable.
60796         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60797         (scalbn_test_data): New variable.
60798         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60800         * math/libm-test.inc (struct test_c_f_data): New type.
60801         (RUN_TEST_LOOP_c_f): New macro.
60802         (cabs_test_data): New variable.
60803         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60804         (carg_test_data): New variable.
60805         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60806         (cimag_test_data): New variable.
60807         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60808         (creal_test_data): New variable.
60809         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60811         * math/libm-test.inc (struct test_if_f_data): New type.
60812         (RUN_TEST_LOOP_if_f): New macro.
60813         (jn_test_data): New variable.
60814         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60815         (yn_test_data): New variable.
60816         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60818         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60820 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60822         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60823         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60825 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60827         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60828         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60829         (bench-deps): Add bench-timing.h.
60830         * benchtests-bench-skeleton.c: Include bench-timing.h.
60831         (main): Use TIMING_* macros instead of clock_gettime.
60832         * benchtests/bench-timing.h: New file.
60834         [BZ #14582]
60835         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60836         Renamed from _LIB_VERSION.
60837         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60839 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60841         * math/libm-test.inc (struct test_fff_f_data): New type.
60842         (RUN_TEST_LOOP_fff_f): New macro.
60843         (fma_test_data): New variable.
60844         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60845         (fma_towardzero_test_data): New variable.
60846         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60847         (fma_downward_test_data): New variable.
60848         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60849         (fma_upward_test_data): New variable.
60850         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60852         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60853         (struct test_c_c_data): New type.
60854         (RUN_TEST_LOOP_c_c): New macro.
60855         (cacos_test_data): New variable.
60856         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60857         (cacosh_test_data): New variable.
60858         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60859         (casin_test_data): New variable.
60860         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60861         (casinh_test_data): New variable.
60862         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60863         (catan_test_data): New variable.
60864         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60865         (catanh_test_data): New variable.
60866         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60867         (ccos_test_data): New variable.
60868         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60869         (ccosh_test_data): New variable.
60870         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60871         (cexp_test_data): New variable.
60872         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60873         (clog_test_data): New variable.
60874         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60875         (clog10_test_data): New variable.
60876         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60877         (conj_test_data): New variable.
60878         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60879         (cproj_test_data): New variable.
60880         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60881         (csin_test_data): New variable.
60882         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60883         (csinh_test_data): New variable.
60884         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60885         (csqrt_test_data): New variable.
60886         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60887         (ctan_test_data): New variable.
60888         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60889         (ctan_tonearest_test_data): New variable.
60890         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60891         (ctan_towardzero_test_data): New variable.
60892         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60893         (ctan_downward_test_data): New variable.
60894         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60895         (ctan_upward_test_data): New variable.
60896         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60897         (ctanh_test_data): New variable.
60898         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60899         (ctanh_tonearest_test_data): New variable.
60900         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60901         (ctanh_towardzero_test_data): New variable.
60902         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60903         (ctanh_downward_test_data): New variable.
60904         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60905         (ctanh_upward_test_data): New variable.
60906         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60907         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60908         of BUILD_COMPLEX.
60910         * math/libm-test.inc (struct test_ff_f_data): New type.
60911         (struct test_ff_f_data_nexttoward): Likewise.
60912         (RUN_TEST_LOOP_2_f): New macro.
60913         (RUN_TEST_LOOP_ff_f): Likewise.
60914         (atan2_test_data): New variable.
60915         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60916         (copysign_test_data): New variable.
60917         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60918         (fdim_test_data): New variable.
60919         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60920         (fmax_test_data): New variable.
60921         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60922         (fmin_test_data): New variable.
60923         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60924         (fmod_test_data): New variable.
60925         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60926         (hypot_test_data): New variable.
60927         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60928         (nextafter_test_data): New variable.
60929         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60930         (nexttoward_test_data): New variable.
60931         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60932         (pow_test_data): New variable.
60933         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60934         (pow_tonearest_test_data): New variable.
60935         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60936         (pow_towardzero_test_data): New variable.
60937         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60938         (pow_downward_test_data): New variable.
60939         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60940         (pow_upward_test_data): New variable.
60941         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60942         (remainder_test_data): New variable.
60943         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60944         (scalb_test_data): New variable.
60945         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60946         * sysdeps/i386/fpu/libm-test-ulps: Update.
60948 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60950         * math/libm-test.inc (fma_test): Use max_value instead of local
60951         variable fltmax.
60952         (nextafter_test): Likewise.
60954         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60955         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60956         (acos_downward_test_data): New variable.
60957         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60958         (acos_upward_test_data): New variable.
60959         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60960         (acosh_test_data): New variable.
60961         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60962         (asin_test_data): New variable.
60963         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60964         (asin_tonearest_test_data): New variable.
60965         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60966         (asin_towardzero_test_data): New variable.
60967         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60968         (asin_downward_test_data): New variable.
60969         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60970         (asin_upward_test_data): New variable.
60971         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60972         (asinh_test_data): New variable.
60973         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60974         (atan_test_data): New variable.
60975         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60976         (atanh_test_data): New variable.
60977         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60978         (cbrt_test_data): New variable.
60979         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60980         (ceil_test_data): New variable.
60981         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60982         (cos_test_data): New variable.
60983         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60984         (cos_tonearest_test_data): New variable.
60985         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60986         (cos_towardzero_test_data): New variable.
60987         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60988         (cos_downward_test_data): New variable.
60989         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60990         (cos_upward_test_data): New variable.
60991         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60992         (cosh_test_data): New variable.
60993         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60994         (cosh_tonearest_test_data): New variable.
60995         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60996         (cosh_towardzero_test_data): New variable.
60997         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60998         (cosh_downward_test_data): New variable.
60999         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61000         (cosh_upward_test_data): New variable.
61001         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61002         (erf_test_data): New variable.
61003         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61004         (erfc_test_data): New variable.
61005         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61006         (exp_test_data): New variable.
61007         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61008         (exp_tonearest_test_data): New variable.
61009         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61010         (exp_towardzero_test_data): New variable.
61011         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61012         (exp_downward_test_data): New variable.
61013         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61014         (exp_upward_test_data): New variable.
61015         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61016         (exp10_test_data): New variable.
61017         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61018         (exp2_test_data): New variable.
61019         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61020         (expm1_test_data): New variable.
61021         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61022         (fabs_test_data): New variable.
61023         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61024         (floor_test_data): New variable.
61025         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61026         (j0_test_data): New variable.
61027         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61028         (j1_test_data): New variable.
61029         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61030         (log_test_data): New variable.
61031         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61032         (log10_test_data): New variable.
61033         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61034         (log1p_test_data): New variable.
61035         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61036         (log2_test_data): New variable.
61037         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61038         (logb_test_data): New variable.
61039         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61040         (logb_downward_test_data): New variable.
61041         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61042         (nearbyint_test_data): New variable.
61043         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61044         (rint_test_data): New variable.
61045         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61046         (rint_tonearest_test_data): New variable.
61047         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61048         (rint_towardzero_test_data): New variable.
61049         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61050         (rint_downward_test_data): New variable.
61051         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61052         (rint_upward_test_data): New variable.
61053         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61054         (round_test_data): New variable.
61055         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61056         (sin_test_data): New variable.
61057         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61058         (sin_tonearest_test_data): New variable.
61059         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61060         (sin_towardzero_test_data): New variable.
61061         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61062         (sin_downward_test_data): New variable.
61063         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61064         (sin_upward_test_data): New variable.
61065         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61066         (sinh_test_data): New variable.
61067         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61068         (sinh_tonearest_test_data): New variable.
61069         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61070         (sinh_towardzero_test_data): New variable.
61071         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61072         (sinh_downward_test_data): New variable.
61073         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61074         (sinh_upward_test_data): New variable.
61075         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61076         (sqrt_test_data): New variable.
61077         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61078         (tan_test_data): New variable.
61079         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61080         (tan_tonearest_test_data): New variable.
61081         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61082         (tan_towardzero_test_data): New variable.
61083         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61084         (tan_downward_test_data): New variable.
61085         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61086         (tan_upward_test_data): New variable.
61087         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61088         (tanh_test_data): New variable.
61089         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61090         (tgamma_test_data): New variable.
61091         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61092         (trunc_test_data): New variable.
61093         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61094         (y0_test_data): New variable.
61095         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61096         (y1_test_data): New variable.
61097         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61098         (significand_test_data): New variable.
61099         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61101 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61103         [BZ #12387]
61104         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61106 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61108         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61110 2013-05-10  Andreas Jaeger  <aj@suse.de>
61112         [BZ #15448]
61113         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61114         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61116 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61118         * math/gen-libm-test.pl (adjust_arg): New function.
61119         (special_functions): Handle generating output in both functions
61120         and arrays.
61121         (parse_args): Likewise.
61122         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61123         $in_func argument to parse_args.
61124         * math/libm-test.inc (struct test_f_f_data): New type.
61125         (IF_ROUND_INIT_): New macro.
61126         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61127         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61128         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61129         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61130         (ROUND_RESTORE_): Likewise.
61131         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61132         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61133         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61134         (ROUND_RESTORE_FE_UPWARD): Likewise.
61135         (RUN_TEST_LOOP_f_f): New macro.
61136         (acos_test_data): New variable.
61137         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61138         (acos_tonearest_test_data): New variable.
61139         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61141 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61143         * benchtests/bench-skeleton.c (startup): Fix coding style.
61145 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61147         [BZ #6809]
61148         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61149         negative infinity argument.
61150         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61151         negative infinity argument.
61152         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61153         negative infinity argument.
61154         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61155         domain errors.
61157 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61159         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61160         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61161         * iconv/iconv_prog.c (main): Likewise.
61162         * locale/programs/charmap-dir.c (charmap_readdir)
61163         (fopen_uncompressed): Likewise.
61164         * locale/programs/locfile.c (siblings_uncached)
61165         (write_locale_data): Use lstat64 instead of lstat.
61166         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61167         stat.
61169 2013-05-10  Andreas Jaeger  <aj@suse.de>
61171         [BZ #15395]
61172         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61173         localization.
61174         Include <locale.h>.
61176 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61178         * elf/dl-close.c (_dl_close_worker): Add comments.
61180 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61182         [BZ #15359]
61183         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61184         high part of pi/2.
61185         (__ieee754_rem_pio2l): Update comments.
61187         [BZ #15429]
61188         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61189         high part of pi/2.
61190         (__ieee754_rem_pio2l): Update comments.
61192         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61193         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61195         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61196         M_PI_4l.
61198         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61199         (M_PI_34_LOG10El): Likewise.
61200         (M_PI2_LOG10El): Likewise.
61201         (M_PI4_LOG10El): Likewise.
61202         (M_PI_LOG10El): Likewise.
61204 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61208 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61210         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61211         (MINUS_ZERO_INIT): Likewise.
61212         (PLUS_INFTY_INIT): Likewise.
61213         (MINUS_INFTY_INIT): Likewise.
61214         (QNAN_VALUE_INIT): Likewise.
61215         (MAX_VALUE_INIT): Likewise.
61216         (MIN_VALUE_INIT): Likewise.
61217         (MIN_SUBNORM_VALUE_INIT): Likewise.
61218         (plus_zero): Initialize with PLUS_ZERO_INIT.
61219         (minus_zero): Initialize with MINUS_ZERO_INIT.
61220         (plus_infty): Initialize with PLUS_INFTY_INIT.
61221         (minus_infty): Initialize with MINUS_INFTY_INIT.
61222         (qnan_value): Initialize with QNAN_VALUE_INIT.
61223         (max_value): Initialize with MAX_VALUE_INIT.
61224         (min_value): Initialize with MIN_VALUE_INIT.
61225         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61227         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61228         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61229         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61230         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61232         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61233         (RUN_TEST_2_f): Likewise.
61234         (RUN_TEST_ff_f): Likewise.
61235         (RUN_TEST_fi_f): Likewise.
61236         (RUN_TEST_fl_f): Likewise.
61237         (RUN_TEST_fff_f): Likewise.
61238         (RUN_TEST_c_f): Likewise.
61239         (RUN_TEST_f_f1): Likewise.
61240         (RUN_TEST_fF_f1): Likewise.
61241         (RUN_TEST_fI_f1): Likewise.
61242         (RUN_TEST_ffI_f1): Likewise.
61243         (RUN_TEST_c_c): Likewise.
61244         (RUN_TEST_cc_c): Likewise.
61245         (RUN_TEST_f_i): Likewise.
61246         (RUN_TEST_f_i_tg): Likewise.
61247         (RUN_TEST_ff_i_tg): Likewise.
61248         (RUN_TEST_f_b): Likewise.
61249         (RUN_TEST_f_b_tg): Likewise.
61250         (RUN_TEST_f_l): Likewise.
61251         (RUN_TEST_f_L): Likewise.
61252         (RUN_TEST_sincos): Likewise.
61253         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61254         whether to show exceptions.  Do not include ");\n" in return
61255         value.
61256         (special_functions): Output call to RUN_TEST_sincos instead of
61257         check_float calls.  Update calls to new_test.
61258         (parse_args): Output call to single RUN_TEST_* macro instead of
61259         check_* calls and other assignments.  Update calls to new_test.
61261         [BZ #2546]
61262         [BZ #2560]
61263         [BZ #5159]
61264         [BZ #15426]
61265         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61266         input to result for tgamma overflow.
61267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61268         (gamma_coeff): New variable.
61269         (NCOEFF): New macro.
61270         (gamma_positive): New function.
61271         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61272         underflow here.  Use gamma_positive instead of exp (lgamma) for
61273         other arguments.
61274         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61275         (gamma_coeff): New variable.
61276         (NCOEFF): New macro.
61277         (gammaf_positive): New function.
61278         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61279         underflow here.  Use gamma_positive instead of exp (lgamma) for
61280         other arguments.
61281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61282         (gamma_coeff): New variable.
61283         (NCOEFF): New macro.
61284         (gammal_positive): New function.
61285         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61286         underflow here.  Use gamma_positive instead of exp (lgamma) for
61287         other arguments.
61288         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61289         (gamma_coeff): New variable.
61290         (NCOEFF): New macro.
61291         (gammal_positive): New function.
61292         (__ieee754_gammal_r): Handle positive infinity, overflow and
61293         underflow here.  Handle NaN the same as positive infinity.  Remove
61294         check x < 0xffffffff for negative integers.  Use gamma_positive
61295         instead of exp (lgamma) for other arguments.
61296         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61297         (gamma_coeff): New variable.
61298         (NCOEFF): New macro.
61299         (gammal_positive): New function.
61300         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61301         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61302         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61303         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61304         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61305         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61306         * sysdeps/generic/math_private.h (__gamma_productf): New
61307         prototype.
61308         (__gamma_product): Likewise.
61309         (__gamma_productl): Likewise.
61310         * math/Makefile (libm-calls): Add gamma_product.
61311         * math/libm-test.inc (tgamma_test): Add more tests.
61312         * sysdeps/i386/fpu/libm-test-ulps: Update.
61313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61315 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61317         * benchtests/bench-skeleton.c (main): Preheat CPU.
61319 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61321         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61323 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61325         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61326         and _dl_skip_args_internal.
61328 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61330         * manual/message.texi (Message Translation): Talk about users.
61331         Message to key mapping impacts design.
61333 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61335         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61337         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61339         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61340         * sysdeps/wordsize-64/glob64.c: ... here.
61342         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61343         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61344         New macros.
61346         * debug/getlogin_r_chk.c: Moved to ...
61347         * login/getlogin_r_chk.c: ... here.
61348         * debug/Makefile (routines): Move getlogin_r_chk to ...
61349         * login/Makefile (routines): ... here.
61350         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61351         * login/Versions (libc: GLIBC_2.4): ... here.
61353         * io/poll.c (__poll): Renamed from poll.
61354         Add libc_hidden_def.
61355         (poll): Define as weak alias.
61357         * debug/ptsname_r_chk.c: Moved to ...
61358         * login/ptsname_r_chk.c: ... here.
61359         * debug/Makefile (routines): Move ptsname_r_chk to ...
61360         * login/Makefile (routines): ... here.
61361         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61362         * login/Versions (libc: GLIBC_2.4): ... here.
61364         * posix/getlogin.c: Moved to ...
61365         * login/getlogin.c: ... here.
61366         * posix/getlogin_r.c: Moved to ...
61367         * login/getlogin_r.c: ... here.
61368         * posix/getlogin_r.c: Moved to ...
61369         * login/getlogin_r.c: ... here.
61370         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61371         * login/Makefile (routines): ... here.
61372         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61373         * login/Versions (libc: GLIBC_2.0): ... here.
61375         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61376         (setrlimit): Define as weak alias.
61378         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61379         Call __ names for open, ftruncate, and close.
61380         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61381         (truncate): Define as weak alias.
61383 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61385         * math/gen-libm-test.pl (parse_args): Initialize x before each
61386         test of frexp, modf and remquo.
61388         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61389         test signgam value.
61391 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61393         [BZ #15418]
61394         [BZ #15419]
61395         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61396         internal tests.
61397         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61399 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61401         * elf/dl-writev.h: New file.
61402         * elf/dl-misc.c: Include it.
61403         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61404         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61406 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61408         * math/libm-test.inc (noXFails): Remove variable.
61409         (noXPasses): Likewise.
61410         (BUILD_COMPLEX_INT): Remove macro.
61411         (print_screen): Remove xfail argument.
61412         (print_screen_max_error): Likewise.
61413         (update_stats): Likewise.
61414         (print_max_error): Likewise.  Update calls to other affected
61415         functions.
61416         (print_complex_max_error): Likewise.
61417         (test_single_exception): Update calls to print_screen.
61418         (test_single_errno): Likewise.
61419         (check_float_internal): Remove xfail argument.  Update calls to
61420         other affected functions.
61421         (check_float): Likewise.
61422         (check_complex): Likewise.
61423         (check_int): Likewise.
61424         (check_long): Likewise.
61425         (check_bool): Likewise.
61426         (check_longlong): Likewise.
61427         (main): Don't print noXFails and noXPasses.
61428         * math/gen-libm-test.pl (top level): Don't mention expected
61429         failure handling in comment.
61430         (new_test): Don't handle expected failures.
61431         (parse_args): Don't mention expected failure handling in comment.
61432         (generate_testfile): Don't handle expected failures.
61433         (parse_ulps): Likewise.
61434         (print_ulps_file): Likewise.
61435         (get_failure): Remove function.
61436         (output_test): Don't handle expected failures.
61437         * make/README.libm-test: Don't mention expected failure handling.
61439         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61440         (minus_zero): Likewise.
61441         (plus_infty): Likewise.
61442         (minus_infty): Likewise.
61443         (qnan_value): Likewise.
61444         (max_value): Likewise.
61445         (min_value): Likewise.
61446         (min_subnorm_value): Likewise.
61447         (initialize): Do not initialize those variables dynamically.
61449 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61451         * io/open.c (__open_2): Moved to ...
61452         * io/open_2.c: ... this new file.
61453         * io/open64.c (__open64_2): Moved to ...
61454         * io/open64_2.c: ... this new file.
61455         * io/openat.c (__openat_2): Moved to ...
61456         * io/openat_2.c: ... this new file.
61457         * io/openat64.c (__openat64_2): Moved to ...
61458         * io/openat64_2.c: ... this new file.
61459         * io/Makefile (routines): Add them.
61460         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61461         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61462         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61463         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61464         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61465         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61466         (__openat64): Add hidden_ver.
61467         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61468         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61470         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61471         Separately conditionalize setting of GLRO(dl_sysinfo) so
61472         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61473         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61475 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61477         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61478         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61479         definition.
61480         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61481         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61482         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61483         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61484         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61486 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61488         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61489         test signgam value.
61491         * math/libm-test.inc (hypot_test): Do not use
61492         IGNORE_ZERO_INF_SIGN.
61494 2013-05-03  Andreas Jaeger  <aj@suse.de>
61496         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61497         Linux 3.9.
61498         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61499         (PF_MAX): Adjust for VSOCK change.
61501 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61505 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61507         [BZ #15264]
61508         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61509         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61510         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61512 2013-05-02  David S. Miller  <davem@davemloft.net>
61514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61516 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61518         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61520 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61522         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61524 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61526         [BZ #14952]
61527         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61528         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61529         Use __attribute__ ((__gnu_inline__)).
61530         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61531         Don't use __attribute__ ((__gnu_inline__)).
61533 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61535         [BZ #15423]
61536         * math/s_catan.c (__catan): Handle small real or imaginary part of
61537         input specially to avoid spurious underflow.
61538         * math/s_catanf.c (__catanf): Likewise.
61539         * math/s_catanh.c (__catanh): Likewise.
61540         * math/s_catanhf.c (__catanhf): Likewise.
61541         * math/s_catanhl.c (__catanhl): Likewise.
61542         * math/s_catanl.c (__catanl): Likewise.
61543         * math/libm-test.inc (catan_test): Add more tests.
61544         (catanh_test): Likewise.
61545         * sysdeps/i386/fpu/libm-test-ulps: Update.
61546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61548 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61552 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61554         [BZ #15416]
61555         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61556         accurately for denominator in atan2.
61557         * math/s_catanf.c (__catanf): Likewise.
61558         * math/s_catanh.c (__catanh): Likewise.
61559         * math/s_catanhf.c (__catanhf): Likewise.
61560         * math/s_catanhl.c (__catanhl): Likewise.
61561         * math/s_catanl.c (__catanl): Likewise.
61562         * math/libm-test.inc (catan_test): Add more tests.
61563         (catanh_test): Likewise.
61564         * sysdeps/i386/fpu/libm-test-ulps: Update.
61565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61567 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61569         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61571         * benchtests/Makefile (bench): Remove slow benchmarks.
61572         * benchtests/atan-inputs: Add slow benchmark inputs.
61573         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61574         (BENCH_FUNC): Accept variant offset.
61575         (VARIANT): Define.
61576         * benchtests/bench-skeleton.c (main): Run benchmark for each
61577         variant.
61578         * benchtests/cos-inputs: Add slow benchmark inputs.
61579         * benchtests/exp-inputs: Likewise.
61580         * benchtests/pow-inputs: Likewise.
61581         * benchtests/sin-inputs: Likewise.
61582         * benchtests/slowatan-inputs: Remove.
61583         * benchtests/slowatan.c: Remove.
61584         * benchtests/slowcos-inputs: Remove.
61585         * benchtests/slowcos.c: Remove.
61586         * benchtests/slowexp-inputs: Remove.
61587         * benchtests/slowexp.c: Remove.
61588         * benchtests/slowpow-inputs: Remove.
61589         * benchtests/slowpow.c: Remove.
61590         * benchtests/slowsin-inputs: Remove.
61591         * benchtests/slowsin.c: Remove.
61592         * benchtests/slowtan-inputs: Remove.
61593         * benchtests/slowtan.c: Remove.
61594         * benchtests/tan-inputs: Add slow benchmark inputs.
61595         * scripts/bench.pl: Parse comments and directives.
61597         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61598         in CPPFLAGS.
61599         ($(objpfx)bench-%.c): Remove *-ITER.
61600         * benchtests/bench-modf.c: Remove definition of ITER.
61601         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61602         (main): Loop for DURATION seconds instead of fixed number of
61603         iterations.
61604         * scripts/bench.pl: Don't expect iterations in parameters.
61606 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61608         * io/fchdir.c (__fchdir): Renamed from fchdir.
61609         (fchdir): Define as weak alias.
61611 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61613         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61614         (ERRNO_EDOM): Likewise.
61615         (ERRNO_ERANGE): Likewise.
61616         (noErrnoTests): New variable.
61617         (init_max_error): Set errno to 0.
61618         (test_single_errno): New function.
61619         (test_errno): Likewise.
61620         (check_float_internal): Call test_errno.  Set errno to 0.
61621         (check_complex): Refer to errno tests in comment.
61622         (check_int): Call test_errno.  Set errno to 0.
61623         (check_long): Likewise.
61624         (check_bool): Likewise.
61625         (check_longlong): Likewise.
61626         (cos_test): Use ERRNO_* flags for errno tests instead of
61627         check_int.
61628         (expm1_test): Likewise.
61629         (fmod_test): Likewise.
61630         (ilogb_test): Likewise.
61631         (lgamma_test): Likewise.
61632         (pow_test): Likewise.
61633         (remainder_test): Likewise.
61634         (sin_test): Likewise.
61635         (tan_test): Likewise.
61636         (yn_test): Likewise.
61637         (initialize): Set errno to 0.
61638         (main): Print number of errno tests.
61639         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61641 2013-04-29  Andreas Jaeger  <aj@suse.de>
61643         [BZ #15084]
61644         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61645         and RES_USEVC.
61647         [BZ #15085]
61648         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61649         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61650         unimplemented.
61652         [BZ #15380]
61653         * stdlib/random.c (__initstate): Return NULL if
61654         __initstate fails.
61656         [BZ #15086]
61657         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61658         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61659         RES_SNGLKUPREOP.
61661 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61665 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61667         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61668         of individual tests.
61669         (casin_test): Likewise.
61670         (casinh_test): Likewise.
61672 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61674         [BZ #15409]
61675         * math/s_catan.c (__catan): Handle arguments with large real or
61676         imaginary part separately without squaring.
61677         * math/s_catanf.c (__catanf): Likewise.
61678         * math/s_catanh.c (__catanh): Likewise.
61679         * math/s_catanhf.c (__catanhf): Likewise.
61680         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61681         and redefine.
61682         (__catanhl): Handle arguments with large real or imaginary part
61683         separately without squaring.
61684         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61685         and redefine.
61686         (__catanl): Handle arguments with large real or imaginary part
61687         separately without squaring.
61688         * math/libm-test.inc (catan_test): Add more tests.
61689         (catanh_test): Likewise.
61690         * sysdeps/i386/fpu/libm-test-ulps: Update.
61691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61693 2013-04-27  Andreas Jaeger  <aj@suse.de>
61695         [BZ #15007]
61696         * stdlib/stdlib.h: Update guards for qecvt.
61697         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61698         <stdlib.h>.
61700 2013-04-27  Allan McRae  <allan@archlinux.org>
61702         * sysdeps/i386/fpu/libm-test-ulps: Update.
61704 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61706         [BZ #15406]
61707         * math/s_catan.c: Include <float.h>.
61708         (__catan): Ensure underflow exception occurs for underflowed
61709         result.
61710         * math/s_catanf.c: Include <float.h>.
61711         (__catanf): Ensure underflow exception occurs for underflowed
61712         result.
61713         * math/s_catanh.c: Include <float.h>.
61714         (__catanh): Ensure underflow exception occurs for underflowed
61715         result.
61716         * math/s_catanhf.c: Include <float.h>.
61717         (__catanhf): Ensure underflow exception occurs for underflowed
61718         result.
61719         * math/s_catanhl.c: Include <float.h>.
61720         (__catanhl): Ensure underflow exception occurs for underflowed
61721         result.
61722         * math/s_catanl.c: Include <float.h>.
61723         (__catanl): Ensure underflow exception occurs for underflowed
61724         result.
61725         * math/libm-test.inc (catan_test): Add more tests.
61726         (catanh_test): Likewise.
61728         [BZ #15405]
61729         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61730         underflowed result.
61731         * math/s_ccoshf.c (__ccoshf): Likewise.
61732         * math/s_ccoshl.c (__ccoshl): Likewise.
61733         * math/s_csin.c (__csin): Likewise.
61734         * math/s_csinf.c (__csinf): Likewise.
61735         * math/s_csinh.c (__csinh): Likewise.
61736         * math/s_csinhf.c (__csinhf): Likewise.
61737         * math/s_csinhl.c (__csinhl): Likewise.
61738         * math/s_csinl.c (__csinl): Likewise.
61739         * math/libm-test.inc (ccos_test): Add more tests.
61740         (ccosh_test): Likewise.
61741         (csin_test): Likewise.
61742         (csinh_test): Likewise.
61744 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61746         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61747         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61748         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61749         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61750         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61751         powerpc/power5+/fpu folders.
61752         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61755 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61759 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61761         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61762         additions to variable.
61763         [$(config-machine) = x86_64] (modules-names): Likewise.
61764         ($(objpfx)tst-audit3): Remove dependency.
61765         ($(objpfx)tst-audit3.out): Likewise.
61766         ($(objpfx)tst-audit4): Likewise.
61767         ($(objpfx)tst-audit4.out): Likewise.
61768         ($(objpfx)tst-audit5): Likewise.
61769         ($(objpfx)tst-audit5.out): Likewise.
61770         ($(objpfx)tst-audit6): Likewise.
61771         ($(objpfx)tst-audit6.out): Likewise.
61772         ($(objpfx)tst-audit7): Likewise.
61773         ($(objpfx)tst-audit7.out): Likewise.
61774         (tst-audit3-ENV): Remove variable.
61775         (tst-audit4-ENV): Likewise.
61776         (tst-audit5-ENV): Likewise.
61777         (tst-audit6-ENV): Likewise.
61778         (tst-audit7-ENV): Likewise.
61779         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61780         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61781         addition to variable.
61782         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61783         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61784         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61785         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61786         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61787         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61788         tst-audit3, tst-audit4 and tst-audit5.
61789         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61790         tst-audit6 and tst-audit7.
61791         [$(subdir) = elf] (modules-names): Add audit modules for those
61792         tests.
61793         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61794         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61795         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61796         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61797         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61798         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61799         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61800         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61801         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61802         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61803         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61804         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61805         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61806         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61807         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61808         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61809         Likewise.
61810         [$(subdir) = elf && $(config-cflags-avx) = yes]
61811         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61812         [$(subdir) = elf && $(config-cflags-avx) = yes]
61813         (CFLAGS-tst-auditmod4a.c): Likewise.
61814         [$(subdir) = elf && $(config-cflags-avx) = yes]
61815         (CFLAGS-tst-auditmod4b.c): Likewise.
61816         [$(subdir) = elf && $(config-cflags-avx) = yes]
61817         (CFLAGS-tst-auditmod6b.c): Likewise.
61818         [$(subdir) = elf && $(config-cflags-avx) = yes]
61819         (CFLAGS-tst-auditmod6c.c): Likewise.
61820         [$(subdir) = elf && $(config-cflags-avx) = yes]
61821         (CFLAGS-tst-auditmod7b.c): Likewise.
61822         * elf/tst-audit3.c: Move to ...
61823         * sysdeps/x86_64/tst-audit3.c: ... here.
61824         * elf/tst-audit4.c: Move to ...
61825         * sysdeps/x86_64/tst-audit4.c: ... here.
61826         * elf/tst-audit5.c: Move to ...
61827         * sysdeps/x86_64/tst-audit5.c: ... here.
61828         * elf/tst-audit6.c: Move to ...
61829         * sysdeps/x86_64/tst-audit6.c: ... here.
61830         * elf/tst-audit7.c: Move to ...
61831         * sysdeps/x86_64/tst-audit7.c: ... here.
61832         * elf/tst-auditmod3a.c: Move to ...
61833         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61834         * elf/tst-auditmod3b.c: Move to ...
61835         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61836         * elf/tst-auditmod4a.c: Move to ...
61837         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61838         * elf/tst-auditmod4b.c: Move to ...
61839         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61840         * elf/tst-auditmod5a.c: Move to ...
61841         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61842         * elf/tst-auditmod5b.c: Move to ...
61843         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61844         * elf/tst-auditmod6a.c: Move to ...
61845         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61846         * elf/tst-auditmod6b.c: Move to ...
61847         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61848         * elf/tst-auditmod6c.c: Move to ...
61849         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61850         * elf/tst-auditmod7a.c: Move to ...
61851         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61852         * elf/tst-auditmod7b.c: Move to ...
61853         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61855 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61857         [BZ #15366]
61858         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61859         define unconditionally.
61860         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61861         define unconditionally.
61862         (INT8_C, INT16_C, etc.): Likewise.
61864 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61866         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61867         __ehdr_start with hidden visibility.
61869         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61871 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61873         * math/libm-test.inc (cos_test): Use accurate hex constants.
61874         (sincost_test): Likewise.
61876 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61878         * math/libm-test.inc (catan_test): Add more tests.
61879         (catanh_test): Likewise.
61881         * math/s_catanf.c (__catanf): Use suffixed floating-point
61882         constants.
61883         * math/s_catanhf.c (__catanhf): Likewise.
61884         * math/s_catanhl.c (__catanhl): Likewise.
61885         * math/s_catanl.c (__catanl): Likewise.
61887         [BZ #15394]
61888         * math/s_catan.c (__catan): Calculate imaginary part of result
61889         with log1p not log unless computing log of number close to 0.
61890         * math/s_catanf.c (__catanf): Likewise.
61891         * math/s_catanl.c (__catanl): Likewise.
61892         * math/s_catanh.c (__catanh): Calculate real part of result with
61893         log1p not log unless computing log of number close to 0.
61894         * math/s_catanhf.c (__catanhf): Likewise.
61895         * math/s_catanhl.c (__catanhl): Likewise.
61896         * math/libm-test.inc (catan_test): Add more tests.
61897         (catanh_test): Likewise.
61898         * sysdeps/i386/fpu/libm-test-ulps: Update.
61899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61901 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61903         * benchtests/Makefile: Mention files in which fast and slow
61904         paths of math functions are implemented.
61906 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61908         * sysdeps/posix/timespec_get.c: New file.
61910 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61912         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61913         POWER.
61914         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61915         for POWER.
61916         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61917         powerpc/power5/fpu folders.
61918         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61919         * benchtests/Makefile: Add modf testcase.
61920         * benchtests/bench-modf.c: New file: Benchmark test for mo
61922 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61924         [BZ #14888]
61925         * time/Makefile (tests): Add tst-strptime-whitespace.
61926         * time/strptime_l.c (get_number): Use ISSPACE.
61927         (__strptime_internal): Likewise.
61928         * time/tst-strptime-whitespace.c: New test case.
61930 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61932         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61933         member.
61934         (_nss_files_init): Set it here.
61936 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61938         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61939         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61940         unsigned.
61942 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61944         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61946 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61948         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61949         size just once.
61951 2013-04-21  David S. Miller  <davem@davemloft.net>
61953         * po/ru.po: Update Russion translation from translation project.
61955 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61957         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61958         and setfsgid.
61960 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61962         * configure.in: Remove i386 configure warning. Remove i386 case.
61963         * configure: Regenerate.
61964         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61965         Add example to error message.
61966         * sysdeps/i386/configure: Regenerate.
61968 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61970         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61971         slowtan.
61972         * benchtests/cos-inputs: New file.
61973         * benchtests/slowcos-inputs: New file.
61974         * benchtests/slowcos.c: New file.
61975         * benchtests/slowtan-inputs: New file.
61976         * benchtests/slowtan.c: New file.
61977         * benchtests/tan-inputs: New file.
61979 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61981         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61982         considered kosher.
61984 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61986         * benchtests/Makefile: Include cppflags-iterator.mk to add
61987         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61989         * Makefile.in (bench-clean): New target.
61990         * benchtests/Makefile (bench-clean): Likewise.
61992 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61994         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61996 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61998         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62000 2013-04-15  Andreas Schwab  <schwab@suse.de>
62002         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62003         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62004         * nscd/pwdcache.c (cache_addpw): Likewise.
62005         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62006         more than recsize.
62008 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62010         * benchtests/Makefile (bench): Write all output to
62011         bench-out.tmp together.
62013 2013-04-15  Andreas Schwab  <schwab@suse.de>
62015         * nscd/nscd.c (main): Don't fork again after closing files.
62017 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62019         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62021         * benchtests/Rules (bench-deps): Collect dependencies into a
62022         single variable.  Add Makefile to dependencies.
62023         ($(objpfx)bench-%.c): Depend on bench-deps.
62025 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62026             Xavier Roche  <roche+kml2@exalead.com>
62028         [BZ #15361]
62029         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62030         just that it's a file descriptor.
62031         * manual/llio.texi (Synchronizing AIO Operations): Update description
62032         for EBADF error from aio_fsync.
62034 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62036         * Rules (bench): Move target definition...
62037         * benchtests/Makefile: ... here.
62039 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62041         * math/libm-test.inc (cos_test): Fix PI/2 test.
62042         (sincos_test): Likewise.
62043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62044         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62046 2013-04-11  Andreas Schwab  <schwab@suse.de>
62048         [BZ #13988]
62049         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62050         accept exponent character only when digits were seen.
62051         * stdio-common/Makefile (tests): Add bug26.
62052         * stdio-common/bug26.c: New file.
62054         [BZ #14293]
62055         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62056         non-freeable.
62058 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62060         * Makeconfig (rtld-prefix): Define built linker prefix.
62061         * Rules (run-bench): Use it.
62062         * math/Makefile (run-regen-ulps): Likewise.
62064         * Rules (bench): Remove eval.
62066 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62067             Roland McGrath  <roland@hack.frob.com>
62068             Ondrej Bilka  <neleai@seznam.cz>
62070         [BZ #15346]
62071         * time/getdate.c: Include ctype.h and alloca.h.
62072         (__getdate_r): Trim leading and trailing spaces of input.
62073         * time/tst-getdate.c (tests): Add tests with leading and
62074         trailing spaces.
62076 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62078         [BZ #14280]
62079         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62080         when computing value.
62082 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62084         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62085         Use testrun.sh to run libm tests.
62087         [BZ #15309]
62088         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62090 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62092         [BZ #15264]
62093         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62095 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62097         * Makefile.in (regen-ulps): New target.
62098         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62099         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62100         [ifneq (no,$(PERL)] (regen-ulps): New target.
62101         [ifeq (no,$(PERL)] (regen-ulps): New target.
62102         * math/libm-test.inc (ulps_file_name): Define.
62103         (output_dir): New variable.
62104         (options): Add "output-dir" option.
62105         (parse_opt): Handle 'o' case.
62106         (main): If output_dir is non-NULL use it as a prefix
62107         otherwise use "".
62108         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62110 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62112         [BZ #10060, #10062]
62113         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62114         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62115         fail configure if __sync_val_compare_and_swap is not inlined.
62116         * sysdeps/i386/configure: Regenerate.
62117         * configure.in: Build for i686 when configured for i386.
62118         * configure: Regenerate.
62119         * README: Remove i386 reference.
62121 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62123         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62126 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62128         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62129         (lmsnanval): New variables.
62130         (F): Add conversion tests.
62131         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62132         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62134         * stdio-common/tstdiomisc.c (F): Properly collect individual
62135         tests' results.
62137         [BZ #14686, #15336]
62138         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62139         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62140         Instead, use input NaN values or generate a qNaN by arithmetic
62141         operation.  Also fix bugs to comply with the standard.
62142         * math/libm-test.inc (remainder_test): Add more tests.
62144         [BZ #15335, #15342]
62145         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62146         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62147         input NaN values or generate a qNaN by arithmetic operation.
62149         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62150         unreachable code.
62152         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62153         definitions.
62155 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62157         [BZ #14478]
62158         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62159         underflowed result.
62160         * math/s_cexpf.c (__cexpf): Likewise.
62161         * math/s_cexpl.c (__cexpl): Likewise.
62162         * math/libm-test.inc (cexp_test): Add more tests.
62164 2013-04-03  Andreas Schwab  <schwab@suse.de>
62166         [BZ #15330]
62167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62168         order arrays from heap if bigger than alloca cutoff.
62170 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62172         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62173         (SNAN_TESTS_double): Refer to GCC PR56831.
62174         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62175         GCC PR56828.
62177 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62179         * Rules (bench): Move bench.out after the run is complete.
62181         * Rules (bench): Echo currently running benchmark.
62183         * benchtests/Makefile (bench): Add atan and slowatan.
62184         * benchtests/atan-inputs: New file.
62185         * benchtests/slowatan-inputs: New file.
62186         * benchtests/slowatan.c: New file.
62188         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62190         its value.
62192         [BZ #15305]
62193         * sysdeps/unix/sysv/linux/kernel-features.h
62194         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62195         __ASSUME_XFS_RESTRICTED_CHOWN.
62196         * sysdeps/unix/sysv/linux/pathconf.c
62197         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62198         Save and restore errno.
62200 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62202         [BZ #15327]
62203         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62204         arguments using __kernel_casinh.
62205         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62206         arguments using __kernel_casinhf.
62207         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62208         arguments using __kernel_casinhl.
62209         * math/libm-test.inc (cacosh_test): Add more tests.
62210         * sysdeps/i386/fpu/libm-test-ulps: Update.
62211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62213 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62215         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62218         * bench/Makefile (bench): Add sin and slowsin.
62219         * benchtests/sin-inputs: New file.
62220         * benchtests/slowsin-inputs: New file.
62221         * benchtests/slowsin.c: New file.
62223         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62224         (bench): Add slowexp and slowpow.
62225         (exp-ITER): Increase iterations.
62226         (pow-ITER): Likewise.
62227         * benchtests/exp-inputs: Change input.
62228         * benchtests/pow-inputs: Likewise.
62229         * benchtests/slowexp-inputs: New file.
62230         * benchtests/slowexp.c: New file.
62231         * benchtests/slowpow-inputs: New file.
62232         * benchtests/slowpow.c: New file.
62234 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62236         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62237         instructions.
62238         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62239         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62240         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62241         * benchtests/Makefile: Add rint benchtest.
62242         * benchtests/rint-inputs: Input for rint benchtest.
62244 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62246         * Versions.def (libm): Add GLIBC_2.18.
62247         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62248         hidden libm prototypes.
62249         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62250         * math/Makefile (libm-calls): Add s_issignaling.
62251         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62252         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62253         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62254         declaration.
62255         * math/math.h [__USE_GNU] (issignaling): New macro.
62256         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62257         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62258         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62259         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62260         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62261         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62262         * manual/arith.texi (issignaling): New section.
62263         * manual/libm-err-tab.pl (@all_functions): Update comment.
62264         * math/gen-libm-test.pl (parse_args): Apply special handling for
62265         issignaling.
62266         * math/libm-test.inc (print_float, issignaling_test): New
62267         functions.
62268         (check_float_internal): Add issignaling checks.
62269         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62270         default definition.
62271         * sysdeps/powerpc/math-tests.h: New file.
62272         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62273         tests.
62274         * math/test-snan.c (TEST_FUNC): Likewise.
62276 2013-03-30  David S. Miller  <davem@davemloft.net>
62278         * po/de.po: Update from translation team.
62280 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62282         [BZ #10357]
62283         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62284         imaginary part less than 1.0 and real part less than 0.5
62285         specially.
62286         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62287         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62288         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62289         (cacos_test): Add more tests.
62290         (casin_test): Likewise.
62291         (casinh_test): Likewise.
62292         * sysdeps/i386/fpu/libm-test-ulps: Update.
62293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62295 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62297         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62298         ONE with its value.
62300         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62301         (__pow_mp): Replace ONE and MONE with their values.
62302         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62304         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62305         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62306         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62307         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62309         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62311         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62312         (__pow_mp): Replace ZERO and MZERO with their values.
62313         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62315         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62318         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62319         (__sqr): Likewise.
62321         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62323         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62325 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62327         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62328         Declare with __attribute__ ((weak)).
62329         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62330         Call __call_tls_dtors only if it's not NULL.
62332 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62334         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62335         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62336         magic __ehdr_start linker symbol if it's defined.
62337         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62338         them up here if it was already done.
62340         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62341         (_dl_aux_init): Use const in cast when setting it.
62342         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62343         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62344         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62346         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62347         Declare them here.
62348         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62349         * csu/libc-tls.c: Nor here.
62350         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62352         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62353         (__libc_message): Never call vsyslog.
62355 2013-03-28  Alan Modra  <amodra@gmail.com>
62357         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62358         Define as empty.
62359         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62360         Likewise.
62362 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62364         [BZ #15214]
62365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62366         underflow.
62367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62369 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62371         [BZ #15304]
62372         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62373         Don't add gid passed as argument.
62375         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62377 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62379         [BZ #15307]
62380         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62381         imaginary part between 1.0 and 1.5 and real part less than 0.5
62382         specially.
62383         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62384         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62385         * math/libm-test.inc (cacos_test): Add more tests.
62386         (casin_test): Likewise.
62387         (casinh_test): Likewise.
62388         * sysdeps/i386/fpu/libm-test-ulps: Update.
62389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62391 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62393         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62394         constants.
62395         (norm): Likewise.
62396         (denorm): Likewise.
62397         (__dbl_mp): Likewise.
62398         (add_magnitudes): Likewise.
62399         (sub_magnitudes): Likewise.
62400         (__add): Likewise.
62401         (__sub): Likewise.
62402         (__mul): Likewise.
62403         (__sqr): Likewise.
62404         (__inv): Likewise.
62405         (__dvd): Likewise.
62407         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62408         commented code.
62409         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62410         (__dubcos): Likewise.
62411         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62412         (__ieee754_acos): Likewise.
62413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62414         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62415         (__exp1): Likewise.
62416         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62417         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62418         (log1): Likewise.
62419         (my_log2): Likewise.
62420         (checkint): Likewise.
62421         * sysdeps/ieee754/dbl-64/e_remainder.c
62422         (__ieee754_remainder): Likewise.
62423         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62425         (bsloww): Likewise.
62426         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62428         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62429         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62430         MANTISSA_STORE_T to store computations on mantissa.  Use
62431         macros for rounding and division.
62432         (denorm): Likewise.
62433         (__dbl_mp): Likewise.
62434         (add_magnitudes): Likewise.
62435         (sub_magnitudes): Likewise.
62436         (__mul): Likewise.
62437         (__sqr): Likewise.
62438         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62439         powers of two in terms of TWOPOW macro.
62440         (mp_no): Make type of mantissa as MANTISSA_T.
62441         [!RADIXI]: Define RADIXI.
62442         [!TWO52]: Define TWO52.
62443         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62445 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62447         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62448         llroundl symbol when building for PPC32.
62450 2013-03-24  Mark H Weaver  <mhw@netris.org>
62452         * manual/arith.texi (Normalization Functions): Fix prototypes for
62453         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62455 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62457         [BZ #13889]
62458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62459         high value to check if expl overflow.
62460         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62461         to check for underflow and overflow.
62462         * math/libm-test.inc: Add exp test.
62464 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62466         [BZ #11120]
62467         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62468         with NOT_IN_libc.
62470 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62472         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62473         symbol.
62475 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62477         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62478         wrap blocks consisting of several statements.
62480         * sysdeps/generic/math-tests.h: New file.
62481         * sysdeps/i386/fpu/math-tests.h: Likewise.
62482         * math/test-snan.c: Include it.
62483         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62485 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62487         [BZ #15285]
62488         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62489         (__ieee754_j0l): Do not improve calculations using cos of twice
62490         input for inputs above LDBL_MAX / 2.0L.
62491         (__ieee754_y0l): Likewise.
62492         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62493         (__ieee754_j1l): Do not improve calculations using cos of twice
62494         input for inputs above LDBL_MAX / 2.0L.
62495         (__ieee754_y1l): Likewise.
62496         * math/libm-test.inc (j0_test): Add another test.
62497         (j1_test): Likewise.
62498         (y0_test): Likewise.
62499         (y1_test): Likewise.
62500         * sysdeps/i386/fpu/libm-test-ulps: Update.
62502 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62504         * Rules ($(objpfx)bench-%.c): Include code from a C source
62505         file.
62507 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62509         [BZ #15287]
62510         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62511         imaginary part 1.0 and real part less than 0.5 specially.
62512         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62513         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62514         * math/libm-test.inc (cacos_test): Add more tests.
62515         (casin_test): Likewise.
62516         (casinh_test): Likewise.
62517         * sysdeps/i386/fpu/libm-test-ulps: Update.
62518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62520 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62522         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62523         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62525 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62527         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62528         * config.make.in (config-cflags-sse4): Remove variable.
62529         (config-cflags-avx): Likewise.
62530         (config-cflags-sse2avx): Likewise.
62531         (config-cflags-novzeroupper): Likewise.
62532         (config-asflags-i686): Likewise.
62533         (have-mfma4): Likewise.
62534         (have-as-vis3): Likewise.
62535         (MIG): Likewise.
62536         * configure.in (MIG): Do not AC_SUBST.
62537         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62538         (libc_cv_cc_sse4): Do not AC_SUBST.
62539         (libc_cv_cc_avx): Likewise.
62540         (libc_cv_cc_sse2avx): Likewise.
62541         (libc_cv_cc_novzeroupper): Likewise.
62542         (libc_cv_cc_fma4): Likewise.
62543         (libc_cv_as_i686): Likewise.
62544         (libc_cv_sparc_as_vis3): Likewise.
62545         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62546         LIBC_CONFIG_VAR.
62547         (config-asflags-i686): Likewise.
62548         (config-cflags-avx): Likewise.
62549         (config-cflags-sse2avx): Likewise.
62550         (have-mfma4): Likewise.
62551         (config-cflags-novzeroupper): Likewise.
62552         * sysdeps/mach/configure.in (MIG): Likewise.
62553         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62554         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62555         LIBC_CONFIG_VAR.
62556         (config-cflags-avx): Likewise.
62557         (config-cflags-sse2avx): Likewise.
62558         (have-mfma4): Likewise.
62559         (config-cflags-novzeroupper): Likewise.
62560         * configure: Regenerated.
62561         * sysdeps/i386/configure: Likewise.
62562         * sysdeps/mach/configure: Likewise.
62563         * sysdeps/sparc/configure: Likewise.
62564         * sysdeps/x86_64/configure: Likewise.
62566 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62568         [BZ #14812]
62569         * locale/programs/localedef.c (options): Put N_ translation marker
62570         on argument names, not just descriptions.
62572 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62574         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62576 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62578         [BZ #14176]
62579         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62581 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62583         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62584         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62585         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62586         [!BEFORE_ABORT] (before_abort): New function.
62587         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62588         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62589         (writev_for_fatal): New function.
62590         (WRITEV_FOR_FATAL): New macro; call that.
62591         (backtrace_and_maps): New function.
62592         (BEFORE_ABORT): New macro; call that.
62593         (struct str_list): Type removed.
62594         (__libc_message, __libc_fatal): Functions removed.
62595         Include <sysdeps/posix/libc_fatal.c> instead.
62597 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62599         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62600         constants.
62601         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62602         double constants.
62604 2013-03-19  Andreas Schwab  <schwab@suse.de>
62606         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62607         * sysdeps/gnu/configure: Regenerate.
62609         * configure.in: Substitute libc_cv_rtlddir.
62610         * configure: Regenerate.
62611         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62612         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62613         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62614         * elf/Makefile (install-others, CFLAGS-interp.c)
62615         (ldso_install, common-ldd-rewrite): Likewise.
62616         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62617         $(inst_slibdir)/$(rtld-installed-name).
62618         * scripts/rellns-sh: Add -p option.
62619         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62620         for source.
62622 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62624         * manual/nptl.texi: Renamed to ...
62625         * manual/threads.texi: ... this.
62626         * manual/Makefile (chapters): Update.
62628 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62630         [BZ #14812]
62631         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62632         on argument names, not just descriptions.
62633         * malloc/memusagestat.c (options): Likewise.
62634         * nss/getent.c (options): Likewise.
62636 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62638         [BZ #14812]
62639         * iconv/iconv_prog.c (options): Put N_ translation marker
62640         on argument names, not just descriptions.
62641         * iconv/iconvconfig.c (options): Likewise.
62643 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62645         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62646         implementation which is faster on all x86_64 architectures.
62647         Tested on AMD, Intel Nehalem, SNB, IVB.
62648         * sysdeps/x86_64/strnlen.S: Likewise.
62650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62651         Remove all multiarch strlen and strnlen versions.
62652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62653         Remove strlen and strnlen related parts.
62655         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62656         Inline strlen part.
62657         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62659         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62660         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62661         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62662         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62663         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62664         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62666 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62668         * manual/memory.texi (Malloc Tunable Parameters):
62669         Sort parameters alphabetically. Add comments for missing entries.
62671 2013-03-17  David S. Miller  <davem@davemloft.net>
62673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62675 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62677         [BZ #15283]
62678         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62679         for arguments at most half maximum finite value.
62680         * math/libm-test.inc (j0_test): Add more tests.
62681         (j1_test): Likewise.
62682         (y0_test): Likewise.
62683         (y1_test): Likewise.
62684         * sysdeps/i386/fpu/libm-test-ulps: Update.
62685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62687         [BZ #14155]
62688         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62689         1 / x and functions P and Q for arguments above 0x1p256L.
62690         (__ieee754_y0l): Likewise.
62691         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62692         (__ieee754_y1l): Likewise.
62693         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62694         (j1_test): Likewise.
62695         (y0_test): Likewise.
62696         (y1_test): Likewise.
62698 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62700         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62701         variable.
62703 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62705         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62706         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62707         zero since it's initialized to EXEC_PAGESIZE.
62709         * sysdeps/unix/sysv/linux/ldsodefs.h
62710         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62711         * sysdeps/generic/ldsodefs.h: ... here.
62713 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62715         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62717         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62718         math/test-snan.c.
62719         * math/test-snan.c: Renamed from
62720         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62721         * math/Makefile (tests): Add test-snan.
62722         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62723         test-powerpc-snan.
62725         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62726         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62727         functions.
62728         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62729         __builtin_nan family of functions.
62730         * math/libm-test.inc (initialize): Initialize qnan_value with
62731         __builtin_nan family of functions.
62732         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62733         Remove variables.
62734         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62735         Remove functions.
62736         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62737         storage class.  Initialize qNaN_var and sNaN_var with
62738         __builtin_nan and __builtin_nans families of functions,
62739         respectively.
62741         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62742         (sqrt_test): Remove duplicate test with qNaN input.
62743         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62744         (round_test, signbit_test, significand_test): Note missing +/-Inf
62745         as well as qNaN tests.
62747         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62748         qNaN_var.  Fix a few strings, too.
62749         * math/libm-test.inc (nan_value): Rename to qnan_value.
62750         * math/gen-libm-test.pl (%beautify): Adjust to that.
62751         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62752         * math/test-misc.c (main): Likewise.
62753         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62754         to __qnan_bytes, and __qnan_union, respectively.
62755         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62756         Likewise.
62757         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62758         and lqnanval, respectively.
62759         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62760         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62761         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62762         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62764         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62765         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62766         doubles.
62768         * math/test-misc.c (main): Fix copy'n'pastos.
62769         * misc/tst-efgcvt.c (special): Likewise.
62771         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62772         Remove declarations.
62774 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62776         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62777         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62778         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62779         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62781 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62784         macro to return vdso values correctly in IFUNC implementations.
62785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62786         Optimization by using IFUNC.
62788 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62789             Richard Henderson  <rth@redhat.com>
62790             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62792         * Makefile.in (bench): New target.
62793         * NEWS: Mention the benchmark framework.
62794         * Rules (bench): Likewise.
62795         (binaries-bench): Generate binaries for functions to
62796         benchmark.
62797         * benchtests/Makefile: New makefile for benchmark tests.
62798         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62799         programs.
62800         * benchtests/exp-inputs: New input file for EXP function.
62801         * benchtests/pow-inputs: New input file for POW function.
62802         * scripts/bench.pl: New script to generate source files for
62803         benchmark programs.
62805 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62807         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62808         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62809         computations on mantissa.  Use macros for rounding and
62810         division.
62811         (denorm): Likewise.
62812         (__dbl_mp): Likewise.
62813         (add_magnitudes): Likewise.
62814         (sub_magnitudes): Likewise.
62815         (__mul): Likewise.
62816         (__sqr): Likewise.
62817         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62818         powers of two in terms of TWOPOW macro.
62819         (mp_no): Make type of mantissa as MANTISSA_T.
62820         [!RADIXI]: Define RADIXI.
62821         [!TWO52]: Define TWO52.
62822         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62824         * manual/nptl.texi (cindex): Modify threads to pthreads.
62826 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62828         * sysdeps/x86_64/preconfigure: Regenerated.
62830 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62832         [BZ #14155]
62833         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62834         0x1p28 and above.
62835         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62836         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62837         0x1p28 and above.
62838         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62839         * math/libm-test.inc (j0_test): Do not allow one spurious
62840         underflow exception.
62841         (y1_test): Likewise.
62843 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62845         * manual/Makefile (chapters): Add nptl.
62846         * manual/debug.texi (Debugging Support): Add link to Threads
62847         chapter.
62848         * manual/nptl.texi: New file.
62850         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62852 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62854         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62855         for non-NULL pointer before the memory validity test. Pointed
62856         out by Holger Brunck <holger.brunck@keymile.com>.
62858 2013-03-13  Andreas Schwab  <schwab@suse.de>
62860         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62861         instead of .os.
62863 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62865         * timezone/zic.c: Update from tzcode 2013b.
62867 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62869         * manual/install.texi (Configuring and compiling):
62870         Mention i686 and i586.
62871         * INSTALL: Regenerate.
62873 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62875         * sysdeps/init_array/elf-init.c: New file.
62876         * csu/elf-init.c
62877         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62878         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62880         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62881         __gmon_start__ as global, but as static with a .preinit_array pointer.
62882         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62883         * sysdeps/init_array/crti.S: New file, empty except for comments.
62884         * sysdeps/init_array/crtn.S: Likewise.
62886 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62888         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62889         definining bcopy.
62890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62891         Remove Prefer_SSE_for_memop.
62892         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62893         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62894         HAS_PREFER_SSE_FOR_MEMOP.
62895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62896         memset-x86-64.
62897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62898         Remove bzero, memset ifunc support.
62899         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62900         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62901         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62902         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62904 2013-03-11  Andreas Schwab  <schwab@suse.de>
62906         [BZ #15234]
62907         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62908         by SHLIB_COMPAT.
62909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62910         (GLIBC_2.16): Remove pthread_atfork.
62912 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62914         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62915         (ptestcases.h): Likewise.
62917 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62919         * Makeconfig ($(common-objpfx)config.status): Depend on
62920         sysdeps/*/preconfigure{,.in} too.
62922 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62924         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62925         (__free_hook): Use void * instead of __malloc_ptr_t.
62926         (__malloc_hook): Likewise.
62927         (__realloc_hook): Likewise.
62928         (__memalign_hook): Likewise.
62929         (__after_morecore_hook): Likewise.
62930         * malloc/arena.c (save_malloc_hook): Likewise.
62931         (save_free_hook): Likewise.
62932         * malloc/hooks.c (malloc_hook_ini): Likewise.
62933         (realloc_hook_ini): Likewise.
62934         (memalign_hook_ini): Likewise.
62935         * malloc/malloc.c (malloc_hook_ini): Likewise.
62936         (realloc_hook_ini): Likewise.
62937         (memalign_hook_ini): Likewise.
62938         (__free_hook): Likewise.
62939         (__malloc_hook): Likewise.
62940         (__realloc_hook): Likewise.
62941         (__memalign_hook): Likewise.
62942         (__libc_malloc): Likewise.
62943         (__libc_free): Likewise.
62944         (__libc_realloc): Likewise.
62945         (__libc_memalign): Likewise.
62946         (__libc_valloc): Likewise.
62947         (__libc_pvalloc): Likewise.
62948         (__libc_calloc): Likewise.
62949         (__posix_memalign): Likewise.
62950         * malloc/morecore.c (__sbrk): Likewise.
62951         (__default_morecore): Likewise.
62953         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62955         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62956         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62957         __malloc_ptrdiff_t.
62959         * malloc/malloc.h (__malloc_size_t): Remove macro.
62960         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62961         __malloc_size_t.
62962         (old_memalign_hook): Likewise.
62963         (old_realloc_hook): Likewise.
62964         (struct hdr): Likewise.
62965         (flood): Likewise.
62966         (mallochook): Likewise.
62967         (memalignhook): Likewise.
62968         (reallochook): Likewise.
62969         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62970         (tr_old_realloc_hook): Likewise.
62971         (tr_old_memalign_hook): Likewise.
62972         (tr_mallochook): Likewise.
62973         (tr_reallochook): Likewise.
62974         (tr_memalignhook): Likewise.
62976 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62978         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62979         default_ldbl_pack and using as default implementation.
62980         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62981         implementation.
62982         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62983         redundant definition.
62984         (ldbl_insert_mantissa): Likewise.
62985         (ldbl_canonicalize): Likewise.
62986         (ldbl_nearbyint): Likewise.
62987         (ldbl_pack): Rename to ldbl_pack_ppc.
62988         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62989         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62990         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62992 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62995         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62996         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62997         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62999         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63000         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63001         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63003 2013-03-07  Andreas Jaeger  <aj@suse.de>
63005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63006         bits/mman-linux.h.
63008 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63010         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63011         Include mpa.h and declare __MPEXP.
63012         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63013         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63014         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63015         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63016         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63017         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63018         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63020         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63021         (__slowpow): Use long double EXPL and LOGL functions to
63022         compute POW.
63023         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63024         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63025         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63026         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63027         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63028         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63031         intermediate variable to calculate exponent.
63032         (__sqr): Likewise.
63033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63034         Likewise.
63035         (__sqr): Likewise.
63037         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63038         [!NO__SQR]: Define __sqr.
63039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63040         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63041         sysdeps/ieee754/dbl-64/mpa.c.
63042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63044         [BZ #12723]
63045         * posix/Makefile (tests): Add tst-pathconf.
63046         * posix/tst-pathconf.c: New test case.
63047         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63048         _PC_PIPE_BUF.
63049         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63051 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63053         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63055 2013-03-06  Andreas Jaeger  <aj@suse.de>
63057         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63058         definition via __MAP_ANONYMOUS.
63060         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63061         it's not part of Linux headers.
63063         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63064         (MAP_HUGE_MASK): Define.
63066         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63067         Define.
63068         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63069         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63070         Define.
63071         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63072         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63073         Define.
63074         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63076         Define.
63077         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63079         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63080         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63081         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63082         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63083         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63084         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63086         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63087         Handle f2fs.
63089         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63090         Handle f2fs and efivarfs.
63092         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63093         f2fs.
63095         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63096         (EFIVARFS_MAGIC): Add.
63097         (F2FS_LINK_MAX): Add.
63099 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63101         * stdio-common/vfprintf.c: Replace __builtin_expect with
63102         __glibc_unlikely.
63104 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63106         [BZ #13550]
63107         * sysdeps/generic/bp-sym.h: Remove file.
63108         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63109         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63110         <bp-sym.h> and <bp-asm.h>.
63111         (__longjmp): Don't use BP_SYM.
63112         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63113         and <bp-asm.h>.
63114         (memcpy): Don't use BP_SYM.
63115         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63116         <bp-sym.h> and <bp-asm.h>.
63117         (memcpy): Don't use BP_SYM.
63118         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63119         <bp-asm.h>.
63120         (memcpy): Don't use BP_SYM.
63121         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63122         <bp-asm.h>.
63123         (memset): Don't use BP_SYM.
63124         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63125         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63126         (__bzero): Don't use BP_SYM.
63127         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63128         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63129         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63130         <bp-sym.h> and <bp-asm.h>.
63131         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63132         pointers.
63133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63134         <bp-sym.h> and <bp-asm.h>.
63135         (memcpy): Don't use BP_SYM.
63136         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63137         <bp-sym.h> and <bp-asm.h>.
63138         (memset): Don't use BP_SYM.
63139         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63140         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63141         (__bzero): Don't use BP_SYM.
63142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63144         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63145         <bp-sym.h> and <bp-asm.h>.
63146         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63147         pointers.
63148         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63149         <bp-sym.h> and <bp-asm.h>.
63150         (memcpy): Don't use BP_SYM.
63151         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63152         <bp-sym.h> and <bp-asm.h>.
63153         (memset): Don't use BP_SYM.
63154         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63155         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63156         (__bzero): Don't use BP_SYM.
63157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63159         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63160         <bp-sym.h> and <bp-asm.h>.
63161         (__memchr): Don't use BP_SYM.
63162         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63163         <bp-sym.h> and <bp-asm.h>.
63164         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63165         pointers.
63166         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63167         <bp-sym.h> and <bp-asm.h>.
63168         (memcpy): Don't use BP_SYM.
63169         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63170         <bp-sym.h> and <bp-asm.h>.
63171         (__mempcpy): Don't use BP_SYM.
63172         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63173         <bp-sym.h> and <bp-asm.h>.
63174         (__memrchr): Don't use BP_SYM.
63175         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63176         <bp-sym.h> and <bp-asm.h>.
63177         (memset): Don't use BP_SYM.
63178         (__bzero): Likewise.
63179         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63180         <bp-sym.h> and <bp-asm.h>.
63181         (__rawmemchr): Don't use BP_SYM.
63182         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63183         <bp-sym.h> and <bp-asm.h>.
63184         (__STRCMP): Don't use BP_SYM.
63185         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63186         <bp-sym.h> and <bp-asm.h>.
63187         (strchr): Don't use BP_SYM.
63188         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63189         <bp-sym.h> and <bp-asm.h>.
63190         (__strchrnul): Don't use BP_SYM.
63191         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63192         <bp-sym.h> and <bp-asm.h>.
63193         (strlen): Don't use BP_SYM.
63194         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63195         <bp-sym.h> and <bp-asm.h>.
63196         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63197         pointers.
63198         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63199         <bp-sym.h> and <bp-asm.h>.
63200         (__strnlen): Don't use BP_SYM.
63201         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63202         <bp-sym.h> and <bp-asm.h>.
63203         (__GI__setjmp): Don't use BP_SYM.
63204         (_setjmp): Likewise.
63205         (__sigsetjmp): Likewise.
63206         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63207         (L(start_addresses)): Don't use BP_SYM.
63208         (_start): Likewise.
63209         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63210         <bp-asm.h>.
63211         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63212         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63213         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63214         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63215         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63216         <bp-asm.h>.
63217         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63218         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63219         about bounded pointers.
63220         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63221         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63222         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63223         <bp-asm.h>.
63224         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63225         about bounded pointers.  Remove GKM FIXME comments.
63226         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63227         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63228         <bp-asm.h>.
63229         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63230         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63231         Remove GKM FIXME comments.
63232         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63233         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63234         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63235         <bp-asm.h>.
63236         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63237         about bounded pointers.  Remove GKM FIXME comment.
63238         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63239         and <bp-asm.h>.
63240         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63241         pointers.
63242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63243         <bp-sym.h> and <bp-asm.h>.
63244         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63246         <bp-sym.h> and <bp-asm.h>.
63247         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63248         comment.
63250 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63252         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63253         call free(NULL).
63255 2013-03-05  David S. Miller  <davem@davemloft.net>
63257         * po/es.po: Update from translation team.
63259 2013-03-05  Andreas Jaeger  <aj@suse.de>
63261         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63262         <bits/mman-linux.h>.
63263         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63264         is fine.
63265         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63266         <bits/mman-linux.h> to end of file.
63267         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63268         is fine.
63269         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63270         <bits/mman-linux.h> to end of file.
63271         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63272         is fine.
63273         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63274         <bits/mman-linux.h> to end of file.
63276         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63277         (MCL_CURRENT, MCL_FUTURE): Define here.
63279 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63281         [BZ #15232]
63282         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63283         attribute_hidden.
63284         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63286 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63288         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63289         fourth parameter needed for rt_sigprocmask syscall.
63290         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63291         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63292         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63293         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63294         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63295         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63297 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63299         [BZ #13550]
63300         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63301         comment about bounded pointers.
63302         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63303         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63305 2013-03-04  Andreas Jaeger  <aj@suse.de>
63307         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63308         common definitions.
63310         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63311         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63312         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63313         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63317 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63319         [BZ #15055]
63320         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63321         __ieee754_sqrl instead of __sqrl.
63323 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63325         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63326         * sysdeps/powerpc/fpu_control.h: ... here.
63327         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63328         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63329         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63330         * sysdeps/powerpc/bits/mathinline.h: ... here.
63332 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63334         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63335         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63336         to just [NEED_DL_SYSINFO_DSO].
63337         * elf/dl-support.c: Likewise.
63338         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63339         * elf/rtld.c (dl_main): Likewise.
63340         * elf/setup-vdso.h (setup_vdso): Likewise.
63341         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63342         * sysdeps/unix/sysv/linux/dl-sysdep.c
63343         (_dl_discover_osversion): Likewise.
63345 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63347         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63348         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63350 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63352         * NEWS: Mention libm performance improvements and non-x86 PI
63353         futex support.
63355         * csu/libc-start.c (__pthread_initialize_minimal): Change
63356         function arguments.
63357         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63359 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63361         [BZ #13550]
63362         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63363         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63364         <bp-sym.h> and <bp-asm.h>.
63365         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63366         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63367         and <bp-asm.h>.
63368         (memcpy): Don't use BP_SYM.
63369         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63370         <bp-asm.h>.
63371         (__mpn_add_n): Don't use BP_SYM.
63372         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63373         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63374         and <bp-asm.h>.
63375         (__mpn_addmul_1): Don't use BP_SYM.
63376         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63377         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63378         <bp-sym.h>.
63379         (_setjmp): Don't use BP_SYM.
63380         (__novmx_setjmp): Likewise.
63381         (__GI__setjmp): Likewise.
63382         (__vmx_setjmp): Likewise.
63383         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63384         <bp-sym.h>.
63385         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63386         (__bzero): Don't use BP_SYM.
63387         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63388         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63389         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63390         <bp-sym.h> and <bp-asm.h>.
63391         (memcpy): Don't use BP_SYM.
63392         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63393         <bp-sym.h> and <bp-asm.h>.
63394         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63395         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63396         <bp-sym.h> and <bp-asm.h>.
63397         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63398         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63399         <bp-asm.h>.
63400         (__mpn_lshift): Don't use BP_SYM.
63401         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63402         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63403         <bp-asm.h>.
63404         (memset): Don't use BP_SYM.
63405         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63406         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63407         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63408         <bp-asm.h>.
63409         (__mpn_mul_1): Don't use BP_SYM.
63410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63411         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63412         <bp-sym.h> and <bp-asm.h>.
63413         (memcmp): Don't use BP_SYM.
63414         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63415         <bp-sym.h> and <bp-asm.h>.
63416         (memcpy): Don't use BP_SYM.
63417         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63418         <bp-sym.h> and <bp-asm.h>.
63419         (memset): Don't use BP_SYM.
63420         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63421         <bp-sym.h> and <bp-asm.h>.
63422         (strncmp): Don't use BP_SYM.
63423         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63424         <bp-sym.h> and <bp-asm.h>.
63425         (memcpy): Don't use BP_SYM.
63426         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63427         <bp-sym.h> and <bp-asm.h>.
63428         (memset): Don't use BP_SYM.
63429         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63430         <bp-sym.h> and <bp-asm.h>.
63431         (__memchr): Don't use BP_SYM.
63432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63433         <bp-sym.h> and <bp-asm.h>.
63434         (memcmp): Don't use BP_SYM.
63435         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63436         <bp-sym.h> and <bp-asm.h>.
63437         (memcpy): Don't use BP_SYM.
63438         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63439         <bp-sym.h> and <bp-asm.h>.
63440         (__mempcpy): Don't use BP_SYM.
63441         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63442         <bp-sym.h> and <bp-asm.h>.
63443         (__memrchr): Don't use BP_SYM.
63444         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63445         <bp-sym.h> and <bp-asm.h>.
63446         (memset): Don't use BP_SYM.
63447         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63448         <bp-sym.h> and <bp-asm.h>.
63449         (__rawmemchr): Don't use BP_SYM.
63450         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63451         <bp-sym.h> and <bp-asm.h>.
63452         (__STRCMP): Don't use BP_SYM.
63453         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63454         <bp-sym.h> and <bp-asm.h>.
63455         (strchr): Don't use BP_SYM.
63456         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63457         <bp-sym.h> and <bp-asm.h>.
63458         (__strchrnul): Don't use BP_SYM.
63459         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63460         <bp-sym.h> and <bp-asm.h>.
63461         (strlen): Don't use BP_SYM.
63462         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63463         <bp-sym.h> and <bp-asm.h>.
63464         (strncmp): Don't use BP_SYM.
63465         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63466         <bp-sym.h> and <bp-asm.h>.
63467         (__strnlen): Don't use BP_SYM.
63468         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63469         <bp-asm.h>.
63470         (__mpn_rshift): Don't use BP_SYM.
63471         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63472         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63473         <bp-sym.h> and <bp-asm.h>.
63474         (__sigsetjmp): Don't use BP_SYM.
63475         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63476         (L(start_addresses)): Don't use BP_SYM.
63477         (_start): Likewise.
63478         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63479         <bp-asm.h>.
63480         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63481         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63482         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63483         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63484         <bp-asm.h>.
63485         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63486         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63487         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63488         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63489         <bp-asm.h>.
63490         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63491         comments.
63492         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63493         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63494         <bp-asm.h>.
63495         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63496         FIXME comments.
63497         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63498         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63499         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63500         <bp-asm.h>.
63501         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63502         comment.
63503         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63504         and <bp-asm.h>.
63505         (strncmp): Don't use BP_SYM,
63506         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63507         <bp-asm.h>.
63508         (__mpn_sub_n): Don't use BP_SYM.
63509         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63510         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63511         and <bp-asm.h>.
63512         (__mpn_submul_1): Don't use BP_SYM.
63513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63515         <bp-sym.h> and <bp-asm.h>.
63516         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63518         <bp-sym.h> and <bp-asm.h>.
63519         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63520         comment.
63522 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63525         Use ZK to minimize writes to Z.
63526         (sub_magnitudes): Simplify code a bit.
63527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63528         Use ZK to minimize writes to Z.
63529         (sub_magnitudes): Simplify code a bit.
63531 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63533         * csu/gmon-start.c: Add special exception to license text.
63535 2013-02-27  Richard Henderson  <rth@redhat.com>
63537         * scripts/config.guess: Update from config.git.
63538         * scripts/config.sub: Likewise.
63540 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63542         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63544         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63546         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63548         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63550         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63552 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63554         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63555         [$(build-shared = yes].
63557 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63559         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63560         (__mul): Reduce iterations for calculating mantissa.
63562         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63563         MPTWO.
63564         (__mpranred): Likewise.
63566         [BZ #15160]
63567         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63568         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63570 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63572         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63573         Define __attribute__.
63575 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63577         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63578         unused.
63579         * posix/regex_internal.h (__attribute): Remove.
63580         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63581         (re_string_context_at): Likewise.
63582         (bitset_not): Use __attribute__ and mark function as possibly
63583         unused.
63584         (bitset_merge): Likewise.
63585         (bitset_mask): Likewise.
63586         (re_string_char_size_at): Likewise.
63587         (re_string_wchar_at): Likewise.
63588         (re_string_elem_size_at): Likewise.
63590 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63592         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63593         code.
63594         (cc32): Likewise.
63596         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63597         (__acr): Likewise.
63598         (__cpy): Likewise.
63599         (norm): Likewise.
63600         (denorm): Likewise.
63601         (__dbl_mp): Likewise.
63602         (add_magnitudes): Likewise.
63603         (sub_magnitudes): Likewise.
63604         (__mul): Likewise.
63605         (__inv): Likewise.
63607         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63608         style.
63610         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63611         style.
63613         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63614         code.
63616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63617         up changes with default code.
63618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63619         Likewise.
63621 2013-02-24  Allan McRae  <allan@archlinux.org>
63623         * manual/socket.texi (The Internet Namespace): Order menu items
63624         to match that in the file.
63626         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63627         node listing of the info page menu.
63629 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63631         [BZ #13550]
63632         * sysdeps/i386/bp-asm.h: Remove file.
63633         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63634         (PARMS): Do not use macros from bp-asm.h.
63635         (S1): Likewise.
63636         (S2): Likewise.
63637         (SIZE): Likewise.
63638         (__mpn_add_n): Do not use BP_SYM
63639         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63640         "bp-asm.h".
63641         (PARMS): Do not use macros from bp-asm.h.
63642         (S1): Likewise.
63643         (SIZE): Likewise.
63644         (__mpn_addmul_1): Do not use BP_SYM
63645         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63646         "bp-asm.h".
63647         (PARMS): Do not use macros from bp-asm.h.
63648         (SIGMSK): Likewise.
63649         (_setjmp): Likewise.  Do not use BP_SYM.
63650         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63651         "bp-asm.h".
63652         (PARMS): Do not use macros from bp-asm.h.
63653         (SIGMSK): Likewise.
63654         (setjmp): Likewise.  Do not use BP_SYM.
63655         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63656         "bp-asm.h".
63657         (PARMS): Do not use macros from bp-asm.h.
63658         (__frexp): Do not use BP_SYM.
63659         (frexp): Likewise.
63660         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63661         "bp-asm.h".
63662         (PARMS): Do not use macros from bp-asm.h.
63663         (__frexpf): Do not use BP_SYM.
63664         (frexpf): Likewise.
63665         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63666         "bp-asm.h".
63667         (PARMS): Do not use macros from bp-asm.h.
63668         (__frexpl): Do not use BP_SYM.
63669         (frexpl): Likewise.
63670         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63671         "bp-asm.h".
63672         (PARMS): Do not use macros from bp-asm.h.
63673         (__remquo): Do not use BP_SYM.
63674         (remquo): Likewise.
63675         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63676         "bp-asm.h".
63677         (PARMS): Do not use macros from bp-asm.h.
63678         (__remquof): Do not use BP_SYM.
63679         (remquof): Likewise.
63680         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63681         "bp-asm.h".
63682         (PARMS): Do not use macros from bp-asm.h.
63683         (__remquol): Do not use BP_SYM.
63684         (remquol): Likewise.
63685         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63686         "bp-asm.h".
63687         (PARMS): Do not use macros from bp-asm.h.
63688         (DEST): Likewise.
63689         (SRC): Likewise.
63690         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63691         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63692         "bp-asm.h".
63693         (PARMS): Do not use macros from bp-asm.h.
63694         (strlen): Do not use BP_SYM.
63695         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63696         "bp-asm.h".
63697         (PARMS): Do not use macros from bp-asm.h.
63698         (S1): Likewise.
63699         (S2): Likewise.
63700         (SIZE): Likewise.
63701         (__mpn_add_n): Do not use BP_SYM.
63702         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63703         "bp-asm.h".
63704         (PARMS): Do not use macros from bp-asm.h.
63705         (S1): Likewise.
63706         (SIZE): Likewise.
63707         (__mpn_addmul_1): Do not use BP_SYM.
63708         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63709         weak_alias.
63710         (bzero): Likewise.
63711         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63712         "bp-asm.h".
63713         (PARMS): Do not use macros from bp-asm.h.
63714         (S): Likewise.
63715         (SIZE): Likewise.
63716         (__mpn_lshift): Do not use BP_SYM.
63717         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63718         "bp-asm.h".
63719         (PARMS): Do not use macros from bp-asm.h.
63720         (DEST): Likewise.
63721         (SRC): Likewise.
63722         (LEN): Likewise.
63723         (memcpy): Likewise.  Do not use BP_SYM.
63724         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63725         libc_hidden_def and weak_alias.
63726         (mempcpy): Do not use BP_SYM in weak_alias.
63727         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63728         "bp-asm.h".
63729         (PARMS): Do not use macros from bp-asm.h.
63730         (DEST): Likewise.
63731         (LEN): Likewise.
63732         [!BZERO_P] (CHR): Likewise.
63733         (memset): Likewise.  Do not use BP_SYM.
63734         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63735         "bp-asm.h".
63736         (PARMS): Do not use macros from bp-asm.h.
63737         (S1): Likewise.
63738         (SIZE): Likewise.
63739         (__mpn_mul_1): Do not use BP_SYM.
63740         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63741         "bp-asm.h".
63742         (PARMS): Do not use macros from bp-asm.h.
63743         (S): Likewise.
63744         (SIZE): Likewise.
63745         (__mpn_rshift): Do not use BP_SYM.
63746         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63747         "bp-asm.h".
63748         (PARMS): Do not use macros from bp-asm.h.
63749         (STR): Likewise.
63750         (CHR): Likewise.
63751         (strchr): Likewise.  Do not use BP_SYM.
63752         (index): Do not use BP_SYM in weak_alias.
63753         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63754         "bp-asm.h".
63755         (PARMS): Do not use macros from bp-asm.h.
63756         (DEST): Likewise.
63757         (SRC): Likewise.
63758         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63759         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63760         "bp-asm.h".
63761         (PARMS): Do not use macros from bp-asm.h.
63762         (strlen): Do not use BP_SYM.
63763         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63764         "bp-asm.h".
63765         (PARMS): Do not use macros from bp-asm.h.
63766         (S1): Likewise.
63767         (S2): Likewise.
63768         (SIZE): Likewise.
63769         (__mpn_sub_n): Do not use BP_SYM.
63770         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63771         "bp-asm.h".
63772         (PARMS): Do not use macros from bp-asm.h.
63773         (S1): Likewise.
63774         (SIZE): Likewise.
63775         (__mpn_submul_1): Do not use BP_SYM.
63776         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63777         "bp-asm.h".
63778         (PARMS): Do not use macros from bp-asm.h.
63779         (S1): Likewise.
63780         (S2): Likewise.
63781         (SIZE): Likewise.
63782         (__mpn_add_n): Do not use BP_SYM.
63783         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63784         weak_alias.
63785         (bzero): Likewise.
63786         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63787         "bp-asm.h".
63788         (PARMS): Do not use macros from bp-asm.h.
63789         (BLK2): Likewise.
63790         (LEN): Likewise.
63791         (memcmp): Do not use BP_SYM.
63792         (bcmp): Do not use BP_SYM in weak_alias.
63793         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63794         "bp-asm.h".
63795         (PARMS): Do not use macros from bp-asm.h.
63796         (DEST): Likewise.
63797         (SRC): Likewise.
63798         (LEN): Likewise.
63799         (memcpy): Likewise.  Do not use BP_SYM.
63800         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63801         "bp-asm.h".
63802         (PARMS): Do not use macros from bp-asm.h.
63803         (DEST): Likewise.
63804         (SRC): Likewise.
63805         (LEN): Likewise.
63806         (memmove): Likewise.  Do not use BP_SYM.
63807         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63808         "bp-asm.h".
63809         (PARMS): Do not use macros from bp-asm.h.
63810         (DEST): Likewise.
63811         (SRC): Likewise.
63812         (LEN): Likewise.
63813         (__mempcpy): Likewise.  Do not use BP_SYM.
63814         (mempcpy): Do not use BP_SYM in weak_alias.
63815         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63816         "bp-asm.h".
63817         (PARMS): Do not use macros from bp-asm.h.
63818         (DEST): Likewise.
63819         (LEN): Likewise.
63820         [!BZERO_P] (CHR): Likewise.
63821         (memset): Likewise.  Do not use BP_SYM.
63822         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63823         "bp-asm.h".
63824         (PARMS): Do not use macros from bp-asm.h.
63825         (STR2): Likewise.
63826         (strcmp): Do not use BP_SYM.
63827         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63828         "bp-asm.h".
63829         (PARMS): Do not use macros from bp-asm.h.
63830         (STR): Likewise.
63831         (DELIM): Likewise.
63832         [USE_AS_STRTOK_R] (SAVE): Likewise.
63833         (FUNCTION): Likewise.  Do not use BP_SYM.
63834         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63835         aliases.
63836         (strtok_r): Likewise.
63837         (__GI___strtok_r): Likewise.
63838         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63839         (PARMS): Do not use macros from bp-asm.h.
63840         (S): Likewise.
63841         (SIZE): Likewise.
63842         (__mpn_lshift): Do not use BP_SYM.
63843         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63844         (PARMS): Do not use macros from bp-asm.h.
63845         (STR): Likewise.
63846         (CHR): Likewise.
63847         (__memchr): Do not use BP_SYM.
63848         (memchr): Do not use BP_SYM in weak_alias.
63849         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63850         (PARMS): Do not use macros from bp-asm.h.
63851         (BLK2): Likewise.
63852         (LEN): Likewise.
63853         (memcmp): Do not use BP_SYM.
63854         (bcmp): Do not use BP_SYM in weak_alias.
63855         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63856         (PARMS): Do not use macros from bp-asm.h.
63857         (S1): Likewise.
63858         (SIZE): Likewise.
63859         (__mpn_mul_1): Do not use BP_SYM.
63860         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63861         "bp-asm.h".
63862         (PARMS): Do not use macros from bp-asm.h.
63863         (STR): Likewise.
63864         (CHR): Likewise.
63865         (__rawmemchr): Do not use BP_SYM.
63866         (rawmemchr): Do not use BP_SYM in weak_alias.
63867         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63868         (PARMS): Do not use macros from bp-asm.h.
63869         (S): Likewise.
63870         (SIZE): Likewise.
63871         (__mpn_rshift): Do not use BP_SYM.
63872         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63873         (PARMS): Do not use macros from bp-asm.h.
63874         (SIGMSK): Likewise.
63875         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63876         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63877         (_start): Do not use BP_SYM.
63878         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63879         (PARMS): Do not use macros from bp-asm.h.
63880         (DEST): Likewise.
63881         (SRC): Likewise.
63882         (__stpcpy): Likewise.  Do not use BP_SYM.
63883         (stpcpy): Do not use BP_SYM in weak_alias.
63884         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63885         "bp-asm.h".
63886         (PARMS): Do not use macros from bp-asm.h.
63887         (DEST): Likewise.
63888         (SRC): Likewise.
63889         (LEN): Likewise.
63890         (__stpncpy): Likewise.  Do not use BP_SYM.
63891         (stpncpy): Do not use BP_SYM in weak_alias.
63892         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63893         (PARMS): Do not use macros from bp-asm.h.
63894         (STR): Likewise.
63895         (CHR): Likewise.
63896         (strchr): Likewise.  Do not use BP_SYM.
63897         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63898         "bp-asm.h".
63899         (PARMS): Do not use macros from bp-asm.h.
63900         (STR): Likewise.
63901         (CHR): Likewise.
63902         (__strchrnul): Likewise.  Do not use BP_SYM.
63903         (strchrnul): Do not use BP_SYM in weak_alias.
63904         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63905         "bp-asm.h".
63906         (PARMS): Do not use macros from bp-asm.h.
63907         (STOP): Likewise.
63908         (strcspn): Do not use BP_SYM.
63909         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63910         "bp-asm.h".
63911         (PARMS): Do not use macros from bp-asm.h.
63912         (STR): Likewise.
63913         (STOP): Likewise.
63914         (strpbrk): Likewise.  Do not use BP_SYM.
63915         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63916         "bp-asm.h".
63917         (PARMS): Do not use macros from bp-asm.h.
63918         (STR): Likewise.
63919         (CHR): Likewise.
63920         (strrchr): Likewise.  Do not use BP_SYM.
63921         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63922         (PARMS): Do not use macros from bp-asm.h.
63923         (SKIP): Likewise.
63924         (strspn): Do not use BP_SYM.
63925         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63926         (PARMS): Do not use macros from bp-asm.h.
63927         (STR): Likewise.
63928         (DELIM): Likewise.
63929         (SAVE): Likewise.
63930         (FUNCTION): Likewise.  Do not use BP_SYM.
63931         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63932         aliases.
63933         (strtok_r): Likewise.
63934         (__GI___strtok_r): Likewise.
63935         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63936         (PARMS): Do not use macros from bp-asm.h.
63937         (S1): Likewise.
63938         (S2): Likewise.
63939         (SIZE): Likewise.
63940         (__mpn_sub_n): Do not use BP_SYM.
63941         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63942         "bp-asm.h".
63943         (PARMS): Do not use macros from bp-asm.h.
63944         (S1): Likewise.
63945         (SIZE): Likewise.
63946         (__mpn_submul_1): Do not use BP_SYM.
63947         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63948         <bp-sym.h>.
63949         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63950         and <bp-asm.h>.
63951         (PARMS): Do not use macros from bp-asm.h.
63952         (FLAGS): Likewise.
63953         (PTID): Likewise.
63954         (TLS): Likewise.
63955         (CTID): Likewise.
63956         (__clone): Do not use BP_SYM.
63957         (clone): Do not use BP_SYM in weak_alias.
63958         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63959         and <bp-asm.h>.
63960         (PARMS): Do not use macros from bp-asm.h.
63961         (LEN): Likewise.
63962         (__mmap64): Do not use BP_SYM.
63963         (mmap64): Do not use BP_SYM in weak_alias.
63964         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63965         <bp-sym.h> and <bp-asm.h>.
63966         (PARMS): Do not use macros from bp-asm.h.
63967         (__posix_fadvise64_l64): Do not use BP_SYM.
63968         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63969         (PARMS): Do not use macros from bp-asm.h.
63970         (NSOPS): Likewise.
63971         (semtimedop): Do not use BP_SYM.
63972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63973         and <bp-asm.h>.
63975 2013-02-21  Allan McRae  <allan@archlinux.org>
63977         * manual/message.texi (Charset conversion in gettext):
63978         Move @end statement to beginning of line.
63980 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63983         static.
63984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63985         Likewise.
63987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63988         (denorm): Likewise.
63989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63992 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63994         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63995         tail-call to the resolved function if pltexit isn't needed.
63997 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64000         or Y being zero as being unlikely.
64001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64002         Likewise.
64004 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64006         * manual/nss.texi (System Databases and Name Service Switch):
64007         Remove frobnicate @pxref.
64009 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64011         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64012         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64014 2013-02-20  Petr Machata  <pmachata@redhat.com>
64016         * elf/elf.h (R_ARM_TARGET1): New macro.
64017         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64018         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64019         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64020         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64021         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64022         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64023         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64024         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64025         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64026         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64027         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64028         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64029         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64030         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64031         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64032         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64033         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64034         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64035         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64036         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64037         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64038         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64039         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64040         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64041         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64042         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64043         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64044         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64045         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64046         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64047         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64048         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64049         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64050         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64051         (R_ARM_THM_GOT_BREL12): Likewise.
64052         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64053         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64054         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64055         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64056         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64057         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64058         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64059         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64060         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64062 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64064         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64065         __attribute_used__ to __attribute__ ((unused)).
64067 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64069         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64070         powerpc mpa.c.
64071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64072         comment formatting.
64073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64075 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64077         [BZ #13550]
64078         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64079         Remove macro.
64080         (ENTER): Remove both macro definitions.
64081         (LEAVE): Likewise.
64082         (CHECK_BOUNDS_LOW): Likewise.
64083         (CHECK_BOUNDS_HIGH): Likewise.
64084         (CHECK_BOUNDS_BOTH): Likewise.
64085         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64086         (RETURN_BOUNDED_POINTER): Likewise.
64087         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64088         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64089         (POP_ERRNO_LOCATION_RETURN): Likewise.
64090         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64091         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64092         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64093         macros.
64094         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64095         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64096         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64097         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64098         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64099         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64100         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64101         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64102         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64103         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64104         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64105         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64106         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64107         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64108         removed macros.
64109         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64110         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64111         macros.
64112         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64113         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64114         * sysdeps/i386/i586/memset.S (memset): Likewise.
64115         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64116         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64117         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64118         macros.
64119         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64120         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64121         Change uses of L(2) to L(out).
64122         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64123         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64124         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64125         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64126         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64127         removed macros.
64128         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64129         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64130         macros.
64131         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64132         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64133         (RETURN): Do not use macro LEAVE.
64134         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64135         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64136         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64137         * sysdeps/i386/i686/memset.S (memset): Likewise.
64138         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64139         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64140         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64141         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64142         Likewise.
64143         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64144         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64145         L(1_2) and L(1_3) into L(1).
64146         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64147         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64148         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64149         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64150         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64151         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64152         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64153         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64154         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64155         macros.
64156         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64157         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64158         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64159         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64160         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64161         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64162         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64163         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64164         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64165         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64166         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64167         * sysdeps/i386/strspn.S (strspn): Likewise.
64168         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64169         conditional code.
64170         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64171         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64172         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64173         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64174         L(1_3) into L(1_1).
64175         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64176         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64177         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64178         macros.
64179         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64181 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64183         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64184         macro.
64186 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64188         * math/atest-exp.c (exp_mpn): Remove ROUND.
64189         * math/atest-exp2.c (exp_mpn): Likewise.
64190         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64192         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64193         * stdlib/tst-tls-atexit-lib.c: Likewise.
64194         * stdlib/tst-tls-atexit.c: Likewise.
64196 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64198         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64199         and __attribute_alloc_size__.
64201 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64203         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64204         __attribute_alloc_size__.
64205         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64206         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64208 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64210         * include/programs/xmalloc.h: New file.
64211         * catgets/gencat.c: Include it.
64212         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64213         * elf/pldd.c: Likewise.
64214         * iconv/iconv_charmap.c: Likewise.
64215         * iconv/iconvconfig.c: Likewise.
64216         * iconv/strtab.c: Likewise.
64217         * locale/programs/locale.c: Likewise.
64218         * locale/programs/localedef.h: Likewise.
64219         * locale/programs/simple-hash.c: Likewise.
64220         * nscd/nscd.h: Likewise.
64221         * nss/makedb.c: Likewise.
64222         * sysdeps/generic/ldconfig.h: Likewise.
64224 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64226         * Versions.def: Add GLIBC_2.18.
64227         * include/link.h (struct link_map): New member l_tls_dtor_count.
64228         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64229         (__call_tls_dtors): Likewise.
64230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64231         __cxa_thread_atexit_impl.
64232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64233         Likewise.
64234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64235         Likewise.
64236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64237         Likewise.
64238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64239         Likewise.
64240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64242         Likewise.
64243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64244         Likewise.
64245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64247         Likewise.
64248         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64249         (tests): Add test case tst-tls-atexit.
64250         (modules-names): Add shared library for tst-tls-atexit.
64251         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64252         (GLIBC_PRIVATE): Add __call_tls_dtors.
64253         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64254         for libstdc++.
64255         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64256         * stdlib/tst-tls-atexit.c: New test case.
64257         * stdlib/tst-tls-atexit-lib.c: New test case.
64259         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64261         * elf/Versions (ld): Add _dl_find_dso_for_object.
64262         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64263         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64264         (dl_open_worker): Use _dl_find_dso_for_object.
64265         * elf/dl-sym.c (do_sym): Likewise.
64266         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64268 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64270         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64271         Syntactic changes only.
64272         (_dl_runtime_profile): Do a tail-call to the resolved function.
64274 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64276         [BZ #13550]
64277         * sysdeps/x86_64/bp-asm.h: Remove file.
64278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64279         <bp-sym.h> and <bp-asm.h>.
64280         (__clone): Do not use BP_SYM.
64281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64282         <bp-sym.h> and <bp-asm.h>.
64283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64284         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64285         "bp-asm.h".
64286         (_setjmp): Do not use BP_SYM.
64287         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64288         "bp-asm.h".
64289         (setjmp): Do not use BP_SYM.
64290         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64291         libc_hidden_def.
64292         (mempcpy): Do not use BP_SYM in weak_alias.
64293         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64294         "bp-asm.h".
64295         (strchr): Do not use BP_SYM.
64296         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64297         "bp-asm.h".
64298         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64299         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64300         (_start): Do not use BP_SYM.
64301         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64302         "bp-asm.h".
64303         (strcat): Do not use BP_SYM.
64304         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64305         "bp-asm.h".
64306         (STRCMP): Do not use BP_SYM.
64307         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64308         "bp-asm.h".
64309         (STRCPY): Do not use BP_SYM.
64310         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64311         "bp-asm.h".
64312         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64313         "bp-asm.h".
64314         (FUNCTION): Do not use BP_SYM.
64315         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64316         weak_alias.
64317         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64319 2013-02-17  Andreas Jaeger  <aj@suse.de>
64321         * time/Versions: Sort entries.
64322         * string/Versions: Likewise.
64323         * resolv/Versions: Likewise.
64324         * posix/Versions: Likewise.
64325         * iconv/Versions: Likewise.
64326         * elf/Versions: Likewise.
64327         * wcsmbs/Versions: Likewise.
64329 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64331         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64332         loop termination condition.
64334         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64335         variable to calculate EZ.
64336         (__sqr): Likewise.
64338         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64339         the lower precision input.
64341 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64343         [BZ #13550]
64344         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64345         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64346         (run-via-rtld-prefix): Do not handle %-bp tests.
64347         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64348         (all-object-suffixes): Remove .ob.
64349         (bppfx): Remove variable.
64350         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64351         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64352         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64353         [$(build-bounded) = yes] (libtype.ob): Likewise.
64354         * Makerules (elide-routines.ob): Remove variable.
64355         (do-tests-clean): Do not handle *-bp.out.
64356         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64357         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64358         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64359         (tests): Do not include $(tests-bp.out).
64360         (xtests): Do not include $(xtests-bp.out).
64361         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64362         [$(build-bounded) = yes] ($(addprefix
64363         $(objpfx),$(binaries-bounded))): Remove rule.
64364         ($(objpfx)%-bp.out): Remove rule.
64365         * config.make.in (build-bounded): Remove variable.
64366         * crypt/Makefile [$(build-bounded) = yes]
64367         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64368         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64369         append to variable.
64370         [$(build-bounded) = yes] (install-lib): Likewise.
64371         [$(build-bounded) = yes] (generated): Likewise.
64372         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64373         Remove rule.
64374         * intl/Makefile [$(build-bounded) = yes]
64375         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64376         * math/Makefile [$(build-bounded) = yes]
64377         ($(tests:%=$(objpfx)%-bp): Likewise.
64378         * misc/Makefile [$(build-bounded) = yes]
64379         ($(objpfx)tst-tsearch-bp): Likewise.
64380         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64381         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64382         Remove dependency.
64383         * string/Makefile (o-objects.ob): Remove variable.
64384         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64385         (CFLAGS-.ob): Remove variable.
64386         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64387         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64388         both definitions of variable.
64389         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64390         (ASFLAGS-.ob): Remove variable.
64392 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64394         [BZ #13550]
64395         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64396         Remove __BOUNDED_POINTERS__ from condition.
64397         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64398         * string/bits/string2.h [!__NO_STRING_INLINES &&
64399         !__BOUNDED_POINTERS__]: Likewise.
64400         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64401         Likewise.
64402         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64403         Remove conditional code.
64404         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64405         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64406         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64407         condition.
64409         [BZ #13550]
64410         * csu/libc-start.c: Do not include <bp-sym.h>.
64411         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64412         * elf/dl-open.c: Do not include <bp-sym.h>.
64413         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64414         * math/fegetenv.c: Do not include <bp-sym.h>.
64415         (fegetenv): Do not use BP_SYM in versioned symbols.
64416         * nptl/sysdeps/pthread/bits/libc-lockP.h
64417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64418         <bp-sym.h>.
64419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64420         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64422         (__pthread_mutex_destroy): Likewise.
64423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64424         (__pthread_mutex_lock): Likewise.
64425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64426         (__pthread_mutex_trylock): Likewise.
64427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64428         (__pthread_mutex_unlock): Likewise.
64429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64430         (__pthread_mutexattr_init): Likewise.
64431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64432         (__pthread_mutexattr_destroy): Likewise.
64433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64434         (__pthread_mutexattr_settype): Likewise.
64435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64436         (__pthread_rwlock_init): Likewise.
64437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64438         (__pthread_rwlock_destroy): Likewise.
64439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64440         (__pthread_rwlock_rdlock): Likewise.
64441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64442         (__pthread_rwlock_tryrdlock): Likewise.
64443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64444         (__pthread_rwlock_wrlock): Likewise.
64445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64446         (__pthread_rwlock_trywrlock): Likewise.
64447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64448         (__pthread_rwlock_unlock): Likewise.
64449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64450         (__pthread_key_create): Likewise.
64451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64452         (__pthread_setspecific): Likewise.
64453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64454         (__pthread_getspecific): Likewise.
64455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64456         Likewise.
64457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64458         (_pthread_cleanup_push_defer): Likewise.
64459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64460         (_pthread_cleanup_pop_restore): Likewise.
64461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64462         (pthread_setcancelstate): Likewise.
64463         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64464         <bp-sym.h>.
64465         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64466         (memchr): Do not use BP_SYM in weak_alias.
64467         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64468         (fegetenv): Do not use BP_SYM in versioned symbols.
64469         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64470         (fesetenv): Do not use BP_SYM in versioned symbols.
64471         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64472         (feupdateenv): Do not use BP_SYM in versioned symbols.
64473         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64474         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64475         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64476         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64477         (open64): Do not use BP_SYM in weak_alias.
64478         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64479         (fegetenv): Do not use BP_SYM in versioned symbols.
64480         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64481         (fesetenv): Do not use BP_SYM in versioned symbols.
64482         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64483         (feupdateenv): Do not use BP_SYM in versioned symbols.
64484         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64485         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64486         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64487         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64488         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64489         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64490         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64491         <bp-sym.h>.
64492         (__libc_start_main): Do not use BP_SYM.
64494 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64497         redundant return line.
64498         (norm): Likewise.
64499         (denorm): Likewise.
64500         (dbl_mp): Likewise.
64501         (sub_magnitudes): Likewise.
64502         (__add): Likewise.
64503         (__sub): Likewise.
64504         (__mul): Likewise.
64505         (__inv): Likewise.
64506         (__dvd): Likewise.
64507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64508         (norm): Likewise.
64509         (denorm): Likewise.
64510         (dbl_mp): Likewise.
64511         (sub_magnitudes): Likewise.
64512         (__add): Likewise.
64513         (__sub): Likewise.
64514         (__mul): Likewise.
64515         (__inv): Likewise.
64516         (__dvd): Likewise.
64518         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64519         instead of __mul.
64520         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64521         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64522         (cc32): Likewise.
64524         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64525         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64527         of __mul for squares.
64528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64529         function
64530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64531         Likewise.
64532         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64533         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64535 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64537         [BZ #13550]
64538         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64539         code.
64540         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64541         prototype or function definition.  Rename ubp_* variables and
64542         parameters.  Remove argv definitions conditional on
64543         [__BOUNDED_POINTERS__].
64544         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64545         * elf/dl-runtime.c (_dl_fixup): Likewise.
64546         * include/set-hooks.h (RUN_HOOK): Likewise.
64547         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64548         definition.
64549         * string/strcpy.c (strcpy): Do not use __unbounded.
64550         * sysdeps/generic/frame.h (struct layout): Likewise.
64551         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64552         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64553         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64554         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64555         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64556         (__backtrace): Likewise.
64557         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64558         use __ptrvalue.
64559         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64560         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64561         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64562         Likewise.
64563         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64564         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64566         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64567         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64568         Do not use __unbounded.
64569         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64570         Rename __unboundedrlimits parameter to rlimits in prototype.
64571         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64572         Do not use __unbounded.
64573         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64574         not use __ptrvalue.
64575         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64576         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64577         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64578         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64579         __ptrvalue or __unbounded.
64580         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64581         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64582         use __unbounded.
64583         (__new_msgctl): Do not use __ptrvalue.
64584         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64585         __unbounded.
64586         (__libc_msgrcv): Do not use __ptrvalue.
64587         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64588         startup_info): Do not use __unbounded.
64589         (__libc_start_main): Likewise.  Rename ubp_* variables and
64590         parameters.  Remove argv definitions conditional on
64591         [__BOUNDED_POINTERS__].
64592         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64593         __ptrvalue.
64594         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64595         use __unbounded.
64596         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64597         or __ptrvalue.
64598         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64599         use __unbounded.
64600         (__new_shmctl): Do not use __ptrvalue.
64601         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64602         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64603         Likewise.
64604         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64605         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64606         (__libc_sigaction): Likewise.
64607         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64608         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64609         Likewise.
64610         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64612 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64614         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64616         * string/mempcpy.c: Implement by calling memcpy.
64618 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64623         evaluation.
64625         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64626         values in the mantissa.
64628         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64629         minimize writes to Z.
64630         (sub_magnitudes): Simplify code a bit.
64632 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64634         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64635         from the message.  The linker prefixes all warnings with that already.
64637 2013-02-12  Andreas Schwab  <schwab@suse.de>
64639         [BZ #15078]
64640         * posix/regexec.c (extend_buffers): Add parameter min_len.
64641         (check_matching): Pass minimum needed length.
64642         (clean_state_log_if_needed): Likewise.
64643         (get_subexp): Likewise.
64644         * posix/Makefile (tests): Add bug-regex34.
64645         (bug-regex34-ENV): Define.
64646         * posix/bug-regex34.c: New file.
64648         [BZ #11561]
64649         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64650         elements compare against the byte sequence of it, not its name.
64651         * posix/Makefile (tests): Add bug-regex35.
64652         (bug-regex35-ENV): Define.
64653         * posix/bug-regex35.c: New file.
64655 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64657         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64658         comment.
64659         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64660         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64661         (CHECK_EOL): Add undef.
64663 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64665         * bits/stdlib-bsearch.h: New file.
64666         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64667         * stdlib/stdlib.h: Likewise.
64669 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64671         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64672         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64673         declaration.
64674         * manual/search.texi (Array Search Function): Add missing const in
64675         lfind prototype.
64676         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64677         declaration to use rlim_t.
64678         (Basic Scheduling Functions): Remove erroneous const from
64679         sched_getparam prototype.  Remove erroneous * from
64680         sched_get_priority_max and sched_get_priority_min prototypes.
64681         (Resource Usage): Fix summary @comment on vtimes to refer to
64682         sys/vtimes.h rather than vtimes.h.
64683         Add missing *s in vtimes prototype.
64684         (Limits on Resources): Fix ulimit prototype to return long int.
64685         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64686         prototypes to use long int rather than double.
64687         (BSD Random): Fix initstate and setstate to use char *, not void *.
64688         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64689         prototype to make second argument 'struct aiocb64 *const[]'.
64690         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64691         (Status of AIO Operations): Remove erroneous const in aio_return and
64692         aio_return64 prototypes.
64693         (Synchronizing I/O): Fix sync prototype to return void.
64694         * manual/startup.texi (Suboptions): Remove an erroneous const in
64695         getsubopt prototype.
64696         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64697         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64698         use size_t rather than int.
64699         (Scanning All Users): Likewise for getpwent_r.
64700         (Setting Groups): Add missing const to setgroups prototype.
64701         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64702         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64703         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64704         'const void *' rather than 'const char *'.
64705         (Host Address Functions): Likewise for inet_ntop.
64706         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64707         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64708         ssize_t for return value.
64709         (Sending Data): Likewise for send, sendto, sendmsg.
64710         (Socket Option Functions): Add a missing const in setsockopt prototype.
64711         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64712         use wchar_t for the argument.
64713         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64714         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64715         take no arguments.
64716         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64717         double/float/long double for second argument.
64718         Fix return types of significand, significandf, significandl.
64719         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64720         argument in fchmod prototype.
64721         (File Owner): Use uid_t and gid_t in fchown prototype.
64722         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64723         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64724         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64725         use 'const struct dirent **' as argument types to CMP function pointer
64726         argument.
64727         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64728         (File Times): Fix summary magic @comment for struct utimbuf and utime
64729         to refer to utime.h, not time.h.
64730         * manual/string.texi (Argz Functions): Add missing const in
64731         argz_extract and argz_next prototypes.
64732         (Finding Tokens in a String): Likewise for basename.
64733         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64734         (Copying and Concatenation): Fix typo in wmemmove prototype.
64735         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64736         (Signal Stack): Remove erroneous const in sigstack prototype.
64737         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64738         prototype.
64739         (Simple Calendar Time): Likewise for stime.
64740         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64741         prototype.
64742         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64743         say sys/sysctl.h instead.
64744         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64745         and vsyslog prototypes.
64747 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64749         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64750         Remove.
64752 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64754         * misc/sys/mman.h: Fix typo in mremap comment.
64756 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64758         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64759         the '\0' terminator.
64761 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64763         [BZ #13550]
64764         * debug/segfault.c: Don't include <bp-checks.h>.
64765         * sysdeps/generic/bp-checks.h: Remove file.
64766         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64767         (__GETDENTS): Don't use CHECK_N.
64768         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64769         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64770         (__getgroups): Don't use CHECK_N.
64771         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64772         (setgroups): Don't use CHECK_N.
64773         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64774         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64775         (__libc_msgrcv): Don't use CHECK_N.
64776         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64777         (__libc_msgsnd): Don't use CHECK_N.
64778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64779         <bp-checks.h>.
64780         (__libc_pread): Don't use CHECK_N.
64781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64782         include <bp-checks.h>.
64783         (__libc_pread64): Don't use CHECK_N.
64784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64785         include <bp-checks.h>.
64786         (__libc_pwrite): Don't use CHECK_N.
64787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64788         include <bp-checks.h>.
64789         (__libc_pwrite64): Don't use CHECK_N.
64790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64791         <bp-checks.h>.
64792         (__libc_pread): Don't use CHECK_N.
64793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64794         include <bp-checks.h>.
64795         (__libc_pread64): Don't use CHECK_N.
64796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64797         include <bp-checks.h>.
64798         (__libc_pwrite): Don't use CHECK_N.
64799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64800         include <bp-checks.h>.
64801         (__libc_pwrite64): Don't use CHECK_N.
64802         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64803         (do_pread): Don't use CHECK_N.
64804         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64805         (do_pread64): Don't use CHECK_N.
64806         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64807         (do_pwrite): Don't use CHECK_N.
64808         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64809         (do_pwrite64): Don't use CHECK_N.
64810         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64811         (__libc_readv): Don't use CHECK_N.
64812         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64813         (semop): Don't use CHECK_N.
64814         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64815         <bp-checks.h>.
64816         (semtimedop): Don't use CHECK_N.
64817         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64818         (__libc_pread): Don't use CHECK_N.
64819         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64820         <bp-checks.h>.
64821         (__libc_pread64): Don't use CHECK_N.
64822         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64823         <bp-checks.h>.
64824         (__libc_pwrite): Don't use CHECK_N.
64825         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64826         <bp-checks.h>.
64827         (__libc_pwrite64): Don't use CHECK_N.
64828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64829         <bp-checks.h>.
64830         (__libc_msgrcv): Don't use CHECK_N.
64831         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64832         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64833         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64834         (__libc_writev): Don't use CHECK_N.
64836 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64838         * string/strcpy.c: Removed unused variable.
64840         * Makeconfig (+sysdep-includes): Define with := rather than =.
64841         Use an existing include/ subdir of each sysdeps dir before it.
64843 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64845         * nscd/connection.c (register_traced_file): Comment function.
64846         [HAVE_INOTIFY] (union __inev): Define.
64847         [HAVE_INOTIFY] (inotify_check_files): New function.
64848         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64849         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64850         clear_db_cache.
64851         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64853 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64855         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64856         loaded if not already and that a failure is permanent.
64858 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64860         [BZ #15006]
64861         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64862         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64864 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64866         [BZ #13550]
64867         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64868         (CHECK_1_NULL_OK): Likewise.
64869         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64870         (__fxstat): Do not use CHECK_1.
64871         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64872         <bp-checks.h>.
64873         (___fxstat64): Do not use CHECK_1.
64874         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64875         <bp-checks.h>.
64876         (__fxstatat): Do not use CHECK_1.
64877         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64878         <bp-checks.h>.
64879         (__fxstatat64): Do not use CHECK_1.
64880         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64881         <bp-checks.h>.
64882         (__fxstat): Do not use CHECK_1.
64883         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64884         <bp-checks.h>.
64885         (__fxstatat): Do not use CHECK_1.
64886         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64887         <bp-checks.h>.
64888         (__getresgid): Do not use CHECK_1.
64889         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64890         <bp-checks.h>.
64891         (__getresuid): Do not use CHECK_1.
64892         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64893         <bp-checks.h>.
64894         (__lxstat): Do not use CHECK_1.
64895         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64896         <bp-checks.h>.
64897         (__old_msgctl): Do not use CHECK_1.
64898         (__new_msgctl): Likewise.
64899         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64900         <bp-checks.h>.
64901         (__new_setrlimit): Do not use CHECK_1.
64902         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64903         <bp-checks.h>.
64904         (__old_shmctl): Do not use CHECK_1.
64905         (__new_shmctl): Likewise.
64906         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64907         <bp-checks.h>.
64908         (__xstat): Do not use CHECK_1.
64909         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64910         (__lxstat): Do not use CHECK_1.
64911         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64912         <bp-checks.h>.
64913         (___lxstat64): Do not use CHECK_1.
64914         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64915         (__old_msgctl): Do not use CHECK_1.
64916         (__new_msgctl): Likewise.
64917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64918         <bp-checks.h>.
64919         (__gettimeofday): Do not use CHECK_1.
64920         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64921         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64922         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64923         <bp-checks.h>.
64924         (__gettimeofday): Do not use CHECK_1.
64925         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64926         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64927         (__new_shmctl): Do not use CHECK_1.
64928         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64929         <bp-checks.h>.
64930         (do_sigtimedwait): Do not use CHECK_1.
64931         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64932         <bp-checks.h>.
64933         (do_sigwaitinfo): Do not use CHECK_1.
64934         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64935         <bp-checks.h>.
64936         (msgctl): Do not use CHECK_1.
64937         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64938         <bp-checks.h>.
64939         (shmctl): Do not use CHECK_1.
64940         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64941         (ustat): Do not use CHECK_1.
64942         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64943         <bp-checks.h>.
64944         (__fxstat): Do not use CHECK_1.
64945         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64946         <bp-checks.h>.
64947         (__fxstatat): Do not use CHECK_1.
64948         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64949         <bp-checks.h>.
64950         (__lxstat): Do not use CHECK_1.
64951         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64952         <bp-checks.h>.
64953         (__xstat): Do not use CHECK_1.
64954         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64955         (__xstat): Do not use CHECK_1.
64956         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64957         (___xstat64): Do not use CHECK_1.
64959         [BZ #13550]
64960         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64961         definitions.
64962         (CHECK_BOUNDS_HIGH): Likewise.
64963         * string/strcpy.c: Do not include <bp-checks.h>.
64964         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64966 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64968         * nscd/nscd-client.h (__nscd_drop_map_ref):
64969         Add __attribute__ ((unused)).
64970         * nis/nss-nisplus.h (niserr2nss): Likewise.
64972         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64973         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64975         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64976         Remove inline keyword.
64977         * include/rounding-mode.h (round_away): Likewise.
64978         * libio/wfileops.c (adjust_wide_data): Likewise.
64979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64980         (__m128i_strloadu_tolower): Likewise.
64981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64982         (__m128i_strloadu_tolower): Likewise.
64983         * time/mktime.c (ydhms_diff): Likewise.
64984         * locale/elem-hash.h (elem_hash): Likewise.
64985         * locale/setlocale.c (setdata): Likewise.
64986         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64987         (re_string_wchar_at): Likewise.
64988         (bitset_not, bitset_merge, bitset_mask): Likewise.
64989         [!(__GNUC__ > 3)] (inline): Remove macro.
64990         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64991         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64992         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64993         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64994         * string/memcmp.c (memcmp_bytes): Likewise.
64995         * locale/programs/locarchive.c (compute_hashval): Likewise.
64996         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64997         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64998         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64999         * nss/getent.c (print_rpc, print_protocols): Likewise.
65000         (print_passwd, print_group, print_aliases): Likewise.
65001         * nis/nss-nisplus.h (niserr2nss): Likewise.
65002         * nscd/connections.c (restart_p): Likewise.
65003         Change return type to bool.
65005 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65007         * Makeconfig (all-Depend-files): Add existing
65008         $(sorted-subdirs:=/Depend) files.
65009         (all-subdirs): Remove nss.
65010         * sysdeps/unix/inet/Subdirs: Add it here instead.
65011         * hesiod/Depend: New file.
65013         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65014         instead of calling alloca.
65016         * io/lseek.c (__lseek): Rename to __libc_lseek.
65017         Define __lseek as an alias.
65019         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65021 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65023         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65024         else clause and remove check for non-standard endianness.
65026 2013-02-04  David S. Miller  <davem@davemloft.net>
65028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65030 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65032         [BZ #13550]
65033         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65034         (__ubp_memchr): Remove prototype.
65035         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65036         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65037         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65038         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65039         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65040         Remove alias.
65041         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65042         (__ubp_memchr): Likewise.
65043         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65044         (__ubp_memchr): Likewise.
65045         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65046         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65047         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65048         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65049         CHECK_STRING.
65050         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65051         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65052         (__getcwd): Do not use CHECK_STRING.
65053         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65054         <bp-checks.h>.
65055         (__real_chown): Do not use CHECK_STRING.
65056         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65057         <bp-checks.h>.
65058         (fchownat): Do not use CHECK_STRING.
65059         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65060         CHECK_STRING.
65061         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65062         <bp-checks.h>.
65063         (__lchown): Do not use CHECK_STRING.
65064         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65065         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65066         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65067         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65069         include <bp-checks.h>.
65070         (truncate64): Do not use CHECK_STRING.
65071         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65072         <bp-checks.h>.
65073         (__real_chown): Do not use CHECK_STRING.
65074         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65075         <bp-checks.h>.
65076         (__lchown): Do not use CHECK_STRING.
65077         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65078         <bp-checks.h>.
65079         (__chown): Do not use CHECK_STRING.
65080         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65081         <bp-checks.h>.
65082         (truncate64): Do not use CHECK_STRING.
65083         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65084         Likewise.
65085         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65086         (__xmknod): Do not use CHECK_STRING.
65087         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65088         <bp-checks.h>.
65089         (__xmknodat): Do not use CHECK_STRING.
65090         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65091         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65093 2013-02-04  Andreas Schwab  <schwab@suse.de>
65095         [BZ #14142]
65096         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65097         * include/netdb.h: Likewise for h_errno.
65098         * elf/tst-stackguard1.c: Include <tls.h>.
65100 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65102         * elf/link.h (struct link_map): Extend the l_addr comment.
65103         * include/link.h (struct link_map): Likewise.
65105 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65107         [BZ #13550]
65108         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65109         (BOUNDED_1): Remove macro.
65110         * debug/backtrace.c: Don't include <bp-checks.h>.
65111         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65112         (__backtrace): Likewise.
65113         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65114         <bp-checks.h>.
65115         (__backtrace): Don't use BOUNDED_1.
65116         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65117         <bp-checks.h>.
65118         (__backtrace): Don't use BOUNDED_1.
65119         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65120         (__backtrace): Don't use BOUNDED_1.
65121         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65122         (shmat): Don't use BOUNDED_N.
65124 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65126         [BZ #13550]
65127         * sysdeps/generic/bp-start.h: Remove file.
65128         * csu/libc-start.c: Don't include <bp-start.h>.
65129         (LIBC_START_MAIN): Set up __environ directly instead of using
65130         INIT_ARGV_and_ENVIRON.
65131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65132         <bp-start.h>.
65134         [BZ #13550]
65135         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65136         definitions.
65137         (CHECK_FCNTL): Likewise.
65138         (CHECK_N_PAGES): Likewise.
65140         [BZ #13550]
65141         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65142         definitions.
65143         (CHECK_SIGSET_NULL_OK): Likewise.
65144         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65145         <bp-checks.h>.
65146         (sigpending): Don't use CHECK_SIGSET.
65147         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65148         <bp-checks.h>.
65149         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65150         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65151         <bp-checks.h>.
65152         (do_sigsuspend): Don't use CHECK_SIGSET.
65153         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65154         use CHECK_SIGSET.
65155         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65156         (do_sigwait): Don't use CHECK_SIGSET.
65157         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65158         use CHECK_SIGSET.
65159         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65160         include <bp-checks.h>.
65161         (sigpending): Don't use CHECK_SIGSET.
65162         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65163         include <bp-checks.h>.
65164         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65165         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65166         <bp-checks.h>.
65167         (sigpending): Don't use CHECK_SIGSET.
65168         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65169         <bp-checks.h>.
65170         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65172         [BZ #13550]
65173         * sysdeps/generic/bp-semctl.h: Remove file.
65174         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65175         <bp-checks.h> and <bp-semctl.h>.
65176         (__old_semctl): Don't use CHECK_SEMCTL.
65177         (__new_semctl): Likewise.
65178         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65179         and <bp-semctl.h>.
65180         (__old_semctl): Don't use CHECK_SEMCTL.
65181         (__new_semctl): Likewise.
65182         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65183         <bp-checks.h> and <bp-semctl.h>.
65184         (__old_semctl): Don't use CHECK_SEMCTL.
65185         (__new_semctl): Likewise.
65186         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65187         <bp-checks.h> and <bp-semctl.h>.
65188         (semctl): Don't use CHECK_SEMCTL.
65190         [BZ #13550]
65191         * Makerules (elide-bp-thunks): Remove variable.
65192         (elide-routines.oS): Don't use $(elide-bp-thunks).
65193         (elide-routines.os): Likewise.
65194         (elide-routines.o): Likewise.
65195         (elide-routines.op): Likewise.
65196         (elide-routines.og): Likewise.
65197         (objects): Don't use $(bp-thunks).
65198         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65199         include.
65200         (common-generated): Do not add s-proto-bp.d.
65201         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65202         (int): Likewise.
65203         (typ): Likewise.
65204         Do not generate makefile rules for bounded-pointer thunks.
65205         * sysdeps/generic/bp-thunks.h: Remove file.
65206         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65207         * sysdeps/unix/s-proto-bp.S: Likewise.
65209         [BZ #15062]
65210         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65211         parts of result separately when argument is not close to line from
65212         -i to i and one part of argument is small.
65213         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65214         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65215         * math/libm-test.inc (cacos_test): Add more tests.
65216         (casin_test): Likewise.
65217         (casinh_test): Likewise.
65218         * sysdeps/i386/fpu/libm-test-ulps: Update.
65219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65221 2013-01-31  David S. Miller  <davem@davemloft.net>
65223         * po/de.po: Update from translation team.
65225 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65227         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65229 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65231         * configure.in (_AC_PROG_CC_C89): New definition.
65232         * configure: Regenerate.
65234         * configure.in (AC_PROG_CPP): New definition.
65235         * configure: Regenerate.
65237 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65239         * debug/tst-backtrace.h: New file.
65240         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65241         (ret): Remove variable.
65242         (x): Likewise.
65243         (FAIL): Remove macro.
65244         (NO_INLINE): Likewise.
65245         (fn1): Use match function instead of strstr.
65246         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65247         (ret): Remove variable.
65248         (x): Likewise.
65249         (FAIL): Remove macro.
65250         (NO_INLINE): Likewise.
65251         (fn): Use match function instead of strstr.
65252         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65253         (ret): Remove variable.
65254         (x): Likewise.
65255         (FAIL): Remove macro.
65256         (NO_INLINE): Likewise.
65257         (handle_signal): Use match function instead of strstr.
65258         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65259         (ret): Remove variable.
65260         (x): Likewise.
65261         (FAIL): Remove macro.
65262         (NO_INLINE): Likewise.
65263         (handle_signal): Use match function instead of strstr.
65265 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65267         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65269 2013-01-23  David S. Miller  <davem@davemloft.net>
65271         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65272         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65273         argument of CAS if possible.
65274         * sysdeps/sparc/sparc64/bits/atomic.h
65275         (__arch_compare_and_exchange_val_32_acq): Likewise.
65276         (__arch_compare_and_exchange_val_64_acq): Likewise.
65278 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65280         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65281         * sysdeps/posix/ulimit.c: ... this.
65282         Include <limits.h>.
65283         * sysdeps/unix/bsd/ulimit.c: Remove file.
65285 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65287         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65288         (LDFLAGS-tst-array5): Likewise.
65290 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65292         [BZ #15036]
65293         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65294         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65295         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65296         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65298 2013-01-21  David S. Miller  <davem@davemloft.net>
65300         * sysdeps/sparc/backtrace.c: New file.
65301         * sysdeps/sparc/sparc32/backtrace.h: New file.
65302         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65303         * sysdeps/sparc/sparc64/backtrace.h: New file.
65304         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65305         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65306         -funwind-tables.
65308 2013-01-21  Andreas Schwab  <schwab@suse.de>
65310         [BZ #15020]
65311         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65312         closed its stdout.
65314 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65317         "mpa2.h".
65318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65320 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65321             Mark Mitchell  <mark@codesourcery.com>
65322             Tom de Vries  <tom@codesourcery.com>
65323             Paul Pluzhnikov  <ppluzhnikov@google.com>
65325         * debug/tst-backtrace2.c: New file.
65326         * debug/tst-backtrace3.c: Likewise.
65327         * debug/tst-backtrace4.c: Likewise.
65328         * debug/tst-backtrace5.c: Likewise.
65329         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65330         (CFLAGS-tst-backtrace3.c): Likewise.
65331         (CFLAGS-tst-backtrace4.c): Likewise.
65332         (CFLAGS-tst-backtrace5.c): Likewise.
65333         (LDFLAGS-tst-backtrace2): Likewise.
65334         (LDFLAGS-tst-backtrace3): Likewise.
65335         (LDFLAGS-tst-backtrace4): Likewise.
65336         (LDFLAGS-tst-backtrace5): Likewise.
65337         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65338         tst-backtrace4 and tst-backtrace5.
65340 2013-01-18  Anton Blanchard  <anton@samba.org>
65341             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65343         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65344         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65345         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65346         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65348         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65349         "+r" and remove output regs list as redundant.  Add explicit inline
65350         asm to specify register of return val to work around compiler codegen
65351         bug.  Remove (int) cast on return value.  Add return type parameter to
65352         use in macro so that this macro does not truncate return value for
65353         64-bit values.
65354         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65355         pass to INTERNAL_VSYSCALL_NCS.
65356         (INLINE_VSYSCALL): Add 'long int' as return type to
65357         INTERNAL_VSYSCALL_NCS macro invocation.
65358         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65359         INTERNAL_VSYSCALL_NCS macro invocation.
65360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65362 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65364         [BZ #14496]
65365         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65366         Fix application of SIMD FP exception mask.
65368         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65369         mp_no from a power of two.
65370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65371         __mpexp_twomm1.  Use __pow_mp.
65373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65374         multiplication.
65376 2013-01-17  David S. Miller  <davem@davemloft.net>
65378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65380 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65382         [BZ #15023]
65383         * include/complex.h: Condition contents on [!_COMPLEX_H].
65384         (__kernel_casinhf): New prototype.
65385         (__kernel_casinh): Likewise.
65386         (__kernel_casinhl): Likewise.
65387         * math/Makefile (libm_calls): Add k_casinh.
65388         * math/k_casinh.c: New file.
65389         * math/k_casinhf.c: Likewise.
65390         * math/k_casinhl.c: Likewise.
65391         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65392         finite nonzero arguments.
65393         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65394         finite nonzero arguments.
65395         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65396         finite nonzero arguments.
65397         * math/s_casinh.c: Do not include <float.h>.
65398         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65399         * math/s_casinhf.c: Do not include <float.h>.
65400         (__casinhf): Move code for finite nonzero arguments to
65401         k_casinhf.c.
65402         * math/s_casinhl.c: Do not include <float.h>.
65403         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65404         redefine.
65405         (__casinhl): Move code for finite nonzero arguments to
65406         k_casinhl.c.
65407         * math/libm-test.inc (cacos_test): Add more tests.
65408         * sysdeps/i386/fpu/libm-test-ulps: Update.
65409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65411 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65413         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65414         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65415         [!HAVE_MREMAP]: Remove [defined linux] case.
65416         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65418 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65420         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65422 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65424         * elf/elf.h (R_386_SIZE32): New relocation.
65425         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65426         R_386_SIZE32.
65427         (elf_machine_rela): Likewise.
65428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65429         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65431 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65433         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65434         (FP_FAST_FMA): Do not define.
65435         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65436         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65437         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65438         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65439         !_SOFT_FLOAT]: Likewise.
65440         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65441         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65442         value.
65443         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65444         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65445         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65446         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65447         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65448         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65449         file.
65451 2013-01-16  Andreas Schwab  <schwab@suse.de>
65453         [BZ #14327]
65454         * include/stdlib.h (__mktemp): Add declaration.
65455         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65456         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65458 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65460         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65461         definitions.
65462         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65463         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65464         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65465         definitions here.
65466         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65467         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65468         definitions.
65469         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65470         and ONE.
65471         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65472         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65473         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65474         definitions.
65475         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65476         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65477         definitions.
65478         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65480         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65482 2013-01-15  David S. Miller  <davem@davemloft.net>
65484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65485         trunc{,f} to libm-sysdep_routes.
65486         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65488         file.
65489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65491         file.
65492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65493         file.
65494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65496         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65497         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65498         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65499         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65500         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65501         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65504         nearbyint{,f} to libm-sysdep_routes.
65505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65507         New file.
65508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65509         file.
65510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65511         New file.
65512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65513         file.
65514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65516         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65517         file.
65518         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65519         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65520         file.
65521         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65522         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65523         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65525         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65526         libc_feholdexcept and libc_fesetenv.
65528 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65530         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65532 2013-01-14  David S. Miller  <davem@davemloft.net>
65534         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65535         (SPARC_ASM_VIS2_IFUNC): Likewise.
65536         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65538         use of 'siam' instruction.
65539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65540         Likewise.
65541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65542         Likewise.
65543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65544         Likewise.
65545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65550         file.
65551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65552         file.
65553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65554         file.
65555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65556         file.
65557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65562         new VIS2 routines.
65563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65566         Likewise.
65567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65572         routines to libm-sysdep_routines.
65573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65576         fdim/fdimf to libm-sysdep_routines.
65577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65578         file.
65579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65581         file.
65582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65585         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65586         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65587         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65588         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65590 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65592         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65593         to optimize copies.
65595         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65600         local variable MPTWO.
65601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65602         Likewise.
65604 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65606         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65607         GLOB_NOESCAPE.
65609 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65611         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65613 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65615         * manual/pattern.texi (glob_t): Document gl_flags.
65616         (glob64_t): Likewise.
65618 2013-01-11  David S. Miller  <davem@davemloft.net>
65620         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65621         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65622         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65623         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65624         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65625         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65626         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65627         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65628         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65629         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65630         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65631         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65632         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65635         sparc V9 rather than using V8 code.
65636         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65637         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65639         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65640         Move to...
65641         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65642         Here.
65644 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65646         [BZ #14941]
65647         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65648         not in the main loop.
65649         * configure: Regenerated.
65651 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65653         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65654         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65655         to just #else.
65656         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65657         [!__GLIBC_HAVE_LONG_LONG] case.
65658         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65659         condition to just #else.
65660         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65661         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65662         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65663         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65664         unconditional.
65665         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65666         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65667         #elif condition to just #else.
65668         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65669         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65670         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65671         #elif condition to just #else.
65673 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65675         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65676         (EF_MIPS_ARCH_64): Fix value.
65677         (EF_MIPS_ARCH_32R2): New.
65678         (EF_MIPS_ARCH_64R2): New.
65680 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65682         * Makeconfig (+link-pie-before-libc): New.
65683         (+link-pie-after-libc): Likewise.
65684         (+link-pie-tests): Likewise.
65685         (+link-pie): Rewritten.
65686         (link-before-libc): Remove $(config-LDFLAGS).
65687         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65688         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65689         (config-LDFLAGS): Renamed to ...
65690         (rtld-LDFLAGS): This.
65691         (rtld-tests-LDFLAGS): New macro.
65692         (link-libc-rpath-link): Likewise.
65693         (link-libc-tests-rpath-link): Likewise.
65694         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65695         (link-libc): Prepand $(link-libc-rpath-link).
65696         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65697         (test-program-prefix): New macro.
65698         (test-via-rtld-prefix): Likewise.
65699         (test-program-cmd): Likewise.
65700         (host-test-program-cmd): Likewise.
65701         * Makefile ($(common-objpfx)testrun.sh): Replace
65702         $(run-program-prefix) with $(test-program-prefix).
65703         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65704         $(rtld-LDFLAGS).
65705         ($(common-objpfx)shlib.lds): Likewise.
65706         (build-module-helper): Likewise.
65707         ($(common-objpfx)format.lds): Likewise.
65708         * Rules (binaries-pie-tests): New.
65709         (binaries-pie-notests): Likewise.
65710         (binaries-pie): Rewritten.
65711         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65712         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65713         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65714         (make-test-out): Replace $(host-built-program-cmd) with
65715         $(host-test-program-cmd).
65716         * config.make.in (build-hardcoded-path-in-tests): New variable.
65717         * configure.in (--enable-hardcoded-path-in-tests): New configure
65718         option.
65719         (hardcoded_path_in_tests): New AC_SUBST.
65720         * configure: Regenerated.
65721         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65722         $(built-program-cmd) with $(test-program-cmd).
65723         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65724         (test_program_cmd): This.
65725         * elf/Makefile ($(objpfx)order.out): Run test with
65726         $(test-program-prefix).
65727         ($(objpfx)order2.out): Likewise.
65728         ($(objpfx)tst-initorder.out): Likewise.
65729         ($(objpfx)tst-initorder2.out): Likewise.
65730         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65731         $(test-program-cmd).
65732         ($(objpfx)tst-array1-static.out): Likewise.
65733         ($(objpfx)tst-array2.out): Likewise.
65734         ($(objpfx)tst-array3.out): Likewise.
65735         ($(objpfx)tst-array4.out): Likewise.
65736         ($(objpfx)tst-array5.out): Likewise.
65737         ($(objpfx)tst-array5-static.out): Likewise.
65738         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65739         $(test-program-cmd).
65740         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65741         $(run-program-prefix) with $(test-program-prefix).
65742         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65743         (test_program_prefix): This.
65744         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65745         $(run-program-prefix) with $(test-program-prefix).
65746         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65747         (test_program_prefix): This.
65748         * iconvdata/tst-tables.sh: Likewise.
65749         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65750         $(run-program-prefix) with $(test-program-prefix).
65751         ($(objpfx)tst-translit.out): Likewise.
65752         ($(objpfx)tst-gettext2.out): Likewise.
65753         ($(objpfx)tst-gettext4.out): Likewise.
65754         ($(objpfx)tst-gettext6.out): Likewise.
65755         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65756         (test_program_prefix): This.
65757         * intl/tst-gettext2.sh: Likewise.
65758         * intl/tst-gettext4.sh  Likewise.
65759         * intl/tst-gettext6.sh: Likewise.
65760         * intl/tst-translit.sh: Likewise.
65761         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65762         with $(test-program-cmd).
65763         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65764         $(run-program-prefix) with $(test-program-prefix).
65765         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65766         (test_program_prefix): This.
65767         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65768         $(run-program-prefix) with $(test-program-prefix).
65769         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65770         (test_program_prefix): This.
65771         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65772         * posix/Makefile ($(objpfx)globtest.out): Replace
65773         $(run-via-rtld-prefix) and $(test-wrapper) with
65774         $(test-program-prefix) and $(test-via-rtld-prefix).
65775         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65776         $(test-program-prefix).
65777         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65778         $(host-test-program-cmd).
65779         (tst-spawn-ARGS): Likewise.
65780         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65781         $(test-program-prefix).
65782         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65783         (test_via_rtld_prefix): This.
65784         (test_wrapper): Renamed to ...
65785         (test_program_prefix): This.
65786         (run_program_prefix): Replaced by test_program_prefix.
65787         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65788         (test_program_prefix): This.
65789         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65790         with $(host-test-program-cmd).
65791         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65792         $(run-program-prefix) with $(test-program-prefix).
65793         ($(objpfx)tst-printf.out): Likewise.
65794         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65795         $(test-program-cmd).
65796         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65797         (test_program_prefix): This.
65798         * stdio-common/tst-unbputc.sh: Likewise.
65799         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65800         $(run-program-prefix) with $(test-program-prefix).
65801         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65802         (test_program_prefix): This.
65803         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65804         $(built-program-cmd) with $(test-program-cmd).
65806 2013-01-11  Andreas Jaeger  <aj@suse.de>
65808         [BZ #15003]
65809         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65810         value. Sync with Linux 3.7.
65812 2013-01-10  David S. Miller  <davem@davemloft.net>
65814         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65815         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65816         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65818 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65820         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65821         never set.
65822         * configure: Regenerated.
65824 2013-01-10  David S. Miller  <davem@davemloft.net>
65826         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65827         sparc V9 rather than using V8 code.
65828         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65829         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65831 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65833         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65834         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65835         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65836         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65837         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65838         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65839         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65840         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65841         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65842         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65843         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65844         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65845         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65846         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65847         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65848         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65849         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65850         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65851         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65852         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65853         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65854         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65855         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65856         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65857         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65858         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65859         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65861 2013-01-10  David S. Miller  <davem@davemloft.net>
65863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65865 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65867         * posix/Makefile (tests-static): New variable.
65868         (tests): Add $(tests-static).
65869         (tst-exec-static-ARGS): New variable.
65870         (tst-spawn-static-ARGS): Likewise.
65871         * posix/tst-exec-static.c: New file.
65872         * posix/tst-spawn-static.c: Likewise.
65873         * posix/tst-exec.c: Support run directly.
65874         * posix/tst-spawn.c: Likewise.
65876 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65878         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65879         long.
65880         * math/bits/mathcalls.h (llrint): Likewise.
65881         (llround): Likewise.
65882         * stdlib/stdlib.h (struct drand48_data): Likewise.
65883         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65884         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65885         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65886         Likewise.
65887         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65888         Likewise.
65889         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65890         (elf_greg_t): Likewise.
65891         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65892         (__jmp_buf): Likewise.
65893         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65894         definitions.
65895         (llrint): Likewise, for all definitions.
65896         (llrintl): Likewise.
65898         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65899         Remove [__GNUC__] condition.
65900         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65901         condition to just [__USE_ISOC99].
65902         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65904 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65906         [BZ #14200]
65907         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65908         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65909         defined.
65910         (_POSIX_V6_ILP32_OFF32): Likewise.
65911         (_XBS5_ILP32_OFF32): Likewise.
65912         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65913         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65915 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65917         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65920         doubles __mpexp_twomm1.  Adjust usage.
65921         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65922         Remove.
65924 2013-01-10  Andreas Schwab  <schwab@suse.de>
65926         [BZ #14964]
65927         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65928         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65930 2013-01-09  David S. Miller  <davem@davemloft.net>
65932         [BZ #15003]
65933         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65934         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65935         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65936         (TCP_FASTOPEN): Define.
65937         (tcp_repair_opt): New structure.
65938         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65939         enum values.
65940         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65941         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65942         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65943         (tcp_cookie_transactions): New structure.
65945 2013-01-09  Anton Blanchard  <anton@samba.org>
65947         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65948         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65950         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65952 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65954         * include/features.h (__USE_ANSI): Remove.
65956 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65958         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65960         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65962 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65964         * sysdeps/s390/fpu/libm-test-ulps: Update.
65966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65968         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65969         (__acr): Likewise.
65970         (__cpy): Likewise.
65971         (norm): Likewise.
65972         (denorm): Likewise.
65973         (__mp_dbl): Likewise.
65974         (__dbl_mp): Likewise.
65975         (add_magnitudes): Likewise.
65976         (sub_magnitudes): Likewise.
65977         (__add): Likewise.
65978         (__sub): Likewise.
65979         (__mul): Likewise.
65980         (__inv): Likewise.
65981         (__dvd): Likewise.
65982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65983         (__acr): Likewise.
65984         (__cpy): Likewise.
65985         (norm): Likewise.
65986         (denorm): Likewise.
65987         (__mp_dbl): Likewise.
65988         (__dbl_mp): Likewise.
65989         (add_magnitudes): Likewise.
65990         (sub_magnitudes): Likewise.
65991         (__add): Likewise.
65992         (__sub): Likewise.
65993         (__mul): Likewise.
65994         (__inv): Likewise.
65995         (__dvd): Likewise.
65996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65997         (__acr): Likewise.
65998         (__cpy): Likewise.
65999         (norm): Likewise.
66000         (denorm): Likewise.
66001         (__mp_dbl): Likewise.
66002         (__dbl_mp): Likewise.
66003         (add_magnitudes): Likewise.
66004         (sub_magnitudes): Likewise.
66005         (__add): Likewise.
66006         (__sub): Likewise.
66007         (__mul): Likewise.
66008         (__inv): Likewise.
66009         (__dvd): Likewise.
66011 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66013         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66014         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66015         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66016         2 && __USE_EXTERN_INLINES]: Likewise.
66018 2013-01-08  Andreas Jaeger  <aj@suse.de>
66020         [BZ #14985]
66021         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66022         Remove.
66023         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66024         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66026 2013-01-07  Anton Blanchard  <anton@samba.org>
66028         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66029         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66030         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66031         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66032         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66033         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66034         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66035         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66037         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66038         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66039         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66041         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66042         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66043         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66044         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66046         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66047         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66049         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66050         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66051         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66052         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66053         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66054         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66055         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66057         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66058         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66060         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66061         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66062         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66063         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66064         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66065         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66066         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66067         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66068         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66069         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66070         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66072 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66074         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66075         (__MALLOC_PMT): Likewise.
66076         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66077         [__GNUC__], only on [_LIBC].
66078         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66079         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66080         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66081         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66082         forward declaration.
66083         (realloc_hook_ini): Likewise.
66084         (memalign_hook_ini): Likewise.
66085         (__libc_memalign): Do not use __MALLOC_PMT in variable
66086         declaration.
66087         (__libc_valloc): Likewise.
66088         (__libc_pvalloc): Likewise.
66089         (__libc_calloc): Likewise.
66090         (__posix_memalign): Likewise.
66092         [BZ #14996]
66093         * math/s_casinh.c: Include <float.h>.
66094         (__casinh): Do not do computation with squaring and square root
66095         for large arguments.
66096         * math/s_casinhf.c: Include <float.h>.
66097         (__casinhf): Do not do computation with squaring and square root
66098         for large arguments.
66099         * math/s_casinhl.c: Include <float.h>.
66100         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66101         (__casinhl): Do not do computation with squaring and square root
66102         for large arguments.
66103         * math/libm-test.inc (casin_test): Add more tests.
66104         (casinh_test): Likewise.
66105         * sysdeps/i386/fpu/libm-test-ulps: Update.
66106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66108 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66110         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66111         (__x86_64_raw_data_cache_size): Likewise.
66112         (__x86_64_data_cache_size_half): Likewise.
66113         (__x86_64_raw_data_cache_size_half): Likewise.
66114         (__x86_64_shared_cache_size): Likewise.
66115         (__x86_64_raw_shared_cache_size): Likewise.
66116         (__x86_64_shared_cache_size_half): Likewise.
66117         (__x86_64_raw_shared_cache_size_half): Likewise.
66118         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66119         to ...
66120         (__x86_data_cache_size): This.
66121         (__x86_64_raw_data_cache_size): Renamed to ...
66122         (__x86_raw_data_cache_size): This.
66123         (__x86_64_data_cache_size_half): Renamed to ...
66124         (__x86_data_cache_size_half): This.
66125         (__x86_64_raw_data_cache_size_half): Renamed to ...
66126         (__x86_raw_data_cache_size_half): This.
66127         (__x86_64_shared_cache_size): Renamed to ...
66128         (__x86_shared_cache_size): This.
66129         (__x86_64_raw_shared_cache_size): Renamed to ...
66130         (__x86_raw_shared_cache_size): This.
66131         (__x86_64_shared_cache_size_half): Renamed to ...
66132         (__x86_shared_cache_size_half): This.
66133         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66134         (__x86_raw_shared_cache_size_half): This.
66135         * sysdeps/x86_64/memcpy.S: Updated.
66136         * sysdeps/x86_64/memset.S: Likewise.
66137         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66139         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66141 2013-01-04  David S. Miller  <davem@davemloft.net>
66143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66145 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66147         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66148         1 to avoid redefinition warning.
66149         (__USE_GNU): Don't define.
66150         (init_signaling_nan): Protoize.
66152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66154 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66156         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66158         (__cpymn): Likewise.
66159         (norm): Remove commented code.
66160         (denorm): Likewise.
66161         (__mp_dbl): Likewise.
66162         (__inv): Likewise.
66163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66164         (__cpymn): Likewise.
66165         (norm): Remove commented code.
66166         (denorm): Likewise.
66167         (__mp_dbl): Likewise.
66168         (__inv): Likewise.
66170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66171         mp_no value for 1.0 and 2.0.
66172         (norm): Use RADIXI instead of radixi.d.
66173         (denorm): Likewise.
66174         (__mul): Use 0.0 instead of zero.d.
66175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66176         mp_no value for 1.0 and 2.0.
66177         (norm): Use RADIXI instead of radixi.d.
66178         (denorm): Likewise.
66179         (__mul): Use 0.0 instead of zero.d.
66181 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66183         [BZ #14994]
66184         * math/s_casinh.c (__casinh): Reduce finite argument to first
66185         quadrant then set signs of results at the end.
66186         * math/s_casinhf.c (__casinhf): Likewise.
66187         * math/s_casinhl.c (__casinhl): Likewise.
66188         * math/libm-test.inc (casin_test): Add more tests.
66189         (casinh_test): Likewise.
66190         * sysdeps/i386/fpu/libm-test-ulps: Update.
66191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66193 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66195         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66197         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66199         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66200         declarations.
66201         (denorm): Likewise.
66202         (__mp_dbl): Likewise.
66203         (__inv): Likewise.
66205         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66206         and adjust the header comment.
66208         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66209         variable name from declaration.
66211 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66214         Initialize COMMON_CPUID_INDEX_7 element.
66215         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66216         (CPUID_RTM): Likewise.
66217         (HAS_RTM): Likewise.
66218         (COMMON_CPUID_INDEX_7): New enum.
66220 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66222         [BZ #14981]
66223         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66224         size is zero, record memory as freed.
66226 2013-01-03  Andreas Jaeger  <aj@suse.de>
66228         * po/ia.po: Add new Interlingua translation.
66230 2012-01-03  Allan McRae  <allan@archlinux.org>
66232         * locale/programs/localedef.c: Fix description of '--posix' flag.
66234 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66236         * NEWS: Update dates in second copyright notice.
66237         * README: Update copyright dates in example.
66238         * manual/libc.texinfo: Update copyright dates.
66239         * scripts/test-installation.pl: Update copyright date in --version
66240         output.
66242         * hurd/ctty-input.c: Fix copyright notice formatting.
66243         * hurd/ctty-output.c: Likewise.
66244         * hurd/dtable.c: Likewise.
66245         * hurd/hurd-raise.c: Likewise.
66246         * hurd/hurdprio.c: Likewise.
66247         * hurd/msgportdemux.c: Likewise.
66248         * misc/sys/file.h: Likewise.
66249         * misc/sys/ioctl.h: Likewise.
66250         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66251         * sysdeps/mach/hurd/chdir.c: Likewise.
66252         * sysdeps/mach/hurd/fchdir.c: Likewise.
66253         * sysdeps/mach/hurd/rename.c: Likewise.
66254         * sysdeps/mach/hurd/rmdir.c: Likewise.
66255         * sysdeps/mach/hurd/seekdir.c: Likewise.
66256         * sysdeps/mach/hurd/setsid.c: Likewise.
66257         * sysdeps/posix/wait3.c: Likewise.
66259         * All files with FSF copyright notices: Update copyright dates
66260         using scripts/update-copyrights.
66261         * intl/plural.c: Regenerated.
66262         * locale/programs/charmap-kw.h: Likewise.
66263         * locale/programs/locfile-kw.h: Likewise.
66265 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66267         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66268         four values.
66270         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66271         calculation loop and add branch prediction.
66273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66274         check access beyond bounds of m1np.
66276         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66277         MPTWO.
66278         (__inv): Remove local variable MPTWO to use the global
66279         constant.
66280         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66281         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66282         variable MPTWO.
66283         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66284         MP3HALFS static const.
66286 2013-01-01  David S. Miller  <davem@davemloft.net>
66288         * po/ca.po: Update from translation team.
66290 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66292         * scripts/update-copyrights: New file.
66293         * Makeconfig: Reformat copyright notice.
66294         * ctype/ctype.h: Likewise.
66295         * debug/swprintf_chk.c: Likewise.
66296         * elf/dl-cache.c: Likewise.
66297         * elf/dl-debug.c: Likewise.
66298         * elf/dl-object.c: Likewise.
66299         * grp/initgroups.c: Likewise.
66300         * hurd/Makefile: Likewise.
66301         * hurd/hurd/signal.h: Likewise.
66302         * hurd/hurdfault.c: Likewise.
66303         * hurd/hurdioctl.c: Likewise.
66304         * hurd/hurdlookup.c: Likewise.
66305         * hurd/intr-msg.c: Likewise.
66306         * iconv/gconv_open.c: Likewise.
66307         * libio/swprintf.c: Likewise.
66308         * locale/lc-ctype.c: Likewise.
66309         * locale/nl_langinfo.c: Likewise.
66310         * mach/Machrules: Likewise.
66311         * mach/Makefile: Likewise.
66312         * malloc/obstack.h: Likewise.
66313         * manual/Makefile: Likewise.
66314         * manual/tsort.awk: Likewise.
66315         * misc/bits/stab.def: Likewise.
66316         * nis/nis_print_group_entry.c: Likewise.
66317         * nis/nis_table.c: Likewise.
66318         * nis/nss_compat/compat-pwd.c: Likewise.
66319         * nis/nss_compat/compat-spwd.c: Likewise.
66320         * po/Makefile: Likewise.
66321         * posix/fnmatch.c: Likewise.
66322         * posix/regex.h: Likewise.
66323         * resolv/Makefile: Likewise.
66324         * resolv/nss_dns/dns-network.c: Likewise.
66325         * resolv/res_hconf.c: Likewise.
66326         * scripts/gen-sorted.awk: Likewise.
66327         * soft-fp/soft-fp.h: Likewise.
66328         * stdio-common/printf.h: Likewise.
66329         * stdlib/monetary.h: Likewise.
66330         * stdlib/random.c: Likewise.
66331         * stdlib/random_r.c: Likewise.
66332         * sysdeps/generic/Makefile: Likewise.
66333         * sysdeps/gnu/Makefile: Likewise.
66334         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66336         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66337         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66338         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66339         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66340         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66341         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66342         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66343         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66344         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66345         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66346         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66347         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66348         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66349         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66350         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66352         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66353         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66354         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66355         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66356         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66357         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66358         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66359         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66360         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66361         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66362         * sysdeps/mach/hurd/errnos.awk: Likewise.
66363         * sysdeps/mach/hurd/fork.c: Likewise.
66364         * sysdeps/mach/hurd/getcwd.c: Likewise.
66365         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66366         * sysdeps/mach/hurd/mmap.c: Likewise.
66367         * sysdeps/mach/hurd/utimes.c: Likewise.
66368         * sysdeps/mach/hurd/xmknod.c: Likewise.
66369         * sysdeps/posix/profil.c: Likewise.
66370         * sysdeps/posix/readdir_r.c: Likewise.
66371         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66372         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66373         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66374         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66376         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66377         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66378         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66380         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66381         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66382         * sysdeps/pthread/lio_listio.c: Likewise.
66383         * sysdeps/sparc/dl-procinfo.h: Likewise.
66384         * sysdeps/unix/i386/sysdep.S: Likewise.
66385         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66386         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66387         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66388         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66390         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66391         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66392         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66393         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66394         * sysdeps/wordsize-32/divdi3.c: Likewise.
66395         * time/sys/time.h: Likewise.
66396         * wcsmbs/Makefile: Likewise.
66398 2013-01-01  David S. Miller  <davem@davemloft.net>
66400         * po/fr.po: Update from translation team.
66402         * catgets/gencat.c: Update copyright year.
66403         * csu/version.c: Likewise.
66404         * debug/catchsegv.sh: Likewise.
66405         * debug/pcprofiledump.c: Likewise.
66406         * debug/xtrace.sh: Likewise.
66407         * elf/ldconfig.c: Likewise.
66408         * elf/ldd.bash.in: Likewise.
66409         * elf/pldd.c: Likewise.
66410         * elf/sotruss.ksh: Likewise.
66411         * elf/sprof.c: Likewise.
66412         * iconv/iconv_prog.c: Likewise.
66413         * iconv/iconvconfig.c: Likewise.
66414         * locale/programs/locale.c: Likewise.
66415         * locale/programs/localedef.c: Likewise.
66416         * login/programs/pt_chown.c: Likewise.
66417         * malloc/memusage.sh: Likewise.
66418         * malloc/memusagestat.c: Likewise.
66419         * malloc/mtrace.pl: Likewise.
66420         * nscd/nscd.c: Likewise.
66421         * nss/getent.c: Likewise.
66422         * nss/makedb.c: Likewise.
66423         * posix/getconf.c: Likewise.
66425 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66427         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66428         numbers.
66430 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66432         * math/bits/mathcalls.h (modf): Use __nonnull.
66434 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66436         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66437         (split): Use macro CN instead of the bare value.
66438         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66439         could be used.
66440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66441         instead of the bare value.
66442         (power1): Likewise.
66444 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66447         __ATAN_TWOM.
66448         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66450         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66451         their values.
66452         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66454         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66455         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66457 2012-12-28  Andreas Jaeger  <aj@suse.de>
66459         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66460         values are from Linux 3.7.
66462         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66463         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66465 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66467         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66468         TRUE case.
66470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66471         (norm): Likewise.
66472         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66473         variables with preprocessor constants.
66474         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66475         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66476         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66478 2012-12-27  Bruno Haible  <bruno@clisp.org>
66480         [BZ #14317]
66481         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66482         only if needed.
66484 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66486         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66487         and use variable directly.
66488         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66490         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66491         MPONE.
66492         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66493         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66494         variable MPONE.
66495         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66497         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66498         include directive.  Remove local variable MPONE.
66499         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66500         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66501         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66503 2012-12-25  David S. Miller  <davem@davemloft.net>
66505         * version.h (RELEASE): Set to "development".
66506         (VERSION): Set to "2.17.90".
66507         * NEWS: Add 2.18 section.
66509 2012-12-21  David S. Miller  <davem@davemloft.net>
66511         * po/hr.po: Update from translation team.
66513 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66515         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66517 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66519         * NEWS:  Mention new memcpy for MIPS.
66521 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66523         * manual/contrib.texi (Contributors): Spelling correction.
66525 2012-12-15  David S. Miller  <davem@davemloft.net>
66527         * po/ru.po: Update from translation team.
66529 2012-12-13  David S. Miller  <davem@davemloft.net>
66531         * NEWS: Mention IFUNC testsuite enhancements.
66533         * po/pl.po: Update from translation team.
66534         * po/bg.po: Likewise.
66536         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66537         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66539 2012-12-11  David S. Miller  <davem@davemloft.net>
66541         * po/sv.po: Update from translation team.
66543         * po/vi.po: Update from translation team.
66545         * po/cs.po: Update from translation team.
66547         * po/de.po: Update from translation team.
66548         * po/eo.po: Likewise.
66549         * po/nl.po: Likewise.
66551 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66553         [BZ #14246]
66554         * manual/argp.texi (Argp Helper Functions): Move node to follow
66555         Argp Parsing State.
66557         [BZ #14872]
66558         * manual/conf.texi (Limits on File System Capacity): Mention if
66559         terminating null is included in the max size.
66561 2012-12-10  Andreas Jaeger  <aj@suse.de>
66563         * po/cs.po: Update from translation team.
66565 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66567         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66568         void pointer and cast to uintptr_t.
66569         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66570         path.
66571         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66572         * sysdeps/s390/s390-64/memset.S: Likewise.
66574 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66576         [BZ #14833]
66577         * menual/message.texi (Message Translation): Fix typos.
66578         (Helper programs for gettext): Likewise.
66580 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66582         [BZ #14898]
66583         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66584         Change to -1.
66586 2012-12-07  David S. Miller  <davem@davemloft.net>
66588         * po/libc.pot: Update.
66590 2012-12-07  Richard Henderson  <rth@redhat.com>
66592         [BZ #10114]
66593         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66594         normal/normal case to before the switch.
66595         (_FP_DIV): Likewise.
66597 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66598             Mike Frysinger  <vapier@gentoo.org>
66600         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66601         check for __NR_fadvise64_64.
66603 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66605         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66606         0, not just to plain "0" as a statement.
66607         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66608         with cw.
66610 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66612         * NEWS: Use sourceware.org in Bugzilla URL.
66614 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66617         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66619         * stdio-common/tst-put-error.c (do_test): Add newline to the
66620         padded test to ensure flush.
66622 2012-12-05  Jeff Law  <law@redhat.com>
66624         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66626 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66628         * README: Don't refer to ports add-on as distributed separately.
66629         Mention AArch64 in list of systems supported in the ports add-on.
66631         * LICENSES: Add more non-FSF copyright and license notices.
66633         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66634         ((unused)).
66636         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66638         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66639         10000 as width of padded output.
66641 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66643         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66645         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66646         variable LX with __attribute__ ((unused)).
66647         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66648         Likewise.
66649         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66652         with __attribute__ ((unused)).
66654 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66656         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66658 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66660         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66661         (CFLAGS-nldbl-acos.c): New variable.
66662         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66663         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66664         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66665         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66666         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66667         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66668         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66669         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66670         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66671         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66672         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66673         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66674         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66675         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66676         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66677         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66678         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66679         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66680         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66681         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66682         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66683         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66684         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66685         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66686         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66687         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66688         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66689         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66690         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66691         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66692         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66693         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66694         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66695         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66696         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66697         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66698         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66699         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66700         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66701         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66702         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66703         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66704         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66705         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66706         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66707         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66708         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66709         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66710         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66711         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66712         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66713         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66714         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66715         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66716         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66717         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66718         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66719         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66720         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66721         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66722         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66723         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66724         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66725         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66726         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66727         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66728         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66729         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66730         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66731         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66732         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66733         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66734         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66735         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66736         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66737         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66738         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66739         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66740         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66741         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66742         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66743         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66744         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66745         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66746         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66747         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66748         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66749         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66750         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66751         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66752         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66753         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66754         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66755         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66756         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66757         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66758         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66761         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66763         [BZ #14914]
66764         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66765         whole low double instead of just low 47 bits when splitting values
66766         into two parts.
66768 2012-12-03  Allan McRae  <allan@archlinux.org>
66770         * manual/stdio.texi (Predefined Printf Handlers): Remove
66771         @hsep and @vsep usage.
66773 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66775         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66776         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66778 2012-12-03  Jeff Law  <law@redhat.com>
66780         * time/sys/time.h (settimeofday): Do not mark TV argument
66781         as __nonnull.
66783 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66785         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66786         when currently writing and seek to current position when not.
66787         * libio/Makefile (tests): Remove bug-fclose1.
66788         * libio/bug-fclose1.c: Delete.
66790 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66792         * manual/arith.texi (feenableexcept): Fix typo.
66793         (fedisableexcept): Likewise.
66795 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66797         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66798         second, differently-typed declaration, rather than a cast.
66800 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66802         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66803         * include/rpc/svc.h: ... here.
66805 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66807         [BZ #13013]
66808         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66809         depending n and resplen2 to catch cases where answer
66810         equals answerp2.
66812 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66814         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66815         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66817 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66819         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66821 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66823         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66825 2012-11-28  Jeff Law  <law@redhat.com>
66827         [BZ #13761]
66828         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66829         dataset_temporary.  Track alloca usage into alloca_used.
66830         If dataset is large allocate and release it via malloc/free.
66832 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66834         [BZ #14197]
66835         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66837 2012-11-28  David S. Miller  <davem@davemloft.net>
66839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66841 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66843         [BZ #14803]
66844         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66845         of pi/2 rounded to nearest to 64 bits.
66846         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66847         nearest to 64 bits.
66848         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66849         bits.
66851 2012-11-28  Jeff Law <law@redhat.com>
66852             Martin Osvald <mosvald@redhat.com>
66854         [BZ #14889]
66855         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66856         * sunrpc/svc.c: Include time.h.
66857         (__svc_accept_failed): New function.
66858         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66859         any reason other than EINTR, call __svc_accept_failed.
66860         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66861         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66863 2012-11-28  Andreas Schwab  <schwab@suse.de>
66865         * scripts/abilist.awk: Also handle indirect functions in .opd
66866         section.
66868 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66870         [BZ #13881]
66871         * sysdeps/x86/fpu/powl_helper.c: New file.
66872         * sysdeps/x86/fpu/Makefile: Likewise.
66873         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66874         (p3): New object.
66875         (__ieee754_powl): Use __powl_helper for finite arguments except
66876         integer exponents below 8.
66877         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66878         (p3): New object.
66879         (__ieee754_powl): Use __powl_helper for finite arguments except
66880         integer exponents below 8.
66881         * math/libm-test.inc (pow_test): Add more tests and enable some
66882         previously disabled tests.
66883         * sysdeps/i386/fpu/libm-test-ulps: Update.
66884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66886 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66887             Carlos O'Donell  <carlos_odonell@mentor.com>
66889         * nss/makedb.c (is_prime): Assert that input is odd and greater
66890         than 4.  Note that fact in a comment too.
66891         (next_prime): Add 4 to input.
66893 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66895         [BZ #11741]
66896         * libio/Makefile (tests): Add test case tst-fwrite-error.
66897         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66898         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66899         * libio/tst-fwrite-error.c: New test case.
66901 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66903         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66904         before casting to void *.
66905         * include/libc-internal.h (__pointer_type): New macro.
66906         (__integer_if_pointer_type_sub): Likewise.
66907         (__integer_if_pointer_type): Likewise.
66908         (cast_to_integer): Likewise.
66909         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66910         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66911         before casting to atomic64_t.
66912         (atomic_exchange_acq): Likewise.
66913         (__arch_exchange_and_add_body): Likewise.
66914         (__arch_add_body): Likewise.
66915         (atomic_add_negative): Likewise.
66916         (atomic_add_zero): Likewise.
66918 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66920         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66921         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66922         (add_fdes): Likewise.
66923         (linear_search_fdes): Likewise.
66924         (binary_search_unencoded_fdes): Likewise.
66926 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66928         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66930 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66932         * configure.in: Autodetect C++ header directories.
66933         * configure: Regenerated.
66935 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66937         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66939 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66943 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66945         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66946         LDBL_MANT_DIG == 106]: Disable some tests.
66947         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66948         Likewise.
66949         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66950         Likewise.
66952         [BZ #14871]
66953         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66954         input for small inputs.  Return +/- pi/2 for large inputs.
66955         * math/libm-test.inc (atan_test): Add more tests.
66957         * sysdeps/generic/unwind-dw2-fde-glibc.c
66958         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66959         __attribute__ ((unused)).
66961         [BZ #14645]
66962         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66963         x * y if x and y are nonzero and z is zero.
66965         [BZ #14811]
66966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66967         nonzero exponents with absolute value below 0x1p-117 to +/-
66968         0x1p-117.
66970         [BZ #14869]
66971         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66972         up arguments below 2**-450, not just those below 2**-500.
66973         * math/libm-test.inc (hypot_test): Add another test.
66975         [BZ #14868]
66976         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66977         Return a+b for ratio over 2**120, not 2**60.
66978         * math/libm-test.inc (hypot_test): Add another test.
66980         * math/libm-test.inc (clog_test): Use
66981         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66982         (clog10_test): Likewise.
66984         [BZ #6778]
66985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66987 2012-11-22  Andreas Schwab  <schwab@suse.de>
66989         * sysdeps/i386/fpu/libm-test-ulps: Update.
66991 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66993         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66994         printf output with newline.
66996 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66998         [BZ #14865]
66999         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67000         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67001         -z nodlopen, -z initfirst and -z execstack support.
67002         * configure: Regenerated.
67004         * elf/elf.h (DF_1_NODIRECT): New macro.
67005         (DF_1_IGNMULDEF): Likewise.
67006         (DF_1_NOKSYMS): Likewise.
67007         (DF_1_NOHDR): Likewise.
67008         (DF_1_EDITED): Likewise.
67009         (DF_1_NORELOC): Likewise.
67010         (DF_1_SYMINTPOSE): Likewise.
67011         (DF_1_GLOBAUDIT): Likewise.
67012         (DF_1_SINGLETON): Likewise.
67013         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67014         DT_1_SUPPORTED_MASK bits.
67015         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67017 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67019         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67021 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67023         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67024         macro.
67026         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67027         (sendmmsg): Move declarations...
67028         * socket/sys/socket.h: ... here.
67029         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67030         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67031         include it from...
67032         * socket/recvmmsg.c: ... this new file.
67033         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67034         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67035         definition of __sendmmsg hidden.
67036         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67037         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67038         Move ENOSYS stub into and include it from...
67039         * socket/sendmmsg.c: ... this new file.
67040         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67041         (sysdep_routines): Move recvmmsg and sendmmsg...
67042         * socket/Makefile (routines): ... here.
67043         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67044         (GLIBC_PRIVATE): Add __sendmmsg.
67045         * include/sys/socket.h (__sendmmsg): Add declarations.
67046         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67047         sendmmsg.
67049 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67051         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67052         variable I1 with __attribute__ ((unused)).
67053         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67055 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67057         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67058         DUMMY variables with __attribute__ ((unused)).
67060         * bits/byteswap.h: Include <bits/types.h>.
67061         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67063 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67065         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67066         string_t.  Do not manually set errno.
67067         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67068         length with __strnlen.  Make sure to both set errno and return it on
67069         failure.
67071 2012-11-19  David S. Miller  <davem@davemloft.net>
67073         With help from Joseph Myers.
67074         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67075         very large arguments properly.
67076         * math/libm-test.inc (atan_test): New tests.
67077         (atan2_test): New tests.
67078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67081 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67083         [BZ #14856]
67084         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67085         Define to 3.
67087         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67088         [POSIX] (EADDRNOTAVAIL): Likewise.
67089         [POSIX] (EAFNOSUPPORT): Likewise.
67090         [POSIX] (EALREADY): Likewise.
67091         [POSIX] (ECONNABORTED): Likewise.
67092         [POSIX] (ECONNREFUSED): Likewise.
67093         [POSIX] (ECONNRESET): Likewise.
67094         [POSIX] (EDESTADDRREQ): Likewise.
67095         [POSIX] (EDQUOT): Likewise.
67096         [POSIX] (EHOSTUNREACH): Likewise.
67097         [POSIX] (EIDRM): Likewise.
67098         [POSIX] (EISCONN): Likewise.
67099         [POSIX] (ELOOP): Likewise.
67100         [POSIX] (EMULTIHOP): Likewise.
67101         [POSIX] (ENETDOWN): Likewise.
67102         [POSIX] (ENETUNREACH): Likewise.
67103         [POSIX] (ENOBUFS): Likewise.
67104         [POSIX] (ENODATA): Likewise.
67105         [POSIX] (ENOLINK): Likewise.
67106         [POSIX] (ENOMSG): Likewise.
67107         [POSIX] (ENOPROTOOPT): Likewise.
67108         [POSIX] (ENOSR): Likewise.
67109         [POSIX] (ENOSTR): Likewise.
67110         [POSIX] (ENOTCONN): Likewise.
67111         [POSIX] (ENOTSOCK): Likewise.
67112         [POSIX] (EOPNOTSUPP): Likewise.
67113         [POSIX] (EOVERFLOW): Likewise.
67114         [POSIX] (EPROTO): Likewise.
67115         [POSIX] (EPROTONOSUPPORT): Likewise.
67116         [POSIX] (EPROTOTYPE): Likewise.
67117         [POSIX] (ESTALE): Likewise.
67118         [POSIX] (ETIME): Likewise.
67119         [POSIX] (ETXTBSY): Likewise.
67120         [POSIX] (EWOULDBLOCK): Likewise.
67121         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67122         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67123         [POSIX] (SEEK_CUR): Likewise.
67124         [POSIX] (SEEK_END): Likewise.
67125         [POSIX || UNIX98] (mode_t): Do not require.
67126         [POSIX] (off_t): Likewise.
67127         [POSIX] (pid_t): Likewise.
67128         [POSIX] (sys/stat.h): Do not allow header.
67129         [POSIX] (unistd.h): Likewise.
67130         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67131         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67132         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67133         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67134         require.
67135         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67136         sigevent): Specify elements.
67137         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67138         entry.
67139         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67140         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67142         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67143         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67144         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67145         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67146         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67147         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67148         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67149         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67150         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67151         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67152         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67153         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67154         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67155         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67156         Likewise.
67157         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67158         Likewise.
67159         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67160         Likewise.
67161         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67162         Likewise.
67163         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67164         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67165         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67166         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67167         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67168         Specify lower bound on value.
67169         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67170         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67171         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67172         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67173         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67174         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67175         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67176         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67177         value.
67178         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67179         as optional.
67180         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67181         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67182         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67183         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67184         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67185         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67186         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67187         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67188         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67189         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67190         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67191         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67192         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67193         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67194         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67195         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67196         entry.
67197         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67198         optional.
67199         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67200         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67201         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67202         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67203         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67204         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67205         Likewise.
67206         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67207         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67208         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67209         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67210         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67211         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67212         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67213         as optional.
67214         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67215         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67216         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67217         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67218         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67219         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67220         specify as optional.
67221         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67222         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67223         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67224         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67225         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67226         [XPG3] (NL_LANGMAX): Likewise.
67227         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67228         [POSIX || XPG3] (NL_NMAX): Likewise.
67229         [POSIX || XPG3] (NL_SETMAX): Likewise.
67230         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67231         [XPG3] (NZERO): Likewise.
67232         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67233         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67234         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67235         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67236         (REG_ERANGE): Expect.
67237         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67238         optional-constant.
67239         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67240         Use (void) in prototype.
67241         [POSIX] (*_t): Allow.
67242         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67243         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67244         (WRDE_BADVAL): Expect.
67246         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67247         expect.
67248         [XPG3 || XPG4] (O_RSYNC): Likewise.
67249         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67250         Likewise.
67251         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67252         [XPG3 || XPG4] (sigqueue): Likewise.
67253         [XPG3 || XPG4] (sigtimedwait): Likewise.
67254         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67255         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67256         [XPG3 || XPG4] (vsnprintf): Likewise.
67257         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67258         Likewise.
67259         [XPG3 || XPG4] (blksize_t): Likewise.
67260         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67261         Likewise.
67262         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67263         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67264         [XPG3 || XPG4] (struct itimerspec): Likewise.
67265         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67266         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67267         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67268         [XPG3 || XPG4] (clockid_t): Likewise.
67269         [XPG3 || XPG4] (timer_t): Likewise.
67270         [XPG3 || XPG4] (clock_getres): Likewise.
67271         [XPG3 || XPG4] (clock_gettime): Likewise.
67272         [XPG3 || XPG4] (clock_settime): Likewise.
67273         [XPG3 || XPG4] (nanosleep): Likewise.
67274         [XPG3 || XPG4] (timer_create): Likewise.
67275         [XPG3 || XPG4] (timer_delete): Likewise.
67276         [XPG3 || XPG4] (timer_gettime): Likewise.
67277         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67278         [XPG3 || XPG4] (timer_settime): Likewise.
67279         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67280         [XPG3 || XPG4] (getlogin_r): Likewise.
67281         [XPG3 || XPG4] (pread): Likewise.
67282         [XPG3 || XPG4] (pthread_atfork): Likewise.
67283         [XPG3 || XPG4] (pwrite): Likewise.
67285         [BZ #14835]
67286         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67287         <bits/siginfo.h>.
67289 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67291         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67292         finalizing MALLSTREAM.
67294         * sysdeps/mach/hurd/syncfs.c: New file.
67296 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67298         [BZ #14719]
67299         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67300         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67301         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67302         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67303         (_nss_dns_gethostbyname4_r): Likewise.
67304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67305         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67307 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67309         [BZ #13763]
67310         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67312 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67314         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67315         * elf/cache.c (print_entry): Print ",AArch64" for
67316         FLAG_AARCH64_LIB64
67318         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67319         * elf/cache.c (print_entry): Print ",hard-float" for
67320         FLAG_ARM_LIBHF.
67322 2012-11-18  David S. Miller  <davem@davemloft.net>
67324         With help from Joseph Myers.
67325         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67326         cutoff to 2**-13.
67327         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67328         cutoff to 2**-25.
67329         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67330         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67331         small.
67332         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67333         * math/libm-test.inc (y0_test): New tests.
67334         (y1_test): New tests.
67335         * sysdeps/i386/fpu/libm-test-ulps: Update.
67336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67339 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67341         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67342         64-bit targets.
67343         * configure: Regenerated.
67345 2012-11-17  David S. Miller  <davem@davemloft.net>
67347         [BZ #14811]
67348         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67349         nonzero exponents with absolute value below 0x1p-128 to +/-
67350         0x1p-128.
67352 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67354         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67356         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67358         * posix/getconf-speclist.c: New file.
67359         * posix/posix-envs.def: Likewise.
67360         * posix/confstr.c (START_ENV_GROUP): New macro.
67361         (END_ENV_GROUP): Likewise.
67362         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67363         (KNOWN_PRESENT_ENV_STRING): Likewise.
67364         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67365         (UNKNOWN_ENVIRONMENT): Likewise.
67366         (confstr): Include posix-envs.def instead of handling
67367         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67368         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67369         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67370         (END_ENV_GROUP): Likewise.
67371         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67372         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67373         (UNKNOWN_ENVIRONMENT): Likewise.
67374         (__sysconf): Include posix-envs.def instead of handling associated
67375         cases directly here.
67376         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67377         preprocessing getconf-speclist.c rather than running getconf or
67378         generating empty file.
67380 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67382         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67384 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67386         [BZ #14672]
67387         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67389 2012-11-16  David S. Miller  <davem@davemloft.net>
67391         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67392         smaller than LDBL_EPSILON/2.0L, just return xm1.
67394 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67396         * elf/tst-array1.c (init): Set constructor priority to 1000.
67397         (fini): Set destructor priority to 1000.
67398         * elf/tst-array2dep.c: Likewise.
67400 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67402         [BZ #11741]
67403         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67404         (_IO_new_file_xsputn): Also return EOF if none of the input
67405         data was written when overflow failed.
67406         * libio/iopadn.c (_IO_padn): Likewise.
67407         * libio/iowpadn.c (_IO_wpadn): Likewise.
67408         * stdio-common/tst-put-error.c: Add copyright notice.
67409         (do_test): Add case for printing padded string.
67410         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67411         _IO_padn returned error.
67412         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67413         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67414         return EOF.
67416 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67418         * libio/libioP.h: Add comment note that the references to C++
67419         bits are now obsolete.
67421 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67423         * math/libm-test.inc (check_complex): Use asprintf.
67425 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67427         * debug/pcprofiledump.c (print_version): Update copyright year.
67428         * malloc/memusagestat.c (print_version): Likewise.
67430 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67432         [BZ #14831]
67433         * elf/Makefile (tests): Add tst-audit8.
67434         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67435         ($(objpfx)tst-audit8.out): New target.
67436         (tst-audit8-ENV): New variable.
67437         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67438         audit if l_reloc_result is NULL.
67439         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67440         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67441         * elf/tst-audit8.c: New file.
67443 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67445         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67446         * misc/Makefile (CFLAGS-select.c): Define.
67447         * posix/Makefile (CFLAGS-pause.c): Define.
67449 2012-11-13  David S. Miller  <davem@davemloft.net>
67451         * crypt/Makefile: Move test targets after toplevel Rules
67452         inclusion.  Grab any necessary sysdep routines when linking.
67453         * crypt/md5.c (md5_process_block): Remove define, we will always
67454         name it __md5_process_block.
67455         (md5_finish_ctx): Update md5_process_block call.
67456         (md5_stream): Likewise.
67457         (md5_process_bytes): Likewise.
67458         (md5_process_block): Rename to __md5_process_block and move to ...
67459         * crypt/md5-block.c: ... here.
67460         * crypt/sha256.c (sha256_process_block): Move to ...
67461         * crypt/sha256-block.c: ... here.
67462         * crypt/sha512.c (sha512_process_block): Move to ...
67463         * crypt/sha512-block.c: ... here.
67464         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67465         path.
67466         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67467         * sysdeps/sparc/sparc64/multiarch/Makefile
67468         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67469         crypt subdir.
67470         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67471         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67472         multiarch changes.
67473         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67474         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67475         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67476         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67477         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67478         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67479         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67480         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67481         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67482         file.
67483         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67484         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67485         file.
67486         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67488 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67490         * timezone/tzselect.ksh: Update from tzcode git revision
67491         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67492         * timezone/zdump.c: Likewise.
67493         * timezone/zic.c: Likewise.
67494         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67495         in TZVERSION setting, not $(PKGVERSION).
67496         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67497         REPORT_BUGS_TO settings.
67499         [BZ #14838]
67500         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67501         macro.
67503 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67505         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67506         detection to immediately after _FP_ROUND().
67507         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67508         bits are 0.
67510 2012-11-11  David S. Miller  <davem@davemloft.net>
67512         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67513         inttypes.h
67514         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67515         __close rather than their public counterparts.
67517 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67519         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67520         file.
67521         [UNIX98] (sem_timedwait): Do not expect.
67522         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67523         [XPG4 || UNIX98] (sockatmark): Do not expect.
67524         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67525         (clock_getcpuclockid): Do not expect.
67526         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67527         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67528         Do not expect.
67529         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67530         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67531         [UNIX98] (vwscanf): Likewise.
67532         [UNIX98] (vswscanf): Likewise.
67534 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67536         * timezone/version.h: Remove file.
67537         * timezone/README: Do not refer to version.h.
67538         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67539         $(objpfx)version.h.
67540         ($(objpfx)zdump.o): Likewise.
67541         ($(objpfx)version.h): New target.
67543         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67544         2012i.
67545         * timezone/README: Don't mention modification to tzselect.ksh.
67546         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67547         work on unmodified tzselect.ksh.  Substitute version numbers in
67548         tzselect.ksh.
67550         * Makefile (format-me): Remove.
67551         (INSTALL): Adjust indentation.  Use commands directly instead of
67552         using $(format-me).
67554         * aclocal.m4 (ACX_PKGVERSION): New macro.
67555         (ACX_BUGURL): Likewise.
67556         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67557         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67558         (REPORT_BUGS_TO): Likewise.
67559         * configure: Regenerated.
67560         * config.h.in (PKGVERSION): New macro.
67561         (REPORT_BUGS_TO): Likewise.
67562         * config.make.in (PKGVERSION): New variable.
67563         (PKGVERSION_TEXI): Likewise.
67564         (REPORT_BUGS_TO): Likewise.
67565         (REPORT_BUGS_TEXI): Likewise.
67566         * Makefile (format-me): Use -I$(common-objpfx)manual.
67567         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67568         ($(common-objpfx)manual/%): New target.
67569         (manual/%): Remove target.
67570         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67571         (print_version): Use PKGVERSION.
67572         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67573         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67574         and REPORT_BUGS_TO.
67575         ($(objpfx)xtrace): Likewise.
67576         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67577         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67578         (print_version): Use PKGVERSION.
67579         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67580         (do_version): Use PKGVERSION.
67581         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67582         REPORT_BUGS_TO.
67583         (common-ldd-rewrite): Likewise.
67584         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67585         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67586         (print_version): Use PKGVERSION.
67587         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67588         * elf/pldd.c (argp_program_bug_address): Remove variable.
67589         (more_help): New function.
67590         (argp): Use more_help.
67591         (print_version): Use PKGVERSION.
67592         * elf/sln.c (main): Use PKGVERSION.
67593         (usage): Use REPORT_BUGS_TO.
67594         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67595         (top level): Use PKGVERSION.
67596         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67597         (print_version): Use PKGVERSION.
67598         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67599         (print_version): Use PKGVERSION.
67600         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67601         (print_version): Use PKGVERSION.
67602         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67603         (print_version): Use PKGVERSION.
67604         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67605         (print_version): Use PKGVERSION.
67606         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67607         (print_version): Use PKGVERSION.
67608         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67609         and BUGURL.
67610         ($(objpfx)memusage): Likewise.
67611         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67612         (do_version): Use PKGVERSION.
67613         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67614         (print_version): Use PKGVERSION.
67615         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67616         ($PKGVERSION): New variable.
67617         ($REPORT_BUGS_TO): Likewise.
67618         (usage): Use $REPORT_BUGS_TO.
67619         (top level): Use $PKGVERSION.
67620         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67621         ($(objpfx)pkgvers.texi): New rule.
67622         ($(objpfx)stamp-pkgvers): Likewise.
67623         * manual/install.texi: Include pkgvers.texi.
67624         (--with-pkgversion): Document new configure option.
67625         (--with-bugurl): Likewise.
67626         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67627         than necessarily for this particular distribution.  Use
67628         REPORT_BUGS_TO for where to report bugs.
67629         * INSTALL: Regenerated.
67630         * manual/libc.texinfo: Include pkgvers.texi.
67631         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67632         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67633         (print_version): Use PKGVERSION.
67634         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67635         (print_version): Use PKGVERSION.
67636         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67637         (print_version): Use PKGVERSION.
67638         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67639         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67640         macro.
67641         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67642         (print_version): Use PKGVERSION.
67643         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67644         (print_version): Use PKGVERSION.
67645         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67646         and PKGVERSION.
67648         * timezone/checktab.awk: Update from tzcode 2012i.
67649         * timezone/ialloc.c: Likewise.
67650         * timezone/private.h: Likewise.
67651         * timezone/scheck.c: Likewise.
67652         * timezone/tzfile.h: Likewise.
67653         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67654         (TZVERSION): Hardcode tzcode version number.
67655         * timezone/zdump.c: Update from tzcode 2012i.
67656         * timezone/zic.c: Likewise.
67657         * timezone/version.h: New file.
67658         * timezone/README: Describe version.h.  Update upstream location.
67660         [BZ #14824]
67661         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67662         (mktemp): Enable declaration.
67663         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67665         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67667         Likewise.
67668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67669         Likewise.
67670         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67671         Likewise.
67672         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67673         Likewise.
67674         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67675         Likewise.
67676         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67677         Likewise.
67679         [BZ #14821]
67680         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67681         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67682         for copies of such integer values.
67683         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67684         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67686 2012-11-09  Andreas Jaeger  <aj@suse.de>
67688         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67689         definitions and declarations that are provided by
67690         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67692 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67694         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67695         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67696         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67697         definition.
67699 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67701         * elf/elf.h: Update comment before AArch64 relocations.
67703 2012-11-07  David S. Miller  <davem@davemloft.net>
67705         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67706         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67707         (__start_context): Declare.
67708         (__makecontext_ret): Delete.
67709         (__makecontext): Hook up __start_context instead of
67710         __makecontext_ret.
67711         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67712         (sysdep_routines): Add __start_context when in stdlib.
67714 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67716         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67717         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67718         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67719         hardcoded "nm".
67720         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67721         (READELF): New variable.  Use it instead of hardcoded "readelf".
67723 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67725         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67726         * sysdeps/x86/Makefile: Here.
67727         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67728         * sysdeps/x86/tst-xmmymm.sh: This.
67730 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67732         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67733         expectations.
67734         [UNIX98] (pthread_barrier_t): Do not expect.
67735         [UNIX98] (pthread_barrierattr_t): Likewise.
67736         [UNIX98] (pthread_spinlock_t): Likewise.
67737         [UNIX98] (pthread_barrier_destroy): Likewise.
67738         [UNIX98] (pthread_barrier_init): Likewise.
67739         [UNIX98] (pthread_barrier_wait): Likewise.
67740         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67741         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67742         [UNIX98] (pthread_barrierattr_init): Likewise.
67743         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67744         [UNIX98] (pthread_getcpuclockid): Likewise.
67745         [UNIX98] (pthread_mutex_timedlock): Likewise.
67746         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67747         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67748         [UNIX98] (pthread_sigmask): Likewise.
67749         [UNIX98] (pthread_spin_destroy): Likewise.
67750         [UNIX98] (pthread_spin_init): Likewise.
67751         [UNIX98] (pthread_spin_lock): Likewise.
67752         [UNIX98] (pthread_spin_trylock): Likewise.
67753         [UNIX98] (pthread_spin_unlock): Likewise.
67754         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67755         Do not expect.
67756         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67758         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67759         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67760         [XPG3 || XPG4] (pthread_key_t): Likewise.
67761         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67762         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67763         [XPG3 || XPG4] (pthread_once_t): Likewise.
67764         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67765         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67767         [XPG3 || XPG4] (pthread_t): Likewise.
67769         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67770         not expect.
67771         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67773         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67774         Change function return type to int.
67776         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67777         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67778         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67779         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67780         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67781         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67782         [!POSIX] (posix_madvise): Likewise.
67783         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67784         && !UNIX98].
67785         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67786         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67787         (mode_t): Likewise.
67788         (posix_mem_offset): Likewise.
67789         (posix_typed_mem_get_info): Likewise.
67790         (posix_typed_mem_open): Likewise.
67792         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67793         Change condition to [XOPEN2K8].
67795         * conform/conformtest.pl: Preprocess allow-header data with -x c
67796         instead of from stdin.
67797         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67798         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67799         [C99-based standards] (cerfc): Likewise.
67800         [C99-based standards] (cexp2): Likewise.
67801         [C99-based standards] (cexpm1): Likewise.
67802         [C99-based standards] (clog10): Likewise.
67803         [C99-based standards] (clog1p): Likewise.
67804         [C99-based standards] (clog2): Likewise.
67805         [C99-based standards] (clgamma): Likewise.
67806         [C99-based standards] (ctgamma): Likewise.
67807         [C99-based standards] (cerff): Likewise.
67808         [C99-based standards] (cerfcf): Likewise.
67809         [C99-based standards] (cexp2f): Likewise.
67810         [C99-based standards] (cexpm1f): Likewise.
67811         [C99-based standards] (clog10f): Likewise.
67812         [C99-based standards] (clog1pf): Likewise.
67813         [C99-based standards] (clog2f): Likewise.
67814         [C99-based standards] (clgammaf): Likewise.
67815         [C99-based standards] (ctgammaf): Likewise.
67816         [C99-based standards] (cerfl): Likewise.
67817         [C99-based standards] (cerfcl): Likewise.
67818         [C99-based standards] (cexp2l): Likewise.
67819         [C99-based standards] (cexpm1l): Likewise.
67820         [C99-based standards] (clog10l): Likewise.
67821         [C99-based standards] (clog1pl): Likewise.
67822         [C99-based standards] (clog2l): Likewise.
67823         [C99-based standards] (clgammal): Likewise.
67824         [C99-based standards] (ctgammal): Likewise.
67825         * conform/data/inttypes.h-data [C99-based standards]: Include
67826         stdint.h-data.  Remove all expectations for stdint.h contents.
67827         [C99-based standards] (PRI*): Do not allow.
67828         [C99-based standards] (SCN*): Likewise.
67829         [C99-based standards] (*_t): Likewise.
67830         [C99-based-standards] (PRId8): Expect macro.
67831         [C99-based-standards] (PRIi8): Likewise.
67832         [C99-based-standards] (PRIo8): Likewise.
67833         [C99-based-standards] (PRIu8): Likewise.
67834         [C99-based-standards] (PRIx8): Likewise.
67835         [C99-based-standards] (PRIX8): Likewise.
67836         [C99-based-standards] (SCNd8): Likewise.
67837         [C99-based-standards] (SCNi8): Likewise.
67838         [C99-based-standards] (SCNo8): Likewise.
67839         [C99-based-standards] (SCNu8): Likewise.
67840         [C99-based-standards] (SCNx8): Likewise.
67841         [C99-based-standards] (PRIdLEAST8): Likewise.
67842         [C99-based-standards] (PRIiLEAST8): Likewise.
67843         [C99-based-standards] (PRIoLEAST8): Likewise.
67844         [C99-based-standards] (PRIuLEAST8): Likewise.
67845         [C99-based-standards] (PRIxLEAST8): Likewise.
67846         [C99-based-standards] (PRIXLEAST8): Likewise.
67847         [C99-based-standards] (SCNdLEAST8): Likewise.
67848         [C99-based-standards] (SCNiLEAST8): Likewise.
67849         [C99-based-standards] (SCNoLEAST8): Likewise.
67850         [C99-based-standards] (SCNuLEAST8): Likewise.
67851         [C99-based-standards] (SCNxLEAST8): Likewise.
67852         [C99-based-standards] (PRIdFAST8): Likewise.
67853         [C99-based-standards] (PRIiFAST8): Likewise.
67854         [C99-based-standards] (PRIoFAST8): Likewise.
67855         [C99-based-standards] (PRIuFAST8): Likewise.
67856         [C99-based-standards] (PRIxFAST8): Likewise.
67857         [C99-based-standards] (PRIXFAST8): Likewise.
67858         [C99-based-standards] (SCNdFAST8): Likewise.
67859         [C99-based-standards] (SCNiFAST8): Likewise.
67860         [C99-based-standards] (SCNoFAST8): Likewise.
67861         [C99-based-standards] (SCNuFAST8): Likewise.
67862         [C99-based-standards] (SCNxFAST8): Likewise.
67863         [C99-based-standards] (PRId16): Likewise.
67864         [C99-based-standards] (PRIi16): Likewise.
67865         [C99-based-standards] (PRIo16): Likewise.
67866         [C99-based-standards] (PRIu16): Likewise.
67867         [C99-based-standards] (PRIx16): Likewise.
67868         [C99-based-standards] (PRIX16): Likewise.
67869         [C99-based-standards] (SCNd16): Likewise.
67870         [C99-based-standards] (SCNi16): Likewise.
67871         [C99-based-standards] (SCNo16): Likewise.
67872         [C99-based-standards] (SCNu16): Likewise.
67873         [C99-based-standards] (SCNx16): Likewise.
67874         [C99-based-standards] (PRIdLEAST16): Likewise.
67875         [C99-based-standards] (PRIiLEAST16): Likewise.
67876         [C99-based-standards] (PRIoLEAST16): Likewise.
67877         [C99-based-standards] (PRIuLEAST16): Likewise.
67878         [C99-based-standards] (PRIxLEAST16): Likewise.
67879         [C99-based-standards] (PRIXLEAST16): Likewise.
67880         [C99-based-standards] (SCNdLEAST16): Likewise.
67881         [C99-based-standards] (SCNiLEAST16): Likewise.
67882         [C99-based-standards] (SCNoLEAST16): Likewise.
67883         [C99-based-standards] (SCNuLEAST16): Likewise.
67884         [C99-based-standards] (SCNxLEAST16): Likewise.
67885         [C99-based-standards] (PRIdFAST16): Likewise.
67886         [C99-based-standards] (PRIiFAST16): Likewise.
67887         [C99-based-standards] (PRIoFAST16): Likewise.
67888         [C99-based-standards] (PRIuFAST16): Likewise.
67889         [C99-based-standards] (PRIxFAST16): Likewise.
67890         [C99-based-standards] (PRIXFAST16): Likewise.
67891         [C99-based-standards] (SCNdFAST16): Likewise.
67892         [C99-based-standards] (SCNiFAST16): Likewise.
67893         [C99-based-standards] (SCNoFAST16): Likewise.
67894         [C99-based-standards] (SCNuFAST16): Likewise.
67895         [C99-based-standards] (SCNxFAST16): Likewise.
67896         [C99-based-standards] (PRId32): Likewise.
67897         [C99-based-standards] (PRIi32): Likewise.
67898         [C99-based-standards] (PRIo32): Likewise.
67899         [C99-based-standards] (PRIu32): Likewise.
67900         [C99-based-standards] (PRIx32): Likewise.
67901         [C99-based-standards] (PRIX32): Likewise.
67902         [C99-based-standards] (SCNd32): Likewise.
67903         [C99-based-standards] (SCNi32): Likewise.
67904         [C99-based-standards] (SCNo32): Likewise.
67905         [C99-based-standards] (SCNu32): Likewise.
67906         [C99-based-standards] (SCNx32): Likewise.
67907         [C99-based-standards] (PRIdLEAST32): Likewise.
67908         [C99-based-standards] (PRIiLEAST32): Likewise.
67909         [C99-based-standards] (PRIoLEAST32): Likewise.
67910         [C99-based-standards] (PRIuLEAST32): Likewise.
67911         [C99-based-standards] (PRIxLEAST32): Likewise.
67912         [C99-based-standards] (PRIXLEAST32): Likewise.
67913         [C99-based-standards] (SCNdLEAST32): Likewise.
67914         [C99-based-standards] (SCNiLEAST32): Likewise.
67915         [C99-based-standards] (SCNoLEAST32): Likewise.
67916         [C99-based-standards] (SCNuLEAST32): Likewise.
67917         [C99-based-standards] (SCNxLEAST32): Likewise.
67918         [C99-based-standards] (PRIdFAST32): Likewise.
67919         [C99-based-standards] (PRIiFAST32): Likewise.
67920         [C99-based-standards] (PRIoFAST32): Likewise.
67921         [C99-based-standards] (PRIuFAST32): Likewise.
67922         [C99-based-standards] (PRIxFAST32): Likewise.
67923         [C99-based-standards] (PRIXFAST32): Likewise.
67924         [C99-based-standards] (SCNdFAST32): Likewise.
67925         [C99-based-standards] (SCNiFAST32): Likewise.
67926         [C99-based-standards] (SCNoFAST32): Likewise.
67927         [C99-based-standards] (SCNuFAST32): Likewise.
67928         [C99-based-standards] (SCNxFAST32): Likewise.
67929         [C99-based-standards] (PRId64): Likewise.
67930         [C99-based-standards] (PRIi64): Likewise.
67931         [C99-based-standards] (PRIo64): Likewise.
67932         [C99-based-standards] (PRIu64): Likewise.
67933         [C99-based-standards] (PRIx64): Likewise.
67934         [C99-based-standards] (PRIX64): Likewise.
67935         [C99-based-standards] (SCNd64): Likewise.
67936         [C99-based-standards] (SCNi64): Likewise.
67937         [C99-based-standards] (SCNo64): Likewise.
67938         [C99-based-standards] (SCNu64): Likewise.
67939         [C99-based-standards] (SCNx64): Likewise.
67940         [C99-based-standards] (PRIdLEAST64): Likewise.
67941         [C99-based-standards] (PRIiLEAST64): Likewise.
67942         [C99-based-standards] (PRIoLEAST64): Likewise.
67943         [C99-based-standards] (PRIuLEAST64): Likewise.
67944         [C99-based-standards] (PRIxLEAST64): Likewise.
67945         [C99-based-standards] (PRIXLEAST64): Likewise.
67946         [C99-based-standards] (SCNdLEAST64): Likewise.
67947         [C99-based-standards] (SCNiLEAST64): Likewise.
67948         [C99-based-standards] (SCNoLEAST64): Likewise.
67949         [C99-based-standards] (SCNuLEAST64): Likewise.
67950         [C99-based-standards] (SCNxLEAST64): Likewise.
67951         [C99-based-standards] (PRIdFAST64): Likewise.
67952         [C99-based-standards] (PRIiFAST64): Likewise.
67953         [C99-based-standards] (PRIoFAST64): Likewise.
67954         [C99-based-standards] (PRIuFAST64): Likewise.
67955         [C99-based-standards] (PRIxFAST64): Likewise.
67956         [C99-based-standards] (PRIXFAST64): Likewise.
67957         [C99-based-standards] (SCNdFAST64): Likewise.
67958         [C99-based-standards] (SCNiFAST64): Likewise.
67959         [C99-based-standards] (SCNoFAST64): Likewise.
67960         [C99-based-standards] (SCNuFAST64): Likewise.
67961         [C99-based-standards] (SCNxFAST64): Likewise.
67962         [C99-based-standards] (PRIdMAX): Likewise.
67963         [C99-based-standards] (PRIiMAX): Likewise.
67964         [C99-based-standards] (PRIoMAX): Likewise.
67965         [C99-based-standards] (PRIuMAX): Likewise.
67966         [C99-based-standards] (PRIxMAX): Likewise.
67967         [C99-based-standards] (PRIXMAX): Likewise.
67968         [C99-based-standards] (SCNdMAX): Likewise.
67969         [C99-based-standards] (SCNiMAX): Likewise.
67970         [C99-based-standards] (SCNoMAX): Likewise.
67971         [C99-based-standards] (SCNuMAX): Likewise.
67972         [C99-based-standards] (SCNxMAX): Likewise.
67973         [C99-based-standards] (PRIdPTR): Likewise.
67974         [C99-based-standards] (PRIiPTR): Likewise.
67975         [C99-based-standards] (PRIoPTR): Likewise.
67976         [C99-based-standards] (PRIuPTR): Likewise.
67977         [C99-based-standards] (PRIxPTR): Likewise.
67978         [C99-based-standards] (PRIXPTR): Likewise.
67979         [C99-based-standards] (SCNdPTR): Likewise.
67980         [C99-based-standards] (SCNiPTR): Likewise.
67981         [C99-based-standards] (SCNoPTR): Likewise.
67982         [C99-based-standards] (SCNuPTR): Likewise.
67983         [C99-based-standards] (SCNxPTR): Likewise.
67984         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67985         allow.
67986         * conform/data/stdint.h-data: Update comments to clarify
67987         requirements.
67988         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67989         type.
67990         [C99-based standards] (INT8_MAX): Likewise.
67991         [C99-based standards] (INT16_MIN): Likewise.
67992         [C99-based standards] (INT16_MAX): Likewise.
67993         [C99-based standards] (INT32_MIN): Likewise.
67994         [C99-based standards] (INT32_MAX): Likewise.
67995         [C99-based standards] (INT64_MIN): Likewise.
67996         [C99-based standards] (INT64_MAX): Likewise.
67997         [C99-based standards] (UINT8_MAX): Likewise.
67998         [C99-based standards] (UINT16_MAX): Likewise.
67999         [C99-based standards] (UINT32_MAX): Likewise.
68000         [C99-based standards] (UINT64_MAX): Likewise.
68001         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68002         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68003         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68004         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68005         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68006         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68007         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68008         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68009         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68010         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68011         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68012         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68013         [C99-based standards] (INT_FAST8_MIN): Likewise.
68014         [C99-based standards] (INT_FAST8_MAX): Likewise.
68015         [C99-based standards] (INT_FAST16_MIN): Likewise.
68016         [C99-based standards] (INT_FAST16_MAX): Likewise.
68017         [C99-based standards] (INT_FAST32_MIN): Likewise.
68018         [C99-based standards] (INT_FAST32_MAX): Likewise.
68019         [C99-based standards] (INT_FAST64_MIN): Likewise.
68020         [C99-based standards] (INT_FAST64_MAX): Likewise.
68021         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68022         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68023         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68024         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68025         [C99-based standards] (INTPTR_MIN): Likewise.
68026         [C99-based standards] (INTPTR_MAX): Likewise.
68027         [C99-based standards] (UINTPTR_MAX): Likewise.
68028         [C99-based standards] (INTMAX_MIN): Likewise.
68029         [C99-based standards] (INTMAX_MAX): Likewise.
68030         [C99-based standards] (UINTMAX_MAX): Likewise.
68031         [C99-based standards] (PTRDIFF_MIN): Likewise.
68032         [C99-based standards] (PTRDIFF_MAX): Likewise.
68033         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68034         [C99-based standards] (SIZE_MAX): Likewise.
68035         [C99-based standards] (WCHAR_MAX): Likewise.
68036         [C99-based standards] (WINT_MAX): Likewise.
68037         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68038         constraint on value.
68039         [C99-based standards] (WCHAR_MIN): Likewise.
68040         [C99-based standards] (WINT_MIN): Likewise.
68041         [C99-based standards] (*_t): Allow.
68042         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68043         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68044         Include math.h-data and complex.h-data.  Remove all expectations
68045         of math.h and complex.h contents.
68046         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68047         at end of line.
68048         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68049         (struct tm): Expect tag.
68050         [C99-based-standards] (wcstof): Expect function.
68051         [C99-based-standards] (wcstold): Likewise.
68052         [C99-based-standards] (wcstoll): Likewise.
68053         [C99-based-standards] (wcstoull): Likewise.
68054         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68055         macro-int-constant.  Specify type.
68056         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68057         constraint on value.
68058         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68059         Specify type.
68060         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68061         Specify value.
68062         [ISO C standards]: Do not allow headers.
68063         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68064         wcs[abcdefghijklmnopqrstuvwxyz]*.
68065         [ISO C standards] (*_t): Do not allow.
68066         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68067         Expect function.
68068         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68069         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68070         Specify type.
68071         [ISO C standards]: Do not allow headers.
68072         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68073         is[abcdefghijklmnopqrstuvwxyz]*.
68074         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68075         to[abcdefghijklmnopqrstuvwxyz]*.
68076         [ISO C standards] (*_t): Do not allow.
68077         * conform/data/stdalign.h-data: New file.
68078         * conform/data/stdbool.h-data: Likewise.
68079         * conform/data/stdnoreturn.h-data: Likewise.
68081 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68083         [BZ #14815]
68084         * manual/filesys.texi (Directory Entries): Typo fix.
68085         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68087 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68089         * elf/elf.h (EM_AARCH64): New macro.
68090         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68091         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68092         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68093         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68094         (R_AARCH64_TLSDESC): Likewise.
68095         (NT_ARM_TLS): Likewise.
68096         (NT_ARM_HW_BREAK): Likewise.
68097         (NT_ARM_HW_WATCH): Likewise.
68099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68101         [BZ #14811]
68102         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68103         (__ieee754_powl): Saturate nonzero exponents with absolute value
68104         below 0x1p-79 to +/- 0x1p-79.
68105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68106         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68107         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68108         nonzero exponents with absolute value below 0x1p-32 to +/-
68109         0x1p-32.
68110         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68111         (__ieee754_powl): Saturate nonzero exponents with absolute value
68112         below 0x1p-79 to +/- 0x1p-79.
68113         * math/libm-test.inc (pow_test): Add more tests.
68115 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68117         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68118         _dl_s390_cap_flags with kernel. Increase string length.
68119         (_dl_s390_platforms): Add z196 and zEC12.
68121 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68123         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68124         Change XOPEN21K to XOPEN2K.
68126 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68128         * string/memmove.c: Use memcpy when possible.
68130 2012-11-06  Andreas Jaeger  <aj@suse.de>
68132         * po/eo.po: Update from translation team.
68134 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68136         [BZ #14793]
68137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68138         exponent and small x and y exponents, scale x or y up.  Increase
68139         by 2 the exponent used in scaling up.
68140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68142         * math/libm-test.inc (fma_test): Add more tests.
68143         (fma_test_towardzero): Likewise.
68144         (fma_test_downward): Likewise.
68145         (fma_test_upward): Likewise.
68147 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68149         [BZ #14805]
68150         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68151         fenv_t *.
68153         [BZ #14801]
68154         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68155         namespace for names of struct fields.
68156         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68157         fenv_t fields.
68158         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68159         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68161 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68163         [BZ #3665]
68164         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68166 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68168         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68169         PTR_DEMANGLE.
68171         [BZ #5246]
68172         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68173         PTR_DEMANGLE.
68175 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68177         [BZ #14797]
68178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68179         definitely overflow as x * y not x * y + z.
68180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68182         * math/libm-test.inc (fma_test): Add more tests.
68183         (fma_test_towardzero): Likewise.
68184         (fma_test_downward): Likewise.
68185         (fma_test_upward): Likewise.
68187 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68189         [BZ #157]
68191         * include/stub-tag.h: Remove file.
68192         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68193         '#include' of it.
68194         * manual/maint.texi (Porting): Don't reference it.
68195         * Makerules ($(objpfx)stubs): Likewise.
68196         * dirent/closedir.c: Don't include <stub-tag.h>.
68197         * dirent/dirfd.c: Likewise.
68198         * dirent/fdopendir.c: Likewise.
68199         * dirent/getdents.c: Likewise.
68200         * dirent/getdents64.c: Likewise.
68201         * dirent/opendir.c: Likewise.
68202         * dirent/readdir.c: Likewise.
68203         * dirent/readdir64.c: Likewise.
68204         * dirent/readdir64_r.c: Likewise.
68205         * dirent/readdir_r.c: Likewise.
68206         * dirent/rewinddir.c: Likewise.
68207         * dirent/seekdir.c: Likewise.
68208         * dirent/telldir.c: Likewise.
68209         * gmon/profil.c: Likewise.
68210         * grp/setgroups.c: Likewise.
68211         * inet/if_index.c: Likewise.
68212         * io/access.c: Likewise.
68213         * io/chdir.c: Likewise.
68214         * io/chmod.c: Likewise.
68215         * io/chown.c: Likewise.
68216         * io/close.c: Likewise.
68217         * io/dup.c: Likewise.
68218         * io/dup2.c: Likewise.
68219         * io/dup3.c: Likewise.
68220         * io/euidaccess.c: Likewise.
68221         * io/faccessat.c: Likewise.
68222         * io/fchdir.c: Likewise.
68223         * io/fchmod.c: Likewise.
68224         * io/fchmodat.c: Likewise.
68225         * io/fchown.c: Likewise.
68226         * io/fchownat.c: Likewise.
68227         * io/fcntl.c: Likewise.
68228         * io/flock.c: Likewise.
68229         * io/fstatfs.c: Likewise.
68230         * io/fstatfs64.c: Likewise.
68231         * io/fstatvfs.c: Likewise.
68232         * io/fstatvfs64.c: Likewise.
68233         * io/futimens.c: Likewise.
68234         * io/fxstat.c: Likewise.
68235         * io/fxstat64.c: Likewise.
68236         * io/fxstatat.c: Likewise.
68237         * io/fxstatat64.c: Likewise.
68238         * io/getcwd.c: Likewise.
68239         * io/isatty.c: Likewise.
68240         * io/lchmod.c: Likewise.
68241         * io/lchown.c: Likewise.
68242         * io/link.c: Likewise.
68243         * io/linkat.c: Likewise.
68244         * io/lseek.c: Likewise.
68245         * io/lseek64.c: Likewise.
68246         * io/lxstat64.c: Likewise.
68247         * io/mkdir.c: Likewise.
68248         * io/mkdirat.c: Likewise.
68249         * io/mkfifo.c: Likewise.
68250         * io/mkfifoat.c: Likewise.
68251         * io/open.c: Likewise.
68252         * io/open64.c: Likewise.
68253         * io/openat.c: Likewise.
68254         * io/openat64.c: Likewise.
68255         * io/pipe.c: Likewise.
68256         * io/pipe2.c: Likewise.
68257         * io/poll.c: Likewise.
68258         * io/posix_fadvise.c: Likewise.
68259         * io/posix_fadvise64.c: Likewise.
68260         * io/posix_fallocate.c: Likewise.
68261         * io/posix_fallocate64.c: Likewise.
68262         * io/read.c: Likewise.
68263         * io/readlink.c: Likewise.
68264         * io/readlinkat.c: Likewise.
68265         * io/rmdir.c: Likewise.
68266         * io/sendfile.c: Likewise.
68267         * io/sendfile64.c: Likewise.
68268         * io/statfs.c: Likewise.
68269         * io/statfs64.c: Likewise.
68270         * io/statvfs.c: Likewise.
68271         * io/statvfs64.c: Likewise.
68272         * io/symlink.c: Likewise.
68273         * io/symlinkat.c: Likewise.
68274         * io/ttyname.c: Likewise.
68275         * io/ttyname_r.c: Likewise.
68276         * io/umask.c: Likewise.
68277         * io/unlink.c: Likewise.
68278         * io/unlinkat.c: Likewise.
68279         * io/utime.c: Likewise.
68280         * io/utimensat.c: Likewise.
68281         * io/write.c: Likewise.
68282         * io/xmknod.c: Likewise.
68283         * io/xmknodat.c: Likewise.
68284         * io/xstat.c: Likewise.
68285         * io/xstat64.c: Likewise.
68286         * login/getpt.c: Likewise.
68287         * login/grantpt.c: Likewise.
68288         * login/unlockpt.c: Likewise.
68289         * math/e_acoshl.c: Likewise.
68290         * math/e_acosl.c: Likewise.
68291         * math/e_asinl.c: Likewise.
68292         * math/e_atan2l.c: Likewise.
68293         * math/e_atanhl.c: Likewise.
68294         * math/e_coshl.c: Likewise.
68295         * math/e_expl.c: Likewise.
68296         * math/e_fmodl.c: Likewise.
68297         * math/e_gammal_r.c: Likewise.
68298         * math/e_hypotl.c: Likewise.
68299         * math/e_j0l.c: Likewise.
68300         * math/e_j1l.c: Likewise.
68301         * math/e_jnl.c: Likewise.
68302         * math/e_lgammal_r.c: Likewise.
68303         * math/e_log10l.c: Likewise.
68304         * math/e_log2l.c: Likewise.
68305         * math/e_logl.c: Likewise.
68306         * math/e_powl.c: Likewise.
68307         * math/e_rem_pio2l.c: Likewise.
68308         * math/e_sinhl.c: Likewise.
68309         * math/e_sqrtl.c: Likewise.
68310         * math/fclrexcpt.c: Likewise.
68311         * math/fedisblxcpt.c: Likewise.
68312         * math/feenablxcpt.c: Likewise.
68313         * math/fegetenv.c: Likewise.
68314         * math/fegetexcept.c: Likewise.
68315         * math/fegetround.c: Likewise.
68316         * math/feholdexcpt.c: Likewise.
68317         * math/fesetenv.c: Likewise.
68318         * math/fesetround.c: Likewise.
68319         * math/feupdateenv.c: Likewise.
68320         * math/fgetexcptflg.c: Likewise.
68321         * math/fraiseexcpt.c: Likewise.
68322         * math/fsetexcptflg.c: Likewise.
68323         * math/ftestexcept.c: Likewise.
68324         * math/k_cosl.c: Likewise.
68325         * math/k_rem_pio2l.c: Likewise.
68326         * math/k_sinl.c: Likewise.
68327         * math/k_tanl.c: Likewise.
68328         * math/s_asinhl.c: Likewise.
68329         * math/s_atanl.c: Likewise.
68330         * math/s_cbrtl.c: Likewise.
68331         * math/s_erfl.c: Likewise.
68332         * math/s_expm1l.c: Likewise.
68333         * math/s_log1pl.c: Likewise.
68334         * math/s_tanhl.c: Likewise.
68335         * misc/acct.c: Likewise.
68336         * misc/brk.c: Likewise.
68337         * misc/chflags.c: Likewise.
68338         * misc/chroot.c: Likewise.
68339         * misc/fchflags.c: Likewise.
68340         * misc/fgetxattr.c: Likewise.
68341         * misc/flistxattr.c: Likewise.
68342         * misc/fremovexattr.c: Likewise.
68343         * misc/fsetxattr.c: Likewise.
68344         * misc/fsync.c: Likewise.
68345         * misc/ftruncate.c: Likewise.
68346         * misc/futimes.c: Likewise.
68347         * misc/futimesat.c: Likewise.
68348         * misc/getdomain.c: Likewise.
68349         * misc/getdtsz.c: Likewise.
68350         * misc/gethostid.c: Likewise.
68351         * misc/gethostname.c: Likewise.
68352         * misc/getloadavg.c: Likewise.
68353         * misc/getpagesize.c: Likewise.
68354         * misc/getsysstats.c: Likewise.
68355         * misc/getxattr.c: Likewise.
68356         * misc/gtty.c: Likewise.
68357         * misc/ioctl.c: Likewise.
68358         * misc/lgetxattr.c: Likewise.
68359         * misc/listxattr.c: Likewise.
68360         * misc/llistxattr.c: Likewise.
68361         * misc/lremovexattr.c: Likewise.
68362         * misc/lsetxattr.c: Likewise.
68363         * misc/lutimes.c: Likewise.
68364         * misc/madvise.c: Likewise.
68365         * misc/mincore.c: Likewise.
68366         * misc/mlock.c: Likewise.
68367         * misc/mlockall.c: Likewise.
68368         * misc/mmap.c: Likewise.
68369         * misc/mprotect.c: Likewise.
68370         * misc/msync.c: Likewise.
68371         * misc/munlock.c: Likewise.
68372         * misc/munlockall.c: Likewise.
68373         * misc/munmap.c: Likewise.
68374         * misc/preadv.c: Likewise.
68375         * misc/preadv64.c: Likewise.
68376         * misc/ptrace.c: Likewise.
68377         * misc/pwritev.c: Likewise.
68378         * misc/pwritev64.c: Likewise.
68379         * misc/readv.c: Likewise.
68380         * misc/reboot.c: Likewise.
68381         * misc/remap_file_pages.c: Likewise.
68382         * misc/removexattr.c: Likewise.
68383         * misc/revoke.c: Likewise.
68384         * misc/select.c: Likewise.
68385         * misc/setdomain.c: Likewise.
68386         * misc/setegid.c: Likewise.
68387         * misc/seteuid.c: Likewise.
68388         * misc/sethostid.c: Likewise.
68389         * misc/sethostname.c: Likewise.
68390         * misc/setregid.c: Likewise.
68391         * misc/setreuid.c: Likewise.
68392         * misc/setxattr.c: Likewise.
68393         * misc/sstk.c: Likewise.
68394         * misc/stty.c: Likewise.
68395         * misc/swapoff.c: Likewise.
68396         * misc/swapon.c: Likewise.
68397         * misc/sync.c: Likewise.
68398         * misc/syncfs.c: Likewise.
68399         * misc/syscall.c: Likewise.
68400         * misc/truncate.c: Likewise.
68401         * misc/ualarm.c: Likewise.
68402         * misc/usleep.c: Likewise.
68403         * misc/ustat.c: Likewise.
68404         * misc/utimes.c: Likewise.
68405         * misc/vhangup.c: Likewise.
68406         * misc/writev.c: Likewise.
68407         * posix/_exit.c: Likewise.
68408         * posix/alarm.c: Likewise.
68409         * posix/execve.c: Likewise.
68410         * posix/fexecve.c: Likewise.
68411         * posix/fork.c: Likewise.
68412         * posix/fpathconf.c: Likewise.
68413         * posix/getaddrinfo.c: Likewise.
68414         * posix/getegid.c: Likewise.
68415         * posix/geteuid.c: Likewise.
68416         * posix/getgid.c: Likewise.
68417         * posix/getgroups.c: Likewise.
68418         * posix/getlogin.c: Likewise.
68419         * posix/getlogin_r.c: Likewise.
68420         * posix/getpgid.c: Likewise.
68421         * posix/getpid.c: Likewise.
68422         * posix/getppid.c: Likewise.
68423         * posix/getresgid.c: Likewise.
68424         * posix/getresuid.c: Likewise.
68425         * posix/getsid.c: Likewise.
68426         * posix/getuid.c: Likewise.
68427         * posix/glob64.c: Likewise.
68428         * posix/nanosleep.c: Likewise.
68429         * posix/pathconf.c: Likewise.
68430         * posix/pause.c: Likewise.
68431         * posix/posix_madvise.c: Likewise.
68432         * posix/pread.c: Likewise.
68433         * posix/pread64.c: Likewise.
68434         * posix/pwrite.c: Likewise.
68435         * posix/pwrite64.c: Likewise.
68436         * posix/sched_getaffinity.c: Likewise.
68437         * posix/sched_getp.c: Likewise.
68438         * posix/sched_gets.c: Likewise.
68439         * posix/sched_primax.c: Likewise.
68440         * posix/sched_primin.c: Likewise.
68441         * posix/sched_rr_gi.c: Likewise.
68442         * posix/sched_setaffinity.c: Likewise.
68443         * posix/sched_setp.c: Likewise.
68444         * posix/sched_sets.c: Likewise.
68445         * posix/sched_yield.c: Likewise.
68446         * posix/setgid.c: Likewise.
68447         * posix/setlogin.c: Likewise.
68448         * posix/setpgid.c: Likewise.
68449         * posix/setresgid.c: Likewise.
68450         * posix/setresuid.c: Likewise.
68451         * posix/setsid.c: Likewise.
68452         * posix/setuid.c: Likewise.
68453         * posix/sleep.c: Likewise.
68454         * posix/spawni.c: Likewise.
68455         * posix/sysconf.c: Likewise.
68456         * posix/times.c: Likewise.
68457         * posix/wait.c: Likewise.
68458         * posix/wait3.c: Likewise.
68459         * posix/wait4.c: Likewise.
68460         * posix/waitpid.c: Likewise.
68461         * resolv/gai_sigqueue.c: Likewise.
68462         * resource/getpriority.c: Likewise.
68463         * resource/getrlimit.c: Likewise.
68464         * resource/getrusage.c: Likewise.
68465         * resource/nice.c: Likewise.
68466         * resource/setpriority.c: Likewise.
68467         * resource/setrlimit.c: Likewise.
68468         * resource/ulimit.c: Likewise.
68469         * rt/aio_cancel.c: Likewise.
68470         * rt/aio_fsync.c: Likewise.
68471         * rt/aio_read.c: Likewise.
68472         * rt/aio_sigqueue.c: Likewise.
68473         * rt/aio_suspend.c: Likewise.
68474         * rt/aio_write.c: Likewise.
68475         * rt/clock_getres.c: Likewise.
68476         * rt/clock_gettime.c: Likewise.
68477         * rt/clock_nanosleep.c: Likewise.
68478         * rt/clock_settime.c: Likewise.
68479         * rt/lio_listio.c: Likewise.
68480         * rt/mq_close.c: Likewise.
68481         * rt/mq_getattr.c: Likewise.
68482         * rt/mq_notify.c: Likewise.
68483         * rt/mq_open.c: Likewise.
68484         * rt/mq_receive.c: Likewise.
68485         * rt/mq_send.c: Likewise.
68486         * rt/mq_setattr.c: Likewise.
68487         * rt/mq_timedreceive.c: Likewise.
68488         * rt/mq_timedsend.c: Likewise.
68489         * rt/mq_unlink.c: Likewise.
68490         * rt/shm_open.c: Likewise.
68491         * rt/shm_unlink.c: Likewise.
68492         * rt/timer_create.c: Likewise.
68493         * rt/timer_delete.c: Likewise.
68494         * rt/timer_getoverr.c: Likewise.
68495         * rt/timer_gettime.c: Likewise.
68496         * rt/timer_settime.c: Likewise.
68497         * setjmp/__longjmp.c: Likewise.
68498         * setjmp/setjmp.c: Likewise.
68499         * signal/kill.c: Likewise.
68500         * signal/killpg.c: Likewise.
68501         * signal/raise.c: Likewise.
68502         * signal/sigaction.c: Likewise.
68503         * signal/sigaltstack.c: Likewise.
68504         * signal/sigblock.c: Likewise.
68505         * signal/sigignore.c: Likewise.
68506         * signal/sigintr.c: Likewise.
68507         * signal/signal.c: Likewise.
68508         * signal/sigpause.c: Likewise.
68509         * signal/sigpending.c: Likewise.
68510         * signal/sigqueue.c: Likewise.
68511         * signal/sigreturn.c: Likewise.
68512         * signal/sigset.c: Likewise.
68513         * signal/sigsetmask.c: Likewise.
68514         * signal/sigstack.c: Likewise.
68515         * signal/sigsuspend.c: Likewise.
68516         * signal/sigtimedwait.c: Likewise.
68517         * signal/sigvec.c: Likewise.
68518         * signal/sigwait.c: Likewise.
68519         * signal/sigwaitinfo.c: Likewise.
68520         * signal/sysv_signal.c: Likewise.
68521         * socket/accept.c: Likewise.
68522         * socket/accept4.c: Likewise.
68523         * socket/bind.c: Likewise.
68524         * socket/connect.c: Likewise.
68525         * socket/getpeername.c: Likewise.
68526         * socket/getsockname.c: Likewise.
68527         * socket/getsockopt.c: Likewise.
68528         * socket/isfdtype.c: Likewise.
68529         * socket/listen.c: Likewise.
68530         * socket/recv.c: Likewise.
68531         * socket/recvfrom.c: Likewise.
68532         * socket/recvmsg.c: Likewise.
68533         * socket/send.c: Likewise.
68534         * socket/sendmsg.c: Likewise.
68535         * socket/sendto.c: Likewise.
68536         * socket/setsockopt.c: Likewise.
68537         * socket/shutdown.c: Likewise.
68538         * socket/sockatmark.c: Likewise.
68539         * socket/socket.c: Likewise.
68540         * socket/socketpair.c: Likewise.
68541         * stdio-common/ctermid.c: Likewise.
68542         * stdio-common/cuserid.c: Likewise.
68543         * stdio-common/remove.c: Likewise.
68544         * stdio-common/rename.c: Likewise.
68545         * stdio-common/renameat.c: Likewise.
68546         * stdio-common/tempname.c: Likewise.
68547         * stdlib/getcontext.c: Likewise.
68548         * stdlib/makecontext.c: Likewise.
68549         * stdlib/setcontext.c: Likewise.
68550         * stdlib/swapcontext.c: Likewise.
68551         * stdlib/system.c: Likewise.
68552         * streams/fattach.c: Likewise.
68553         * streams/fdetach.c: Likewise.
68554         * streams/getmsg.c: Likewise.
68555         * streams/getpmsg.c: Likewise.
68556         * streams/putmsg.c: Likewise.
68557         * streams/putpmsg.c: Likewise.
68558         * sysdeps/unix/bsd/getpt.c: Likewise.
68559         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68560         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68561         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68563         Likewise.
68564         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68565         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68566         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68567         * sysvipc/msgctl.c: Likewise.
68568         * sysvipc/msgget.c: Likewise.
68569         * sysvipc/msgrcv.c: Likewise.
68570         * sysvipc/msgsnd.c: Likewise.
68571         * sysvipc/semctl.c: Likewise.
68572         * sysvipc/semget.c: Likewise.
68573         * sysvipc/semop.c: Likewise.
68574         * sysvipc/semtimedop.c: Likewise.
68575         * sysvipc/shmat.c: Likewise.
68576         * sysvipc/shmctl.c: Likewise.
68577         * sysvipc/shmdt.c: Likewise.
68578         * sysvipc/shmget.c: Likewise.
68579         * termios/tcdrain.c: Likewise.
68580         * termios/tcflow.c: Likewise.
68581         * termios/tcflush.c: Likewise.
68582         * termios/tcgetattr.c: Likewise.
68583         * termios/tcgetpgrp.c: Likewise.
68584         * termios/tcsendbrk.c: Likewise.
68585         * termios/tcsetattr.c: Likewise.
68586         * termios/tcsetpgrp.c: Likewise.
68587         * time/adjtime.c: Likewise.
68588         * time/clock.c: Likewise.
68589         * time/getitimer.c: Likewise.
68590         * time/gettimeofday.c: Likewise.
68591         * time/setitimer.c: Likewise.
68592         * time/settimeofday.c: Likewise.
68593         * time/stime.c: Likewise.
68594         * time/time.c: Likewise.
68596 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68598         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68599         /usr/old/bin.
68601         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68602         instead of spaces.
68603         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68605 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68607         [BZ #14796]
68608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68609         FE_TONEAREST before applying Dekker multiplication and Knuth
68610         addition.  Clear inexact exceptions and check for exact zero
68611         results afterwards.
68612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68613         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68614         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68615         * math/libm-test.inc (fma_test): Add more tests.
68616         (fma_test_towardzero): Likewise.
68617         (fma_test_downward): Likewise.
68618         (fma_test_upward): Likewise.
68619         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68620         function.
68621         (libc_fesetround): New macro.
68622         (libc_fesetroundf): Likewise.
68623         (libc_fesetroundl): Likewise.
68624         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68625         function.
68626         (libc_fesetround_387): Likewise.
68627         (libc_fesetroundf): New macro.
68628         (libc_fesetround): Likewise.
68629         (libc_fesetroundl): Likewise.
68630         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68631         function.
68632         (libc_fesetroundf): New macro.
68633         (libc_fesetround): Likewise.
68634         (libc_fesetroundl): Likewise.
68635         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68636         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68637         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68638         libm_hidden_ver.
68639         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68640         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68641         libm_hidden_def.
68642         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68643         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68644         libm_hidden_ver.
68645         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68646         libm_hidden_def.
68648         [BZ #3439]
68649         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68650         integer constant usable in #if and use that to give value to enum
68651         constant.
68652         (FE_DIVBYZERO): Likewise.
68653         (FE_UNDERFLOW): Likewise.
68654         (FE_OVERFLOW): Likewise.
68655         (FE_INVALID): Likewise.
68656         (FE_INVALID_SNAN): Likewise.
68657         (FE_INVALID_ISI): Likewise.
68658         (FE_INVALID_IDI): Likewise.
68659         (FE_INVALID_ZDZ): Likewise.
68660         (FE_INVALID_IMZ): Likewise.
68661         (FE_INVALID_COMPARE): Likewise.
68662         (FE_INVALID_SOFTWARE): Likewise.
68663         (FE_INVALID_SQRT): Likewise.
68664         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68665         (FE_TONEAREST): Likewise.
68666         (FE_TOWARDZERO): Likewise.
68667         (FE_UPWARD): Likewise.
68668         (FE_DOWNWARD): Likewise.
68669         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68670         (FE_DIVBYZERO): Likewise.
68671         (FE_OVERFLOW): Likewise.
68672         (FE_UNDERFLOW): Likewise.
68673         (FE_INEXACT): Likewise.
68674         (FE_TONEAREST): Likewise.
68675         (FE_DOWNWARD): Likewise.
68676         (FE_UPWARD): Likewise.
68677         (FE_TOWARDZERO): Likewise.
68678         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68679         (FE_UNDERFLOW): Likewise.
68680         (FE_OVERFLOW): Likewise.
68681         (FE_DIVBYZERO): Likewise.
68682         (FE_INVALID): Likewise.
68683         (FE_TONEAREST): Likewise.
68684         (FE_TOWARDZERO): Likewise.
68685         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68686         (FE_OVERFLOW): Likewise.
68687         (FE_UNDERFLOW): Likewise.
68688         (FE_DIVBYZERO): Likewise.
68689         (FE_INEXACT): Likewise.
68690         (FE_TONEAREST): Likewise.
68691         (FE_TOWARDZERO): Likewise.
68692         (FE_UPWARD): Likewise.
68693         (FE_DOWNWARD): Likewise.
68694         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68695         (FE_DIVBYZERO): Likewise.
68696         (FE_OVERFLOW): Likewise.
68697         (FE_UNDERFLOW): Likewise.
68698         (FE_INEXACT): Likewise.
68699         (FE_TONEAREST): Likewise.
68700         (FE_DOWNWARD): Likewise.
68701         (FE_UPWARD): Likewise.
68702         (FE_TOWARDZERO): Likewise.
68704 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68706         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68708 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68710         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68711         commands.  Quote $PWD.
68712         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68713         -x" by "export".
68714         (remove_newlines): Remove.
68716 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68718         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68719         * stdlib/stdlib.h (atof): Moved to ...
68720         * include/bits/stdlib-float.h: Here.  New file.
68721         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68722         * stdlib/bits/stdlib-float.h: New file.
68723         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68724         -mno-sse -mno-mmx.
68725         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68726         <xmmintrin.h>.
68728 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68730         * conform/conformtest.pl (@headers): Add fenv.h.
68731         * conform/data/fenv.h-data: New file.
68732         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68733         include of <math/fenv.h>.
68735         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68736         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68737         && !UNIX98].  Enables tests for XOPEN2K8.
68738         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68739         POSIX2008]: Likewise.
68741         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68742         (struct rusage): Do not expect type or its members.
68744         [BZ #3439]
68745         * math/math.h (FP_NAN): Define macro to integer constant usable in
68746         #if and use that to give value to enum constant.
68747         (FP_INFINITE): Likewise.
68748         (FP_ZERO): Likewise.
68749         (FP_SUBNORMAL): Likewise.
68750         (FP_NORMAL): Likewise.
68752 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68754         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68755         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68756         arguments.
68758 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68760         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68761         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68762         autoconf-time if not.
68763         * configure.in: Remove AC_PREREQ.
68765 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68767         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68768         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68769         of the internal implementation.
68771 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68773         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68774         except include of <misc/sys/syslog.h>.
68776 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68779         function returns with a NULL context exit with zero.
68781 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68783         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68785 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68787         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68788         (run_program_cmd): This.
68789         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68790         (tst_langinfo): New variable.  Use it.
68792 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68794         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68795         floating point opcodes.
68797 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68799         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68800         variable.
68802         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68804         * sysdeps/mach/hurd/powerpc: Remove directory.
68805         * sysdeps/mach/powerpc: Likewise.
68807 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68809         * scripts/check-local-headers.sh: Ignore c++ headers.
68811 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68813         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68814         __libc_cleanup_region_start argument.
68816 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68818         [BZ #14784]
68819         [BZ #14785]
68820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68821         x * y using scaling, not as x * y + z.
68822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68823         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68824         * math/libm-test.inc (fma_test): Add more tests.
68825         (fma_test_towardzero): Likewise.
68826         (fma_test_downward): Likewise.
68827         (fma_test_upward): Likewise.
68829 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68831         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68833 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68835         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68836         New variable.
68838 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68840         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68842 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68845         Fix sort order.
68846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68847         Likewise.
68849 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68852         Fix the order of the list for glibc 2.17.
68853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68854         Likewise.
68856 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68860 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68862         [BZ #14610]
68863         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68864         for low part of x being zero before using __atanl (y).
68865         * math/libm-test.inc (atan2_test): Add another test.
68867         * manual/install.texi (Configuring and compiling): Document
68868         general use of test-wrapper and test-wrapper-env.
68869         * INSTALL: Regenerated.
68871         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68872         (__fma): Do not extract and scale down low bits on after-rounding
68873         systems when result rounded to normal precision would have normal
68874         exponent.
68875         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68876         (__fmal): Do not extract and scale down low bits on after-rounding
68877         systems when result rounded to normal precision would have normal
68878         exponent.
68879         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68880         (__fmal): Do not extract and scale down low bits on after-rounding
68881         systems when result rounded to normal precision would have normal
68882         exponent.
68883         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68884         macro.
68885         (fma_test): Add more tests.
68886         (fma_test_towardzero): Likewise.
68887         (fma_test_downward): Likewise.
68888         (fma_test_upward): Likewise.
68890 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68892         * sysdeps/i386/tininess.h: Renamed to ...
68893         * sysdeps/x86/tininess.h: This.
68894         * sysdeps/x86_64/tininess.h: Removed.
68896 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68898         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68899         input.  Use $(build-program-cmd).
68900         ($(objpfx)tst-array1-static.out): Likewise.
68901         ($(objpfx)tst-array2.out): Likewise.
68902         ($(objpfx)tst-array3.out): Likewise.
68903         ($(objpfx)tst-array4.out): Likewise.
68904         ($(objpfx)tst-array5.out): Likewise.
68905         ($(objpfx)tst-array5-static.out): Likewise.
68907 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68909         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68910         if defined.
68912         * nss/nsswitch.h (nss_interface_function): Provide new
68913         macro for use with NSS functions.
68914         * grp/initgroups.c: Use new macro.
68915         * nss/getXXbyYY.c: Likewise.
68916         * nss/getXXbyYY_r.c: Likewise.
68917         * nss/getXXent.c: Likewise.
68918         * nss/getXXent_r.c: Likewise.
68919         * sysdeps/posix/getaddrinfo.c: Likewise.
68921 2012-10-30  Andreas Jaeger  <aj@suse.de>
68923         * po/ru.po: Update Russion translation from translation project.
68925 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68927         [BZ #14152]
68928         [BZ #14783]
68929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68930         result and shift together with sticky bit instead of replicating
68931         round-to-nearest rounding.
68932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68934         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68935         missing underflow exceptions.
68936         (fma_test_towardzero): Add more tests.
68937         (fma_test_downward): Likewise.
68938         (fma_test_upward): Likewise.
68940         [BZ #14047]
68941         * sysdeps/generic/tininess.h: New file.
68942         * sysdeps/i386/tininess.h: Likewise.
68943         * sysdeps/sh/tininess.h: Likewise.
68944         * sysdeps/x86_64/tininess.h: Likewise.
68945         * stdlib/tst-strtod-underflow.c: Likewise.
68946         * stdlib/tst-tininess.c: Likewise.
68947         * stdlib/strtod_l.c: Include <tininess.h>.
68948         (round_and_return): Do not set errno for exact underflow cases.
68949         Force an underflow exception when setting errno for underflow.
68950         Determine underflow based on rounding to normal precision if
68951         TININESS_AFTER_ROUNDING.
68952         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68953         ERANGE for exact underflow cases.
68954         * stdlib/Makefile (tests): Add tst-tininess and
68955         tst-strtod-underflow.
68956         ($(objpfx)tst-tininess): Use $(link-libm).
68957         ($(objpfx)tst-strtod-underflow): Likewise.
68959 2012-10-30  Andreas Jaeger  <aj@suse.de>
68961         [BZ #14767]
68962         * elf/Makefile (tests): Remove conditional for have-initfini-array
68963         since this is now always required and the variable does not exist
68964         anymore.
68965         (tests-static): Likewise.
68966         (modules-names): Likewise.
68968         * po/eo.po: Add Esperanto translation from translation project.
68970         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68971         merged with constructor/destructor.
68972         (init_array): Likewise.
68973         * elf/tst-array2dep.c (fini_array): Likewise.
68974         (init_array): Likewise.
68976 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68978         * manual/message.texi: Delete @cartouche tags.
68980 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68982         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68983         EOPNOTSUPP.
68984         * sysdeps/mach/hurd/fsync.c: Likewise.
68986         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68987         [_POSIX_REALTIME_SIGNALS]: Change condition to
68988         [_POSIX_REALTIME_SIGNALS > 0].
68990 2012-10-27  Andreas Jaeger  <aj@suse.de>
68992         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68993         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68995         [__WORDSIZE != 64]: Likewise.
68997 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68999         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69000         *  iconvdata/tst-tables.sh: Likewise.
69002 2012-10-25  David S. Miller  <davem@davemloft.net>
69004         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69005         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69006         of strtoull.
69008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69009         ifunc-impl-list.c
69010         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69011         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69012         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69013         file.
69015 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69018         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69019         __getdirentries.
69021 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69022             Jim Blandy  <jimb@codesourcery.com>
69024         * scripts/cross-test-ssh.sh: New file.
69025         * manual/install.texi (Configuring and compiling): Document use of
69026         cross-test-ssh.sh.
69027         * INSTALL: Regenerated.
69029 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69031         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69032         EOPNOTSUPP.
69034 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69036         * Makeconfig (run-program-prefix): Fix comment.
69038 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69039             Jim Blandy  <jimb@codesourcery.com>
69041         * Makeconfig (test-wrapper): New variable,
69042         (test-wrapper-env): Likewise.
69043         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69044         (run-built-tests): Define to yes.
69045         (run-program-prefix): Use $(test-wrapper).
69046         (built-program-cmd): Likewise.
69047         * Rules (make-test-out): Use $(test-wrapper-env) and
69048         $(host-built-program-cmd).
69049         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69050         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69051         tst-pathopt.sh.
69052         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69053         $(test-wrapper-env) to tst-rtld-load-self.sh.
69054         ($(objpfx)order2.out): Use $(test-wrapper).
69055         ($(objpfx)tst-initorder.out): Likewise.
69056         ($(objpfx)tst-initorder2.out): Likewise.
69057         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69058         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69059         (test_wrapper_env): New variable.  Use it to run ld.so.
69060         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69061         Use it to run ld.so.
69062         (test_wrapper_env): Likewise.
69063         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69064         $(test-wrapper) to run-iconv-test.sh.
69065         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69066         (ICONV): Use $test_wrapper.
69067         * posix/Makefile ($(objpfx)globtest.out): Pass
69068         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69069         globtest.sh, not $(run-program-prefix).
69070         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69071         (test_wrapper): Likewise.
69072         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69073         set together with run_via_rtld_prefix.
69074         (run_program_prefix): Define in terms of test_wrapper and
69075         run_via_rtld_prefix.
69077 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69079         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69080         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69081         Targets removed.
69083         [BZ #14743]
69084         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69085         Declare __clock_getres, __clock_gettime, __clock_settime,
69086         __clock_nanosleep, and __clock_getcpuclockid.
69087         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69088         Remove librt_hidden_def (clock_gettime).
69089         * sysdeps/unix/clock_gettime.c: Likewise.
69090         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69091         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69092         * rt/clock_getres.c: Define __clock_getres as an alias.
69093         * sysdeps/posix/clock_getres.c: Likewise.
69094         * rt/clock_settime.c: Define __clock_settime as an alias.
69095         * sysdeps/unix/clock_settime.c: Likewise.
69096         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69097         * sysdeps/unix/clock_nanosleep.c: Likewise.
69098         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69099         * rt/clock-compat.c: New file.
69100         * rt/Makefile (librt-routines): Add clock-compat and move
69101         $(clock-routines) to ...
69102         (routines): ... here, new variable.
69103         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69104         Don't add get_clockfreq here.
69105         * rt/Versions (libc: GLIBC_2.17): New version set.
69106         Add clock_* symbols here.
69107         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69108         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69109         (GLIBC_2.17): Add clock_* symbols.
69110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69114         Likewise.
69115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69116         Likewise.
69117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69121         * NEWS: Mention the move.
69123         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69124         Use __open, __read, __close rather than their public counterparts.
69125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69126         (__get_clockfreq_via_cpuinfo): Likewise.
69127         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69128         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69130         * config.h.in (HAVE_IFUNC): New #undef.
69131         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69132         was successful.
69133         * configure: Regenerated.
69135 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69137         * configure.in: Move READELF check to start of file.
69138         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69139         libc_cv_asm_gnu_indirect_function in the process.
69140         * configure: Regenerated.
69142 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69144         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69145         send the output to /dev/null.
69146         (libc_cv_cc_with_libunwind): Likewise.
69147         (libc_cv_as_noexecstack): Likewise.
69148         * configure: Regenerate.
69150 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69152         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69154         * posix/globtest.sh (TMPDIR): Do not set.
69155         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69156         (testout): Likewise.
69158 2012-10-24  Andreas Jaeger  <aj@suse.de>
69160         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69161         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69162         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69163         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69164         posix_fadvise64, posix_fallocate64.
69166         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69167         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69168         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69169         Likewise.
69170         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69171         Likewise.
69172         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69175         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69176         <bits/fcntl-linux.h>.
69177         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69180         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69181         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69182         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69183         [__WORDSIZE != 64]: Likewise.
69185 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69187         * Makeconfig (run-built-tests): New variable.
69188         * Rules [$(cross-compiling) = yes]: Change condition to
69189         [$(run-built-tests) = no].
69190         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69191         to [$(run-built-tests) = yes].
69192         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69193         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69194         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69195         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69196         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69197         * io/Makefile [$(cross-compiling) = no]: Likewise.
69198         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69199         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69200         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69201         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69202         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69203         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69204         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69205         * string/Makefile [$(cross-compiling) = no]: Likewise.
69207         * posix/Makefile ($(objpfx)globtest.out): Pass
69208         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69209         $(rtld-installed-name).
69210         * posix/globtest.sh (elf_objpfx): Remove variable.
69211         (rtld_installed_name): Likewise.
69212         (library_path): Likewise.
69213         (run_program_prefix): New variable.  Use for running globtest
69214         binary.
69216 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69217             Joseph Myers  <joseph@codesourcery.com>
69219         * Makeconfig (host-built-program-cmd): New variable.
69220         * elf/Makefile (tst-stackguard1-ARGS): Use
69221         $(host-built-program-cmd).
69222         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69223         (tst-spawn-ARGS): Likewise.
69224         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69226 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69227             Jim Blandy  <jimb@codesourcery.com>
69229         * Makeconfig (run-via-rtld-prefix): New variable.
69230         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69231         (built-program-cmd): Likewise.
69233 2012-10-22  Andreas Jaeger  <aj@suse.de>
69235         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69236         __O_RSYNC if it exists, otherwise to O_SYNC.
69238 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69239             Joseph Myers  <joseph@codesourcery.com>
69241         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69242         /dev/null.
69243         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69244         from /dev/null
69245         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69246         /dev/null.
69248 2012-10-22  Andreas Jaeger  <aj@suse.de>
69250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69251         Define always.
69252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69255         bits/fcntl-linux.h.
69257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69258         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69260         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69261         to __O_LARGEFILE.
69262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69263         to __O_LARGEFILE.
69265 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69266             Joseph Myers  <joseph@codesourcery.com>
69268         * config.make.in (NM): New variable.
69270 2012-10-21  Andreas Jaeger  <aj@suse.de>
69272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69273         definitions and declarations that are provided by
69274         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69276 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69278         [BZ #14683]
69279         * elf/Makefile (tests-static): Add tst-leaks1-static.
69280         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69281         ($(objpfx)tst-leaks1-static): New rule.
69282         ($(objpfx)tst-leaks1-static-mem): Likewise.
69283         (tst-leaks1-static-ENV): New macro.
69284         * elf/dl-open.c (dl_open_worker): Check the main application
69285         only if SHARED is defined.
69286         * elf/tst-leaks1-static.c: New file.
69288 2012-10-20  Andreas Jaeger  <aj@suse.de>
69290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69291         generic values for Linux.
69292         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69293         and declarations that are provided by <bits/fcntl-linux.h> and
69294         include <bits/fcntl-linux.h>.
69295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69298 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69300         * io/fcntl.h: Move include of <bits/types.h> to the top and
69301         include it unconditionally.
69303 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69305         * wcsmbs/Makefile (tests-ifunc): New variable.
69306         (tests): Add $(tests-ifunc).
69307         * wcsmbs/test-wcschr-ifunc.c: New file.
69308         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69309         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69310         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69311         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69312         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69314         * string/Makefile (tests-ifunc): New variable.
69315         (tests): Add $(tests-ifunc).
69316         * string/test-memccpy.c (TEST_NAME): New macro.
69317         * string/test-memchr.c (TEST_NAME): Likewise.
69318         * string/test-memcmp.c (TEST_NAME): Likewise.
69319         * string/test-memcpy.c (TEST_NAME): Likewise.
69320         * string/test-memmem.c (TEST_NAME): Likewise.
69321         * string/test-memmove.c (TEST_NAME): Likewise.
69322         * string/test-memset.c (TEST_NAME): Likewise.
69323         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69324         * string/test-stpcpy.c (TEST_NAME): Likewise.
69325         * string/test-stpncpy.c (TEST_NAME): Likewise.
69326         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69327         * string/test-strcasestr.c (TEST_NAME): Likewise.
69328         * string/test-strcat.c (TEST_NAME): Likewise.
69329         * string/test-strchr.c (TEST_NAME): Likewise.
69330         * string/test-strcmp.c(TEST_NAME): Likewise.
69331         * string/test-strcpy.c (TEST_NAME): Likewise.
69332         * string/test-strcspn.c (TEST_NAME): Likewise.
69333         * string/test-strlen.c (TEST_NAME): Likewise.
69334         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69335         * string/test-strncmp.c (TEST_NAME): Likewise.
69336         * string/test-strncpy.c (TEST_NAME): Likewise.
69337         * string/test-strnlen.c (TEST_NAME): Likewise.
69338         * string/test-strpbrk.c (TEST_NAME): Likewise.
69339         * string/test-strrchr.c (TEST_NAME): Likewise.
69340         * string/test-strspn.c (TEST_NAME): Likewise.
69341         * string/test-strstr.c (TEST_NAME): Likewise.
69342         * string/test-bcopy-ifunc.c: New file.
69343         * string/test-bzero-ifunc.c: Likewise.
69344         * string/test-memccpy-ifunc.c: Likewise.
69345         * string/test-memchr-ifunc.c: Likewise.
69346         * string/test-memcmp-ifunc.c: Likewise.
69347         * string/test-memcpy-ifunc.c: Likewise.
69348         * string/test-memmem-ifunc.c: Likewise.
69349         * string/test-memmove-ifunc.c: Likewise.
69350         * string/test-mempcpy-ifunc.c: Likewise.
69351         * string/test-memset-ifunc.c: Likewise.
69352         * string/test-rawmemchr-ifunc.c: Likewise.
69353         * string/test-stpcpy-ifunc.c: Likewise.
69354         * string/test-stpncpy-ifunc.c: Likewise.
69355         * string/test-strcasecmp-ifunc.c: Likewise.
69356         * string/test-strcasestr-ifunc.c: Likewise.
69357         * string/test-strcat-ifunc.c: Likewise.
69358         * string/test-strchr-ifunc.c: Likewise.
69359         * string/test-strchrnul-ifunc.c: Likewise.
69360         * string/test-strcmp-ifunc.c: Likewise.
69361         * string/test-strcpy-ifunc.c: Likewise.
69362         * string/test-strcspn-ifunc.c: Likewise.
69363         * string/test-strlen-ifunc.c: Likewise.
69364         * string/test-strncasecmp-ifunc.c: Likewise.
69365         * string/test-strncat-ifunc.c: Likewise.
69366         * string/test-strncmp-ifunc.c: Likewise.
69367         * string/test-strncpy-ifunc.c: Likewise.
69368         * string/test-strnlen-ifunc.c: Likewise.
69369         * string/test-strpbrk-ifunc.c: Likewise.
69370         * string/test-strrchr-ifunc.c: Likewise.
69371         * string/test-strspn-ifunc.c: Likewise.
69372         * string/test-strstr-ifunc.c: Likewise.
69374         * debug/Makefile (tests-ifunc): New variable.
69375         (tests): Add $(tests-ifunc).
69376         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69377         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69378         * debug/test-stpcpy_chk-ifunc.c: New file.
69379         * debug/test-strcpy_chk-ifunc.c: Likewise.
69381 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69383         [BZ #13601]
69384         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69385         header is not read in.
69387 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69389         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69390         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69391         directly.  Pass built executable to script as
69392         $(built-program-cmd).
69393         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69394         $testprogram without using LD_LIBRARY_PATH and $ldso.
69396         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69397         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69398         $(rtld-installed-name).
69399         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69400         (rtld_installed_name): Likewise.
69401         (library_path): Likewise.
69402         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69403         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69404         $(run-program-prefix) to tst-tables.sh.
69405         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69406         it to run tst-table-from and tst-table-to.
69407         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69408         Pass it to tst-table.sh.
69409         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69410         $(run-program-prefix) to tst-gettext.sh.
69411         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69412         tst-translit.sh.
69413         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69414         tst-gettext2.sh.
69415         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69416         to run tst-gettext.
69417         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69418         to run tst-gettext2.
69419         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69420         to run tst-translit.
69421         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69422         $(run-program-prefix) to tst-mtrace.sh.
69423         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69424         to run tst-mtrace.
69425         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69426         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69427         $(rtld-installed-name).
69428         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69429         (rtld_installed_name): Likewise.
69430         (run_program_prefix): New variable.  Use it to run wordexp-test.
69432         * Makeconfig (ARCH): Remove all definitions.
69433         (machine): Likewise.
69434         [ARCH]: Remove conditional code.
69435         [!objdir]: Give error.
69436         [!objdir] (objpfx): Remove.
69437         [!objdir] (common-objpfx): Likewise.
69438         [!objdir] (common-objdir): Likewise.
69439         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69440         AC_CONFIG_FILES call.
69441         * configure: Regenerated.
69443         [BZ #13888]
69444         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69445         or TMPDIR.
69446         (testout): Likewise.
69448         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69449         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69450         $(rtld-installed-name).
69451         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69452         (rtld_installed_name): Likewise.
69453         (runit): Remove function.
69454         (run_getconf): New variable,  Use it for running getconf binary.
69456 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69458         [BZ #14716]
69459         * string/test-memmem.c (check_result): New function.
69460         (do_one_test): Use it.
69461         (check1): New function.
69462         (test_main): Use it.
69464 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69466         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69468 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69470         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69471         (_G_LSEEK64): Likewise.
69472         (_G_MMAP64): Likewise.
69473         (_G_FSTAT64): Likewise.
69474         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69475         (_G_LSEEK64): Likewise.
69476         (_G_MMAP64): Likewise.
69477         (_G_FSTAT64): Likewise.
69478         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69479         unconditional.  Call __mmap64 directly.
69480         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69481         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69482         __lseek64 directly.
69483         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69484         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69485         __mmap64 directly.
69486         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69487         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69488         __lseek64 directly.
69489         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69490         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69491         __lseek64 directly.
69492         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69493         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69494         __lseek64 directly.
69495         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69496         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69497         __fxstat64 directly.
69498         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69499         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69500         unconditional.
69501         (freopen64) [!_G_OPEN64]: Remove conditional code.
69502         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69503         unconditional.
69504         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69505         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69506         unconditional.
69507         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69508         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69509         unconditional.
69510         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69511         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69512         unconditional.
69513         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69514         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69515         unconditional.
69516         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69517         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69518         unconditional.
69519         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69520         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69521         unconditional.
69522         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69524 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69526         [BZ #12140]
69527         * manual/memory.texi (Malloc Tunable Parameters): Add note
69528         about free list pointers overwriting some perturb bytes.
69529         Wording suggested by Roland McGrath.
69531 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69533         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69534         (lgamma_test): Likewise.
69535         (tgamma_test): Likewise.
69537 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69539         [BZ #14700]
69540         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69541         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69543 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69545         * NEWS: Mention BZ #14716.
69546         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69547         when removing AVAILABLE1_USES_J macro.
69549 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69551         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69552         (__bswap_64): __uint64_t for unsigned 64-bit int.
69554 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69556         * include/string.h (memmem): Declare libc hidden alias.
69557         * string/memmem.c (memmem): Define libc hidden alias.
69558         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69559         __read, __close instead of open, read, close.
69561 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69564         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69565         global and hidden.
69566         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69567         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69568         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69569         Likewise.
69570         (__rawmemchr_sse2): Likewise.
69571         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69572         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69573         (__strchr_sse2): Likewise.
69574         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69575         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69576         (__strcasecmp_sse2): Likewise.
69577         (__strncasecmp_sse2): Likewise.
69578         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69579         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69580         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69581         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69582         (__strrchr_sse2): Likewise.
69583         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69584         ifunc-impl-list.c.
69585         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69586         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69587         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69588         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69589         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69590         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69591         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69592         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69593         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69594         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69595         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69596         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69597         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69598         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69599         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69600         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69601         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69602         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69603         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69604         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69605         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69606         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69607         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69608         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69609         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69610         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69611         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69612         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69613         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69614         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69616         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69617         global and hidden.
69618         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69619         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69620         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69621         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69622         Likewise.
69623         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69624         Likewise.
69625         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69626         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69627         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69628         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69629         ifunc-impl-list.c.
69630         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69631         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69632         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69633         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69634         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69635         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69636         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69637         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69638         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69639         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69640         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69641         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69642         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69643         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69644         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69645         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69646         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69647         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69648         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69649         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69650         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69651         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69652         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69653         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69654         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69655         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69656         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69657         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69658         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69659         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69660         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69661         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69662         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69663         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69664         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69665         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69666         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69667         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69668         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69669         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69670         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69672         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69673         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69674         * include/ifunc-impl-list.h: New file.
69675         * misc/ifunc-impl-list.c: Likewise.
69676         * misc/Makefile (routines): Add ifunc-impl-list.
69677         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69678         * string/test-string.h: Include <ifunc-impl-list.h>.
69679         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69680         TEST_NAME]: New variables.
69681         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69682         are defined.
69683         (test_init): Call __libc_ifunc_impl_list to initialize
69684         func_list if TEST_IFUNC and TEST_NAME are defined.
69686         * string/Makefile (strop-tests): Add bcopy and bzero.
69687         * string/test-bcopy.c: New file.
69688         * string/test-bzero.c: Likewise.
69689         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69690         defined.
69691         * string/test-memset.c: Support bzero test if TEST_BZERO is
69692         defined.
69693         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69694         __libc_memmove.
69695         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69696         __libc_memset.
69697         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69698         of memset.
69700 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69702         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69703         * configure: Regenerated.
69705         * Makeconfig (+link-static-before-libc): Don't include
69706         $(link-static-libc).
69708         * libio/libio.h (_IO_pos_t): Remove.
69710 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69712         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69713         McGrath.
69715 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69717         * crypt/crypt-entry.c: Include fips-private.h.
69718         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69719         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69720         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69721         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69723 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69725         * crypt/crypt-private.h: Include stdbool.h.
69726         (_ufc_setup_salt_r): Return bool.
69727         * crypt/crypt-entry.c: Include errno.h.
69728         (__crypt_r): Return NULL with EINVAL for bad salt.
69729         * crypt/crypt_util.c (bad_for_salt): New.
69730         (_ufc_setup_salt_r): Check that salt is long enough and within
69731         the specified alphabet.
69732         * crypt/badsalttest.c: New file.
69733         * crypt/Makefile (tests): Add it.
69734         ($(objpfx)badsalttest): New.
69736 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69738         * NEWS: Add entry for BZ #14602.
69740 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69742         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69743         type-generic.
69744         * math/libm-test.inc: Update comment listing what functions and
69745         macros are tested.
69746         (isgreater_test): New function.
69747         (isgreaterequal_test): Likewise.
69748         (isless_test): Likewise.
69749         (islessequal_test): Likewise.
69750         (islessgreater_test): Likewise.
69751         (isunordered_test): Likewise.
69752         (main): Call the new functions.
69754 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69756         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69757         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69758         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69759         * sysdeps/i386/configure: Regenerated.
69760         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69761         * sysdeps/mach/configure: Regenerated.
69762         * sysdeps/mach/hurd/configure: Regenerated.
69763         * sysdeps/powerpc/configure: Regenerated.
69764         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69765         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69766         * sysdeps/s390/s390-32/configure: Regenerated.
69767         * sysdeps/s390/s390-64/configure: Regenerated.
69768         * sysdeps/sh/configure: Regenerated.
69769         * sysdeps/sparc/configure: Regenerated.
69770         * sysdeps/unix/sysv/linux/configure: Regenerated.
69771         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69772         * sysdeps/x86_64/configure: Regenerated.
69774         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69775         defined.  Don't check if MAP is NULL.
69777 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69779         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69780         (_G_stat64): Likewise.
69781         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69782         (_G_stat64): Likewise.
69783         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69784         instead of struct _G_stat64.
69785         * libio/fileops.c (mmap_remap_check): Likewise.
69786         (decide_maybe_mmap): Likewise.
69787         (_IO_new_file_seekoff): Likewise.
69788         (_IO_file_stat): Likewise.
69789         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69790         _G_off64_t.
69791         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69792         instead of struct _G_stat64.
69793         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69795 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69797         [BZ #14602]
69798         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69799         Replace with ...
69800         (CHECK_EOL): New macro.
69801         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69802         CHECK_EOL.
69803         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69804         Replace with CHECK_EOL.
69805         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69806         Replace with CHECK_EOL.
69808 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69810         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69811         type-generic.
69812         * math/libm-test.inc: Update comment listing what functions and
69813         macros are tested.
69814         (finite_test): New function.
69815         (isinf_test): Likewise.
69816         (isnan_test): Likewise.
69817         (fpclassify_test): Test subnormal input.
69818         (isfinite_test): Likewise.
69819         (isnormal_test): Likewise.
69820         (main): Call the new functions.
69822 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69824         [BZ #14660]
69825         * Makerules (%.dynsym): Force C locale when running
69826         $(OBJDUMP) --dynamic-syms.
69828 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69830         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69831         <stdint.h>.
69833 2012-10-06  David S. Miller  <davem@davemloft.net>
69835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69836         upper 32-bits of the length value in %o2 since we use branch-on-register
69837         tests which consider the entire 64-bit register.
69839 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69841         * string/test-strstr.c (check2): Add a test for page boundary.
69843 2012-10-05  David S. Miller  <davem@davemloft.net>
69845         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69846         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69847         file.
69848         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69849         sysdep_routines.
69850         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69851         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69852         and bzero when HWCAP_SPARC_CRYPTO is present.
69854 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69856         [BZ #14602]
69857         * string/test-strstr.c (check2): New function.
69858         (test_main): Call check2.
69860         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69861         and bug-strchr1.
69862         * string/bug-strcasestr1.c (do_test): Moved to ...
69863         * string/test-strcasestr.c (check1): Here.  New function.
69864         (do_one_test): Break out result checking code into ...
69865         (check_result): This.  New function.
69866         (do_one_test): Call check_result.
69867         (test_main): Call check1.
69868         * string/bug-strchr1.c (do_test): Moved to ...
69869         * string/test-strchr.c (check1): Here.  New function.
69870         (do_one_test): Break out result checking code into ...
69871         (check_result): This.  New function.
69872         (do_one_test): Call check_result.
69873         (test_main): Call check1.
69874         * string/bug-strstr1.c (main): Moved to ...
69875         * string/test-strstr.c (check1): Here.  New function.
69876         (do_one_test): Break out result checking code into ...
69877         (check_result): This.  New function.
69878         (do_one_test): Call check_result.
69879         (test_main): Call check1.
69880         * string/bug-strcasestr1.c: Removed.
69881         * string/bug-strchr1.c: Likewise.
69882         * string/bug-strstr1.c: Likewise.
69884         * elf/Makefile (dl-routines): Add hwcaps.
69885         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69886         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69887         (_dl_important_hwcaps): Moved to ...
69888         * elf/dl-hwcaps.c: Here.  New file.
69889         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69891         [BZ #14557]
69892         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69893         if IS_IN_rtld isn't defined.
69895         * elf/dl-support.c (_dl_sysinfo_map): New.
69896         Include "get-dynamic-info.h" and "setup-vdso.h".
69897         (_dl_non_dynamic_init): Call setup_vdso.
69898         * elf/dynamic-link.h: Don't include <assert.h>.
69899         (elf_get_dynamic_info): Moved to ...
69900         * elf/get-dynamic-info.h: Here.  New file.
69901         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69902         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69903         * elf/setup-vdso.h: Here.  New file.
69904         * elf/rtld.c: Include "setup-vdso.h".
69905         (dl_main): Call setup_vdso.
69907 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69909         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69910         creal in comment listing functions tested.  List finite, isinf,
69911         isnan, isless, islessequal, isgreater, isgreaterequal,
69912         islessgreater, isunordered, lgamma_r and pow10 as functions and
69913         macros not tested.  Mention which functions not tested are aliases
69914         for other functions.  Fix typo.  Note that signs of NaNs are not
69915         tested.
69917         * scripts/config.guess: Update from config.git.
69918         * scripts/config.sub: Likewise.
69920 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69922         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69923         * misc/madvise.c (madvise): Renamed to __madvise.
69924         Make madvise a weak alias.
69925         * include/sys/mman.h: Declare __madvise.
69926         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69927         * sysdeps/unix/syscalls.list
69928         (madvise): Make __madvise the strong name, and madvise a weak alias.
69929         * sysdeps/unix/sysv/linux/syscalls.list
69930         (madvise, mmap): Remove redundant entries.
69931         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69932         * malloc/malloc.c (mtrim): Likewise.
69933         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69935 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69937         * sysdeps/mach/hurd/dl-cache.c: File removed.
69938         * config.h.in (USE_LDCONFIG): New #undef.
69939         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69940         * configure: Regenerated.
69941         * elf/Makefile (dl-routines): Add dl-cache only under
69942         [$(use-ldconfig) = yes].
69943         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69944         cache on [USE_LDCONFIG].
69945         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69946         [USE_LDCONFIG].
69947         * elf/rtld.c (dl_main): Likewise.
69949 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69951         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69952         _SC_LEVEL4_CACHE_LINESIZE.
69954 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69956         * sysdeps/unix/bsd/confstr.h: File removed.
69958 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69960         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69961         sys/sdt-config.h.
69963 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69965         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69966         Make 'mapoff' field ElfW(Off) rather than off_t.
69968 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69970         * nscd/Makefile: Remove nscd-cflags and all its users.
69971         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69972         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69974         [BZ #10631]
69975         * malloc.c (malloc_printerr): Clarify error message.
69977 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69979         [BZ #14648]
69980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69981         Set bit_FMA_Usable if FMA is supported.
69982         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69983         macro.
69984         (bit_FMA4_Usable): Updated.
69985         (index_FMA_Usable): New macro.
69986         (CPUID_FMA): Likewise.
69987         (HAS_FMA): Defined with bit_FMA_Usable.
69989 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69991         * bits/types.h (__swblk_t): Type removed.
69992         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69993         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69994         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69995         (__SWBLK_T_TYPE): Likewise.
69996         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69997         (__SWBLK_T_TYPE): Likewise.
69998         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69999         (__SWBLK_T_TYPE): Likewise.
70000         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70001         (__SWBLK_T_TYPE): Likewise.
70003 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70004             Honza Horak <hhorak@redhat.com>
70006         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70007         (xdr_mapname): Use YPMAXMAP as maxsize.
70008         (xdr_peername): Use YPMAXPEER as maxsize.
70009         (xdr_keydat): Use YPAXRECORD as maxsize.
70010         (xdr_valdat): Use YPMAXRECORD as maxsize.
70012 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70014         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70016         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70017         * csu/init-first.c: ... here.
70018         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70019         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70020         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70021         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70022         * sysdeps/i386/init-first.c: File removed.
70023         * sysdeps/sh/init-first.c: File removed.
70025 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70027         [BZ #14645]
70028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70029         if x * y might underflow to zero and z is zero.
70030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70032         * math/libm-test.inc (min_subnorm_value): New variable.
70033         (fma_test): Add more tests.
70034         (fma_test_towardzero): Likewise.
70035         (fma_test_downward): Likewise.
70036         (fma_test_upward): Likewise.
70037         (initialize): Set min_subnorm_value.
70039 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70041         [BZ #14638]
70042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70043         0 + 0.
70044         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70045         mode for addition resulting in exact zero.
70046         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70047         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70048         exact 0 + 0.
70049         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70050         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70051         * math/libm-test.inc (fma_test): Add more tests.
70052         (fma_test_towardzero): New function.
70053         (fma_test_downward): Likewise.
70054         (fma_test_upward): Likewise.
70055         (main): Call the new functions.
70057 2012-09-28  David S. Miller  <davem@davemloft.net>
70059         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70061 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70063         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70064         instead of SIGALRM.
70066         * sysdeps/gnu/_G_config.h: Moved to ...
70067         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70068         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70069         * sysdeps/generic/_G_config.h: ... here.
70071         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70073         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70075         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70076         Conditionalize target on [libnss_test1.so-version].
70078         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70080         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70081         (elfobjdir): Move out of conditionals.
70083         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70084         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70085         (__nss_lookup_function): Conditionalize label remove_from_tree on
70086         [!DO_STATIC_NSS || SHARED], matching its only use.
70088 2012-09-28  David S. Miller  <davem@davemloft.net>
70090         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70091         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70092         file.
70093         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70094         sysdep_routines.
70095         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70097         when HWCAP_SPARC_CRYPTO is present.
70099 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70101         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70103 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70105         [BZ #6530]
70106         * stdio-common/vfprintf.c (process_string_arg): Revert
70107         2000-07-22 change.
70109 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70111         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70112         for testcase.
70113         * stdio-common/tst-sprintf.c: Include <locale.h>
70114         (main): Test sprintf's handling of incomplete multibyte
70115         characters.
70117 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70119         * elf/dl-runtime.c (VERSYMIDX): Removed.
70120         * elf/dl-version.c (VERSYMIDX): Likewise.
70121         * elf/do-rel.h (VERSYMIDX): Likewise.
70122         (VALIDX): Likewise.
70123         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70124         * elf/rtld.c (VALIDX): Likewise.
70125         (ADDRIDX): Likewise.
70126         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70127         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70128         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70129         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70130         (VALIDX): Likewise.
70131         (ADDRIDX): Likewise.
70133 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70135         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70137 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70139         [BZ #11438]
70140         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70141         to global scope.
70142         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70143         addresses are in the same scope as 192.0.2/24.
70144         * posix/gai.conf: Document new scope table defaults.
70146 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70148         [BZ #5298]
70149         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70150         for ftell.  Compute offsets from write pointers instead.
70151         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70153 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70155         [BZ #14543]
70156         * libio/Makefile (tests): New test case tst-fseek.
70157         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70158         combination works in wide mode.
70159         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70160         state when the external buffer state changes.
70162 2012-09-27  David S. Miller  <davem@davemloft.net>
70164         [BZ #14376]
70165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70166         pass reloc->r_addend in as the 'high' argument to
70167         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70171 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70173         * rt/tst-aio2.c: Include <pthread.h>.
70174         * rt/tst-aio3.c: Likewise.
70176 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70178         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70180 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70182         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70183         contents on [SHARED].
70185 2012-09-26  Marek Polacek  <polacek@redhat.com>
70187         [BZ #14530]
70188         [BZ #13741]
70189         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70190         for C++ and GCC <4.3 as well as for non GCC compilers.
70192 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70196 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70198         * Makefile.in (all, install): Declare with .PHONY.
70199         Reported by Michael Hope <michael.hope@linaro.org>.
70201 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70203         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70204         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70205         system header.
70206         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70207         Likewise.
70208         (sydep_routines): Add the new and the internal functions.
70209         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70210         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70212         (GLIBC_2.17): Add the new function.
70213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70214         (GLIBC_2.17): Likewise.
70215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70216         (GLIBC_2.17): Likewise.
70217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70218         (GLIBC_2.17): Likewise.
70219         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70221 2012-09-25  Alan Modra  <amodra@gmail.com>
70223         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70224         Add release barrier before setting once_control to say
70225         initialisation is done.  Add hints on lwarx.  Use macro in
70226         place of isync.
70227         (clear_once_control): Add release barrier.
70229 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70231         [BZ #13629]
70232         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70233         specially.
70234         * math/s_clog10.c (__clog10): Likewise.
70235         * math/s_clog10f.c (__clog10f): Likewise.
70236         * math/s_clog10l.c (__clog10l): Likewise.
70237         * math/s_clogf.c (__clogf): Likewise.
70238         * math/s_clogl.c (__clogl): Likewise.
70239         * math/Makefile (libm-calls): Add x2y2m1.
70240         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70241         (__x2y2m1): Likewise.
70242         (__x2y2m1l): Likewise.
70243         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70244         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70245         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70246         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70247         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70248         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70249         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70250         * sysdeps/i386/fpu/libm-test-ulps: Update.
70251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70253         [BZ #14621]
70254         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70255         int as type of variable DEPTH.
70256         (glob): Use size_t instead of int as type of variables NEWCOUNT
70257         and OLD_PATHC.
70259 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70261         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70262         Add s_sincosf-sse2.
70263         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70264         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70265         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70266         macros for using routine as __sincosf_ia32.
70267         Use macro for function declaration and weak_alias.
70268         * sysdeps/i386/fpu/libm-test-ulps: Update.
70270         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70273         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70274         subnormal argument.
70275         * math/s_cexpf.c (__cexpf): Likewise.
70276         * math/s_csinf.c (__csinf): Likewise.
70277         * math/s_csinhf.c (__csinhf): Likewise.
70278         * math/s_ctanf.c (__ctanf): Likewise.
70279         * math/s_ctanhf.c (__ctanhf): Likewise.
70280         * math/s_ccosh.c (__ccoshf): Likewise.
70281         * math/s_cexp.c (__cexpl): Likewise.
70282         * math/s_csin.c (__csin): Likewise.
70283         * math/s_csinh.c (__csinh): Likewise.
70284         * math/s_ctan.c (__ctan): Likewise.
70285         * math/s_ctanh.c (ctanh): Likewise.
70286         * math/s_ccoshl.c (__ccoshl): Likewise.
70287         * math/s_cexpl.c (__cexpl): Likewise.
70288         * math/s_csinl.c (__csinl): Likewise.
70289         * math/s_csinhl.c (__csinhl): Likewise.
70290         * math/s_ctanl.c (__ctanl): Likewise.
70291         * math/s_ctanhl.c (__ctanhl): Likewise.
70293 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70295         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70296         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70297         (_IO_off_t): Define to __off_t, not _G_off_t.
70298         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70299         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70300         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70301         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70302         type of __dummy and __dummy2 fields.
70303         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70304         (_G_ssize_t): Likewise.
70305         (_G_off_t): Likewise.
70306         (_G_pid_t): Likewise.
70307         (_G_uid_t): Likewise.
70308         (_G_wchar_t): Likewise.
70309         (_G_wint_t): Likewise.
70310         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70311         (_G_ssize_t): Likewise.
70312         (_G_off_t): Likewise.
70313         (_G_pid_t): Likewise.
70314         (_G_uid_t): Likewise.
70315         (_G_wchar_t): Likewise.
70316         (_G_wint_t): Likewise.
70317         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70318         (_G_ssize_t): Likewise.
70319         (_G_off_t): Likewise.
70320         (_G_pid_t): Likewise.
70321         (_G_uid_t): Likewise.
70322         (_G_wchar_t): Likewise.
70323         (_G_wint_t): Likewise.
70325 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70327         * malloc/arena.c: Include malloc-sysdep.h.
70328         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70329         is sufficient to shrink the heap or an unmap is needed.
70330         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70331         new function check_may_shrink_heap.
70332         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70333         new function check_may_shrink_heap.
70335 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70337         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70338         comments.
70340 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70342         * catgets/test-gencat.sh: Add "set -e".
70343         * elf/tst-pathopt.sh: Likewise.
70344         * grp/tst_fgetgrent.sh: Likewise.
70345         * iconvdata/run-iconv-test.sh: Likewise.
70346         * intl/tst-gettext.sh: Likewise.
70347         * intl/tst-gettext2.sh: Likewise.
70348         * intl/tst-gettext4.sh: Likewise.
70349         * intl/tst-gettext6.sh: Likewise.
70350         * intl/tst-translit.sh: Likewise.
70351         * io/ftwtest-sh: Likewise.
70352         * libio/test-freopen.sh: Likewise.
70353         * malloc/tst-mtrace.sh: Likewise.
70354         * posix/globtest.sh: Likewise.
70355         * posix/tst-getconf.sh: Likewise.
70356         * posix/wordexp-tst.sh: Likewise.
70357         * stdio-common/tst-printf.sh: Likewise.
70358         * stdio-common/tst-unbputc.sh: Likewise.
70359         * stdlib/tst-fmtmsg.sh: Likewise.
70360         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70361         * catgets/Makefile: Do not specify -e option when running
70362         testsuite shell scripts.
70363         * elf/Makefile: Likewise.
70364         * grp/Makefile: Likewise.
70365         * iconvdata/Makefile: Likewise.
70366         * intl/Makefile: Likewise.
70367         * io/Makefile: Likewise.
70368         * libio/Makefile: Likewise.
70369         * malloc/Makefile: Likewise.
70370         * posix/Makefile: Likewise.
70371         * stdio-common/Makefile: Likewise.
70372         * stdlib/Makefile: Likewise.
70373         * sysdeps/x86_64/Makefile: Likewise.
70375         * io/ftwtest-sh: Add copyright header.
70376         * posix/globtest.sh: Likewise.
70377         * posix/tst-getconf.sh: Likewise.
70378         * posix/wordexp-tst.sh: Likewise.
70379         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70381 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70383         [BZ #13679]
70384         * Makeconfig (+link): Defined as $(+link-static) if
70385         $(build-shared) isn't yes.
70386         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70387         isn't yes.
70388         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70390         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70392         [BZ #14562]
70393         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70394         new chunk size with MALLOC_ALIGN_MASK.
70396 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70398         [BZ #5044]
70399         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70400         <rounding-mode.h>.
70401         (__printf_fphex): Determine rounding using get_rounding_mode and
70402         round_away.
70403         * stdio-common/tst-printf-round.c (struct hex_test): New
70404         structure.
70405         (hex_tests): New variable.
70406         (test_hex_in_one_mode): New function.
70407         (do_test): Also run tests for hex float output.
70409 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70411         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70412         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70413         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70414         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70415         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70416         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70417         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70418         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70420 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70422         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70423         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70424         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70425         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70427 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70429         [BZ #14579]
70430         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70431         mode only.
70432         * elf/tst-rtld-load-self.sh: New test.
70433         * elf/Makefile: Run it.
70435 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70437         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70438         (tst-writev-ENV): Remove.
70439         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70441 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70443         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70445 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70447         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70448         unconditional.
70449         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70450         Likewise.
70451         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70452         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70453         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70454         Likewise.
70456 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70458         [BZ #14587]
70459         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70460         * config.make.in (have-cpp-asm-debuginfo): Removed.
70461         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70462         * configure: Regenerated.
70464 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70466         [BZ #5044]
70467         * stdio-common/printf_fp.c: Include <stdbool.h> and
70468         <rounding-mode.h>.
70469         (___printf_fp): Determine rounding using get_rounding_mode and
70470         round_away.
70471         * stdio-common/tst-printf-round.c: New file.
70472         * stdio-common/Makefile (tests): Add tst-printf-round.
70473         (link-libm): New variable.
70474         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70476 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70478         [BZ #14576]
70479         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70480         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70481         Likewise.
70482         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70483         Likewise.
70485 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70487         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70488         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70489         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70490         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70492 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70494         [BZ #14518]
70495         * include/rounding-mode.h: New file.
70496         * sysdeps/generic/get-rounding-mode.h: Likewise.
70497         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70498         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70499         (MAX_VALUE): New macro.
70500         (MIN_VALUE): Likewise.
70501         (overflow_value): New function.
70502         (underflow_value): Likewise.
70503         (round_and_return): Use overflow_value and underflow_value to
70504         determine return values in overflow and underflow cases.  Use
70505         round_away to determine rounding depending on rounding mode.
70506         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70507         determine return values in overflow and underflow cases.
70508         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70509         (struct test_results): New structure.
70510         (struct test): Use struct test_results to store expected results
70511         for all rounding modes.
70512         (TEST): Include expected results for all rounding modes.
70513         (test_in_one_mode): New function.
70514         (do_test): Use test_in_one_mode to compute and check results.
70515         Check results for all rounding modes.
70516         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70517         $(link-libm).
70519 2012-12-09  Allan McRae  <allan@archlinux.org>
70521         * sysdeps/i386/fpu/libm-test-ulps: Update
70523 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70525         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70526         (_G_int32_t): Likewise.
70527         (_G_uint16_t): Likewise.
70528         (_G_uint32_t): Likewise.
70529         (_G_HAVE_BOOL): Likewise.
70530         (_G_HAVE_ATEXIT): Likewise.
70531         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70532         (_G_HAVE_IO_FILE_OPEN): Likewise.
70533         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70534         (_G_int32_t): Likewise.
70535         (_G_uint16_t): Likewise.
70536         (_G_uint32_t): Likewise.
70537         (_G_HAVE_BOOL): Likewise.
70538         (_G_HAVE_ATEXIT): Likewise.
70539         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70540         (_G_HAVE_IO_FILE_OPEN): Likewise.
70541         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70542         (_G_int32_t): Likewise.
70543         (_G_uint16_t): Likewise.
70544         (_G_uint32_t): Likewise.
70545         (_G_HAVE_BOOL): Likewise.
70546         (_G_HAVE_ATEXIT): Likewise.
70547         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70548         (_G_HAVE_IO_FILE_OPEN): Likewise.
70550 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70552         * csu/libc-tls.c: Update copyright years.
70554 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70556         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70557         [!_G_USING_THUNKS]: Remove conditional code.
70558         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70559         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70561         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70562         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70563         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70564         (_G_VTABLE_LABEL_PREFIX): Likewise.
70565         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70566         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70567         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70568         (_G_VTABLE_LABEL_PREFIX): Likewise.
70569         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70570         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70571         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70572         (_G_VTABLE_LABEL_PREFIX): Likewise.
70573         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70575 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70577         * libio/Makefile: Include ../Makeconfig before tests.
70578         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70579         only if $(build-shared) is yes.
70581         * iconv/gconv_db.c: Update copyright years.
70583 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70585         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70586         unwind info if defined PIC. Fix special cases description.
70587         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70589         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70590         DP_HI_MASK entry.
70591         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70593 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70595         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70597         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70598         is NULL.
70600         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70601         (LDLIBS-tst-chk4): This.
70602         (LDFLAGS-tst-chk5): Renamed to ...
70603         (LDLIBS-tst-chk5): This.
70604         (LDFLAGS-tst-chk6): Renamed to ...
70605         (LDLIBS-tst-chk6): This.
70606         (LDFLAGS-tst-lfschk4): Renamed to ...
70607         (LDLIBS-tst-lfschk4): This.
70608         (LDFLAGS-tst-lfschk5): Renamed to ...
70609         (LDLIBS-tst-lfschk5): This.
70610         (LDFLAGS-tst-lfschk6): Renamed to ...
70611         (LDLIBS-tst-lfschk6): This.
70613         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70614         on $(common-objpfx)soversions.mk.
70616 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70618         [BZ #10014]
70619         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70620         example host name.
70622 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70624         * malloc/arena.c (arena_get_retry): New function that gets
70625         another arena for the caller to try its request on.
70626         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70627         current arena cannot fulfill the request.
70628         (__libc_memalign): Likewise.
70629         (__libc_memalign): Likewise.
70630         (__libc_pvalloc): Likewise.
70631         (__libc_calloc): Likewise.
70633 2012-09-05  John Tobey  <john.tobey@gmail.com>
70635         [BZ #13542]
70636         * manual/arith.texi (Operations on Complex): Fix description
70637         of carg branch cut.
70639 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70641         [BZ #10014]
70642         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70643         host name.
70645         [BZ #10038]
70646         * manual/memory.texi (Memory): Make order of menu items match
70647         order of sections.
70649 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70651         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70652         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70653         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70655 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70657         * csu/libc-tls.c (static_dtv): Renamed to ...
70658         (_dl_static_dtv): This.  Make it global.
70659         (_dl_initial_dtv): Removed.
70660         (__libc_setup_tls): Updated.
70661         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70662         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70663         DL_INITIAL_DTV.
70665 2012-09-06  Petr Machata  <pmachata@redhat.com>
70667         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70668         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70669         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70670         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70672 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70674         [BZ #14545]
70675         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70676         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70677         freeing dtv[-1].
70679 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70681         [BZ #14544]
70682         * Makeconfig (link-static-before-libc): Replace $(+prector)
70683         with $(+prectorT).
70684         (link-static-after-libc): Replace $(+postctor) with
70685         $(+postctorT).
70686         (link-bounded): Replace $(+prector)/$(+postctor) with
70687         $(+prectorT)/$(+postctorT).
70688         (+prectorT): New macro.
70689         (+postctorT): Likewise.
70691 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70693         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70694         (round_str): Handle values above the maximum for IBM long double
70695         as inexact.
70696         * stdlib/tst-strtod-round.c (tests): Regenerated.
70698 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70700         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70701         assembler flag.
70702         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70703         zarch_nohighgprs around the zarch optimized routines.
70704         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70705         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70707         for zarch.
70709 2012-09-05  David S. Miller  <davem@davemloft.net>
70711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70713         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70714         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70715         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70716         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70717         entries.
70719 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70721         * malloc/arena.c: Fold copyright years.
70722         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70724 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70726         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70728 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70730         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70732 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70734         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70735         change internal state upon failure.
70737 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70739         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70740         * malloc/memusage.c (mmap): Likewise.
70741         (mmap64, mremap): Likewise.  Adjust name in comment.
70743 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70745         * libio/fileops.c: Fix typos in comments.
70746         * libio/oldfileops.c: Likewise.
70747         * libio/wfileops.c: Likewise.
70749 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70751         [BZ #1349]
70752         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70753         (tst-malloc-usable-ENV): Set environment for test case.
70754         * malloc/hooks.c (malloc_check_get_size): New function to get
70755         requested size.
70756         * malloc/malloc.c (musable): Use malloc_check_get_size.
70757         * malloc/tst-malloc-usable.c: New test case.
70759 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70761         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70763 2012-09-05  Allan McRae  <allan@archlinux.org>
70765         [BZ #13966]
70766         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70767         determine header location.
70768         * configure: Regenerated.
70770 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70772         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70773         float format.
70774         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70775         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70776         format.
70777         (test): Regenerate.
70779 2012-09-04  David S. Miller  <davem@davemloft.net>
70781         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70782         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70783         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70785 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70787         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70788         failures.
70790         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70792 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70794         [BZ #9914]
70795         * libio/iogetdelim.c: Include <limits.h>.
70796         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70797         + len + 1 would overflow.
70799 2012-09-03  Andreas Jaeger  <aj@suse.de>
70801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70802         * sysdeps/i386/fpu/libm-test-ulps: Update.
70804 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70806         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70807         Add s_sinf-sse2, s_conf-sse2.
70809         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70810         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70811         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70812         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70814         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70815         for using routine as __sinf_ia32.
70816         Use macro for function declaration and weak_alias.
70817         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70818         for using routine as __cosf_ia32.
70819         Use macro for function declaration and weak_alias.
70821         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70822         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70824         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70825         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70828         * math/libm-test.inc (cos_test): Add more test cases.
70829         (sin_test): Likewise.
70830         (sincos_test): Likewise.
70832 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70834         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70835         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70836         hidden.
70837         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70839 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70841         [BZ #14538]
70842         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70843         first element of the GOT.
70844         (elf_machine_load_address): Return the difference between
70845         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70847 2012-09-01  Allan McRae  <allan@archlinux.org>
70849         [BZ #13412]
70850         * configure.in (AWK): Require gawk version 3.0 or later.
70851         * configure: Regenerated.
70853 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70855         * sysdeps/unix/sysv/linux/kernel-features.h
70856         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70857         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70858         [__NR_clock_getres]: Make code unconditional.
70859         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70860         (clock_getcpuclockid): Remove code left unreachable by removal of
70861         conditionals.
70862         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70863         code unconditional.
70864         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70865         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70866         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70867         Make code unconditional.
70868         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70869         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70870         * sysdeps/unix/sysv/linux/clock_settime.c
70871         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70872         conditional code.
70873         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70874         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70876 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70878         [BZ #14476]
70879         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70880         scripts/test-installation.pl.
70882         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70883         and $ld_so_version if it is set.
70885 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70887         [BZ #14516]
70888         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70889         failure if reading from procfs failed.
70890         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70892 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70894         * sysdeps/unix/sysv/linux/kernel-features.h
70895         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70896         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70897         Remove conditional code.
70898         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70899         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70900         Remove conditional code.
70901         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70902         * sysdeps/unix/sysv/linux/i386/fxstat.c
70903         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70904         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70905         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70906         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70907         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70908         * sysdeps/unix/sysv/linux/i386/lxstat.c
70909         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70910         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70911         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70912         Remove conditional code.
70913         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70914         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70915         Remove conditional code.
70916         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70917         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70918         <kernel-features.h>.
70919         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70920         Remove.
70921         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70922         Remove conditional code.
70923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70924         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70925         Remove conditional.
70927 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70929         [BZ #5400]
70930         * NEWS: Add fixed bug number.
70932 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70934         [BZ #14519]
70935         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70936         underflowing exponent in case of negative sign.
70937         * stdlib/tst-strtod-round-data: Add more tests.
70938         * stdlib/tst-strtod-round.c (tests): Regenerated.
70940         [BZ #3479]
70941         * stdlib/strtod_l.c (NDIG): Remove.
70942         (HEXNDIG): Likewise.
70943         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70944         smallest representable value.
70945         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70946         lie within an exact representation of 1/2 ulp of the result.
70947         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70948         unconditionally.
70949         (TENS_P9_IDX): Define unconditionally.
70950         (TENS_P9_SIZE): Likewise.
70951         (TENS_P10_IDX): Likewise.
70952         (TENS_P10_SIZE): Likewise.
70953         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70954         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70955         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70956         entries for 10^2^13 and 10^2^14.
70957         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70958         (TENS_P13_IDX): Define.
70959         (TENS_P13_SIZE): Likewise.
70960         (TENS_P14_IDX): Likewise.
70961         (TENS_P14_SIZE): Likewise.
70962         (_fpioconst_pow10): Change array size to
70963         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70964         unconditional.
70965         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70966         1024]: Add entries for 10^2^13 and 10^2^14.
70967         [LAST_POW10 > _LAST_POW10]: Remove #error.
70968         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70969         (_fpioconst_pow10): Change array size to
70970         FPIOCONST_POW10_ARRAY_SIZE.
70971         * stdlib/gen-fpioconst.c: New file.
70972         * stdlib/gen-tst-strtod-round.c: Likewise.
70973         * stdlib/tst-strtod-round-data: Likewise.
70974         * stdlib/tst-strtod-round.c: Likewise.
70975         * stdlib/Makefile (tests): Add tst-strtod-round.
70977         [BZ #14459]
70978         * stdlib/strtod_l.c: Include <stdint.h>.
70979         (NDEBUG): Do not define.
70980         (round_and_return): Change EXPONENT parameter to type intmax_t.
70981         Rearrange calculations to avoid internal overflow possibilities.
70982         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70983         Rearrange calculations to avoid internal overflow possibilities.
70984         Assert that number fits inside MPNSIZE limbs.
70985         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70986         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70987         calculations and add assertions to avoid internal overflow
70988         possibilities.  Add casts to avoid signed/unsigned operations.
70989         * stdlib/tst-strtod-overflow.c: New file.
70990         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70992 2012-08-25  Marek Polacek  <polacek@redhat.com>
70994         * time/time.h: Fix some typos in comments.
70996 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70998         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70999         * posix/tst-rfc3484-2.c: Likewise.
71000         * posix/tst-rfc3484-3.c: Likewise.
71002 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71004         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71005         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71007 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71009         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71010         #include of fxstatat64.c.
71012 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71014         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71015         * shadow/getspent_r.c: Likewise.
71016         * shadow/getspnam.c: Likewise.
71017         * shadow/getspnam_r.c: Likewise.
71018         * gshadow/getsgent.c: Likewise.
71019         * gshadow/getsgent_r.c: Likewise.
71020         * gshadow/getsgnam.c: Likewise.
71021         * gshadow/getsgnam_r.c: Likewise.
71022         * inet/getnetbyad.c: Likewise.
71023         * inet/getnetbyad_r.c: Likewise.
71024         * inet/getnetbynm.c: Likewise.
71025         * inet/getnetbynm_r.c: Likewise.
71026         * inet/getnetent.c: Likewise.
71027         * inet/getnetent_r.c: Likewise.
71028         * inet/getproto.c: Likewise.
71029         * inet/getproto_r.c: Likewise.
71030         * inet/getprtent.c: Likewise.
71031         * inet/getprtent_r.c: Likewise.
71032         * inet/getprtname.c: Likewise.
71033         * inet/getprtname_r.c: Likewise.
71034         * inet/getrpcbyname.c: Likewise.
71035         * inet/getrpcbyname_r.c: Likewise.
71036         * inet/getrpcbynumber.c: Likewise.
71037         * inet/getrpcbynumber_r.c: Likewise.
71038         * inet/getrpcent.c: Likewise.
71039         * inet/getrpcent_r.c: Likewise.
71040         * inet/getaliasent.c: Likewise.
71041         * inet/getaliasent_r.c: Likewise.
71042         * inet/getaliasname.c: Likewise.
71043         * inet/getaliasname_r.c: Likewise.
71044         * nscd/getgrgid_r.c: Likewise.
71045         * nscd/getgrnam_r.c: Likewise.
71046         * nscd/gethstbyad_r.c: Likewise.
71047         * nscd/gethstbynm3_r.c: Likewise.
71048         * nscd/getpwnam_r.c: Likewise.
71049         * nscd/getpwuid_r.c: Likewise.
71050         * nscd/getsrvbynm_r.c: Likewise.
71051         * nscd/getsrvbypt_r.c: Likewise.
71052         * nscd/gai.c: Likewise.
71054         * configure.in (build_nscd): New substituted variable, set
71055         by --disable-build-nscd and defaults to $use_nscd.
71056         * configure: Regenerated.
71057         * config.make.in (build-nscd): New substituted variable.
71058         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71059         Change conditional to require [$(build-nscd) = yes] as well.
71060         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71062         [BZ #13696]
71063         * configure.in (use_nscd): New substituted variable, set by
71064         --disable-nscd.  If enabled, define USE_NSCD.
71065         * configure: Regenerated.
71066         * config.h.in: Add USE_NSCD.
71067         * config.make.in (use-nscd): New substituted variable.
71068         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71069         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71070         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71071         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71072         (CFLAGS-getgrnam_r.c): Likewise.
71073         (CFLAGS-initgroups.c): Likewise.
71074         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71075         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71076         Variables removed.
71077         * inet/getnetgrent_r.c
71078         (nscd_setnetgrent): New function, broken out of ...
71079         (setnetgrent): ... here.  Call it.
71080         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71081         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71082         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71083         * nscd/Makefile (routines, aux): Move definitions after include of
71084         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71085         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71086         Conditionalize on [USE_NSCD].
71087         (is_nscd, nscd_init_cb): Likewise.
71088         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71089         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71090         * nss/nss_db/db-init.c: Likewise.
71091         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71092         [USE_NSCD].
71093         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71094         (make_request): Use it.
71095         (cache_valid_p): New function.
71096         (__check_pf): Use it.
71097         * NEWS: Add item for --disable-nscd.
71099 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71101         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71102         to support sed >= 4.2.1-20-ga9bf076.
71103         * configure: Regenerated.
71105 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71107         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71108         Conditionalize whole body on [IREL].
71110 2012-08-22  Jeff Law <law@redhat.com>
71112         [BZ #14505]
71113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71114         if the family is PF_UNSPEC.
71116 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71118         * Makerules (lib-version): Rename from V.
71119         (install-lib-nosubdir): Change V to lib-version.
71121 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71123         [BZ #14252]
71124         * powerpc32/power6/wcschr.c: New file.
71125         * powerpc32/power6/wcscpy.c: New file.
71126         * powerpc32/power6/wcsrchr.c: New file.
71127         * powerpc64/power6/wcschr.c: New file.
71128         * powerpc64/power6/wcscpy.c: New file.
71129         * powerpc64/power6/wcsrchr.c: New file.
71131 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71133         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71134         (two_way_short_needle): Use it.
71135         * string/strstr.c (AVAILABLE1_USES_J): Define.
71136         * string/strcasestr.c: Likewise.
71138         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71139         array references.
71140         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71142         [BZ #11607]
71143         * NEWS: Add an entry.
71144         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71145         define their defaults.
71146         (two_way_short_needle): Detect end-of-string on-the-fly.
71147         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71148         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71149         * string/bug-strcasestr1.c: New test.
71150         * string/Makefile: Run it.
71152 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71154         [BZ #11607]
71155         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71156         the first character.
71158 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71160         * csu/elf-init.c (__libc_csu_irel): Function removed.
71161         * csu/libc-start.c (apply_irel): New function.
71162         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71164 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71166         * sysdeps/unix/sysv/linux/kernel-features.h
71167         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71168         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71169         <kernel-features.h>.
71170         [__NR_fadvise64_64]: Make code unconditional.
71171         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71172         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71173         !__NR_fadvise64_64)]: Likewise.
71174         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71175         !__NR_fadvise64_64))]: Likewise.
71176         [__NR_fadvise64]: Make code unconditional.
71177         [!__NR_fadvise64]: Remove conditional code.
71178         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71179         <kernel-features.h>.
71180         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71181         unconditional.
71182         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71183         conditional code.
71184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71185         not include <kernel-features.h>.
71186         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71187         unconditional.
71188         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71189         conditional code.
71190         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71191         include <kernel-features.h>.
71192         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71193         unconditional.
71194         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71195         conditional code.
71197 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71200         slight instruction rearrangements per scrollpipe analysis.
71201         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71203 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71205         * manual/syslog.texi (syslog; vsyslog, closelog):
71206         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71207         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71209         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71210         DSOCAPS to match condition on defining it.
71212 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71214         * sysdeps/unix/sysv/linux/kernel-features.h
71215         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71217         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71218         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71220         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71221         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71223         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71224         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71226         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71227         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71229         * sysdeps/unix/sysv/linux/kernel-features.h
71230         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71231         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71232         unconditional.
71233         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71234         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71235         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71236         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71237         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71238         Make code unconditional.
71239         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71240         (__mmap64) [!__NR_mmap2]: Likewise.
71241         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71242         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71243         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71244         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71245         [__NR_mmap2]: Make code unconditional.
71246         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71247         (__mmap64) [!__NR_mmap2]: Likewise.
71249 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71251         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71253 2012-08-18  Andreas Jaeger  <aj@suse.de>
71255         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71257 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71259         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71260         * include/unistd.h (__have_sock_cloexec): Likewise.
71261         (__have_pipe2): Likewise.
71262         (__have_dup3): Likewise.
71264 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71266         [BZ #9685]
71267         * include/unistd.h (__have_pipe2): Change define into an extern int.
71268         (__have_dup3): Likewise.
71269         * socket/have_sock_cloexec.c: Include fcntl.h.
71270         (__have_pipe2): New variable.
71271         (__have_dup3): Likewise.
71273 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71275         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71277 2012-08-17  Marek Polacek  <polacek@redhat.com>
71279         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71280         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71282 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71284         * configure.in: Add AC_SUBST for sysheaders.
71285         * configure: Regenerated.
71286         * config.make.in (sysheaders): New substituted variable.
71288         * sysdeps/unix/mkfifo.c: Moved ...
71289         * sysdeps/posix/mkfifo.c: ... here.
71290         * sysdeps/unix/mkfifoat.c: Moved ...
71291         * sysdeps/posix/mkfifoat.c: ... here.
71293         * sysdeps/unix/utime.c: Moved ...
71294         * sysdeps/posix/utime.c: ... here.
71296         * sysdeps/unix/time.c: Moved ...
71297         * sysdeps/posix/time.c: ... here.
71298         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71299         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71301         * sysdeps/unix/nice.c: Moved ...
71302         * sysdeps/posix/nice.c: ... here.
71304         * sysdeps/unix/alarm.c: Moved ...
71305         * sysdeps/posix/alarm.c: ... here.
71307         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71309 2012-08-17  Jeff Law <law@redhat.com>
71311         * intl/Makefile (codeset_mo): New variable.
71312         ($(codeset_mo)): New target.
71313         (tst-codeset.out): Depend on that.  Remove explicit rule.
71314         (tst-gettext3.out, tst-gettext5.out): Likewise.
71315         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71316         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71317         * intl/tst-codeset.sh: Remove.
71318         * intl/tst-gettext3.sh: Likewise.
71319         * intl/tst-gettext5.sh: Likewise.
71321 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71323         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71324         * sysdeps/unix/syscalls.list: ... here.
71326         * sysdeps/posix/getaddrinfo.c
71327         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71328         (gaiconf_init, gaiconf_reload): Use them.
71329         [!_STATBUF_ST_NSEC]
71330         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71331         Define using time_t rather than struct timespec.
71333         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71334         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71335         Macros removed.
71336         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71337         [!NO_THREADS].
71338         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71339         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71340         Likewise.
71342         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71343         __libc_cleanup_push argument.
71345         * bits/param.h: New file.
71346         * misc/sys/param.h: New file.
71347         * include/sys/param.h: New file.
71348         * misc/Makefile (headers): Add bits/param.h.
71349         * sysdeps/generic/sys/param.h: File removed.
71350         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71351         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71352         * sysdeps/mach/hurd/bits/param.h: New file.
71353         * sysdeps/mach/hurd/sys/param.h: File removed.
71355         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71356         last change.
71358         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71359         [_IO_MTSAFE_IO].
71360         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71361         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71362         New macros.
71364         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71365         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71366         rather than -D_IO_MTSAFE_IO conditionally.
71367         * stdio-common/Makefile (CPPFLAGS): Likewise.
71368         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71369         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71370         Use $(libio-mtsafe).
71371         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71372         of -D_IO_MTSAFE_IO.
71373         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71374         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71375         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71376         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71377         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71378         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71379         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71380         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71381         (CFLAGS-fread_u_chk.c): Likewise.
71382         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71383         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71384         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71385         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71386         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71387         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71388         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71389         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71390         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71392         * libio/Makefile: Test [$(libc-reentrant) = yes]
71393         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71395         * Makeconfig
71396         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71397         * sysdeps/pthread/configure: File removed.
71398         * sysdeps/pthread/Makeconfig: New file.
71399         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71400         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71402 2012-08-16  Gary Benson  <gbenson@redhat.com>
71404         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71405         unmapping the first object in a namespace.
71407 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71409         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71410         (__internal_setnetgrent): ... this.  Add internal_function to
71411         definition.  Add libc_hidden_def.
71412         (setnetgrent): Update caller.
71413         (internal_endnetgrent): Renamed to ...
71414         (__internal_endnetgrent): ... this.  Add internal_function to
71415         definition.  Add libc_hidden_def.
71416         (endnetgrent): Update caller.
71417         (internal_getnetgrent_r): Renamed to ...
71418         (__internal_getnetgrent_r): ... this.  Add internal_function to
71419         definition.  Add libc_hidden_def.
71420         (__getnetgrent_r): Update caller.
71421         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71423 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71425         * stdlib/longlong.h: Update from GCC.
71427 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71429         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71430         on _QL, which is set by umul_ppmm but never used.
71431         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71432         variables, which are set by GMP macros but never used.
71433         * stdio-common/_itowa.c (_itowa): Likewise.
71434         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71435         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71437 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71439         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71440         struct La_sh_regs is not constant.
71441         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71442         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71443         and struct La_sparc64_regs are not constant.
71445 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71447         * sysdeps/unix/sysv/linux/kernel-features.h
71448         (__ASSUME_POSIX_TIMERS): Remove.
71449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71450         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71451         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71452         Make code unconditional.
71453         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71454         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71455         Make code unconditional.
71456         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71457         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71458         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71459         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71460         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71461         Make code unconditional.
71462         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71463         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71464         (__libc_missing_posix_timers): Remove.
71466 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71468         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71469         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71471         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71473         * elf/dl-sym.c: Include <stdlib.h>.
71475         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71476         constants, which avoids warnings in 32-bit builds.
71478         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71479         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71481         * misc/lseek.c: File moved to ...
71482         * io/lseek.c: ... here.
71484         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71486         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71487         shifting LEN more than 31 bits at once.
71489 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71491         [BZ #14195]
71492         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71493         segmentation fault for a case of two empty input strings.
71494         * string/test-strncasecmp.c (check1): Renamed to...
71495         (bz12205): ...this.
71496         (bz14195): Add new testcase for two empty input strings and N > 0.
71497         (test_main): Call new testcase, adapt for renamed function.
71499 2012-08-15  Andreas Jaeger  <aj@suse.de>
71501         [BZ #14090]
71502         * crypt/md5test2.c: New test, based on test supplied by Serge
71503         Belyshev <belyshev@depni.sinp.msu.ru>.
71504         * crypt/Makefile (xtests): Add md5test-giant..
71505         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71507 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71509         [BZ #14090]
71510         * crypt/md5.c (md5_process_block): Don't assume the buffer
71511         length is less than 2**32.
71512         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71513         length is less than 2**64.
71515 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71517         * string/str-two-way.h: Include <sys/param.h>.
71518         (MAX): Macro removed.
71520         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71521         Move #define and #undef of memmove to just before and after
71522         including <string.h>.
71524         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71525         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71526         and after including <string.h>.  Move declarations of
71527         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71528         to before #include "string/memmove.c".
71530         * include/dirent.h: Declare __getdirentries.
71532         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71533         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71535 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71537         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71538         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71539         * sysdeps/i386/configure: Regenerated.
71540         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71541         STABS_CURRENT_FILE, and STABS_FUN.
71542         (END): Remove call to STABS_FUN_END.
71543         (STABS_CURRENT_FILE1): Delete.
71544         (STABS_CURRENT_FILE): Likewise.
71545         (STABS_FUN): Likewise.
71546         (STABS_FUN_END): Likewise.
71547         (STABS_FUN2): Likewise.
71548         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71549         * sysdeps/x86_64/configure: Regenerated.
71551 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71553         * elf/dl-open.c: Include <atomic.h>.
71554         * elf/dl-lookup.c: Likewise.
71556 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71558         * sysdeps/unix/sysv/linux/kernel-features.h
71559         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71560         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71561         unconditionally.
71562         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71563         unconditionally.
71564         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71565         condition on __ASSUME_CLONE_THREAD_FLAGS.
71567 2012-08-14  Andreas Jaeger  <aj@suse.de>
71569         * sysdeps/i386/fpu/libm-test-ulps: Update.
71571 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71573         * include/atomic.h (atomic_exchange_and_add): Split into ...
71574         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71575         New atomic macros.
71577 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71581 2012-08-13  Jeff Law <law@redhat.com>
71583         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71584         null byte in the output string.
71586 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71588         * sysdeps/unix/sysv/linux/kernel-features.h
71589         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71590         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71591         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71592         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71593         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71594         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71595         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71597 2012-08-09  Jeff Law <law@redhat.com>
71599         [BZ #13939]
71600         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71601         When avoid_arena is set, don't retry in the that arena.  Pick the
71602         next one, whatever it might be.
71603         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71604         (arena_lock): Pass in new parameter to arena_get2.
71605         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71606         arena_get2.
71607         (__libc_malloc): Unify retrying after main arena failure with
71608         __libc_memalign version.
71609         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71611 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71613         [BZ #14166]
71614         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71615         to __redirect_strstr.
71616         (__strstr_sse42): Use typeof __redirect_strstr.
71617         (__strstr_ia32): Likewise.
71618         (__libc_strstr): New prototype.
71619         (strstr): Renamed to ...
71620         (__libc_strstr): This.
71621         (strstr): New strong alias of __libc_strstr.
71622         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71623         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71624         __redirect_time.
71625         Include <time.h>.
71626         (__libc_time): New prototype.
71627         (time_ifunc): Replace time with __libc_time.
71628         (time): New strong alias and hidden definition of __libc_time.
71629         (__GI_time): Remove strong alias.
71630         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71631         Include <stddef.h>.
71632         (memmove): Redefined to __redirect_memmove.
71633         (__memmove_sse2): Use typeof __redirect_memmove.
71634         (__memmove_ssse3): Likewise.
71635         (__memmove_ssse3_back): Likewise.
71636         (__libc_memmove): New prototype.
71637         (memmove): Renamed to ...
71638         (__libc_memmove): This.
71639         (memmove): New strong alias of __libc_memmove.
71641 2012-08-08  Mark Salter  <msalter@redhat.com>
71643         * elf/elf.h
71644         (R_MN10300_TLS_GD): Define.
71645         (R_MN10300_TLS_LD): Likewise.
71646         (R_MN10300_TLS_LDO): Likewise.
71647         (R_MN10300_TLS_GOTIE): Likewise.
71648         (R_MN10300_TLS_IE): Likewise.
71649         (R_MN10300_TLS_LE): Likewise.
71650         (R_MN10300_TLS_DTPMOD): Likewise.
71651         (R_MN10300_TLS_DTPOFF): Likewise.
71652         (R_MN10300_TLS_TPOFF): Likewise.
71653         (R_MN10300_SYM_DIFF): Likewise.
71654         (R_MN10300_ALIGN): Likewise.
71655         (R_MN10300_NUM): Update.
71657 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71660         Remove.
71662 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71664         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71666         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71667         sysdeps/unix -> sysdeps/posix move.
71668         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71670 2012-08-07      Allan McRae     <allan@archlinux.org>
71672         [BZ #14303]
71673         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71674         (SUNOS_CPP): Likewise.
71675         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71676         not found.
71677         (open_input): Call CPP using execvp.
71679 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71681         * sysdeps/unix/sysv/linux/kernel-features.h
71682         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71683         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71684         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71685         (__ASSUME_WAITID_SYSCALL): Likewise.
71686         * sysdeps/unix/sysv/linux/dl-execstack.c
71687         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71688         code unconditional.
71689         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71690         conditional code.
71691         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71692         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71693         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71694         code.
71695         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71696         unconditional.
71697         [__ASSUME_WAITID_SYSCALL]: Likewise.
71698         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71700 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71702         * sysdeps/unix/closedir.c: Renamed to ...
71703         * sysdeps/posix/closedir.c: ... here.
71704         * sysdeps/unix/dirfd.c: Renamed to ...
71705         * sysdeps/posix/dirfd.c: ... here.
71706         * sysdeps/unix/dirstream.h: Renamed to ...
71707         * sysdeps/posix/dirstream.h: ... here.
71708         * sysdeps/unix/fdopendir.c: Renamed to ...
71709         * sysdeps/posix/fdopendir.c: ... here.
71710         * sysdeps/unix/opendir.c: Renamed to ...
71711         * sysdeps/posix/opendir.c: ... here.
71712         * sysdeps/unix/readdir.c: Renamed to ...
71713         * sysdeps/posix/readdir.c: ... here.
71714         * sysdeps/unix/readdir_r.c: Renamed to ...
71715         * sysdeps/posix/readdir_r.c: ... here.
71716         * sysdeps/unix/rewinddir.c: Renamed to ...
71717         * sysdeps/posix/rewinddir.c: ... here.
71718         * sysdeps/unix/seekdir.c: Renamed to ...
71719         * sysdeps/posix/seekdir.c: ... here.
71720         * sysdeps/unix/telldir.c: Renamed to ...
71721         * sysdeps/posix/telldir.c: ... here.
71722         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71723         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71724         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71725         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71727         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71728         * bits/fcntl.h: ... here.
71730         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71731         not 0.
71732         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71733         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71734         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71735         (struct flock): Move l_start, l_len to the beginning.
71736         Use __pid_t for l_pid.
71737         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71738         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71739         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71740         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71741         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71742         [__USE_LARGEFILE64] (struct flock64): New type.
71743         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71745         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71746         * bits/dirent.h: ... here.
71748         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71749         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71751 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71753         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71754         Change from 2.6.0 to 2.6.16.
71755         * sysdeps/unix/sysv/linux/configure: Regenerated.
71756         * sysdeps/unix/sysv/linux/kernel-features.h
71757         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71758         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71759         version.
71760         (__ASSUME_UTIMES): Likewise.
71761         (__ASSUME_CLONE_STOPPED): Remove.
71762         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71763         architectures, not kernel version.
71764         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71765         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71766         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71767         (__ASSUME_WAITID_SYSCALL): Likewise.
71768         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71769         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71770         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71771         refer to older versions.
71773 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71775         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71776         Define alphasort64 as an alias.
71777         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71778         Define versionsort64 as an alias.
71779         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71780         Define scandir64 as an alias.
71781         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71782         Define scandirat64 as an alias.
71783         * dirent/alphasort64.c (alphasort64):
71784         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71785         * dirent/versionsort64.c: Likewise.
71786         * dirent/scandir64.c: Likewise.
71787         * dirent/scandirat64.c: Likewise.
71788         * sysdeps/wordsize-64/alphasort.c: File removed.
71789         * sysdeps/wordsize-64/alphasort64.c: File removed.
71790         * sysdeps/wordsize-64/scandir.c: File removed.
71791         * sysdeps/wordsize-64/scandir64.c: File removed.
71792         * sysdeps/wordsize-64/scandirat.c: File removed.
71793         * sysdeps/wordsize-64/scandirat64.c: File removed.
71794         * sysdeps/wordsize-64/versionsort.c: File removed.
71795         * sysdeps/wordsize-64/versionsort64.c: File removed.
71796         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71797         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71798         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71799         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71800         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71801         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71802         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71803         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71805         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71806         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71807         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71809         [defined __arch64__ || defined __sparcv9]
71810         (__INO_T_MATCHES_INO64_T): New macro.
71811         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71812         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71813         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71814         * sysdeps/unix/sysv/linux/bits/dirent.h
71815         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71816         (_DIRENT_MATCHES_DIRENT64): New macro.
71818         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71819         Define lockf64 as an alias.
71820         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71821         Define fseeko64 as an alias.
71822         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71823         Define ftello64 as an alias.
71824         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71825         Define _IO_fgetpos64 and fgetpos64 as aliases.
71826         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71827         Define _IO_fsetpos64 and fsetpos64 as aliases.
71828         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71829         Conditionalize body on this.
71830         * libio/fseeko64.c: Likewise.
71831         * libio/ftello64.c: Likewise.
71832         * libio/iofgetpos64.c: Likewise.
71833         * libio/iofsetpos64.c: Likewise.
71834         * sysdeps/wordsize-64/lockf.c: File removed.
71835         * sysdeps/wordsize-64/lockf64.c: File removed.
71836         * sysdeps/wordsize-64/fseeko.c: File removed.
71837         * sysdeps/wordsize-64/fseeko64.c: File removed.
71838         * sysdeps/wordsize-64/ftello.c: File removed.
71839         * sysdeps/wordsize-64/ftello64.c: File removed.
71840         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71841         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71842         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71843         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71844         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71845         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71846         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71847         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71848         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71849         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71850         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71851         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71852         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71853         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71855         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71857         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71859         [defined __arch64__ || defined __sparcv9]
71860         (__OFF_T_MATCHES_OFF64_T): New macro.
71861         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71862         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71864         (__OFF_T_MATCHES_OFF64_T): New macro.
71866 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71868         * stdlib/secure-getenv.c (__secure_getenv): Replace
71869         GLIBC_2_16 with GLIBC_2_17.
71871 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71873         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71874         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71876 2012-08-03  David S. Miller  <davem@davemloft.net>
71878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71880 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71883         Remove.
71884         (__ASSUME_CORRECT_SI_PID): Likewise.
71885         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71886         (__ASSUME_TMPFS_NAME): Likewise.
71887         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71888         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71889         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71890         (HAVE_AUX_SECURE): Make definition unconditional.
71891         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71892         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71894 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71896         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71897         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71898         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71899         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71900         __eloop_threshold instead of SYMLOOP_MAX.
71902         * sysdeps/generic/eloop-threshold.h: New file.
71903         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71904         of MAXSYMLINKS.
71905         * elf/chroot_canon.c (chroot_canon): Likewise.
71907 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71909         [BZ #13717]
71910         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71911         Change to 2.6.0 everywhere.
71912         * sysdeps/unix/sysv/linux/configure: Regenerated.
71913         * sysdeps/unix/sysv/linux/kernel-features.h
71914         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71915         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71916         kernel versions.
71917         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71918         (__ASSUME_FUTEX_REQUEUE): Remove.
71919         (__ASSUME_STATFS64): Define unconditionally.
71920         (__ASSUME_AT_SECURE): Likewise.
71921         (__ASSUME_CORRECT_SI_PID): Likewise.
71922         (__ASSUME_TGKILL): Define without depending on kernel version for
71923         i386.
71924         (__ASSUME_UTIMES): Likewise.
71925         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71926         kernel version.
71927         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71928         (__ASSUME_TMPFS_NAME): Likewise.
71929         * README: Update reference to Linux kernel versions.
71931 2012-08-02  Marek Polacek  <polacek@redhat.com>
71933         [BZ #14150]
71934         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71935         libc_cv_asm_type_prefix with %.
71936         * configure: Regenerated.
71937         * include/libc-symbols.h: Remove comment about
71938         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71939         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71940         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71941         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71942         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71943         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71944         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71945         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71946         * elf/tst-unique2mod1.c: Likewise.
71947         * elf/tst-unique1mod2.c: Likewise.
71948         * elf/tst-unique1mod1.c: Likewise.
71949         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71950         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71951         Replace ASM_TYPE_DIRECTIVE with .type.
71952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71953         * sysdeps/i386/sysdep.h: Likewise.
71954         * sysdeps/x86_64/sysdep.h: Likewise.
71955         * sysdeps/sh/sysdep.h: Likewise.
71956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71957         Do not define ASM_TYPE_DIRECTIVE.
71958         * sysdeps/powerpc/sysdep.h: Likewise.
71959         * sysdeps/powerpc/powerpc32/sysdep.h:
71960         Replace ASM_TYPE_DIRECTIVE with .type.
71961         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71962         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71963         * sysdeps/i386/fpu/e_powf.S: Likewise.
71964         * sysdeps/i386/fpu/e_expl.S: Likewise.
71965         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71966         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71967         * sysdeps/i386/fpu/e_pow.S: Likewise.
71968         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71969         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71970         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71971         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71972         * sysdeps/i386/fpu/e_log2.S: Likewise.
71973         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71974         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71975         * sysdeps/i386/fpu/e_powl.S: Likewise.
71976         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71977         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71978         * sysdeps/i386/fpu/e_logl.S: Likewise.
71979         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71980         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71981         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71982         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71983         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71984         * sysdeps/i386/fpu/e_log.S: Likewise.
71985         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71986         * sysdeps/i386/fpu/e_logf.S: Likewise.
71987         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71988         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71989         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71990         * sysdeps/i386/fpu/e_log10.S: Likewise.
71991         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71992         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71993         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71994         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71995         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71996         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71997         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71998         * sysdeps/i386/i686/strtok.S: Likewise.
71999         * sysdeps/i386/i386-mcount.S: Likewise.
72000         * sysdeps/i386/strtok.S: Likewise.
72001         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72002         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72003         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72004         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72005         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72006         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72007         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72008         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72009         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72010         * sysdeps/x86_64/_mcount.S: Likewise.
72011         * sysdeps/x86_64/strtok.S: Likewise.
72012         * sysdeps/sh/_mcount.S: Likewise.
72014 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72016         * libio/iofopen.c: Include <fcntl.h>.
72017         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72018         (_IO_fopen64, fopen64): Define as aliases.
72019         * libio/iofopen64.c: Include <fcntl.h>.
72020         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72021         Conditionalize body on this.
72022         * sysdeps/wordsize-64/iofopen.c: File removed.
72023         * sysdeps/wordsize-64/iofopen64.c: File removed.
72025 2012-08-01  Marek Polacek  <polacek@redhat.com>
72027         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72028         Use dlfcn directly instead of a variable.
72029         (binfmt-subdir): Do not define.
72030         (dlfcn): Likewise.
72032 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72034         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72035         Remove all definitions.
72036         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72037         <kernel-features.h>.
72038         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72039         (miss_F_GETOWN_EX): Remove all definitions.
72040         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72041         macro definition.
72042         [!__ASSUME_FCNTL64]: Remove conditional code.
72043         [__ASSUME_FCNTL64]: Make code unconditional.
72044         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72045         <kernel-features.h>.
72046         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72047         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72048         (lockf64) [__NR_fcntl64]: Make code unconditional.
72049         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72051         * sysdeps/unix/sysv/linux/kernel-features.h
72052         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72053         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72054         Make code unconditional.
72055         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72056         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72058         [__NR_vfork]: Make code unconditional.
72059         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72060         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72062         [__NR_vfork]: Make code unconditional.
72063         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72064         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72066 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72068         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72069         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72071         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72072         Define mkstemp64 as an alias.
72073         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72074         Define mkstemps64 as an alias.
72075         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72076         Define mkostemp64 as an alias.
72077         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72078         Define mkostemps64 as an alias.
72079         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72080         Conditionalize body on this.
72081         * misc/mkostemp64.c: Likewise.
72082         * misc/mkostemps64.c: Likewise.
72083         * misc/mkstemps64.c: Likewise.
72084         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72085         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72086         * sysdeps/wordsize-64/mkostemp.c: File removed.
72087         * sysdeps/wordsize-64/mkstemp.c: File removed.
72088         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72089         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72090         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72091         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72093         [BZ #14138]
72094         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72095         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72096         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72097         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72099         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72100         compat_symbol macros from <shlib-compat.h> rather than the underlying
72101         default_symbol_version and symbol_version macros, so that DEFAULT
72102         lines in shlib-versions are respected.
72103         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72105 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72107         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72108         Declare with warn_unused_result.
72109         (setgid, setregid, setegid, setresgid): Likewise.
72110         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72111         Likewise.
72112         * WUR-REPORT: Remove set*id functions.
72114 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72116         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72118 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72120         [BZ #10191]
72121         * include/sys/socket.h (__libc_accept, __libc_accept4):
72122         Add attribute_hidden.
72123         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72125         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72126         use of PTR_MANGLE.
72127         * inet/getnetgrent_r.c (setup): Likewise.
72129         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72131 2012-07-31  David S. Miller  <davem@davemloft.net>
72133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72135 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72137         [BZ #13629]
72138         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72139         value between 1.0 and 2.0 and smaller part has absolute value less
72140         than 1.0.
72141         * math/s_clog10.c (__clog10): Likewise.
72142         * math/s_clog10f.c (__clog10f): Likewise.
72143         * math/s_clog10l.c (__clog10l): Likewise.
72144         * math/s_clogf.c (__clogf): Likewise.
72145         * math/s_clogl.c (__clogl): Likewise.
72146         * math/libm-test.inc (clog_test): Add more tests.
72147         (clog10_test): Likewise.
72148         * sysdeps/i386/fpu/libm-test-ulps: Update.
72149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72151 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72153         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72154         Exit with zero in case no suitable GID is found, and write a
72155         message to standard error.
72157 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72159         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72160         rather than to 1.
72161         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72162         (MAXPATHLEN): Removed.
72163         (NOGROUP, NODEV): New macros.
72164         (setbit, clrbit, isset, isclr): New macros.
72165         (howmany, roundup, powerof2): New macros.
72166         (DEV_BSIZE): New macro.
72168         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72169         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72171         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72172         definition on [!__NO_LONG_DOUBLE_MATH].
72174         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72175         PTR_MANGLE and PTR_DEMANGLE.
72177         * socket/accept4.c (accept4): Rename to __libc_accept4.
72178         Define accept4 as a weak alias.
72180         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72181         on [_DIRENT_HAVE_D_TYPE].
72182         * io/ftw.c (ftw_dir): Likewise.
72184         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72186         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72188         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72189         Use the BSD numbers rather than the arbitrary ones we had.
72190         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72191         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72192         (SIGXCPU, SIGXFSZ): New macros.
72193         (_NSIG): Now 32.
72195         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72196         initializer on [_LIBC_REENTRANT].
72198         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72199         definitions inside [_POSIX_MAPPED_FILES].
72201         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72203         * dirent/opendir.c: Include <fcntl.h>.
72205         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72206         (__libc_getspecific): Likewise.
72207         (__libc_key_create): Likewise.
72209         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72210         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72211         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72212         (tmpfile64): Define as alias.
72213         * sysdeps/wordsize-64/tmpfile.c: File removed.
72214         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72215         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72216         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72218         * stdio-common/vfscanf.c: Include <stdbool.h>.
72219         * nss/makedb.c: Likewise.
72220         * stdio-common/_i18n_number.h: Likewise.
72221         * argp/argp-help.c: Likewise.
72222         * posix/wordexp.c: Likewise.
72223         * sysdeps/posix/spawni.c: Likewise.
72224         * nss/nss_files/files-initgroups.c: Likewise.
72225         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72226         * nss/nss_files/files-initgroups.c: Likewise.
72227         * nss/nss_db/db-netgrp.c: Likewise.
72228         * nss/nss_db/db-initgroups.c: Likewise.
72229         * io/fchmodat.c: Include <sys/stat.h>.
72231         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72232         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72234         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72235         [HAVE_MMAP].
72237         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72238         Add multiple inclusion protection.
72240 2012-07-27  David S. Miller  <davem@davemloft.net>
72242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72244 2012-07-27  Gary Benson  <gbenson@redhat.com>
72246         [BZ #14298]
72247         * elf/rtld.c: Include <stap-probe.h>.
72248         (dl_main): Added static probes "init_start" and "init_complete".
72249         * elf/dl-load.c: Include <stap-probe.h>.
72250         (lose): Take new parameter "nsid".
72251         Added static probe "map_failed".
72252         (_dl_map_object_from_fd): Pass namespace id to lose.
72253         Added static probe "map_start".
72254         (open_verify): Pass namespace id to lose.
72255         * elf/dl-open.c: Include <stap-probe.h>.
72256         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72257         and "reloc_complete".
72258         * elf/dl-close.c: Include <stap-probe.h>.
72259         (_dl_close_worker): Added static probes "unmap_start" and
72260         "unmap_complete".
72261         * elf/rtld-debugger-interface.txt: New file documenting the above.
72263 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72265         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72266         rather than a string variable.
72267         * sunrpc/rpc_main.c (h_output): Likewise.
72268         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72270 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72272         * inet/check_native.c: New file.
72274 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72276         [BZ #13629]
72277         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72278         if larger part has absolute value 1.0.
72279         * math/s_clog10.c (__clog10): Likewise.
72280         * math/s_clog10f.c (__clog10f): Likewise.
72281         * math/s_clog10l.c (__clog10l): Likewise.
72282         * math/s_clogf.c (__clogf): Likewise.
72283         * math/s_clogl.c (__clogl): Likewise.
72284         * math/libm-test.inc (clog_test): Add more tests.
72285         (clog10_test): Likewise.
72286         * sysdeps/i386/fpu/libm-test-ulps: Update.
72287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72289         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72290         (pltexit): Likewise.
72291         (La_regs): Likewise.
72292         (La_retval): Likewise.
72293         (int_retval): Likewise.
72294         Update #error for removed macros to refer only to definitions in
72295         tst-audit.h.
72296         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72297         macro.
72298         (pltexit): Likewise.
72299         (La_regs): Likewise.
72300         (La_retval): Likewise.
72301         (int_retval): Likewise.
72302         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72303         macro.
72304         (pltexit): Likewise.
72305         (La_regs): Likewise.
72306         (La_retval): Likewise.
72307         (int_retval): Likewise.
72308         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72309         macro.
72310         (pltexit): Likewise.
72311         (La_regs): Likewise.
72312         (La_retval): Likewise.
72313         (int_retval): Likewise.
72314         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72315         macro.
72316         (pltexit): Likewise.
72317         (La_regs): Likewise.
72318         (La_retval): Likewise.
72319         (int_retval): Likewise.
72320         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72321         macro.
72322         (pltexit): Likewise.
72323         (La_regs): Likewise.
72324         (La_retval): Likewise.
72325         (int_retval): Likewise.
72326         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72327         macro.
72328         (pltexit): Likewise.
72329         (La_regs): Likewise.
72330         (La_retval): Likewise.
72331         (int_retval): Likewise.
72332         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72333         macro definitions in tst-audit.h.
72334         * sysdeps/i386/tst-audit.h: New file.
72335         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72336         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72337         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72338         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72339         * sysdeps/sh/tst-audit.h: Likewise.
72340         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72341         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72342         * sysdeps/x86_64/tst-audit.h: Likewise.
72344 2012-07-26  Andreas Jaeger  <aj@suse.de>
72346         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72347         ptrace.
72349         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72350         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72351         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72352         PTRACE_O_MASK.
72353         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72354         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72355         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72357         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72358         value.
72360         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72361         _sigsys.
72362         (si_call_addr, si_syscall, si_arch): Define new macro.
72363         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72364         _sigsys.
72365         (si_call_addr, si_syscall, si_arch): Define new marcro.
72366         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72367         _sigsys.
72368         (si_call_addr, si_syscall, si_arch): Define new macro.
72369         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72370         _sigsys.
72371         (si_call_addr, si_syscall, si_arch): Define new macro.
72373 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72375         [BZ #13717]
72376         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72377         Change to 2.4.21 where previously 2.4.1.
72378         * sysdeps/unix/sysv/linux/configure: Regenerated.
72379         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72380         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72381         Linux kernel version.
72382         (__ASSUME_STD_AUXV): Remove.
72383         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72384         kernel version.
72385         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72386         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72387         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72388         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72389         (__ASSUME_NETLINK_SUPPORT): Likewise.
72390         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72391         (__no_netlink_support): Remove conditional definition.
72392         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72393         Remove.
72394         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72395         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72396         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72397         (if_nameindex_ioctl): Remove.
72398         (if_nameindex_netlink): Do not handle __no_netlink_support.
72399         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72400         code.
72401         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72402         Remove conditional code.
72403         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72404         code.
72405         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72406         unconditional.
72407         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72408         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72409         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72410         Remove.
72411         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72412         [!__ASSUME_STD_AUXV]: Remove conditional code.
72413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72414         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72415         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72417         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72418         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72419         code.
72420         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72422         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72423         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72424         conditional code.
72425         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72427         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72428         code.
72429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72430         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72431         conditional code.
72432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72433         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72434         code unconditional.
72435         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72436         conditional code.
72437         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72438         unconditional.
72439         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72440         conditional code.
72441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72442         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72443         unconditional.
72444         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72445         conditional code.
72446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72447         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72448         code unconditional.
72449         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72450         conditional code.
72451         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72452         unconditional.
72453         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72454         conditional code.
72455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72456         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72457         code unconditional.
72458         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72459         conditional code.
72460         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72461         unconditional.
72462         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72463         conditional code.
72465 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72467         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72468         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72469         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72470         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72471         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72472         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72473         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72474         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72475         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72476         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72477         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72478         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72479         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72480         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72481         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72482         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72483         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72484         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72485         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72487         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72488         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72489         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72491 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72493         * Versions.def: Add GLIBC_2.17.
72494         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72495         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72496         Introduce __libc_secure_getenv.
72497         * stdlib/Versions (2.17): Add secure_getenv
72498         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72499         * stdlib/secure-getenv.c: Rename __secure_getenv to
72500         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72501         symbol __secure_getenv for GLIBC_2.0.
72502         * stdlib/tst-secure-getenv.c: New.
72503         * stdlib/Makefile (tests): Add testcase.
72504         * manual/startup.texi (Environment Access): Document
72505         secure_getenv.
72506         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72507         __libc_secure_getenv.
72508         * inet/ruserpass.c (ruserpass): Likewise.
72509         * malloc/mtrace.c (mtrace): Likewise.
72510         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72511         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72512         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72513         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72514         HAVE_SECURE_GETENV.
72515         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72516         __secure_getenv to __libc_secure_getenv.
72517         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72519         Likewise.
72520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72521         Likewise.
72522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72530 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72532         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72533         (struct La_i86_retval): Likewise.
72534         (struct La_x86_64_regs): Likewise.
72535         (struct La_x86_64_retval): Likewise.
72536         (struct La_x32_regs): Likewise.
72537         (struct La_x32_retval): Likewise.
72538         (struct La_ppc32_regs): Likewise.
72539         (struct La_ppc32_retval): Likewise.
72540         (struct La_ppc64_regs): Likewise.
72541         (struct La_ppc64_retval): Likewise.
72542         (struct La_sh_regs): Likewise.
72543         (struct La_sh_retval): Likewise.
72544         (struct La_s390_32_regs): Likewise.
72545         (struct La_s390_32_retval): Likewise.
72546         (struct La_s390_64_regs): Likewise.
72547         (struct La_s390_64_retval): Likewise.
72548         (struct La_sparc32_regs): Likewise.
72549         (struct La_sparc32_retval): Likewise.
72550         (struct La_sparc64_regs): Likewise.
72551         (struct La_sparc64_retval): Likewise.
72552         (struct audit_ifaces): Remove architecture-specific pltenter and
72553         pltexit members.
72554         * sysdeps/i386/ldsodefs.h: New file.
72555         * sysdeps/powerpc/ldsodefs.h: Likewise.
72556         * sysdeps/s390/ldsodefs.h: Likewise.
72557         * sysdeps/sh/ldsodefs.h: Likewise.
72558         * sysdeps/sparc/ldsodefs.h: Likewise.
72559         * sysdeps/x86_64/ldsodefs.h: Likewise.
72561 2012-07-25  Marek Polacek  <polacek@redhat.com>
72563         [BZ #6808]
72564         * math/libm-test.inc (yn_test): Add another test.
72565         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72566         to ERANGE when the result is +-Inf.
72567         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72568         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72569         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72570         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72572 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72574         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72575         equal to 0.
72576         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72577         clock_t.
72578         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72580 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72582         * configure.in <sysdeps resolving>: Correct printing
72583         Implies_before.
72584         * configure: Regenerate.
72586 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72588         * math/w_ilogb.c: Include <limits.h>.
72589         * math/w_ilogbl.c: Likewise.
72591 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72593         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72594         va_copy.  Document allowing for unavailable va_copy only as
72595         pre-C99 compatibility.
72596         * manual/string.texi (Copying and Concatenation): Use va_copy
72597         instead of __va_copy in concat example.
72599 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72601         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72602         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72603         it if not null.
72605         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72606         with O_NOLINK passed to __file_name_lookup.
72608         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72609         with O_NOLINK passed to __file_name_lookup.
72611         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72612         negative N or less than NGIDS.
72614         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72615         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72616         enough.  Use memcpy instead of strncpy.
72618 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72620         * elf/Makefile (check-data): Remove.
72621         (localplt.data): New vpath directive.
72622         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72623         instead of $(check-data).
72624         * scripts/data/localplt-generic.data: Move to ...
72625         * sysdeps/generic/localplt.data: ... here.
72626         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72627         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72628         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72630         ... here.
72631         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72633         ... here.
72634         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72636         ... here.
72637         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72639         ... here.
72640         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72642         ... here.
72643         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72645         ... here.
72647 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72649         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72650         PPC32 and PPC64 files.
72651         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72652         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72654 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72656         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72657         __makecontext_ret to ...
72658         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72659         ... here and call exit if uc_link is NULL.  New file.
72660         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72661         __makecontext_ret.S.
72662         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72663         __makecontext_ret to ...
72664         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72665         ... here and call exit if uc_link is NULL.  New file.
72666         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72667         __makecontext_ret.S.
72669 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72671         * elf/elf.h (R_390_IRELATIVE): New definition.
72672         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72673         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72674         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72676         (elf_machine_lazy_rel): Likewise.
72677         * sysdeps/s390/dl-irel.h: New file.
72678         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72679         * sysdeps/s390/s390-64/memset.S: New asm code.
72680         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72681         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72682         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72683         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72684         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72685         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72686         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72687         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72688         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72689         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72690         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72691         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72692         * sysdeps/s390/s390-32/memset.S: New asm code.
72693         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72695 2012-07-17  Marek Polacek  <polacek@redhat.com>
72697         [BZ #14349]
72698         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72699         * sysdeps/s390/s390-64/configure.in: Likewise.
72700         * sysdeps/sparc/configure.in: Likewise.
72701         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72702         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72703         * sysdeps/i386/configure.in: Likewise.
72704         * sysdeps/x86_64/configure.in: Likewise.
72705         * sysdeps/sh/configure.in: Likewise.
72706         * sysdeps/s390/s390-32/configure: Regenerated.
72707         * sysdeps/s390/s390-64/configure: Likewise.
72708         * sysdeps/x86_64/configure: Likewise.
72709         * sysdeps/sh/configure: Likewise.
72710         * sysdeps/powerpc/powerpc64/configure: Likewise.
72711         * sysdeps/powerpc/powerpc32/configure: Likewise.
72712         * sysdeps/sparc/configure: Likewise.
72713         * sysdeps/i386/configure: Likewise.
72715         * elf/dl-open.c: Comment fixes.
72717 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72719         * Makefile [CXX] (check-data): Remove.
72720         [CXX] (c++-types.data): New vpath directive.
72721         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72722         vpath.  Do not allow for C++ type data being missing.
72723         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72724         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72725         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72726         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72727         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72728         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72729         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72731         ... here.
72732         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72734         ... here.
72735         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72737         ... here.
72738         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72740         ... here.
72741         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72743         ... here.
72744         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72746         ... here.
72747         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72749         ... here.
72750         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72753         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72754         definitions to architecture-specific files.
72755         (TLS_IE): Likewise.
72756         (TLS_LD): Likewise.
72757         (TLS_GD): Likewise.
72758         * sysdeps/i386/tls-macros.h: New file.
72759         * sysdeps/powerpc/tls-macros.h: Likewise.
72760         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72761         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72762         * sysdeps/sh/tls-macros.h: Likewise.
72763         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72764         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72765         * sysdeps/x86_64/tls-macros.h: Likewise.
72767 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72769         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72770         zero value for regular exit case.
72772         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72773         (__start_context): Preserve zero value for regular exit case.
72775 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72776             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72778         * manual/setjmp.texi (setcontext): Clarify normal process
72779         termination when uc_link is the null pointer.
72780         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72781         exit call.
72783 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72785         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72786         preprocessor.  Test for each exception mask separately.
72788 2012-07-16  Andreas Jaeger  <aj@suse.de>
72790         * po/ru.po: Update from translation team.
72792 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72794         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72795         equal to 0.
72796         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72797         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72798         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72799         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72802 2012-07-13  Andreas Jaeger  <aj@suse.de>
72804         * po/fr.po: Update from translation team.
72806 2012-07-12  Marek Polacek  <polacek@redhat.com>
72808         [BZ #14173]
72809         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72810         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72811         loop condition.
72813 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72815         [BZ #13717]
72816         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72817         Change to 2.4.1 where previously 2.4.0.
72818         * sysdeps/unix/sysv/linux/configure: Regenerated.
72819         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72820         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72821         version.
72822         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72823         (__ASSUME_AT_CLKTCK): Remove.
72824         (__ASSUME_AT_PAGESIZE): Likewise.
72825         (__ASSUME_AT_XID): Likewise.
72826         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72827         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72828         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72829         unconditionally.
72830         (HAVE_AUX_PAGESIZE): Likewise.
72831         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72832         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72833         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72835 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72837         [BZ #14307]
72838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72839         the temporary buffer used to invoke __gethostbyname2_r,
72840         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72841         host_data / struct gaih_addrtuple.
72842         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72843         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72844         header file nss/nsswitch.h.
72845         * nss/nsswitch.h (global scope): Add definition of implementation
72846         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72847         resolv/nss_dns/dns-host.c).
72849 2012-07-11  Andreas Jaeger  <aj@suse.de>
72851         * po/fr.po: Update from translation team.
72853         * po/sv.po: Update from translation team
72854         * po/fr.po: Another update from translation team.
72856 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72858         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72859         for subnormals or multiply small sinh result by itself.
72860         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72863 2012-07-11  David S. Miller  <davem@davemloft.net>
72865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72867 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72869         [BZ #14347]
72870         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72871         (INTERNAL_MARK): Shift it here.
72873 2012-07-10  Marek Polacek  <polacek@redhat.com>
72875         [BZ #14151]
72876         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72877         libc_cv_asm_global_directive with .globl.
72878         * configure: Regenerated.
72879         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72880         with .globl.
72881         * sysdeps/i386/configure: Regenerated.
72882         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72883         with .globl.
72884         * sysdeps/x86_64/configure: Regenerated.
72885         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72886         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72887         * elf/tst-unique2mod2.c: Likewise.
72888         * elf/tst-unique2mod1.c: Likewise.
72889         * elf/tst-unique1mod2.c: Likewise.
72890         * elf/tst-unique1mod1.c: Likewise.
72891         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72892         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72893         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72894         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72895         * sysdeps/mach/sysdep.h: Likewise.
72896         * sysdeps/i386/sysdep.h: Likewise.
72897         * sysdeps/i386/i386-mcount.S: Likewise.
72898         * sysdeps/x86_64/_mcount.S: Likewise.
72899         * sysdeps/x86_64/sysdep.h: Likewise.
72900         * sysdeps/sh/_mcount.S: Likewise.
72901         * sysdeps/sh/sysdep.h: Likewise.
72902         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72903         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72904         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72905         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72906         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72907         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72908         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72909         * locale/localeinfo.h: Likewise.
72910         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72911         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72913 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72915         [BZ #14336]
72916         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72917         system".
72918         * manual/message.texi (The Uniforum approach): Likewise.
72919         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72920         (glibc iconv Implementation): Likewise.
72922 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72924         [BZ #14337]
72925         * math/s_clog.c (__clog): Avoid scaling a value down where that
72926         could result in underflow.
72927         * math/s_clog10.c (__clog10): Likewise.
72928         * math/s_clog10f.c (__clog10f): Likewise.
72929         * math/s_clog10l.c (__clog10l): Likewise.
72930         * math/s_clogf.c (__clogf): Likewise.
72931         * math/s_clogl.c (__clogl): Likewise.
72932         * math/libm-test.inc (clog_test): Add more tests.
72933         (clog10_test): Likewise.
72934         * sysdeps/i386/fpu/libm-test-ulps: Update.
72935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72937 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72939         [BZ #14283]
72940         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72941         by 7 not 8 to examine high bit of fractional part.
72943         [BZ #14042]
72944         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72945         for call to __mcount_internal.
72946         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72947         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72948         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72950 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72952         [BZ #14154]
72953         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72954         approximation for values within 0x1p-13f of an odd multiple of
72955         pi/4.
72956         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72957         exception.  Add more tests.
72958         * sysdeps/i386/fpu/libm-test-ulps: Update.
72960         [BZ #6778]
72961         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72962         inputs and return -1 for them.  Do not check for +Inf in case not
72963         reachable for +Inf.
72964         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72965         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72966         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72967         and return -1 for them.  Do not check for +Inf in case not
72968         reachable for +Inf.
72969         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72970         define.
72971         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72972         and return -1 for them.  Do not check for +Inf in case not
72973         reachable for +Inf.
72974         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72975         spurious underflow.
72976         * sysdeps/i386/fpu/libm-test-ulps: Update.
72977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72979 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72981         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72983 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72985         [BZ #14157]
72986         [BZ #14331]
72987         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72988         could result in spurious underflow.  Scale down values above
72989         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72990         * math/s_csqrtf.c (__csqrtf): Likewise.
72991         * math/s_csqrtl.c (__csqrtl): Likewise.
72992         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72993         spurious underflow.
72994         * sysdeps/i386/fpu/libm-test-ulps: Update.
72995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72997 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72999         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73000         xopen-msg.sed.
73001         * catgets/xopen-msg.awk: New file.
73002         * catgets/xopen-msg.sed: Removed.
73004         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73005         po2text.sed.
73006         * intl/po2test.awk: New file.
73007         * intl/po2test.sed: Removed.
73009 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73011         [BZ #14328]
73012         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73013         or multiply small sinh result by itself.
73014         * math/s_ctanf.c (__ctanf): Likewise.
73015         * math/s_ctanh.c (__ctanh): Likewise.
73016         * math/s_ctanhf.c (__ctanhf): Likewise.
73017         * math/s_ctanhl.c (__ctanhl): Likewise.
73018         * math/s_ctanl.c (__ctanl): Likewise.
73019         * math/libm-test.inc (ctan_test_tonearest): New function.
73020         (ctan_test_towardzero): Likewise.
73021         (ctan_test_downward): Likewise.
73022         (ctan_test_upward): Likewise.
73023         (ctanh_test_tonearest): Likewise.
73024         (ctanh_test_towardzero): Likewise.
73025         (ctanh_test_downward): Likewise.
73026         (ctanh_test_upward): Likewise.
73027         (main): Call these new functions.
73028         * sysdeps/i386/fpu/libm-test-ulps: Update.
73029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73031 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73033         * .gitignore: Delete /ports entry.
73035 2012-07-03  Andreas Jaeger  <aj@suse.de>
73037         * po/bg.po: Update from translation team.
73038         * po/cs.po: Likewise.
73039         * po/de.po: Likewise.
73040         * po/hr.po: Likewise.
73041         * po/nl.pl: Likewise.
73042         * po/pl.po: Likewise.
73043         * po/vi.po: Likewise.
73045 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73047         * Makeconfig [!+link] (+link-before-libc): New variable.
73048         [!+link] (+link-after-libc): Likewise.
73049         [!+link] (+link-tests): Likewise.
73050         [!+link] (+link): Define in terms of $(+link-before-libc) and
73051         $(+link-after-libc).
73052         [!+link-static] (+link-static-before-libc): New variable.
73053         [!+link-static] (+link-static-after-libc): Likewise.
73054         [!+link-static] (+link-static-tests): Likewise.
73055         [!+link-static] (+link-static): Define in terms of
73056         $(+link-static-before-libc) and $(+link-static-after-libc).
73057         [build-shared] (link-libc-before-gnulib): New variable.
73058         [build-shared] (link-libc-tests): Likewise.
73059         [build-shared] (link-libc): Define in terms of
73060         $(link-libc-before-gnulib).
73061         [!build-shared] (link-libc-tests): New variable.
73062         (link-libc-static-tests): New variable.
73063         [!gnulib] (gnulib-arch): New variable.
73064         [!gnulib] (gnulib-tests): Likewise.
73065         [!gnulib] (static-gnulib-arch): Likewise.
73066         [!gnulib] (static-gnulib-tests): Likewise.
73067         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73068         Define with "=" instead of ":=".
73069         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73070         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73071         * Rules (binaries-all-notests): New variable.
73072         (binaries-all-tests): Likewise.
73073         (binaries-static-notests): Likewise.
73074         (binaries-static-tests): Likewise.
73075         (binaries-all): Define using $(binaries-all-notests) and
73076         $(binaries-all-tests).
73077         (binaries-static): Define using $(binaries-static-notests) and
73078         $(binaries-static-tests).
73079         (binaries-shared-tests): New variable.
73080         (binaries-shared-notests): Likewise.
73081         (binaries-shared): Remove variable.
73082         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73083         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73084         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73085         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73086         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73087         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73088         * elf/Makefile (sln-modules): New variable.
73089         (extra-objs): Add $(sln-modules:=.o).
73090         (ldconfig-modules): Add static-stubs.
73091         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73092         * elf/static-stubs.c: New file.
73094         [BZ #14283]
73095         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73096         by 7 not 8 to examine high bit of fractional part.  Use volatile
73097         variables when splitting into final array of floats if
73098         __FLT_EVAL_METHOD__ != 0.
73099         * math/libm-test.inc (cos_test): Add another test.
73100         (sin_test): Likewise.
73101         * sysdeps/i386/fpu/libm-test-ulps: Update.
73103         [BZ #14273]
73104         * math/libm-test.inc (cosh_test): Add more tests.
73106         * version.h (RELEASE): Set to "development".
73107         (VERSION): Set to "2.16.90".
73109 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73111         * NEWS: Update copyright. Remove last-updated date.
73112         Mention math library bug fixes and timezone data changes.
73113         * README: Mention GNU/Hurd, x32, and HPPA support status.
73115 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73117         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73119 2012-06-27  Andreas Jaeger  <aj@suse.de>
73121         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73123 2012-06-25  Andreas Jaeger  <aj@suse.de>
73125         * sysdeps/s390/fpu/libm-test-ulps: Update.
73127 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73128             Thomas Schwinge  <thomas@codesourcery.com>
73130         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73131         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73133         fanotify_mark.
73135 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73137         * sysdeps/mach/start.c: Remove file.
73138         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73139         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73140         * sysdeps/sh/init-first.c: Likewise.
73142         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73143         registers for frame unwinding purposes, add CFI directives.
73144         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73145         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73146         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73147         Likewise.
73149         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73150         __fortify_fail returning.
73151         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73153         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73154         sysdeps/sh/____longjmp_chk.S.
73155         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73156         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73157         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73158         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73160         * sysdeps/sh/abort-instr.h: New file.
73161         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73162         process in case exit returns.
73164         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73165         initialize the GOT register before use.
73167         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73168         calculation of ARGC > 4.
73170         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73171         meaningful names to some local labels.
73173 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73174             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73176         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73177         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73178         (__arch_compare_and_exchange_val_16_acq): Likewise.
73179         (__arch_compare_and_exchange_val_32_acq): Likewise.
73180         (atomic_exchange_and_add): Fix gUSA sequence.
73181         (atomic_add): Likewise.
73182         (atomic_add_negative): Likewise.
73183         (atomic_add_zero): Likewise.
73184         (atomic_bit_test_set): Likewise.
73186 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73188         [BZ #13579]
73189         * include/link.h (struct link_map): Add l_free_initfini.
73190         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73191         l_initfini.
73192         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73193         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73194         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73195         set.
73197 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73199         * configure.in: Use AC_LANG_SOURCE.
73200         * configure: Regenerate.
73202 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73204         * configure.in (libc_cv_localstatedir): New substituted variable.
73205         * configure: Regenerated.
73206         * config.make.in (localstatedir): New variable, substituted from
73207         libc_cv_localstatedir.
73208         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73209         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73210         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73211         * sysdeps/gnu/configure: Regenerated.
73213 2012-06-21  Jeff Law  <law@redhat.com>
73215         [BZ #14277]
73216         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73217         free.  Simplify list management for _LIBC case.
73219 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73221         [BZ #14273]
73222         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73223         Clear sign bit of 64-bit integer value before comparing against
73224         overflow value.
73226         * sysdeps/mach/configure: Regenerated.
73228 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73230         [BZ #14278]
73231         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73233 2012-06-21  Jeff Law  <law@redhat.com>
73235         [BZ #13882]
73236         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73237         uint16_t for elements in the "seen" array to avoid char overflows.
73238         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73239         * elf/dl-open.c (dl_open_worker): Likewise.
73241 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73243         * scripts/list-sources.sh: Scan PORTS for translations.
73244         * po/libc.pot: Regenerated.
73246 2012-06-21  Andreas Jaeger  <aj@suse.de>
73248         [BZ #12194]
73249         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73250         warning.
73251         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73252         * bits/byteswap-16.h (__bswap_16): Likewise.
73253         * bits/byteswap.h (__bswap_constant_16): Likewise.
73255 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73257         [BZ #14117]
73258         * sysdeps/i386/fpu_control.h: Removed.
73259         * sysdeps/x86_64/fpu_control.h: Moved to ...
73260         * sysdeps/x86/fpu_control.h: Here.
73262         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73263         (_FPU_SETCW): Likewise.
73265 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73267         [BZ #14117]
73268         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73269         * sysdeps/x86/fpu/bits/mathinline.h: This.
73270         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73272         [BZ #14050]
73273         [BZ #14117]
73274         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73275         functions if __x86_64__ is defined.
73277 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73279         * string/endian.h: Add !__ASSEMBLER__ condition for including
73280         conversion interfaces.
73282 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73284         [BZ #14241]
73285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73286         of ABS(x) in calculating zero to negative powers other than odd
73287         integers.
73288         * math/libm-test.inc (pow_test): Add more tests.
73290 2012-06-15  Andreas Jaeger  <aj@suse.de>
73292         * manual/contrib.texi (Contributors): Update entry of Liubov
73293         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73294         Machado Filho.
73296 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73298         * string/string.h: Add __wur to GNU version of strerror_r.
73300 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73302         [BZ #14229]
73303         * string/Makefile (tests): Add tst-strtok_r.
73304         * string/tst-strtok_r.c: New file.
73305         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73306         RAX_LP/RDX_LP on SAVE_PTR.
73308 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73310         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73312 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73314         * libm_test.inc (csqrt_test): Allow more spurious underflow
73315         exceptions.
73316         (j0_test): Likewise.
73317         (j1_test): Likewise.
73318         (y0_test): Likewise.
73319         (y1_test): Likewise.
73321 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73323         * po/Makefile (libc.pot): Use UTF-8 charset.
73325 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73327         [BZ #14210]
73328         Suppress sign-conversion warning from FD_SET.
73329         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73330         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73331         not unsigned long int.
73332         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73334 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73336         [BZ #14050]
73337         [BZ #14117]
73338         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73339         __extern_always_inline instead of __extern_inline.
73340         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73341         (__signbit): Likewise.
73342         (__signbitl): Support C++ namespace.
73343         (lrintf): New inline function.
73344         (lrint): Likewise.
73345         (llrintf): Likewise.
73346         (llrint): Likewise.
73347         (fmaxf): Likewise.
73348         (fmax): Likewise.
73349         (fminf): Likewise.
73350         (fmin): Likewise.
73351         (rint): Likewise.
73352         (rintf): Likewise.
73353         (ceil): Likewise.
73354         (ceilf): Likewise.
73355         (floor): Likewise.
73356         (floorf): Likewise.
73357         (nearbyint): Likewise.
73358         (nearbyintf): Likewise.
73360 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73362         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73363         non-default versions.
73365 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73367         [BZ #14218]
73368         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73370 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73372         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73373         (FE_UPWARD, FE_DOWNWARD): Don't define.
73374         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73375         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73377         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73378         reading it.
73379         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73380         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73382 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73384         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73386         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73387         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73389 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73391         [BZ #14117]
73392         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73393         * sysdeps/i386/fpu/Implies: New file.
73394         * sysdeps/x86_64/fpu/Implies: Likewise.
73395         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73396         * sysdeps/x86/fpu/bits/fenv.h: This.
73398         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73399         __SSE_MATH__.
73401 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73403         [BZ #14134]
73404         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73405         character 0xffff that matches the last element of the
73406         conversion table.
73408 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73410         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73411         fmodl commit.
73413 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73415         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73416         values higher than 25.6283.
73418 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73421         subnormal exponent extraction and add some __builtin_expect.
73422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73423         Fix for subnormal mantissa calculation.
73425 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73427         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73428         cpu2 is -1 and errno is not ENOSYS.
73430 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73432         [BZ #14117]
73433         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73434         * sysdeps/x86/bits/string.h: This.
73435         * sysdeps/x86_64/bits/string.h: Removed.
73437         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73438         if not compiling for x86-64, but compiling for >= i486.
73440         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73441         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73443         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73444         New macro from Linux kernel 3.4.0.
73445         (FP_XSTATE_MAGIC2): Likewise.
73446         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73447         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73448         (struct _fpx_sw_bytes): New struct.
73449         (struct _xsave_hdr): Likewise.
73450         (struct _ymmh_state): Likewise.
73451         (struct _xstate): Likewise.
73453         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73454         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73455         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73456         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73457         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73458         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73460         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73461         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73462         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73463         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73464         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73465         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73467 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73469         [BZ #13743]
73470         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73471         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73472         (sysdep_headers): Include sys/platform/ppc.h.
73473         * sysdeps/powerpc/test-gettimebase.c: Test for
73474         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73475         * manual/Makefile (appendices): Include platform.texi.
73476         * manual/contrib.texi (Contributors): Update @node pointers.
73477         * manual/maint.texi (Maintenance): Likewise.
73478         (Platform): New node.
73479         * manual/platform.texi: New file.  Document the new features.
73481 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73482             Jakub Jelinek  <jakub@redhat.com>
73484         [BZ #14188]
73485         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73486         where __builtin_expect is unavailable.
73488 2012-06-03  David S. Miller  <davem@davemloft.net>
73490         * stdlib/longlong.h: Updated from GCC.
73492 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73494         [BZ #14042]
73495         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73496         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73497         __mcount_internal.
73498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73499         (GLIBC_2.16): Likewise.
73501 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73503         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73505 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73508         (default-abi): New variable.
73509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73510         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73511         variable.
73512         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73513         Likewise.
73514         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73515         Likewise.
73516         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73517         Likewise.
73519         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73520         definition.  Document in comment.
73522 2012-06-01  David S. Miller  <davem@davemloft.net>
73524         * stdlib/longlong.h: Updated from GCC.
73526 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73528         [BZ #14117]
73529         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73530         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73531         sys/debugreg.h sys/io.h here.
73532         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73533         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73534         sys/io.h.
73535         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73536         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73537         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73538         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73539         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73540         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73542         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73543         Define only if __x86_64__ is defined.
73545 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73547         [BZ #14048]
73548         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73549         Use int64_t for variable i.
73550         * math/libm-test.inc (fmod_test): Add more tests.
73552         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73553         z computation is not scheduled after fetestexcept.
73554         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73555         Use math_force_eval instead of asm to ensure calculation scheduled
73556         before exception test.
73557         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73558         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73560 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73563         computation is not scheduled after fetestexcept.
73565 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73567         [BZ #14117]
73568         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73569         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73571 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73573         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73574         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73576 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73578         [BZ #14117]
73579         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73580         <bits/wordsize.h>.
73581         (__WCHAR_MIN): Support __WORDSIZE == 64.
73582         (__WCHAR_MAX): Likewise.
73584         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73585         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73587         [BZ #14183]
73588         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73589         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73591         [BZ #14117]
73592         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73593         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73595         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73596         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73598         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73599         Defined to 1 if __x86_64__ isn't defined.
73600         (_STAT_VER_LINUX_OLD): New.
73601         (st_atime): Remove duplicate.
73602         (st_mtime): Likewise.
73603         (st_ctime): Likewise.
73605 2012-05-31  David S. Miller  <davem@davemloft.net>
73607         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73608         entries.
73610 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73612         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73613         gen-libm-test.pl.
73615         [BZ #14132]
73616         * elf/dl-reloc.c: Include <_itoa.h>.
73617         (_dl_reloc_bad_type): Remove use of INTUSE.
73618         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73619         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73620         * stdio-common/psiginfo.c (psiginfo): Likewise.
73621         * stdio-common/psignal.c (psignal): Likewise.
73622         * string/strsignal.c (strsignal): Likewise.
73623         * include/signal.h (_sys_siglist): Declare hidden proto.
73624         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73625         INTVARDEF with libc_hidden_data_def.
73626         * stdio-common/itoa-udigits.c: Likewise.
73627         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73628         (_itoa_lower_digits_internal): Remove declaration.
73629         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73630         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73631         (_sys_sigabbrev_internal): Remove aliases.
73632         (_sys_siglist): Define hidden alias.
73634 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73637         bits/sysctl.h.
73639 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73641         [BZ #14117]
73642         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73643         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73645         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73646         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73647         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73648         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73649         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73650         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73652         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73653         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73654         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73656         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73657         with __addr.
73658         (insw): Likewise.
73659         (insl): Likewise.
73660         (outsb): Likewise.
73661         (outsw): Likewise.
73662         (outsl): Likewise.
73664         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73665         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73666         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73668         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73669         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73670         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73671         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73672         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73673         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73675         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73676         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73678         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73679         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73682         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73683         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73685         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73686         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73687         to ...
73688         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73690         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73691         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73692         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73694         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73695         for x86-64.
73696         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73698 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73700         * math/math.h (M_El): Use two more decimal places.
73701         (M_LOG2El): Likewise.
73702         (M_LOG10El): Likewise.
73703         (M_LN2l): Likewise.
73704         (M_LN10l): Likewise.
73705         (M_PIl): Likewise.
73706         (M_PI_2l): Likewise.
73707         (M_PI_4l): Likewise.
73708         (M_1_PIl): Likewise.
73709         (M_2_PIl): Likewise.
73710         (M_2_SQRTPIl): Likewise.
73711         (M_SQRT2l): Likewise.
73712         (M_SQRT1_2l): Likewise.
73714 2012-05-31  David S. Miller  <davem@davemloft.net>
73716         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73717         values between float registers.
73718         * sysdeps/sparc/sparc64/memset.S: Likewise.
73719         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73721 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73723         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73724         -D_FORTIFY_SOURCE=1.
73725         (CPPFLAGS-tst-longjmp_chk.c): Define.
73726         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73727         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73728         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73729         CFLAGS-tst-wchar-h.c.
73731 2012-05-31  Marek Polacek  <polacek@redhat.com>
73733         [BZ #14132]
73734         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73735         __endmntent_internal): Remove declaration.
73736         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73737         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73738         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73740 2012-05-30  David S. Miller  <davem@davemloft.net>
73742         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73743         (___Q_simulate_exceptions): Use real FP ops rather than writing
73744         into the %fsr.
73745         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73746         Likewise.
73748 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73750         [BZ #14117]
73751         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73752         * sysdeps/x86/bits/xtitypes.h: This.
73754         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73755         * sysdeps/x86/bits/wordsize.h: This.
73757         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73758         * sysdeps/x86/bits/huge_vall.h: This.
73760         * sysdeps/i386/bits/select.h: Removed.
73761         * sysdeps/x86_64/bits/select.h: Renamed to ...
73762         * sysdeps/x86/bits/select.h: This.
73764         * sysdeps/i386/bits/setjmp.h: Removed.
73765         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73766         * sysdeps/x86/bits/setjmp.h: This.
73768         * sysdeps/i386/bits/mathdef.h: Removed.
73769         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73770         * sysdeps/x86/bits/mathdef.h: This.
73772 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73774         [BZ #14132]
73775         * include/sys/socket.h (__connect_internal)
73776         (__libc_sa_len_internal): Remove declaration.
73777         (__connect, __libc_sa_len): Declare hidden_proto.
73778         (SA_LEN): Remove use of INTUSE.
73779         * socket/connect.c: Add libc_hidden_def.
73780         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73781         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73782         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73783         alias.
73784         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73785         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73786         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73787         of adding _internal alias.
73789 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73791         [BZ #14117]
73792         * sysdeps/i386/bits/link.h: Removed.
73793         * sysdeps/i386/bits/linkmap.h: Likewise.
73794         * sysdeps/x86_64/bits/link.h: Renamed to ...
73795         * sysdeps/x86/bits/link.h: This.
73796         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73797         * sysdeps/x86/bits/linkmap.h: This.
73799         * sysdeps/i386/bits/endian.h: Removed.
73800         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73801         * sysdeps/x86/bits/endian.h: This.
73803         * sysdeps/i386/bits/byteswap.h: Removed.
73804         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73805         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73806         * sysdeps/x86/bits/byteswap.h: This.
73807         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73808         * sysdeps/x86/bits/byteswap-16.h: This.
73809         * sysdeps/i386/Implies: Add x86.
73810         * sysdeps/x86_64/Implies: Likewise.
73812 2012-05-30  David S. Miller  <davem@davemloft.net>
73814         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73815         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73816         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73817         (FP_TRAPPING_EXCEPTIONS): Define.
73818         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73819         (FP_TRAPPING_EXCEPTIONS): Define.
73820         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73821         subnormals only when inexact has been signalled or underflow
73822         exceptions are enabled.
73823         (_FP_PACK_CANONICAL): Likewise.
73825 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73827         [BZ #14183]
73828         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73829         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73831 2012-05-30  Richard Henderson  <rth@twiddle.net>
73833         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73834         with #ifndef NOT_IN_libc.
73836         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73837         marked to avoid plt entry.
73839 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73841         [BZ #14112]
73842         * Makeconfig (default-abi): New macro.
73843         (abi-includes): Likewise.
73844         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73845         $(abi-$(default-abi)-lib-soname) for soname if defined.
73846         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73847         abi-variants.
73848         * Makefile (installed-stubs): Likewise.
73849         * include/stubs-biarch.h: Removed.
73850         * scripts/lib-names.awk: Only handle one library at a time.
73851         * scripts/soversions.awk: Remove WORDSIZE support.
73852         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73853         entries.
73854         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73855         Removed.
73856         (syscall-list-default-condition): Likewise.
73857         (syscall-list-default-condition): Likewise.
73858         (syscall-list-includes): Likewise.
73859         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73860         syscall-list-* with abi-*.  Handle undefined abi-variants.
73861         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73862         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73863         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73864         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73865         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73866         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73867         Removed.
73868         (syscall-list-32-options): Likewise.
73869         (syscall-list-32-condition): Likewise.
73870         (syscall-list-64-options): Likewise.
73871         (syscall-list-64-condition): Likewise.
73872         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73873         macro.
73874         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73875         Renamed to ...
73876         (abi-*): This.
73877         (abi-64-ld-soname): New macro.
73878         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73879         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73880         Renamed to ...
73881         (abi-*): This.
73882         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73883         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73885 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73887         * sysdeps/unix/sysv/linux/kernel-features.h
73888         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73889         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73890         include <kernel-features.h>.
73891         [!__NR_ftruncate64]: Remove conditional code.
73892         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73893         [__NR_ftruncate64]: Make code unconditional.
73894         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73895         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73896         include <kernel-features.h>.
73897         [!__NR_ftruncate64]: Remove conditional code.
73898         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73899         [__NR_ftruncate64]: Make code unconditional.
73900         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73902         include <kernel-features.h>.
73903         [!__NR_ftruncate64]: Remove conditional code.
73904         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73905         [__NR_ftruncate64]: Make code unconditional.
73906         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73908         include <kernel-features.h>.
73909         [!__NR_ftruncate64]: Remove conditional code.
73910         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73911         [__NR_ftruncate64]: Make code unconditional.
73912         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73914         * configure.in (libc_cv_fpie): Weaken to a compile test using
73915         LIBC_TRY_CC_OPTION.
73916         * configure: Regenerated.
73918 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73924         Refreshed.
73925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73931         Refreshed.
73933 2012-05-27  David S. Miller  <davem@davemloft.net>
73935         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73936         (___Q_zero): New.
73937         (__Q_simulate_exceptions): Return void.  Change to simulate
73938         exceptions by writing into the %fsr.
73939         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73940         (__Qp_handle_exceptions): Likewise.
73941         (numbers): Delete.
73942         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73943         __Qp_handle_exceptions.
73944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73945         __Qp_handle_exceptions.
73946         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73947         as unused and give dummy FP_RND_NEAREST initializer.
73948         (FP_INHIBIT_RESULTS): Define.
73949         (___Q_simulate_exceptions): Update declaration.
73950         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73951         formatting.
73952         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73953         as unused and give dummy FP_RND_NEAREST initializer.
73954         (__Qp_handle_exceptions): Update declaration.
73955         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73956         formatting.
73958 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73960         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73961         the temporary FPU control word.
73962         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73963         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73964         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73965         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73967         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73968         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73969         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73970         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73971         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73974 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73976         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73977         fields.
73979 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73981         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73982         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73983         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73984         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73985         Likewise.
73986         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73987         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73988         Likewise.
73990 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73992         * po/h.po: Update from translation team.
73994 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73996         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73998         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73999         handling of denormals.
74000         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74001         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74002         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74003         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74007         Likewise.
74009 2012-05-26  Marek Polacek  <polacek@redhat.com>
74011         [BZ #14152]
74012         * math/libm-test.inc (fma_test): Don't always expect underflow
74013         exception.
74015 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74017         [BZ #12416]
74018         * elf/tst-execstack.c: Include stackinfo.h.
74019         (do_test): Adjust test case to ensure that pthread_getattr_np
74020         behaviour remains the same after marking stack executable.
74022 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74024         * sysdeps/unix/sysv/linux/kernel-features.h
74025         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74026         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74027         kernel-features.h.
74028         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74029         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74030         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74031         kernel-features.h.
74032         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74033         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74035 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74037         * configure.in: Define the default includes to being none.
74038         * configure: Regenerated.
74040 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74042         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74043         * sysdeps/x86_64/setjmp.S: Likewise.
74044         * sysdeps/i386/bsd-setjmp.S: Likewise.
74045         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74046         * sysdeps/i386/setjmp.S: Likewise.
74047         * sysdeps/i386/__longjmp.S: Likewise.
74048         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74049         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74051         * include/stap-probe.h: New file.
74052         * configure.in: Handle --enable-systemtap.
74053         * configure: Regenerated.
74054         * config.h.in (USE_STAP_PROBE): New #undef.
74055         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74056         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74057         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74059 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74061         [BZ #13717]
74062         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74063         to 2.4.0 where earlier.
74064         * sysdeps/unix/sysv/linux/configure: Regenerated.
74065         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74066         <kernel-features.h>.
74067         [__ASSUME_32BITUIDS]: Make code unconditional.
74068         [!__ASSUME_32BITUIDS]: Remove conditional code.
74069         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74070         <kernel-features.h>.
74071         [__ASSUME_32BITUIDS]: Make code unconditional.
74072         [!__ASSUME_32BITUIDS]: Remove conditional code.
74073         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74074         [__ASSUME_32BITUIDS]: Make code unconditional.
74075         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74076         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74077         <kernel-features.h>.
74078         [__ASSUME_32BITUIDS]: Make code unconditional.
74079         [!__ASSUME_32BITUIDS]: Remove conditional code.
74080         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
74117         <kernel-features.h>.
74118         [__NR_setresgid] (__setresgid): Do not declare.
74119         [__ASSUME_32BITUIDS]: Make code unconditional.
74120         [!__ASSUME_32BITUIDS]: Remove conditional code.
74121         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74122         <kernel-features.h>.
74123         [__NR_setresuid] (__setresuid): Do not declare.
74124         [__ASSUME_32BITUIDS]: Make code unconditional.
74125         [!__ASSUME_32BITUIDS]: Remove conditional code.
74126         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74127         <kernel-features.h>.
74128         [__ASSUME_32BITUIDS]: Make code unconditional.
74129         [!__ASSUME_32BITUIDS]: Remove conditional code.
74130         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74131         <kernel-features.h>.
74132         [__ASSUME_32BITUIDS]: Make code unconditional.
74133         [!__ASSUME_32BITUIDS]: Remove conditional code.
74134         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74135         <kernel-features.h>.
74136         [__ASSUME_32BITUIDS]: Make code unconditional.
74137         [!__ASSUME_32BITUIDS]: Remove conditional code.
74138         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74139         <kernel-features.h>.
74140         [__ASSUME_32BITUIDS]: Make code unconditional.
74141         [!__ASSUME_32BITUIDS]: Remove conditional code.
74142         * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.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/i386/setresuid.c: Do not include
74151         <kernel-features.h>.
74152         [__ASSUME_32BITUIDS]: Make code unconditional.
74153         [!__ASSUME_32BITUIDS]: Remove conditional code.
74154         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74155         <kernel-features.h>.
74156         [__ASSUME_32BITUIDS]: Make code unconditional.
74157         [!__ASSUME_32BITUIDS]: Remove conditional code.
74158         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74159         <kernel-features.h>.
74160         [__ASSUME_32BITUIDS]: Make code unconditional.
74161         [!__ASSUME_32BITUIDS]: Remove conditional code.
74162         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74163         <kernel-features.h>.
74164         [__ASSUME_32BITUIDS]: Make code unconditional.
74165         [!__ASSUME_32BITUIDS]: Remove conditional code.
74166         * sysdeps/unix/sysv/linux/kernel-features.h
74167         (__ASSUME_SETRESUID_SYSCALL): Remove.
74168         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74169         (__ASSUME_32BITUIDS): Likewise.
74170         (__ASSUME_LDT_WORKS): Likewise.
74171         (__ASSUME_O_DIRECTORY): Likewise.
74172         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74173         architecture but not kernel version.
74174         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74175         (__ASSUME_MMAP2_SYSCALL): Likewise.
74176         (__ASSUME_STAT64_SYSCALL): Likewise.
74177         (__ASSUME_IPC64): Likewise.
74178         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74179         <kernel-features.h>.
74180         [__ASSUME_32BITUIDS]: Make code unconditional.
74181         [!__ASSUME_32BITUIDS]: Remove conditional code.
74182         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74183         <kernel-features.h>.
74184         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74185         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74186         132096]: Remove conditional code.
74187         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74188         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74189         <kernel-features.h>.
74190         [__ASSUME_32BITUIDS]: Make code unconditional.
74191         [!__ASSUME_32BITUIDS]: Remove conditional code.
74192         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74193         <kernel-features.h>.
74194         [__ASSUME_32BITUIDS]: Make code unconditional.
74195         [!__ASSUME_32BITUIDS]: Remove conditional code.
74196         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74197         <kernel-features.h>.
74198         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74199         unconditional.
74200         (__setresgid): Do not declare.
74201         [__ASSUME_32BITUIDS]: Make code unconditional.
74202         [!__ASSUME_32BITUIDS]: Remove conditional code.
74203         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74204         <kernel-features.h>.
74205         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74206         unconditional.
74207         (__setresuid): Do not declare.
74208         [__ASSUME_32BITUIDS]: Make code unconditional.
74209         [!__ASSUME_32BITUIDS]: Remove conditional code.
74210         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74211         <kernel-features.h>.
74212         [__ASSUME_32BITUIDS]: Make code unconditional.
74213         [!__ASSUME_32BITUIDS]: Remove conditional code.
74214         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74215         <kernel-features.h>.
74216         [__ASSUME_32BITUIDS]: Make code unconditional.
74217         [!__ASSUME_32BITUIDS]: Remove conditional code.
74219 2012-05-25  Richard Henderson  <rth@twiddle.net>
74221         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74222         dl_hwcap to ifunc resolver.
74223         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74224         elf_ifunc_invoke.
74225         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74226         dl_hwcap to ifunc resolver.
74227         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74229 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74231         [BZ #14153]
74232         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74233         for |x| <= 2**-26, not 2**-57.
74234         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74235         exception.
74237 2012-05-24  Jeff Law  <law@redhat.com>
74239         * stdio-common/Makefile (tests): Add bug25.
74240         * stdio-common/bug25.c: New test.
74242 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74244         [BZ #13576]
74245         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74246         multiple of MALLOC_ALIGNMENT in size.
74247         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74249 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74251         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74252         Require >= 256.
74253         (FILENAME_MAX): Use macro-int-constant.
74254         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74255         (_IOFBF): Use macro-int-constant.
74256         (_IOLBF): Likewise.
74257         (_IONBF): Likewise.
74258         (SEEK_CUR): Likewise.
74259         (SEEK_END): Likewise.
74260         (SEEK_SET): Likewise.
74261         (TMP_MAX): Likewise.
74262         (EOF): Use macro-int-constant.  Require < 0.
74263         (NULL): Use macro-constant.  Require == 0.
74264         (stdin): Require type to be FILE *.
74265         (stdout): Likewise.
74266         (stderr): Likewise.
74267         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74268         macro-int-constant.
74269         (EXIT_SUCCESS): Likewise.
74270         (NULL): Use macro-constant.  Require == 0.
74271         (RAND_MAX): Use macro-int-constant.
74272         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74273         [C99-based standards] (strtof): Require function.
74274         [C99-based standards] (strtold): Likewise.
74275         [C99-based standards] (strtoll): Likewise.
74276         [C99-based standards] (strtoull): Likewise.
74277         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74278         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74279         [ISO || ISO99 || ISO11] (math.h): Likewise.
74280         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74281         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74284 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74286         [BZ #14132]
74287         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74288         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74289         * intl/dgettext.c (DCGETTEXT): Likewise.
74290         * intl/gettext.c (DCGETTEXT): Likewise.
74291         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74292         * posix/regex_internal.h (gettext): Likewise.
74293         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74294         Remove declaration.
74295         * include/argz.h (__argz_count_internal)
74296         (__argz_stringify_internal): Remove declaration.
74297         (__argz_count, __argz_stringify): Declare hidden proto.
74298         * intl/dcgettext.c: Remove use of INTDEF.
74299         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74300         * string/argz-stringify.c: Likewise.
74301         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74302         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74303         Declare hidden proto.
74304         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74305         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74306         Declare hidden proto.
74307         * include/stdio.h (__asprintf_internal): Don't declare.
74308         (__asprintf): Don't define as macro.  Declare hidden proto.
74309         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74310         (__fsetlocking): Declare hidden proto.
74311         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74312         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74313         hidden proto.
74314         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74315         (_IO_setlinebuf): Remove use of INTUSE.
74316         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74317         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74318         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74319         Remove declaration.
74320         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74321         (_IO_do_flush): Remove use of INTUSE.
74322         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74323         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74324         (_IO_adjust_column, _IO_least_wmarker)
74325         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74326         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74327         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74328         (_IO_default_doallocate, _IO_wdefault_doallocate)
74329         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74330         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74331         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74332         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74333         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74334         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74335         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74336         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74337         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74338         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74339         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74340         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74341         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74342         proto.
74343         (_IO_flush_all_internal, _IO_adjust_column_internal)
74344         (_IO_default_uflow_internal, _IO_default_finish_internal)
74345         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74346         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74347         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74348         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74349         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74350         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74351         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74352         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74353         (_IO_file_close_internal, _IO_file_close_it_internal)
74354         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74355         (_IO_file_init_internal, _IO_file_attach_internal)
74356         (_IO_file_fopen_internal, _IO_file_read_internal)
74357         (_IO_file_sync_internal, _IO_file_seek_internal)
74358         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74359         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74360         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74361         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74362         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74363         (_IO_list_all_internal, _IO_link_in_internal)
74364         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74365         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74366         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74367         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74368         (_IO_do_write_internal, _IO_padn_internal)
74369         (_IO_getline_info_internal, _IO_getline_internal)
74370         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74371         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74372         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74373         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74374         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74375         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74376         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74377         with libc_hidden_ver, remove use of INTUSE.
74378         * libio/genops.c: Likewise.
74379         * libio/freopen.c: Likewise.
74380         * libio/freopen64.c: Likewise.
74381         * libio/iofclose.c: Likewise.
74382         * libio/iofdopen.c: Likewise.
74383         * libio/iofflush.c: Likewise.
74384         * libio/iofflush_u.c: Likewise.
74385         * libio/iofgets.c: Likewise.
74386         * libio/iofgets_u.c: Likewise.
74387         * libio/iofopen.c: Likewise.
74388         * libio/iofopncook.c: Likewise.
74389         * libio/iofread.c: Likewise.
74390         * libio/iofread_u.c: Likewise.
74391         * libio/ioftell.c: Likewise.
74392         * libio/iofwrite.c: Likewise.
74393         * libio/iogetline.c: Likewise.
74394         * libio/iogets.c: Likewise.
74395         * libio/iogetwline.c: Likewise.
74396         * libio/iopadn.c: Likewise.
74397         * libio/iopopen.c: Likewise.
74398         * libio/ioseekoff.c: Likewise.
74399         * libio/ioseekpos.c: Likewise.
74400         * libio/iosetbuffer.c: Likewise.
74401         * libio/iosetvbuf.c: Likewise.
74402         * libio/ioungetc.c: Likewise.
74403         * libio/ioungetwc.c: Likewise.
74404         * libio/iovdprintf.c: Likewise.
74405         * libio/iovsprintf.c: Likewise.
74406         * libio/iovsscanf.c: Likewise.
74407         * libio/memstream.c: Likewise.
74408         * libio/obprintf.c: Likewise.
74409         * libio/oldfileops.c: Likewise.
74410         * libio/oldiofclose.c: Likewise.
74411         * libio/oldiofdopen.c: Likewise.
74412         * libio/oldiofopen.c: Likewise.
74413         * libio/oldiopopen.c: Likewise.
74414         * libio/oldstdfiles.c: Likewise.
74415         * libio/putc.c: Likewise.
74416         * libio/setbuf.c: Likewise.
74417         * libio/setlinebuf.c: Likewise.
74418         * libio/stdfiles.c: Likewise.
74419         * libio/strops.c: Likewise.
74420         * libio/vasprintf.c: Likewise.
74421         * libio/vscanf.c: Likewise.
74422         * libio/vsnprintf.c: Likewise.
74423         * libio/vswprintf.c: Likewise.
74424         * libio/wfiledoalloc.c: Likewise.
74425         * libio/wfileops.c: Likewise.
74426         * libio/wgenops.c: Likewise.
74427         * libio/wmemstream.c: Likewise.
74428         * libio/wstrops.c: Likewise.
74429         * libio/__fpurge.c: Likewise.
74430         * libio/__fsetlocking.c: Likewise.
74431         * assert/assert.c: Likewise.
74432         * debug/fgets_chk.c: Likewise.
74433         * debug/fgets_u_chk.c: Likewise.
74434         * debug/fread_chk.c: Likewise.
74435         * debug/fread_u_chk.c: Likewise.
74436         * debug/gets_chk.c: Likewise.
74437         * debug/obprintf_chk.c: Likewise.
74438         * debug/vasprintf_chk.c: Likewise.
74439         * debug/vdprintf_chk.c: Likewise.
74440         * debug/vsnprintf_chk.c: Likewise.
74441         * debug/vsprintf_chk.c: Likewise.
74442         * malloc/mtrace.c: Likewise.
74443         * misc/error.c: Likewise.
74444         * misc/syslog.c: Likewise.
74445         * stdio-common/asprintf.c: Likewise.
74446         * stdio-common/fxprintf.c: Likewise.
74447         * stdio-common/getw.c: Likewise.
74448         * stdio-common/isoc99_fscanf.c: Likewise.
74449         * stdio-common/isoc99_scanf.c: Likewise.
74450         * stdio-common/isoc99_vfscanf.c: Likewise.
74451         * stdio-common/isoc99_vscanf.c: Likewise.
74452         * stdio-common/isoc99_vsscanf.c: Likewise.
74453         * stdio-common/printf-prs.c: Likewise.
74454         * stdio-common/printf_fp.c: Likewise.
74455         * stdio-common/printf_fphex.c: Likewise.
74456         * stdio-common/printf_size.c: Likewise.
74457         * stdio-common/putw.c: Likewise.
74458         * stdio-common/scanf.c: Likewise.
74459         * stdio-common/sprintf.c: Likewise.
74460         * stdio-common/tmpfile.c: Likewise.
74461         * stdio-common/vfprintf.c: Likewise.
74462         * stdio-common/vfscanf.c: Likewise.
74463         * stdlib/strfmon_l.c: Likewise.
74464         * sunrpc/openchild.c: Likewise.
74465         * sunrpc/xdr_stdio.c: Likewise.
74466         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74467         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74469 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74471         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74473         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74474         in the third column, to generate for the shared library an IFUNC
74475         that uses _dl_vdso_vsym.
74476         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74477         * Makeconfig (object-suffixes-noshared): New variable.
74479         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74480         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74481         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74482         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74484         [BZ #14132]
74485         * include/sys/time.h (__gettimeofday): Remove macro.
74486         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74487         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74488         Remove INTDEF.
74489         (__gettimeofday): Add libc_hidden_def.
74490         (gettimeofday): Add libc_hidden_weak.
74491         * sysdeps/mach/gettimeofday.c: Likewise.
74492         * sysdeps/posix/gettimeofday.c: Likewise.
74493         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74494         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74495         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74496         (__gettimeofday_internal): Remove strong_alias.
74497         (__gettimeofday): Add libc_hidden_def.
74498         (gettimeofday): Add libc_hidden_weak.
74499         * sysdeps/unix/syscalls.list (gettimeofday):
74500         Remove __gettimeofday_internal alias.
74502 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74503             H.J. Lu  <hongjiu.lu@intel.com>
74505         [BZ #12495]
74506         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74507         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74508         (largebin_index_32_big): New.
74509         (largebin_index): Use it for 16-byte alignment.
74510         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74511         correction with front_misalign.
74513 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74517         Likewise.
74518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74519         Likewise.
74520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74521         Likewise.
74522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74523         Likewise.
74524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74525         Likewise.
74526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74527         Likewise.
74528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74529         Likewise.
74530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74531         Likewise.
74532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74533         Likewise.
74534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74535         Likewise.
74536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74537         Likewise.
74538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74539         Likewise.
74541         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74542         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74544 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74546         [BZ #10846]
74547         [BZ #14036]
74548         * math/libm-test.inc (exp_test): Add test from bug 14036.
74549         (pow_test): Add test from bug 10846.
74551         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74552         and other flags.
74553         (special_function): Do not include flags in test name.
74554         (parse_args): Likewise.
74555         * sysdeps/i386/fpu/libm-test-ulps: Update.
74556         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74557         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74558         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74561         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74562         exceptions.
74563         * math/libm-test.inc ("Philosophy"): Update comment about
74564         exception testing.
74565         (UNDERFLOW_EXCEPTION): New macro.
74566         (UNDERFLOW_EXCEPTION_OK): Likewise.
74567         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74568         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74569         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74570         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74571         (INVALID_EXCEPTION_OK): Update value.
74572         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74573         (OVERFLOW_EXCEPTION_OK): Likewise.
74574         (IGNORE_ZERO_INF_SIGN): Likewise.
74575         (test_exceptions): Handle underflow exceptions.
74576         (acos_test): Update for underflow exception expectations.
74577         (cexp_test): Likewise.
74578         (clog_test): Likewise.
74579         (clog10_test): Likewise.
74580         (csqrt_test): Likewise.
74581         (ctan_test): Likewise.
74582         (ctanh_test): Likewise.
74583         (exp_test): Likewise.
74584         (exp10_test): Likewise.
74585         (exp2_test): Likewise.
74586         (expm1_test): Likewise.
74587         (fma_test): Likewise.
74588         (j0_test): Likewise.
74589         (jn_test): Likewise.
74590         (nexttoward_test): Likewise.
74591         (pow_test): Likewise.
74592         (scalbn_test): Likewise.
74593         (scalbln_test): Likewise.
74594         (tan_test): Likewise.
74595         (y1_test): Likewise.
74596         * sysdeps/i386/fpu/libm-test-ulps: Update.
74597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74599 2012-05-23  David S. Miller  <davem@davemloft.net>
74601         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74602         (__libc_sigaction): Remove unused local variables.
74604 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74606         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74608 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74610         mktime: avoid signed integer overflow
74611         * time/mktime.c (__mktime_internal): Do not mishandle the case
74612         where diff == INT_MIN.
74614         mktime: simplify computation of average
74615         * time/mktime.c (ranged_convert): Use new time_t_avg function
74616         instead of rolling our own (probably-slower) code.
74618         mktime: do not assume signed right shift propagates sign bit
74619         * time/mktime.c (isdst_differ): New static function.
74620         (__mktime_internal): No need to normalize tm_isdst now.
74621         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74622         tm_isdst values.
74624         mktime: merge another wrapv change from gnulib
74625         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74626         from some compilers.
74628         mktime: remove incorrect attempt at unusual arithmetics
74629         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74630         The code didn't really work on such machines anyway.
74631         (TYPE_MINIMUM): Assume two's complement.
74632         (twos_complement_arithmetic): Verify that long_int and time_t
74633         are two's complement (or unsigned, in the latter case).
74635         mktime: check signed shifts on long_int and time_t, too
74636         * time/mktime.c (SHR): Check that shifts work as desired
74637         on the types long_int and time_t too, as SHR is used on
74638         such types.
74640         mktime: do not assume 'long' is wide enough
74641         * time/mktime.c (verify): Move decl up.
74642         (long_int): New type.
74643         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74644         to remove assumption in the code that 'long' is wide enough to
74645         store year values.  This assumption is not true on x32 and on
74646         some non-glibc platforms.
74648         mktime: merge wrapv change from gnulib
74649         * time/mktime.c (WRAPV): New macro.
74650         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74651         (guess_time_tm, __mktime_internal): Do not assume that signed
74652         integer overflow wraps around; modern compilers generate code
74653         where this assumption is no longer valid.
74655 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74657         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74658         Replace "jmp L(pseudo_end)" with "ret".
74659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74660         Likewise.
74662 2012-05-23  Andreas Jaeger  <aj@suse.de>
74664         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74665         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74667 2012-05-23  Andreas Jaeger  <aj@suse.de>
74668             Maximilian Attems  <max@stro.at>
74670         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74671         New macros.
74673 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74676         code so that pseudo_end is just ret and the stack pointer is
74677         correct also for static library in error case.
74679 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74681         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74682         move to syscalls.list.
74683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74688         * manual/install.texi (Running make install): Do not mention Linux
74689         kernel version for which pt_chown is not needed.
74690         (Linux): Do not mention problems with nscd with 2.0 kernels.
74691         * INSTALL: Regenerated.
74693 2012-05-23  Andreas Jaeger  <aj@suse.de>
74695         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74696         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74697         macro.
74698         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74699         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74700         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74701         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74702         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74703         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74705         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74706         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74707         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74708         * sysdeps/unix/sysv/linux/bits/in.h
74709         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74711 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74713         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74714         (PREPARE_VERSION): Just use assert instead, it will be elided
74715         under [NDEBUG] anyway.
74717 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74719         * sysdeps/unix/sysv/linux/Makefile: Include
74720         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74721         (sysdep_routines): Remove sysctl.
74722         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74723         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74724         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74725         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74726         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74728 2012-05-22  Andreas Jaeger  <aj@suse.de>
74730         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74731         that pseudo_end is just ret and the stack pointer is correct also
74732         for static library in error case.
74734 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74736         [BZ #14122]
74737         * nss/nsswitch.c (defconfig_entries): New variable.
74738         (__nss_database_lookup): Don't leak defconfig entries.
74739         (nss_parse_service_list): Don't leak on error paths.
74740         (free_database_entries): New function.
74741         (free_defconfig): New function.
74742         (free_mem): Move common code to free_database_entries.
74744 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74746         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74747         Add arch_prctl.
74748         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74750         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74751         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74753         New macro.
74754         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74755         (INTERNAL_SYSCALL_TYPES): Likewise.
74756         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74757         (LOAD_REGS_TYPES_[1-6]): Likewise.
74758         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74759         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74761 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74763         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74764         copysignl for GLIBC_2_0.
74765         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74766         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74768         logbl for GLIBC_2_0.
74769         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74770         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74772 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74774         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74775         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74777         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74778         Use "neg %eax".
74780         * time/mktime.c: Update copyright years.
74782 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74784         mktime: merge comment-quoting-style change from gnulib
74785         * time/mktime.c: Quote 'like this' in comments.
74786         The GNU coding standards suggest that we no longer quote `like this',
74787         as "`" and "'" are typically rendered asymmetrically nowadays.
74788         The typical gnulib style is to quote 'like this' when quoting
74789         code, and "like this" when quoting English.
74791         * time/mktime.c (compile-command): Add "-I.".
74793         mktime: merge mktime-internal.h change from gnulib
74794         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74796         mktime: merge time_r change from gnulib
74797         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74799         mktime: merge DEBUG change from gnulib
74800         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74801         case system <time.h> has a #define.
74803         mktime: merge <sys/types.h> change from gnulib
74804         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74805         since <time.t> is now guaranteed to define time_t.
74807         mktime: merge HAVE_CONFIG_H change from gnulib
74808         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74810 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74813         Use "neg %eax".
74815         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74816         __rlim_t cast.
74817         (struct rusage): Use anonymous union to pad each field to
74818         __syscall_slong_t.
74820 2012-05-21  David S. Miller  <davem@davemloft.net>
74822         * Makefules (o-iterator): Remove .s cases.
74823         (compile-command.s): Delete.
74824         (COMPILE.s): Delete.
74825         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74827 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74829         * configure.in (libc_cv_predef_stack_protector): Only consider
74830         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74831         * configure: Regenerated.
74833 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74836         New macro.  Use R*LP on int and pointer.
74837         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74838         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74839         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74840         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74842         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74843         [__WORDSIZE_TIME64_COMPAT32] instead of
74844         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74845         (struct utmp): Likewise.
74846         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74847         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74848         Renamed to ...
74849         (__WORDSIZE_TIME64_COMPAT32): This.
74850         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74851         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74852         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74853         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74854         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74855         (__WORDSIZE_TIME64_COMPAT32): New macro.
74857 2012-05-21  Andreas Jaeger  <aj@suse.de>
74859         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74860         only if [SHARED]. Add prototype for __wcschr_ia32.
74862 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74864         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74865         of %rbp unmolested in the jmp_buf while mangling the low bits.
74866         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74867         unmolested high bits of %rbp while demangling the low bits.
74868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74870 2012-05-21  Andreas Jaeger  <aj@suse.de>
74872         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74873         * sunrpc/svc_simple.c: Use it for registerrpc.
74874         * sunrpc/xcrypt.c: Use it for passwd2des.
74876         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74878 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74880         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74881         Don't define if [__SYSCALL_WORDSIZE != 32].
74882         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74883         New macro.
74885 2012-05-21  Bruno Haible  <bruno@clisp.org>
74886             Andreas Jaeger  <aj@suse.de>
74888         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74889         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74890         inptr and inend for must_buffer_ch.
74891         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74892         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74893         * stdio-common/Makefile (tests): Remove bug15.
74894         (bug15-ENV): Remove macro.
74895         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74896         anymore.
74898 2012-05-19  Andreas Jaeger  <aj@suse.de>
74899             Roland McGrath  <roland@hack.frob.com>
74901         * manual/contrib.texi: Completely rewritten. It contains now an
74902         alphabetical list of contributors and their contributions.
74904 2012-05-21  Richard Henderson  <rth@twiddle.net>
74906         * misc/getauxval.c (__getauxval): Use unsigned long int.
74907         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74908         (getauxval): Use unsigned long int.
74910 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74912         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74914 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74916         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74917         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74918         __alignof__ (long double).
74920 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74924 2012-05-20  Richard Henderson  <rth@twiddle.net>
74926         * misc/getauxval.c: New file.
74927         * misc/sys/auxv.h: New file.
74928         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74929         (routines): Add getauxval.
74930         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74931         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74932         * elf/dl-sysdep.c (_dl_auxv): Remove.
74933         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74934         * elf/dl-support.c (_dl_auxv): New variable.
74935         (_dl_aux_init): Initialize it.
74936         * manual/startup.texi (Auxiliary Vector): New node.
74937         * sysdeps/generic/bits/hwcap.h: New file.
74938         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74939         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74940         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74941         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74942         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74943         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74945         Update.
74946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74955 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74959 2012-05-19  David S. Miller  <davem@davemloft.net>
74961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74963 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74965         [BZ #14123]
74966         * math/s_ccosh.c: Include <float.h>
74967         (__ccosh): Avoid internal overflow calculating sinh and cosh
74968         values before multiplying by sin and cos values.
74969         * math/s_ccoshf.c: Likewise.
74970         * math/s_ccoshl.c: Likewise.
74971         * math/s_csin.c: Likewise.
74972         * math/s_csinf.c: Likewise.
74973         * math/s_csinl.c: Likewise.
74974         * math/s_csinh.c: Likewise.
74975         * math/s_csinhf.c: Likewise.
74976         * math/s_csinhl.c: Likewise.
74977         * math/libm-test.inc (ccos_test): Add more tests.
74978         (ccosh_test): Likewise.
74979         (csin_test): Likewise.
74980         (csinh_test): Likewise.
74981         * sysdeps/i386/fpu/libm-test-ulps: Update.
74982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74984 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74986         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74987         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74989         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74991 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74993         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74994         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74995         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74996         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74997         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74998         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74999         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75000         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75001         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75002         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75003         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75004         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75005         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75006         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75007         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75008         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75009         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75010         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75011         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75012         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75013         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75014         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75015         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75016         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75017         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75018         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75019         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75020         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75021         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75022         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75023         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75025 2012-05-18  Andreas Jaeger  <aj@suse.de>
75027         * csu/.gitignore: Delete.
75029 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75031         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75032         (timex): Use __syscall_slong_t.
75034 2012-05-18  Andreas Jaeger  <aj@suse.de>
75035             Carlos O'Donell  <carlos_odonell@mentor.com>
75037         * manual/install.texi (Configuring and compiling): Update
75038         description about files modified in the source directory.
75039         * INSTALL: Regenerated.
75041 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75043         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75044         value.  Use "or" to set return value to -1.
75045         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75046         negate return value.
75048 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75050         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75051         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75052         failure if the compiler has Graphite support disabled.
75053         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75054         Likewise.
75055         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75056         (CFLAGS-memmove.c): Likewise.
75057         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75058         Likewise.
75060 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75062         * sysdeps/x86_64/x32/_itoa.h: New file.
75064         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75065         getdents system call only if kernel and user dirents have the
75066         same d_ino and d_off.
75068         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75069         LLONG_MAX != LONG_MAX.
75070         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75071         (_fitoa_word): Likewise.
75073         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75074         years.
75075         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75076         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75077         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75079         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75080         include <bits/wordsize.h>.  Check __x86_64__ instead of
75081         __WORDSIZE.
75082         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75083         if __x86_64__ is defined.  Use anonymous union on fpstate.
75085         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75086         anonymous union.
75088 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75090         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75091         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75092         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75093         Refer to _rtld_local_ro instead of _rtld_global_ro.
75094         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75095         Likewise.
75096         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75097         Likewise.
75098         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75099         Likewise.
75100         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75101         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75102         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75104         [BZ #10882]
75105         * sysdeps/powerpc/powerpc32/dl-machine.c
75106         (__elf_machine_runtime_setup) [PROF]: Don't reference
75107         _dl_prof_resolve.
75109 2012-05-18  Andreas Jaeger  <aj@suse.de>
75111         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75112         function only available for GCCs before 3.4 since GCC 3.4
75113         introduced a builtin.
75114         (lrint): Likewise.
75115         (llrintf): Likewise.
75116         (llrint): Likewise.
75117         (fmaxf): Likewise.
75118         (fmax): Likewise.
75119         (fminf): Likewise.
75120         (fmin): Likewise.
75121         (rint): Likewise.
75122         (rintf): Likewise.
75123         (nearbyint): Likewise.
75124         (nearbyintf): Likewise.
75125         (ceil): Likewise.
75126         (ceilf): Likewise.
75127         (floor): Likewise.
75128         (floorf): Likewise.
75130 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75132         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75133         on both fields and cast pointer to __syscall_ulong_t.
75135         * bits/types.h (__fsword_t): New type.
75136         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75137         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75138         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75139         (__FSWORD_T_TYPE): Likewise.
75140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75141         (__FSWORD_T_TYPE): Likewise.
75142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75143         (__FSWORD_T_TYPE): Likewise.
75144         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75145         (__FSWORD_T_TYPE): Likewise.
75146         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75147         __SWORD_TYPE with __fsword_t.
75148         (statfs64): Likewise.
75150 2012-05-17  David S. Miller  <davem@davemloft.net>
75152         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75154 2012-05-17  Andreas Jaeger  <aj@suse.de>
75156         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75157         warning.
75159 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75161         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75163 2012-05-17  Andreas Jaeger  <aj@suse.de>
75165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75166         when it is used.
75168 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75170         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75172 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75174         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75175         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75177 2012-05-17  Andreas Jaeger  <aj@suse.de>
75178             Carlos O'Donell  <carlos_odonell@mentor.com>
75180         [BZ #14059]
75181         * sysdeps/x86_64/multiarch/init-arch.h
75182         (bit_YMM_Usable): Rename to...
75183         (bit_AVX_Usable): ... this.
75184         (bit_FMA4_Usable): New macro.
75185         (bit_XMM_state): New macro.
75186         (bit_YMM_state): New macro.
75187         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75188         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75189         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75190         (CPUID_OSXSAVE): New macro.
75191         (CPUID_AVX): New macro.
75192         (CPUID_FMA4): New macro.
75193         (index_YMM_Usable): Rename to...
75194         (index_AVX_Usable): ... this.
75195         (HAS_AVX): Use HAS_ARCH_FEATURE.
75196         (HAS_FMA4): Likewise.
75197         (HAS_YMM_USABLE): Remove.
75198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75199         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75200         are present.
75201         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75202         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75203         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75204         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75205         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75207 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75209         * math/libm-test.c: Support platforms without multiple rounding modes.
75210         * math/bug-nextafter.c: Support platforms without FP exceptions.
75211         * math/bug-nexttoward.c: Likewise.
75212         * math/test-fenv.c: Likewise.
75213         * math/test-misc.c: Likewise.
75214         * stdlib/bug-getcontext.c: Likewise.
75216 2012-05-17  Andreas Jaeger  <aj@suse.de>
75218         * manual/examples/search.c (critter_cmp): Change signature to
75219         avoid warnings.
75220         * manual/string.texi (Collation Functions): Likewise.
75222 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75224         * bits/types.h: Fold copyright years.
75225         * bits/typesizes.h: Likewise.
75226         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75229         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75230         * time/time.h: Likewise.
75232 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75234         [BZ #208]
75235         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75236         in instead of returning them.  Return void.
75237         (__libc_mallinfo): Accumulate over all arenas.
75238         (__malloc_stats): Adjust for change in int_mallinfo interface.
75240 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75242         [BZ #10375]
75243         * configure.in (NM): Add AC_CHECK_TOOL for it.
75244         (libc_extra_cflags): New substituted variable.
75245         Check for -fstack-protector being used implicitly.
75246         * configure: Regenerated.
75247         * config.make.in (config-extra-cflags): New variable,
75248         gets @libc_extra_cflags@.
75249         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75251         [BZ #10375]
75252         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75253         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75254         * configure: Regenerated.
75255         * config.make.in (CPPUNDEFS): New substituted variable.
75256         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75257         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75258         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75262         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75263         (mq_attr): Use __syscall_slong_t.
75265 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75267         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75268         Check __x86_64__ instead of __WORDSIZE.
75269         (_STAT_VER_LINUX): Likewise.
75270         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75271         __syscall_ulong_t and __syscall_slong_t.
75272         (stat64): Likewise.
75274 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75276         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75278 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75280         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75284         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75285         __syscall_ulong_t.
75287         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75288         include <bits/wordsize.h>.  Check __x86_64__ instead of
75289         __WORDSIZE.
75290         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75291         defined.
75292         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75294         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75295         include <bits/wordsize.h>.  Check __x86_64__ instead of
75296         __WORDSIZE.
75297         (user_regs_struct): Use "__extension__ unsigned long long"
75298         instead of "unsigned long" if __x86_64__ is defined.
75299         (user): Likewise.  Pad after pointer field if __ILP32__ is
75300         defined.
75302 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75304         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75305         versions 5 to 9.
75306         * configure: Regenerated.
75307         * manual/install.texi (texinfo): Increase version requirement to
75308         4.5 or later.
75309         * INSTALL: Regenerated.
75311         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75313 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75315         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75317         * sysdeps/x86_64/x32/ffs.c: New file.
75319         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75320         __syscall_ulong_t.
75321         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75322         defined.  Use __syscall_ulong_t.
75323         (shminfo): Use __syscall_ulong_t.
75324         (shm_info): Likewise.
75326         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75327         __syscall_ulong_t.
75329         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75330         <bits/wordsize.h>.
75331         (msgqnum_t): Use __syscall_ulong_t.
75332         (msglen_t): Likewise.
75333         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75334         __syscall_ulong_t.
75336         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75337         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75339         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75341         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75342         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75344         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75345         __syscall_slong_t.
75347         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75348         include <bits/wordsize.h>.  Check __x86_64__ instead of
75349         __WORDSIZE.
75351         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75352         "unsigned long long int" if __x86_64__ is defined.
75353         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75355         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75356         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75357         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75359         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75360         <stdint.h>.
75361         (GET_PC): Cast to uintptr_t first.
75362         (GET_FRAME): Likewise.
75363         (GET_STACK): Likewise.
75365         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75366         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75367         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75368         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75369         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75370         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75371         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75372         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75373         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75374         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75375         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75376         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75377         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75378         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75379         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75380         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75381         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75382         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75383         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75384         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75385         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75386         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75387         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75388         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75389         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75390         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75391         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75392         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75393         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75395 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75397         * Makerules (+depfiles): Also collect depfiles from .oS in
75398         $(extra-objs).
75399         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75400         .oS, $(libnldbl-routines)).
75402         * Makerules (native-compile-mkdep-flags): Define.
75403         * sunrpc/Makefile (extra-objs): Add $(addprefix
75404         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75405         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75406         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75407         calling $(make-target-directory).
75409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75411         * bits/types.h (__snseconds_t): Removed.
75412         * time/time.h (struct timespec): Replace __snseconds_t with
75413         __syscall_slong_t.
75414         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75415         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75416         Likewise.
75417         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75418         (__SNSECONDS_T_TYPE): Likewise.
75419         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75420         (__SNSECONDS_T_TYPE): Likewise.
75421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75422         (__SNSECONDS_T_TYPE): Likewise.
75424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75426         * sysdeps/mach/hurd/bits/typesizes.h
75427         (__SYSCALL_SLONG_TYPE): New macro.
75428         (__SYSCALL_ULONG_TYPE): Likewise.
75430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75432         * bits/types.h (__syscall_slong_t): New type.
75433         (__syscall_ulong_t): Likewise.
75435         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75436         (__SYSCALL_ULONG_TYPE): Likewise.
75437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75438         (__SYSCALL_SLONG_TYPE): Likewise.
75439         (__SYSCALL_ULONG_TYPE): Likewise.
75440         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75441         (__SYSCALL_SLONG_TYPE): Likewise.
75442         (__SYSCALL_ULONG_TYPE): Likewise.
75443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75444         (__SYSCALL_SLONG_TYPE): Likewise.
75445         (__SYSCALL_ULONG_TYPE): Likewise.
75447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75449         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75450         Add sigaltstack-offsets.sym.
75451         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75452         <sigaltstack-offsets.h>.
75453         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75454         longjmp_msg pointer.
75455         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75456         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75457         signal stack.
75458         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75460 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75462         * elf/stackguard-macros.h: Remove file.
75463         * sysdeps/generic/stackguard-macros.h: New file.
75464         * sysdeps/i386/stackguard-macros.h: Likewise.
75465         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75466         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75467         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75468         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75469         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75470         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75471         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75472         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75473         <elf/stackguard-macros.h>.
75475         [BZ #14109]
75476         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75477         __aligned__ in attribute.
75478         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75479         (gregset_t): Likewise.
75481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75483         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75484         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75485         * sysdeps/x86_64/x32/Implies-after: New file.
75487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75489         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75490         and access return value for _dl_profile_fixup.  Use R10_LP to
75491         load frame size.
75493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75495         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75499         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75500         * sysdeps/x86_64/x32/sysdep.h: New file.
75502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75504         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75505         * sysdeps/x86_64/setjmp.S: Likewise.
75507 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75509         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75510         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75511         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75512         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75513         remove unused global constant.
75515 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75517         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75518         include of <not-cancel.h>.
75520 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75522         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75524 2012-05-15  Jeff Law  <law@redhat.com>
75525             Andreas Jaeger  <aj@suse.de>
75527         [BZ #13594]
75528         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75529         out from...
75530         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75531         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75532         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75533         code changing __hst_map_handle.map.
75535 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75537         * configure.in (sysnames): Look for Implies-before and Implies-after
75538         files.
75539         * configure: Regenerated.
75541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75543         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75544         8-byte data alignment with LP_SIZE alignment.
75546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75548         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75549         into R10_LP.
75551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75553         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75557         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75558         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75559         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75560         Likewise.
75561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75565         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75566         (stackinfo_sub_sp): Likewise.
75568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75571         RAX_LP.
75573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75575         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75576         into R*_LP.
75578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75580         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75581         sizes into R*_LP.
75583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75585         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75589         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75590         into R11_LP and load __x86_64_shared_cache_size_half into
75591         R8_LP.
75593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75595         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75596         R8_LP.
75598 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75601         logb for POWER7.
75602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75603         logbf for POWER7.
75604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75605         logbl for POWER7.
75606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75607         powerpc32/power7/fpu/s_logb.c via #include.
75608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75609         powerpc32/power7/fpu/s_logbf.c via #include.
75610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75611         powerpc32/power7/fpu/s_logbl.c via #include.
75613 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75615         * README.libm: Remove file.
75617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75619         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75620         count for x32.  Use R*_LP and omit operand-size suffix.
75622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75624         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75625         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75626         * sysdeps/x86_64/x32/shlib-versions: New file.
75628 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75630         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75631         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75632         Use _dl_fatal_printf instead.
75634 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75636         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75637         set if not set by the user.  Do not allow for being unset.
75638         * sysdeps/unix/sysv/linux/configure: Regenerated.
75640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75642         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75643         the `q' suffix from lea and replace .quad with ASM_ADDR.
75645 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75647         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75648         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75649         instead of $17.
75650         (PTR_DEMANGLE): Likewise.
75652 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75654         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75655         (LP_OP): Likewise.
75656         (ASM_ADDR): Likewise.
75657         (RAX_LP): Likewise.
75658         (RBP_LP): Likewise.
75659         (RBX_LP): Likewise.
75660         (RCX_LP): Likewise.
75661         (RDI_LP): Likewise.
75662         (RSI_LP): Likewise.
75663         (RSP_LP): Likewise.
75664         (R8_LP): Likewise.
75665         (R9_LP): Likewise.
75666         (R10_LP): Likewise.
75667         (R10_LP): Likewise.
75668         (R11_LP): Likewise.
75669         (R12_LP): Likewise.
75670         (R13_LP): Likewise.
75671         (R14_LP): Likewise.
75672         (R15_LP): Likewise.
75674 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75676         * sysdeps/x86_64/x32/dl-machine.h: New file.
75678 2012-05-14  Andreas Jaeger  <aj@suse.de>
75680         * manual/Makefile (subdir): Remove export of subdir.
75681         (all): Remove target.
75682         (.PHONY): Remove all from list.
75683         (mkinstalldirs): Remove.
75684         (.PHONY): Remove installdirs from list.
75685         ($(inst_infodir)/libc.info): Use make-target-directory.
75686         (installdirs): Remove.
75687         (subdir_%): Remove.
75688         (glibc-targets): Remove.
75689         (lib): Remove.
75690         (stubs): Remove.
75691         ($(objpfx)stubs ../po/manual.pot): Remove.
75692         ($(objpfx)stamp%): Remove.
75693         (make-target-directory): Remove.
75694         (subdir_install): Remove.
75695         (routines): Remove.
75696         (aux): Remove.
75697         (sources): Remove.
75698         (objects): Remove.
75699         (headers): Remove.
75701         [BZ #13750]
75702         * manual/.gitignore: Remove, it's not needed anymore.
75703         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75704         all files in it.
75705         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75706         directory.
75707         (texis): Renamed to $(objpfx)texis.
75708         (texis-path): New, contains path to generated files.
75709         (chapters.%): Use texis-path for complete path, add extra argument
75710         libc-texinfo.sh.
75711         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75712         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75713         (summary,texi, stamp-summary): Use complete path of
75714         files. Generate files in build dir.
75715         (dir-add.texi): Build in build dir.
75716         (libm-err.texi,stamp-libm-err): Likewise.
75717         (version.texi, stamp-version): Likewise.
75718         (.%c.texi): Likewise.
75719         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75720         (mostlyclean): Remove target.
75721         (realclean): Remove target.
75722         (generated): Add new variable with contents from mostlyclean and
75723         realclean, remove entries duplicated in common-mostlyclean, add
75724         stamp-libm-err and stamp-version.
75725         (generated-dirs): Add libc directory.
75726         ($(inst_infodir)/libc.info): Install files from build dir.
75728         * manual/install.texi (Configuring and compiling): Adjust since
75729         the info files are not part of the tar ball anymore.
75731 2012-05-14  Andreas Jaeger  <aj@suse.de>
75733         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75734         variable.
75736 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75738         [BZ #13717]
75739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75740         to 2.2.0 where earlier.
75741         * sysdeps/unix/sysv/linux/configure: Regenerated.
75742         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75743         Remove conditional code.
75744         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75745         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75746         Remove conditional code.
75747         [!__NR_lchown]: Likewise.
75748         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75749         [__NR_lchown]: Likewise.
75750         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75751         comment referencing __ASSUME_LCHOWN_SYSCALL.
75752         * sysdeps/unix/sysv/linux/i386/sigaction.c
75753         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75754         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75755         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75756         Remove conditional code.
75757         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75758         (__protocol_available): Remove #if 0 code.
75759         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75760         conditional code.
75761         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75762         * sysdeps/unix/sysv/linux/kernel-features.h
75763         (__ASSUME_GETCWD_SYSCALL): Don't define.
75764         (__ASSUME_REALTIME_SIGNALS): Likewise.
75765         (__ASSUME_PREAD_SYSCALL): Likewise.
75766         (__ASSUME_PWRITE_SYSCALL): Likewise.
75767         (__ASSUME_POLL_SYSCALL): Likewise.
75768         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75769         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75770         non-SPARC.
75771         (__ASSUME_SIOCGIFNAME): Don't define.
75772         (__ASSUME_MSG_NOSIGNAL): Likewise.
75773         (__ASSUME_SENDFILE): Define unconditionally.
75774         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75775         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75776         conditional code.
75777         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75778         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75779         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75780         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75781         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75782         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75783         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75785         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75786         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75788         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75789         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75791         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75792         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75794         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75795         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75797         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75798         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75800         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75803         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75804         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75806         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75808         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75809         Remove conditional code.
75810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75811         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75812         Remove conditional code.
75813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75814         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75815         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75816         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75817         Remove conditional code.
75818         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75819         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75820         Remove conditional code.
75821         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75822         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75823         Remove conditional code.
75824         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75825         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75826         Remove conditional code.
75827         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75828         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75829         Remove conditional code.
75830         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75831         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75832         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75833         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75834         * sysdeps/unix/sysv/linux/sigaction.c
75835         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75836         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75837         * sysdeps/unix/sysv/linux/sigpending.c
75838         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75839         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75840         * sysdeps/unix/sysv/linux/sigprocmask.c
75841         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75842         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75843         * sysdeps/unix/sysv/linux/sigsuspend.c
75844         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75845         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75846         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75847         (__libc_missing_rt_sigs): Remove.
75848         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75849         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75850         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75851         Remove conditional code.
75852         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75853         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75854         return 1.
75855         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75856         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75857         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75858         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75860 2012-05-14  Andreas Jaeger  <aj@suse.de>
75862         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75863         it's not used in glibc.
75864         (__coshm1): Likewise.
75865         (__acosh1p): Likewise.
75866         (__sgn): Likewise.
75868         * manual/string.texi (Copying and Concatenation): Add missing
75869         variable in concat example.
75870         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75874         [BZ #14103]
75875         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75876         __builtin_clzl with __builtin_clzll.
75878 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75880         [BZ #14104]
75881         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75882         libc_freeres_ptr.
75884 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75886         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75887         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75888         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75889         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75891 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75893         * NEWS: Update ia64 info.
75895 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75897         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75898         used as bcopy.
75900 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75902         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75903         * sysdeps/unix/syscalls.list (dup3): Likewise.
75904         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75905         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75907 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75909         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75910         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75912 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75914         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75915         thread pointer.
75916         (TLS_IE): Use mov/add instead of movq/addq to load thread
75917         pointer.
75918         (TLS_GD_PREFIX): New.
75919         (TLS_GD): Use it.
75921 2012-05-11  David S. Miller  <davem@davemloft.net>
75923         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75924         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75925         (_FPU_SETCW): Likewise.
75927 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75929         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75930         is 32-byte aligned.
75932 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75934         [BZ #11837]
75935         * iconvdata/gb18030.c: Update tables.
75936         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75937         characters specially.
75938         (BODY for TO_LOOP): Add encoding of missing ranges.
75940 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75942         [BZ #13673]
75943         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75944         * sysdeps/mach/hurd/dup3.c: Likewise.
75945         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75946         * sysdeps/powerpc/memmove.c:: Likewise.
75948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75951         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75953 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75955         * elf/elf.h (R_X86_64_RELATIVE64): New.
75956         (R_X86_64_NUM): Updated.
75957         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75958         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75959         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75960         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75961         tst-quad1pie tst-quad2pie
75962         (modules-names): Add tst-quadmod1 tst-quadmod2.
75963         ($(objpfx)tst-quad1): New dependency.
75964         ($(objpfx)tst-quad2): Likewise.
75965         ($(objpfx)tst-quad1pie): Likewise.
75966         ($(objpfx)tst-quad2pie): Likewise.
75967         * sysdeps/x86_64/tst-quad1.c: New file.
75968         * sysdeps/x86_64/tst-quad1pie.c: New file.
75969         * sysdeps/x86_64/tst-quad2.c: Likewise.
75970         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75971         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75972         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75973         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75974         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75978         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75979         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75980         * streams/stropts.h (t_scalar_t): Define type.
75982         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75983         (_PATH_PRESERVE): Set to "/var/lib".
75984         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75986         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75987         instead of int.
75989         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75990         if __dir_mkfile succeeded.
75992         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75993         checking for _hurd_dtablesize.  Unlock it right after having
75994         finished _hurd_dtable allocation.
75996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75998         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75999         * sysdeps/mach/hurd/configure: Regenerated.
76000         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76001         special-casing to...
76002         * sysdeps/gnu/configure.in: ... this new file.
76003         * sysdeps/unix/sysv/linux/configure: Regenerated.
76004         * sysdeps/gnu/configure: New generated file.
76006         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76007         for Linux: use nsec instead of usec, as well as:
76008         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76009         members of type struct timespec.
76010         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76011         New macros.
76012         (struct stat64): Likewise.
76013         (_STATBUF_ST_NSEC): New macro.
76014         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76016         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76017         __strtoul_internal rather than strtoul.
76019 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76021         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76022         and reject them.
76024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76026         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76027         which preserves existing values.
76028         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76030 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76032         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76033         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76034         greater than FD_SETSIZE.
76036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76038         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76039         allocated, call __vm_protect to finish enabling the existing space, and
76040         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76041         allocate the remainder.
76043 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76045         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76046         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76050         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76051         sysdeps/mach/hurd/readlink.c.
76053         * posix/tst-sysconf.c (posix_options): Only use
76054         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76055         _POSIX_SYNCHRONIZED_IO when they are defined
76056         * sysdeps/mach/hurd/bits/posix_opt.h:
76057         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76058         (_XOPEN_REALTIME): Undefine macro.
76059         (_XOPEN_REALTIME_THREADS): Undefine macro.
76060         (_XOPEN_SHM): Undefine macro.
76061         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76062         macro to -1.
76063         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76064         macro to -1.
76065         (_POSIX_ASYNC_IO): Undefine macro.
76066         (_POSIX_PRIORITIZED_IO): Undefine macro.
76067         (_POSIX_SPIN_LOCKS): Define macro to -1.
76069         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76070         SA_NODEFER, SA_RESETHAND.
76071         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76072         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76073         F_DUPFD_CLOEXEC.
76075 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76077         * elf/Makefile (pldd-modules): Define unconditionally.
76079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76081         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76085         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76086         Return ENOENT when name is empty.
76087         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76089 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76091         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76093         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76097         Fix mlock in all cases except non-readable pages.
76098         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76099         instead of VM_PROT_ALL as parameter to __vm_wire function.
76101         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76102         (__mkdir): When path is `/', just fail with EEXIST.
76103         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76105 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76107         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76108         <sys/uio.h> (for writev).
76109         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76110         and <sys/param.h> (for MIN).
76112 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76114         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76115         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76116         if interrupted.
76118 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76120         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76121         Depend on against $(link-rpcuserlibs).
76123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76125         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76126         (__libc_stack_end): Do not use attribute_relro.
76127         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76128         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76129         to libthread-provided value.
76130         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76131         attribute_relro.
76133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76135         [BZ #3748]
76136         * bits/libc-lock.h (__libc_once_get): New macro.
76137         * sysdeps/mach/bits/libc-lock.h: Likewise.
76138         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76139         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76140         instead of using implementation details.
76142         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76143         * libio/freopen.c: Likewise.
76144         * libio/freopen64.c: Likewise.
76145         * misc/syslog.c: Likewise.
76146         * nscd/connections.c: Likewise.
76147         * nscd/netgroupcache.c: Likewise.
76148         * sysdeps/posix/getcwd.c: Likewise.
76150 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76152         * math/w_ilogbf.c: Add #include <limits.h>.
76154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76156         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76157         path instead of returning without unlocking.
76159         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76160         immediate-write ioctls.
76161         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76165         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76166         __builtin_frame_address instead of making assumptions about the
76167         location of the return address relative to DATA.  Force early load of
76168         the return address.
76169         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76170         __builtin_frame_address.
76172         dup3 for GNU Hurd.
76173         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76174         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76175         implement dup3 and do some further code clean-ups.
76176         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76177         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76181         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76183         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76184         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76185         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76186         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76187         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76188         d->port.lock.
76190         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76191         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76192         when handler == SIG_ERR, not when handler != SIG_ERR.
76194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76196         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76197         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76198         definitions.
76200         accept4 for GNU Hurd.
76201         * include/sys/socket.h (__libc_accept4): New prototype.
76202         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76203         to implement __libc_accept4.
76204         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76205         __libc_accept4.
76206         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76208         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76209         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76210         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76211         signal-defines.sym.
76213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76215         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76219         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76220         assertion on O_CLOEXEC flag.
76221         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76222         * hurd/intern-fd.c: Likewise.
76223         * hurd/port2fd.c: Likewise.
76225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76227         [BZ #3906]
76228         * bits/in.h (IPV6_PKTINFO): Define new macro.
76229         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76231 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76233         [BZ #13954]
76234         [BZ #13955]
76235         [BZ #13956]
76236         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76238         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76239         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76241         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76242         * math/libm-test.inc (logb_test) : Additional logb tests.
76244 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76245             Andreas Jaeger  <aj@suse.de>
76247         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76248         * configure: Regenerated.
76249         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76250         * config.make.in (link-obsolete-rpc): New substituted variable.
76251         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76252         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76253         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76254         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76255         so that libc.a contains the symbols.
76256         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76257         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76258         * sunrpc/auth_none.c: Likewise.
76259         * sunrpc/auth_unix.c: Likewise.
76260         * sunrpc/authdes_prot.c: Likewise.
76261         * sunrpc/authuxprot.c: Likewise.
76262         * sunrpc/clnt_gen.c: Likewise.
76263         * sunrpc/clnt_perr.c: Likewise.
76264         * sunrpc/clnt_raw.c: Likewise.
76265         * sunrpc/clnt_simp.c: Likewise.
76266         * sunrpc/clnt_tcp.c: Likewise.
76267         * sunrpc/clnt_udp.c: Likewise.
76268         * sunrpc/clnt_unix.c: Likewise.
76269         * sunrpc/des_crypt.c: Likewise.
76270         * sunrpc/des_soft.c: Likewise.
76271         * sunrpc/get_myaddr.c: Likewise.
76272         * sunrpc/key_call.c: Likewise.
76273         * sunrpc/key_prot.c: Likewise.
76274         * sunrpc/netname.c: Likewise.
76275         * sunrpc/pm_getmaps.c: Likewise.
76276         * sunrpc/pm_getport.c: Likewise.
76277         * sunrpc/pmap_clnt.c: Likewise.
76278         * sunrpc/pmap_prot.c: Likewise.
76279         * sunrpc/pmap_prot2.c: Likewise.
76280         * sunrpc/pmap_rmt.c: Likewise.
76281         * sunrpc/publickey.c: Likewise.
76282         * sunrpc/rpc_cmsg.c: Likewise.
76283         * sunrpc/rpc_common.c: Likewise.
76284         * sunrpc/rpc_dtable.c: Likewise.
76285         * sunrpc/rpc_prot.c: Likewise.
76286         * sunrpc/rpc_thread.c: Likewise.
76287         * sunrpc/rtime.c: Likewise.
76288         * sunrpc/svc.c: Likewise.
76289         * sunrpc/svc_auth.c: Likewise.
76290         * sunrpc/svc_raw.c: Likewise.
76291         * sunrpc/svc_run.c: Likewise.
76292         * sunrpc/svc_tcp.c: Likewise.
76293         * sunrpc/svc_udp.c: Likewise.
76294         * sunrpc/svc_unix.c: Likewise.
76295         * sunrpc/svcauth_des.c: Likewise.
76296         * sunrpc/xcrypt.c: Likewise.
76297         * sunrpc/xdr.c: Likewise.
76298         * sunrpc/xdr_array.c: Likewise.
76299         * sunrpc/xdr_float.c: Likewise.
76300         * sunrpc/xdr_intXX_t.c: Likewise.
76301         * sunrpc/xdr_mem.c: Likewise.
76302         * sunrpc/xdr_rec.c: Likewise.
76303         * sunrpc/xdr_ref.c: Likewise.
76304         * sunrpc/xdr_sizeof.c: Likewise.
76305         * sunrpc/xdr_stdio.c: Likewise.
76307 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76309         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76310         change.  Update copyright years.
76312 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76314         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76316 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76317             Joseph Myers  <joseph@codesourcery.com>
76318             Paul Pluzhnikov  <ppluzhnikov@google.com>
76320         [BZ #14012]
76321         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76322         requiring rpcgen.
76323         [cross-compiling] (extra-libs): Likewise.
76324         [cross-compiling] (extra-libs-others): Likewise.
76325         [cross-compiling] (librpcsvc-routines): Likewise.
76326         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76327         [cross-compiling] (omit-deps): Likewise.
76328         (sunrpc-CPPFLAGS): New variable.
76329         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76330         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76331         (cross-rpcgen-objs): New variable.
76332         (extra-objs): Append $(cross-rpcgen-objs).
76333         ($(cross-rpcgen-objs)): New rule.
76334         ($(objpfx)cross-rpcgen): Likewise.
76335         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76336         comment.
76337         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76338         ($(objpfx)x%.stmp): Likewise.
76339         * sunrpc/proto.h [IS_IN_build] (_): Define.
76340         [IS_IN_build] (_libc_intl_domainname): Likewise.
76342 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76344         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76345         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76346         and R_X86_64_TPOFF64.
76348 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76350         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76351         sysdeps/unix/sysv/syscalls.list.
76352         (stime): Likewise.
76353         (utime): Likewise.
76354         * sysdeps/unix/sysv/syscalls.list: Remove file.
76356 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76358         [BZ #3440]
76359         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76360         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76361         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76362         (__LC_IDENTIFICATION): Make these macros useful in #if
76363         expressions, as required by C99.
76365 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76367         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76368         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76369         after this.
76371 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76373         * stdlib/longlong.h: Updated from GCC.
76375 2012-05-09  Andreas Jaeger  <aj@suse.de>
76377         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76378         default is first entry.
76379         (run_mode): Set type.
76380         (main): Remove informal message about syslog.
76381         (options): Fix typo.
76383         [BZ #14053]
76384         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76385         to asm.
76386         (lrint): Likewise.
76387         (llrintf): Likewise.
76388         (llrint): Likewise.
76389         (rint): Likewise.
76390         (rintf): Likewise.
76391         (nearbyint): Likewise.
76392         (nearbyintf): Likewise.
76394 2012-05-09  Andreas Jaeger  <aj@suse.de>
76395             Pedro Alves  <palves@redhat.com>
76397         * nscd/nscd.c (run_mode): Use enum.
76398         (main): Cleanup coding style issue.
76400 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76401             Andreas Jaeger  <aj@suse.de>
76403         * nscd/nscd.c (go_background): Replaced with...
76404         (run_mode): ... this.
76405         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76406         (options): Add -F --foreground.
76407         (main): Implement it.
76408         (parse_opt): Parse it.
76410 2012-05-09  Andreas Jaeger  <aj@suse.de>
76412         [BZ #14083]
76413         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76414         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76415         -Wconversion warning.
76416         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76417         Likewise.
76419 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76421         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76422         == 0.
76423         (LC_ALL): Use macro-int-constant.
76424         (LC_COLLATE): Likewise.
76425         (LC_CTYPE): Likewise.
76426         (LC_MESSAGES): Likewise.
76427         (LC_MONETARY): Likewise.
76428         (LC_NUMERIC): Likewise.
76429         (LC_TIME): Likewise.
76430         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76431         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76433         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76434         Specify type.
76435         [C99-based standards] (float_t): Expect type.
76436         [C99-based standards] (double_t): Expect type.
76437         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76438         type.
76439         [C99-based standards] (HUGE_VALL): Likewise.
76440         [C99-based standards] (INFINITY): Likewise.
76441         [C99-based standards] (NAN): Likewise.
76442         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76443         [C99-based standards] (FP_NAN): Likewise.
76444         [C99-based standards] (FP_NORMAL): Likewise.
76445         [C99-based standards] (FP_SUBNORMAL): Likewise.
76446         [C99-based standards] (FP_ZERO): Likewise.
76447         [C99-based standards] (FP_FAST_FMA): Use
76448         optional-macro-int-constant.  Specify type.  Require == 1.
76449         [C99-based standards] (FP_FAST_FMAF): Likewise.
76450         [C99-based standards] (FP_FAST_FMAL): Likewise.
76451         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76452         [C99-based standards] (FP_ILOGBNAN): Likewise.
76453         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76454         Specify type.
76455         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76456         [C99-based standards] (math_errhandling): Specify type.
76457         [ISO99 || ISO11] (signgam): Do not allow.
76458         [non-C99-based standards] (copysignf): Do not allow.
76459         [non-C99-based standards] (exp2f): Likewise.
76460         [non-C99-based standards] (log2f): Likewise.
76461         [non-C99-based standards] (modff): Allow.
76462         [non-C99-based standards] (erff): Do not allow.
76463         [non-C99-based standards] (erfcf): Likewise.
76464         [non-C99-based standards] (gammaf): Likewise.
76465         [non-C99-based standards] (hypotf): Likewise.
76466         [non-C99-based standards] (j0f): Likewise.
76467         [non-C99-based standards] (j1f): Likewise.
76468         [non-C99-based standards] (jnf): Likewise.
76469         [non-C99-based standards] (lgammaf): Likewise.
76470         [non-C99-based standards] (tgammaf): Likewise.
76471         [non-C99-based standards] (y0f): Likewise.
76472         [non-C99-based standards] (y1f): Likewise.
76473         [non-C99-based standards] (ynf): Likewise.
76474         [non-C99-based standards] (isnanf): Likewise.
76475         [non-C99-based standards] (acoshf): Likewise.
76476         [non-C99-based standards] (asinhf): Likewise.
76477         [non-C99-based standards] (atanhf): Likewise.
76478         [non-C99-based standards] (cbrtf): Likewise.
76479         [non-C99-based standards] (expm1f): Likewise.
76480         [non-C99-based standards] (ilogbf): Likewise.
76481         [non-C99-based standards] (log1pf): Likewise.
76482         [non-C99-based standards] (logbf): Likewise.
76483         [non-C99-based standards] (nextafterf): Likewise.
76484         [non-C99-based standards] (remainderf): Likewise.
76485         [non-C99-based standards] (rintf): Likewise.
76486         [non-C99-based standards] (scalbf): Likewise.
76487         [non-C99-based standards] (copysignl): Likewise.
76488         [non-C99-based standards] (exp2l): Likewise.
76489         [non-C99-based standards] (log2l): Likewise.
76490         [non-C99-based standards] (modfl): Allow.
76491         [non-C99-based standards] (erfl): Do not allow.
76492         [non-C99-based standards] (erfcl): Likewise.
76493         [non-C99-based standards] (gammal): Likewise.
76494         [non-C99-based standards] (hypotl): Likewise.
76495         [non-C99-based standards] (j0l): Likewise.
76496         [non-C99-based standards] (j1l): Likewise.
76497         [non-C99-based standards] (jnl): Likewise.
76498         [non-C99-based standards] (lgammal): Likewise.
76499         [non-C99-based standards] (tgammal): Likewise.
76500         [non-C99-based standards] (y0l): Likewise.
76501         [non-C99-based standards] (y1l): Likewise.
76502         [non-C99-based standards] (ynl): Likewise.
76503         [non-C99-based standards] (isnanl): Likewise.
76504         [non-C99-based standards] (acoshl): Likewise.
76505         [non-C99-based standards] (asinhl): Likewise.
76506         [non-C99-based standards] (atanhl): Likewise.
76507         [non-C99-based standards] (cbrtl): Likewise.
76508         [non-C99-based standards] (expm1l): Likewise.
76509         [non-C99-based standards] (ilogbl): Likewise.
76510         [non-C99-based standards] (log1pl): Likewise.
76511         [non-C99-based standards] (logbl): Likewise.
76512         [non-C99-based standards] (nextafterl): Likewise.
76513         [non-C99-based standards] (remainderl): Likewise.
76514         [non-C99-based standards] (rintl): Likewise.
76515         [non-C99-based standards] (scalbl): Likewise.
76516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76517         [non-C99-based standards] (FP_*): Do not allow.
76518         [C99-based standards] (FP_*): Change to
76519         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76520         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76521         allow.
76522         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76523         (SIG_ERR): Likewise.
76524         [X/Open-based standards] (SIG_HOLD): Likewise.
76525         (SIG_IGN): Likewise.
76526         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76527         positive value.
76528         (SIGFPE): Likewise.
76529         (SIGILL): Likewise.
76530         (SIGINT): Likewise.
76531         (SIGSEGV): Likewise.
76532         (SIGTER): Likewise.
76533         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76534         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76535         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76536         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76537         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76538         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76539         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76540         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76541         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76542         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76543         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76544         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76545         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76546         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76547         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76548         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76549         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76550         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76551         [X/Open-based standards] (SIGTRAP): Likewise.
76552         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76553         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76554         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76555         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76556         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76557         allow.
76559 2012-05-08  Ian Wienand  <ianw@vmware.com>
76561         [BZ #14080]
76562         * time/tzset.c (__tzset_parse_tz): Update default rules for
76563         daylight time changes in the Energy Policy Act of 2005.
76565 2012-05-09  Andreas Jaeger  <aj@suse.de>
76567         [BZ #13983]
76568         * elf/ldconfig.c (parse_conf): Change string to make clear that
76569         ldconfig only issued a warning if ld.so.conf does not exist.
76571 2012-05-08  David S. Miller  <davem@davemloft.net>
76573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76574         movxtod instead of popping the value on the stack.
76576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76578 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76580         * config.h.in: Add HAVE_ARM_PCS_VFP.
76582 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76584         [BZ #13979]
76585         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76586         checking but the checks are disabled for any reason.
76588 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76590         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76591         and ELF64_R_TYPE with ELFW(R_TYPE).
76593 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76595         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76596         (ulimit): Likewise.
76598         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76599         (settimeofday): Likewise.
76601 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76603         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76604         a struct th_u2 inside the union, and move tu_block/tu_code into
76605         a new th_u3 union of tu_block/tu_code inside of that.  Move
76606         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76607         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76608         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76609         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76610         (th_stuff): Change to th_u1.tu_stuff.
76611         (th_data): Define.
76612         (th_msg): Change to th_u1.th_u2.tu_data.
76614 2012-05-07  David S. Miller  <davem@davemloft.net>
76616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76618         [BZ #14074]
76619         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76620         (SETUP_PIC_REG): Use it.
76621         (SETUP_PIC_REG_LEAF): Use it.
76623 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76625         [BZ #13885]
76626         [BZ #13923]
76627         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76628         USE_AS_EXPM1L.
76629         (EXPL_FINITE): Likewise.
76630         (FLDLOG): Likewise.
76631         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76632         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76633         e_expl.S.
76634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76635         USE_AS_EXPM1L.
76636         (EXPL_FINITE): Likewise.
76637         (FLDLOG): Likewise.
76638         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76639         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76640         e_expl.S.
76641         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76642         test of -max_value argument for long double.
76643         * sysdeps/i386/fpu/libm-test-ulps: Update.
76644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76646 2012-05-06  David S. Miller  <davem@davemloft.net>
76648         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76649         quad soft-float symbols whose references which are compiler
76650         generated.
76651         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76653 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76655         [BZ #13884]
76656         [BZ #13914]
76657         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76658         USE_AS_EXP10L.
76659         (EXPL_FINITE): Likewise.
76660         (FLDLOG): Likewise.
76661         (c0): Likewise.
76662         (c1): Likewise.
76663         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76664         Adjust comments for base varying.
76665         (__expl_finite): Change alias to EXPL_FINITE.
76666         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76667         e_expl.S.
76668         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76669         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76670         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76671         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76672         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76673         USE_AS_EXP10L.
76674         (EXPL_FINITE): Likewise.
76675         (FLDLOG): Likewise.
76676         (c0): Likewise.
76677         (c1): Likewise.
76678         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76679         Adjust comments for base varying.
76680         (__expl_finite): Change alias to EXPL_FINITE.
76681         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76682         tests for bugs.
76683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76685         [BZ #14064]
76686         * math/libm-test.inc (check_float_internal): Correct ulp
76687         calculation for subnormal expected results.
76689 2012-05-06  Andreas Jaeger  <aj@suse.de>
76691         * Makeconfig (+math-flags): New, set to -frounding-math.
76692         (+cflags): Add +math-flags so that all of glibc gets compiled with
76693         it.
76695         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76697 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76699         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76700         Disable one test.
76702         [BZ #13787]
76703         [BZ #13922]
76704         [BZ #14036]
76705         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76706         (__ieee754_expl): Allow for and saturate large arguments.
76707         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76708         (u_threshold): Likewise.
76709         (__exp): Call __ieee754_exp before checking for overflow and
76710         underflow.
76711         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76712         (u_threshold): Likewise.
76713         (__expf): Call __ieee754_expf before checking for overflow and
76714         underflow.
76715         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76716         (u_threshold): Likewise.
76717         (__expl): Call __ieee754_expl before checking for overflow and
76718         underflow.
76719         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76720         (__ieee754_expl): Allow for and saturate large arguments.
76721         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76722         missing overflow exception on overflow.
76723         (expm1_test): Do not allow missing overflow exception on overflow.
76725         * sysdeps/i386/fpu/e_expl.c: Move to ...
76726         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76727         rather than using inline asm.
76728         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76729         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76730         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76732         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76733         (nice): Likewise.
76734         (poll): Likewise.
76735         (signal): Likewise.
76736         (time): Likewise.
76737         (times): Likewise.
76739 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76741         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76742         sysdeps/unix/common/syscalls.list.
76743         (fchmod): Likewise.
76744         (fchown): Likewise.
76745         (ftruncate): Likewise.
76746         (getrusage): Likewise.
76747         (gettimeofday): Likewise.
76748         (setpgid): Likewise.
76749         (setregid): Likewise.
76750         (setreuid): Likewise.
76751         (sigaction): Likewise.
76752         (truncate): Likewise.
76753         (vhangup): Likewise.
76754         * sysdeps/unix/common/syscalls.list: Remove file.
76755         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76756         * sysdeps/unix/sysv/linux/Implies: Likewise.
76758 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76760         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76762         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76763         Moved to ...
76764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76765         Here.
76766         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76767         to ...
76768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76769         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76770         to ...
76771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76772         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76773         to ...
76774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76775         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76776         to ...
76777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76778         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76779         to ...
76780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76781         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76782         to ...
76783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76784         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76785         to ...
76786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76787         Here.
76788         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76789         to ...
76790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76791         Here.
76792         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76793         to ...
76794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76795         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76796         Moved to ...
76797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76798         Here.
76799         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76800         to ...
76801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76803 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76805         * sysdeps/unix/common/bits/dirent.h: Remove file.
76806         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76808         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76809         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76810         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76811         * sysdeps/unix/bsd/isatty.c: Likewise.
76812         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76813         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76814         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76816 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76818         [BZ #13563]
76819         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76820         long double comparison inaccuracies.
76821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76824 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76826         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76827         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76829 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76831         [BZ #14049]
76832         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76833         nonzero digits before rounding a hex value.
76834         * stdlib/tst-strtod.c (tests): Add another test.
76836 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76838         * sysdeps/s390/fpu/libm-test-ulps: Update.
76840 2012-05-03  Andreas Jaeger  <aj@suse.de>
76842         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76843         does not get optimized out.
76844         (malloc_opt_barrier): New.
76846 2012-05-03  Andreas Jaeger  <aj@suse.de>
76847             Roland McGrath  <roland@hack.frob.com>
76849         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76850         intermediate file deletion.
76851         (generated): Add .symlist files.
76853 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76855         [BZ #13775]
76856         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76857         Redirect under this condition.
76858         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76859         [__USE_GNU] (__dprintf_chk): Not under this condition.
76860         [__USE_GNU] (__vdprintf_chk): Likewise.
76861         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76862         under this condition.
76863         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76864         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76865         [__USE_XOPEN2K8] (vdprintf): Likewise.
76866         [__USE_GNU] (__dprintf_chk): Not under this condition.
76867         [__USE_GNU] (__vdprintf_chk): Likewise.
76868         [__USE_GNU] (dprintf): Likewise.
76869         [__USE_GNU] (vdprintf): Likewise.
76871 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76873         * elf/Makefile (common-generated): Set this instead of generated for
76874         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76875         $(all-built-dso)-derived lists.
76877 2012-05-03  Andreas Jaeger  <aj@suse.de>
76879         * sysdeps/i386/fpu/libm-test-ulps: Update.
76881         * FAQ: Removed.
76882         * FAQ.in: Likewise.
76883         * scripts/gen-FAQ.pl: Likewise.
76884         * manual/install.texi (Installation): Point to online location of
76885         FAQ.
76886         * Makefile (files-for-dist): Remove FAQ.
76887         (FAQ): Remove.
76889 2012-05-02  Allan McRae  <allan@archlinux.org>
76891         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76892         (LDFLAGS-reldepmod5.so): Likewise.
76893         (LDFLAGS-reldep6mod1.so): Likewise.
76894         (LDFLAGS-reldep6mod4.so): Likewise.
76895         (LDFLAGS-reldep8mod3.so): Likewise.
76896         (LDFLAGS-unload4mod1.so): Likewise.
76897         (LDFLAGS-unload4mod2.so): Likewise.
76898         (LDFLAGS-tst-initorder): Likewise.
76899         (LDFLAGS-tst-initordera2.so): Likewise.
76900         (LDFLAGS-tst-initordera3.so): Likewise.
76901         (LDFLAGS-tst-initordera4.so): Likewise.
76902         (LDFLAGS-tst-initorderb2.so): Likewise.
76903         (LDFLAGS-noload): Likewise.
76904         (LDFLAGS-next): Likewise.
76905         (LDFLAGS-order2mod1.so): Likewise.
76906         (LDFLAGS-order2mod2.so): Likewise.
76907         (LDFLAGS-tst-initorder2): Likewise.
76908         (LDFLAGS-tst-initorder2a.so): Likewise.
76909         (LDFLAGS-tst-initorder2b.so): Likewise.
76910         (LDFLAGS-tst-initorder2c.so): Likewise.
76911         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76913 2012-05-02  David S. Miller  <davem@davemloft.net>
76915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76917 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76919         [BZ #14055]
76920         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76922 2012-05-02  Andreas Jaeger  <aj@suse.de>
76924         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76925         since we manipulate rounding mode.
76926         (CPPFLAGS-test-idouble.c): Likewise.
76927         (CPPFLAGS-test-ifloat.c): Likewise.
76928         (CFLAGS-test-ldouble.c): Likewise.
76929         (CFLAGS-test-double.c): Likewise.
76930         (CFLAGS-test-float.c): Likewise.
76931         (CFLAGS-test-misc.c): Likewise.
76932         (CFLAGS-test-test-fenv.c): Likewise.
76934 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76936         [BZ #2550]
76937         [BZ #2570]
76938         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76939         comparisons to determine direction to adjust input.
76941 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76943         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76944         output to the target.
76946         * scripts/localplt.awk: New file.
76947         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76948         (check-localplt-CFLAGS): Variable removed.
76949         ($(all-built-dso:=.jmprel)): New static pattern rule.
76950         (generated): Add those targets.
76951         (localplt-built-dso): New variable.
76952         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76954         * elf/check-localplt.c: File removed.
76956         * scripts/check-execstack.awk: New file.
76957         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76958         (check-execstack-CFLAGS): Variable removed.
76959         ($(objpfx)check-execstack.h): Target removed.
76960         ($(objpfx)execstack-default): New target.
76961         (generated): Add that instead of check-execstack.h.
76962         ($(all-built-dso:=.phdr)): New static pattern rule.
76963         (generated): Add those targets.
76964         * elf/check-execstack.c: File removed.
76966         * scripts/check-textrel.awk: New file.
76967         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76968         (check-textrel-CFLAGS): Variable removed.
76969         (all-built-dso): Use := to define.o
76970         ($(all-built-dso:=.dyn)): New static pattern rule.
76971         (generated): Add those targets.
76972         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76973         * config.make.in (READELF): New substituted variable.
76974         * elf/check-textrel.c: File removed.
76976 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76978         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76979         allow.
76980         * conform/data/ctype.h-data [C99-based standards] (isblank):
76981         Expect function.
76982         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76983         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76984         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76985         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76986         Specify type.  Require positive value.
76987         (EILSEQ): Likewise.
76988         (ERANGE): Likewise.
76989         [ISO || POSIX] (EILSEQ): Do not expect.
76990         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76991         Specify type.  Require positive value.
76992         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76993         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76994         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76995         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76996         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76997         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76998         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76999         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77000         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77001         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77002         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77003         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77004         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77005         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77006         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77007         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77008         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77009         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77010         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77011         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77012         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77013         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77014         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77015         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77016         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77017         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77018         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77019         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77020         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77021         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77022         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77023         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77024         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77025         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77026         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77027         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77028         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77029         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77030         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77031         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77032         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77033         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77034         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77035         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77036         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77037         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77038         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77039         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77040         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77041         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77042         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77043         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77044         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77045         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77046         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77047         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77048         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77049         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77050         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77051         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77052         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77053         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77054         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77055         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77056         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77057         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77058         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77059         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77060         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77061         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77062         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77063         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77064         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77065         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77066         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77067         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77068         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77069         Require >= 2.
77070         (FLT_ROUNDS): Expect as macro, not constant.
77071         (FLT_MANT_DIG): Use macro-int-constant.
77072         (DBL_MANT_DIG): Likewise.
77073         (LDBL_MANT_DIG): Likewise.
77074         (FLT_DIG): Likewise.
77075         (DBL_DIG): Likewise.
77076         (LDBL_DIG): Likewise.
77077         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77078         (DBL_MIN_EXP): Likewise.
77079         (LDBL_MIN_EXP): Likewise.
77080         (FLT_MAX_EXP): Use macro-int-constant.
77081         (DBL_MAX_EXP): Likewise.
77082         (LDBL_MAX_EXP): Likewise.
77083         (FLT_MAX_10_EXP): Likewise.
77084         (DBL_MAX_10_EXP): Likewise.
77085         (LDBL_MAX_10_EXP): Likewise.
77086         (FLT_MAX): Use macro-constant.
77087         (DBL_MAX): Likewise.
77088         (LDBL_MAX): Likewise.
77089         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77090         (DBL_EPSILON): Likewise.
77091         (LDBL_EPSILON): Likewise.
77092         (FLT_MIN): Likewise.
77093         (DBL_MIN): Likewise.
77094         (LDBL_MIN): Likewise.
77095         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77096         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77097         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77098         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77099         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77100         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77101         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77102         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77103         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77104         [ISO11] (FLT_TRUE_MIN): Likewise.
77105         [ISO11] (LDBL_TRUE_MIN): Likewise.
77106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77107         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77108         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77109         (SCHAR_MAX): Likewise.
77110         (UCHAR_MAX): Likewise.
77111         (CHAR_MIN): Likewise.
77112         (CHAR_MAX): Likewise.
77113         (MB_LEN_MAX): Use macro-int-constant.
77114         (SHRT_MIN): Use macro-int-constant.  Specify type.
77115         (SHRT_MAX): Likewise.
77116         (USHRT_MAX): Likewise.
77117         (INT_MAX): Likewise.
77118         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77119         bound negative.
77120         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77121         bound with "U".
77122         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77123         bound with "L".
77124         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77125         bound negative.  Suffix upper bound with "L".
77126         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77127         bound with "UL".
77128         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77129         Specify type.
77130         [C99-based standards] (LLONG_MAX): Likewise.
77131         [C99-based standards] (ULLONG_MAX): Likewise.
77132         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77133         == 0.
77134         [ISO11] (max_align_t): Require type.
77135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77137         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77138         from $CFLAGS, without defining away __attribute__ calls.
77139         (checknamespace): Use $CFLAGS_namespace.
77141         * conform/conformtest.pl (@keywords): Only include C99 keywords
77142         for standards based on C99 or C11.
77144         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77145         Disable tests.
77146         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77147         UNIX98]: Likewise.
77149         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77150         usability of symbols in #if.
77152         * conform/conformtest.pl: If macro or constant types start
77153         "promoted:", expect the symbol to be of the following type
77154         promoted by the integer promotions.
77156         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77157         in one place.  Also handle "macro-constant".
77159         * conform/conformtest.pl: Only accept expected macro values with
77160         "==".  Parse all "macro" lines in one place.
77161         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77163         * conform/conformtest.pl: Handle braced types on "constant" lines
77164         instead of handling "typed-constant".
77165         * conform/data/signal.h-data: Use "constant" instead of
77166         "typed-constant".
77168         * conform/conformtest.pl: Handle "optional-" at start of lines in
77169         one place rather than duplicating several cases.  Handle each
77170         format of "macro" line with initial "optional-".
77172         * conform/conformtest.pl: Only accept expected constant or
77173         optional-constant values with "==".  Parse all "constant" lines in
77174         one place.  Parse all "optional-constant" lines in one place.
77175         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77176         * conform/data/fmtmsg.h-data: Likewise.
77177         * conform/data/netinet/in.h-data: Likewise.
77178         * conform/data/tar.h-data: Likewise.
77179         * conform/data/limits.h-data: Use "==" form on "constant" and
77180         "optional-constant" lines.
77182         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77183         Use -std=c99 for XOPEN2K.
77184         (@knownproblems): Remove.
77185         (newtoken): Don't check %isknown.
77187         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77188         Do not expect macro.
77189         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77190         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77191         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77192         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77193         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77194         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77195         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77196         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77197         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77198         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77199         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77200         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77201         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77202         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77203         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77204         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77205         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77206         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77207         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77208         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77209         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77210         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77211         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77212         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77213         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77214         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77215         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77216         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77217         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77218         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77219         [XPG3] (acosh): Likewise.
77220         [XPG3] (asinh): Likewise.
77221         [XPG3] (atanh): Likewise.
77222         [XPG3] (cbrt): Likewise.
77223         [XPG3] (expm1): Likewise.
77224         [XPG3] (ilogb): Likewise.
77225         [XPG3] (log1p): Likewise.
77226         [XPG3] (logb): Likewise.
77227         [XPG3] (nextafter): Likewise.
77228         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77229         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77230         [XPG3] (remainder): Likewise.
77231         [XPG3] (rint): Likewise.
77232         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77233         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77234         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77235         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77236         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77237         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77238         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77239         [UNIX98 || XOPEN2K] (scalb): Expect.
77240         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77241         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77242         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77243         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77244         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77245         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77246         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77247         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77248         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77249         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77250         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77251         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77252         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77253         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77254         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77255         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77256         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77257         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77258         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77259         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77260         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77261         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77262         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77263         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77264         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77265         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77266         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77267         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77268         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77269         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77270         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77271         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77272         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77273         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77274         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77275         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77276         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77277         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77278         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77279         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77280         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77281         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77282         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77283         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77284         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77285         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77286         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77287         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77288         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77289         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77290         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77291         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77292         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77293         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77294         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77295         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77296         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77297         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77298         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77299         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77300         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77301         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77302         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77303         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77304         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77305         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77306         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77307         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77308         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77309         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77310         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77311         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77312         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77313         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77314         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77315         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77316         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77317         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77318         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77319         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77320         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77321         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77322         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77323         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77324         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77325         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77326         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77327         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77328         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77329         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77330         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77331         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77332         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77333         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77334         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77335         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77336         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77337         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77338         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77339         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77340         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77341         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77342         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77343         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77344         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77345         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77346         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77347         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77348         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77349         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77350         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77351         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77352         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77353         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77354         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77355         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77356         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77357         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77358         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77359         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77360         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77361         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77362         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77363         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77364         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77365         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77366         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77367         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77368         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77369         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77370         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77371         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77372         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77373         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77374         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77375         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77376         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77378         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77379         _XOPEN_SOURCE_EXTENDED for XPG4.
77381         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77383         * Makeconfig (localtime): Remove variable.
77384         (inst_localtime-file): Likewise.
77386 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77389         Update.
77390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77391         Update.
77392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77393         Update.
77394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77395         Update.
77396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77397         Update.
77398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77399         Update.
77400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77401         Update.
77402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77403         Update.
77404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77405         Update.
77407 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77409         [BZ #2550]
77410         [BZ #2570]
77411         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77412         comparisons to determine direction to adjust input.
77413         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77414         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77415         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77416         Likewise.
77417         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77418         Likewise.
77419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77420         Likewise.
77421         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77422         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77423         Likewise.
77424         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77425         Likewise.
77426         * math/libm-test.inc (nexttoward_test): Add more tests.
77428 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77430         [BZ #14040]
77431         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77432         in version GLIBC_2.1, not GLIBC_2.0.
77433         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77434         Likewise.
77436 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77438         [BZ #13942]
77439         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77440         (1 - x) * (1 + x).
77441         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77442         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77443         * math/libm-test.inc (acos_test): Add more tests.
77444         (asin_test): Likewise.
77445         * sysdeps/i386/fpu/libm-test-ulps: Update.
77446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77448         [BZ #14034]
77449         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77450         of square root.
77451         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77452         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77453         * math/libm-test.inc (acos_test_tonearest): New function.
77454         (acos_test_towardzero): Likewise.
77455         (acos_test_downward): Likewise.
77456         (acos_test_upward): Likewise.
77457         (asin_test_tonearest): Likewise.
77458         (asin_test_towardzero): Likewise.
77459         (asin_test_downward): Likewise.
77460         (asin_test_upward): Likewise.
77461         (main): Call the new functions.
77462         * sysdeps/i386/fpu/libm-test-ulps: Update.
77463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77465         [BZ #13884]
77466         [BZ #13924]
77467         * math/e_exp10.c: Include <float.h>.
77468         (__ieee754_exp10): Handle underflow here rather than multiplying
77469         large negative argument by M_LN10.
77470         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77471         of __ieee754_expf.
77472         * math/e_exp10l.c: Include <float.h>.
77473         (__ieee754_exp10l): Handle underflow here rather than multiplying
77474         large negative argument by M_LN10l.
77475         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77476         spurious overflow exception on underflow.
77478 2012-04-29  Marek Polacek  <polacek@redhat.com>
77480         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77481         (__fortify_function): New macro.
77482         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77483         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77484         __extern_always_inline.
77485         * libio/bits/stdio2.h: Likewise.
77486         * libio/bits/stdio.h: Likewise.
77487         * string/string.h: Likewise.
77488         * string/bits/string3.h: Likewise.
77489         * include/stdio.h: Likewise.
77490         * stdlib/bits/stdlib.h: Likewise.
77491         * stdlib/stdlib.h: Likewise.
77492         * rt/bits/mqueue2.h: Likewise.
77493         * rt/mqueue.h: Likewise.
77494         * posix/bits/unistd.h: Likewise.
77495         * posix/unistd.h: Likewise.
77496         * io/bits/poll2.h: Likewise.
77497         * io/bits/fcntl2.h: Likewise.
77498         * io/fcntl.h: Likewise.
77499         * io/sys/poll.h: Likewise.
77500         * misc/bits/syslog.h: Likewise.
77501         * misc/bits/syslog-ldbl.h: Likewise.
77502         * misc/sys/syslog.h: Likewise.
77503         * socket/bits/socket2.h: Likewise.
77504         * socket/sys/socket.h: Likewise.
77505         * debug/tst-chk1.c: Likewise.
77506         * wcsmbs/bits/wchar2.h: Likewise.
77507         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77508         * wcsmbs/wchar.h: Likewise.
77510 2012-04-29  Andreas Jaeger  <aj@suse.de>
77512         * Makerules (tests): Remove enable-check-abi protection.
77513         (check-abi-warn): Remove.
77514         (check-abi-%): Remove check-abi-warn usage.
77516         * configure.in: Remove check-abi configure option.
77517         * configure: Regenerated.
77518         * config.make.in (enable-check-abi): Remove.
77520 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77522         [BZ #14033]
77523         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77524         double functions to double *_finite functions.
77526         [BZ #13941]
77527         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77528         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77529         LDBL_MIN_EXP.
77530         * stdio-common/Makefile (tests): Add tst-sprintf3.
77531         * stdio-common/tst-sprintf3.c: New file.
77533         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77534         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77536 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77538         * conform/conformtest.pl: Remove duplicate typed-constant
77539         handling.
77541 2012-04-28  David S. Miller  <davem@davemloft.net>
77543         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77544         (check-abi-%): Remove AWK script prerequisite and explicit
77545         abilist directory.
77546         (check-abi): Rewrite to just diff the symlist with the abilist.
77547         (config-tls, config-abi-config): Delete, no longer used.
77548         (update-abi-%): Remove AWK script and explicit abilist directory.
77549         (update-abi): Rewrite to simply compare and conditionally copy the
77550         symlist and the sysdep abilist file.  Remove update-abi-config
77551         checks.
77552         * abilist/ld.abilist: Remove.
77553         * abilist/libBrokenLocale.abilist: Remove.
77554         * abilist/libanl.abilist: Remove.
77555         * abilist/libcrypt.abilist: Remove.
77556         * abilist/libdl.abilist: Remove.
77557         * abilist/librt.abilist: Remove.
77558         * abilist/libthread_db.abilist: Remove.
77559         * abilist/libutil.abilist: Remove.
77560         * scripts/extract-abilist.awk: Remove.
77561         * scripts/merge-abilist.awk: Remove.
77562         * sysdeps/generic/libcidn.abilist: New file.
77563         * sysdeps/generic/libnss_compat.abilist: New file.
77564         * sysdeps/generic/libnss_db.abilist: New file.
77565         * sysdeps/generic/libnss_dns.abilist: New file.
77566         * sysdeps/generic/libnss_files.abilist: New file.
77567         * sysdeps/generic/libnss_hesiod.abilist: New file.
77568         * sysdeps/generic/libnss_nis.abilist: New file.
77569         * sysdeps/generic/libnss_nisplus.abilist: New file.
77570         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77571         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77572         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77573         file.
77574         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77575         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77576         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77577         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77578         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77579         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77580         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77581         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77582         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77583         file.
77584         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77585         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77586         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77587         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77588         file.
77589         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77590         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77591         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77592         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77593         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77594         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77595         file.
77596         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77597         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77598         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77599         file.
77600         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77602         New file.
77603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77604         New file.
77605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77606         New file.
77607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77608         New file.
77609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77610         New file.
77611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77612         New file.
77613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77614         New file.
77615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77616         New file.
77617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77618         New file.
77619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77620         New file.
77621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77622         New file.
77623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77624         New file.
77625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77626         New file.
77627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77628         file.
77629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77630         New file.
77631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77632         New file.
77633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77634         file.
77635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77636         New file.
77637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77638         New file.
77639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77640         file.
77641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77642         New file.
77643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77644         New file.
77645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77646         New file.
77647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77648         New file.
77649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77650         New file.
77651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77652         New file.
77653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77655         file.
77656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77657         New file.
77658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77659         file.
77660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77661         file.
77662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77663         file.
77664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77665         file.
77666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77667         file.
77668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77669         New file.
77670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77671         file.
77672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77673         file.
77674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77675         New file.
77676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77677         file.
77678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77680         file.
77681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77682         New file.
77683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77684         file.
77685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77686         file.
77687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77688         file.
77689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77690         file.
77691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77692         file.
77693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77694         New file.
77695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77696         file.
77697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77698         file.
77699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77700         New file.
77701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77702         file.
77703         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77704         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77705         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77706         file.
77707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77708         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77709         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77710         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77711         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77712         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77713         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77714         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77715         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77716         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77719         file.
77720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77721         New file.
77722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77723         file.
77724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77725         file.
77726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77727         file.
77728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77729         file.
77730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77731         file.
77732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77733         New file.
77734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77735         New file.
77736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77737         file.
77738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77739         New file.
77740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77741         file.
77742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77744         file.
77745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77746         New file.
77747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77748         file.
77749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77750         file.
77751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77752         file.
77753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77754         file.
77755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77756         file.
77757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77758         New file.
77759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77760         New file.
77761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77762         file.
77763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77764         New file.
77765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77766         file.
77768 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77770         * conform/conformtest.pl: Fix typo in handling typed-constant from
77771         allow-header.
77773 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77775         * README: Cut down references to pre-2.6 Linux kernels and
77776         Linuxthreads.  Update lists of configurations in libc and ports
77777         and sort alphabetically.  Say "or newer" with Linux kernel version
77778         requirements.
77780         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77782 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77784         [BZ #887]
77785         * math/libm-test.inc (logb_test_downward): New test to expose
77786         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77787         rounding mode.
77789 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77791         [BZ #14027]
77792         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77793         to be done.
77794         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77795         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77797 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77799         * sysdeps/unix/i386/brk.S: Remove file.
77800         * sysdeps/unix/i386/dl-brk.S: Likewise.
77801         * sysdeps/unix/i386/pipe.S: Likewise.
77802         * sysdeps/unix/i386/sigreturn.S: Likewise.
77803         * sysdeps/unix/i386/syscall.S: Likewise.
77804         * sysdeps/unix/i386/vfork.S: Likewise.
77805         * sysdeps/unix/i386/wait.S: Likewise.
77807         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77808         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77810         * configure.in (arm*-none*): Do not allow without
77811         --enable-hacker-mode.
77812         (netbsd*): Remove case setting base_os.
77813         (386bsd*): Likewise.
77814         (freebsd*): Likewise.
77815         (bsdi*): Likewise.
77816         (osf*): Likewise.
77817         (sunos*): Likewise.
77818         (ultrix*): Likewise.
77819         (newsos*): Likewise.
77820         (dynix*): Likewise.
77821         (*bsd*): Likewise.
77822         (sysv*): Likewise.
77823         (isc*): Likewise.
77824         (esix*): Likewise.
77825         (sco*): Likewise.
77826         (minix*): Likewise.
77827         (irix4*): Likewise.
77828         (irix6*): Likewise.
77829         (solaris[2-9]*): Likewise.
77830         (none): Likewise.
77831         * configure: Regenerated.
77833 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77835         [BZ #11521]
77836         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77837         overflow or cancellation in calculating denominator.
77838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77840         down expression to avoid unexpected rounding in newer GCCs.
77841         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77843 2012-04-26  David S. Miller  <davem@davemloft.net>
77845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77846         long-double compat symbols.
77847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77861 2012-04-25  David S. Miller  <davem@davemloft.net>
77863         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77864         HWCAP_* values only after the memory barriers have been defined.
77865         (atomic_full_barrier): Define.
77866         (atomic_read_barrier): Define.
77867         (atomic_write_barrier): Define.
77869 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77871         * shlib-versions: Add libgcc_s version information.
77872         * sysdeps/generic/libgcc_s.h: Remove.
77873         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77874         libgcc_s.h.
77875         * sysdeps/gnu/unwind-resume.c: Likewise.
77876         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77878 2012-04-25  David S. Miller  <davem@davemloft.net>
77880         * sysdeps/unix/sparc/brk.S: Delete.
77881         * sysdeps/unix/sparc/dl-brk.S: Delete.
77882         * sysdeps/unix/sparc/pipe.S: Delete.
77883         * sysdeps/unix/sparc/sysdep.S: Delete.
77884         * sysdeps/unix/sparc/sysdep.h: Delete.
77885         * sysdeps/unix/sparc/vfork.S: Delete.
77886         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77887         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77888         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77889         (ret_ERRVAL, r0, r1, MOVE): Define.
77890         (JUMPTARGET): Remove.
77891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77892         sysdeps/unix/sparc/sysdep.h
77893         (ENTRY, END): Remove.
77894         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77896 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77898         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77899         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77900         -DIS_IN_build.
77902         * timezone/README: Update upstream location and email address for
77903         tzcode and tzdata.
77904         * timezone/zdump.c: Update from tzcode 2012b.
77905         * timezone/zic.c: Likewise.
77907         * configure.in (libc_cv_as_needed): Remove test.
77908         * configure: Regenerated.
77909         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77910         conditional definition.
77911         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77912         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77913         * config.make.in (have-as-needed): Remove variable.
77915 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77916             Paul Pluzhnikov  <ppluzhnikov@google.com>
77918         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77919         strings correctly.
77921 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77923         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77924         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77925         * sysdeps/sh/strlen.S: Likewise.
77927 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77929         * sysdeps/unix/fork.S: Remove file.
77930         * sysdeps/unix/i386/fork.S: Likewise.
77931         * sysdeps/unix/sparc/fork.S: Likewise.
77933         * sysdeps/unix/system.c: Remove file.
77934         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77936         * sysdeps/unix/getegid.S: Remove file.
77937         * sysdeps/unix/geteuid.S: Likewise.
77939 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77941         * scripts/check-localplt.awk: New file.
77942         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77943         of diff.
77944         * scripts/data/localplt-generic.data: Add a comment.
77946         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77947         NODE when __dir_mkfile failed.
77948         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77949         Reported by Ludovic Courtès <ludo@gnu.org>.
77951 2012-04-24  Andreas Jaeger  <aj@suse.de>
77953         * Makerules (common-clean): Also remove gen-as-const-headers
77954         files.
77956 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77958         * Makerules (native-compile): Do not change working directory for
77959         build.  Use $(OUTPUT_OPTION) in command.
77960         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77962 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77964         [BZ #13886]
77965         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77966         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77967         * math/libm-test.inc (floor_test): Add more tests.
77968         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77970 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77972         * sysdeps/unix/getdents.c: Remove file.
77973         * sysdeps/unix/sysv/getdents.c: Likewise.
77974         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77976         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77977         sysdeps/unix/mman/syscalls.list.
77978         (mmap): Likewise.
77979         (mprotect): Likewise.
77980         (msync): Likewise.
77981         (munmap): Likewise.
77982         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77983         * sysdeps/unix/mman/syscalls.list: Remove.
77984         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77986         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77987         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77988         * configure: Regenerated.
77989         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77990         $(libgcc_s_suffix).
77991         * config.make.in (libgcc_s_suffix): Remove variable.
77993 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77995         * sysdeps/unix/sysv/gethostname.c: Move to ...
77996         * sysdeps/posix/gethostname.c: ... here.
77998         * sysdeps/unix/execve.S: Remove file.
78000         * sysdeps/unix/_exit.S: Remove file.
78002 2012-04-23  Andreas Jaeger  <aj@suse.de>
78004         [BZ #13739]
78005         * manual/Makefile: Remove make dist support, there's no
78006         need for a stand-alone documentation tar ball.
78007         (TEXI2DVI): Define always, it's not in Makeconfig.
78008         (dist): Removed.
78009         (tar-it): Removed.
78010         (edition): Removed.
78011         (glibc-doc-$(edition).tar): Removed
78012         (%.Z): Removed.
78013         (%.gz): Removed.
78014         (%.uu): Removed.
78015         (ETAGS): Remove, it's in Makeconfig.
78016         (move-if-change): Remove, it's in Makeconfig.
78018 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78020         [BZ #13970]
78021         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78022         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78023         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78024         (strtod_l, strtof_l, strtold_l): Remove __wur.
78025         It is not necessarily an error to ignore strtol's return value.
78026         One can reliably look at the stored endptr to decide whether
78027         the number had valid syntax.
78029 2012-04-21  Andreas Jaeger  <aj@suse.de>
78031         [BZ #13739]
78032         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78034 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78036         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78037         * sysdeps/unix/sysv/Versions: Remove file.
78039 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78041         [BZ #13927]
78042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78044 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78046         [BZ #7064]
78047         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78048         version from __vm86.
78050 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78052         * sysdeps/unix/common/lxstat.c: Remove file.
78053         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78055         * sysdeps/unix/sysv/Makefile: Remove file.
78057         * sysdeps/unix/sysv/direct.h: Remove file.
78059         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78060         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78061         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78062         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78063         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78064         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78065         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78067         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78069         * sysdeps/unix/xmknod.c: Remove file.
78070         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78072         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78074         * sysdeps/unix/sysv/i386/time.S: Remove file.
78076         * sysdeps/unix/fxstat.c: Remove file.
78077         * sysdeps/unix/xstat.c: Likewise.
78078         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78080         * sysdeps/unix/sysv/sigaction.c: Remove file.
78082         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78083         (sysdep_headers): Remove variable.
78084         [termio.h not in sysdep_headers] (generated): Likewise.
78085         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78086         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78087         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78088         * sysdeps/unix/sysv/tcflow.c: Likewise.
78089         * sysdeps/unix/sysv/tcflush.c: Likewise.
78090         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78091         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78092         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78093         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78094         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78096         * sysdeps/unix/siglist.c: Remove file.
78098         * sysdeps/unix/getppid.S: Remove file.
78100         * sysdeps/unix/mkdir.c: Remove file.
78101         * sysdeps/unix/rmdir.c: Likewise.
78103 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78105         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78106         ERR_MAX value.
78107         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78108         errlist-compat value.
78110 2012-04-18  David S. Miller  <davem@davemloft.net>
78112         * sysdeps/generic/memcopy.h (reg_char): Delete.
78113         * debug/strcat_chk.c: Use char, not reg_char.
78114         * debug/strcpy_chk.c: Likewise.
78115         * debug/strncat_chk.c: Likewise.
78116         * debug/strncpy_chk.c: Likewise.
78117         * string/memchr.c: Likewise.
78118         * string/memrchr.c: Likewise.
78119         * string/rawmemchr.c: Likewise.
78120         * string/strcat.c: Likewise.
78121         * string/strchr.c: Likewise.
78122         * string/strchrnul.c: Likewise.
78123         * string/strcmp.c: Likewise.
78124         * string/strcpy.c: Likewise.
78125         * string/strncat.c: Likewise.
78126         * string/strncmp.c: Likewise.
78127         * string/strncpy.c: Likewise.
78129 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78131         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78132         __builtin_memcopy is called when src and dest ranges are known to not
78133         overlap.
78135 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78137         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78138         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78139         fwd_align_merge macro call.
78140         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78141         bwd_align_merge macro call.
78142         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78144 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78146         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78147         bwd_align_merge macros.
78148         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78149         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78150         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78152 2012-04-18  David S. Miller  <davem@davemloft.net>
78154         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78156 2012-04-18  Andreas Jaeger  <aj@suse.de>
78158         [BZ #6794]
78159         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78160         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78161         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78163         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78164         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78165         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78167         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78168         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78169         Adjust for changed ldbl-128 files.
78171         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78172         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78173         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78175 2012-04-17  David S. Miller  <davem@davemloft.net>
78177         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78179 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78181         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78182         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78183         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78184         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78185         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78186         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78188 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78190         [BZ #6794]
78191         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78192         * math/libm-test.inc: Add ilogb errno and exception tests.
78193         * math/w_ilogb.c: New file: ilogb wrapper.
78194         * math/w_ilogbf.c: New file: ilogbf wrapper.
78195         * math/w_ilogbl.c: New file: ilogbl wrapper.
78196         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78197         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78198         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78199         exception being thrown with 0.0 as argument.
78200         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78201         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78202         exception being thrown with 0.0 as argument.
78203         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78204         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78205         exception being thrown with 0.0 as argument.
78206         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78207         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78208         exception being thrown with 0.0 as argument.
78209         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78210         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78211         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78212         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78213         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78214         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78215         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78216         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78217         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78219 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78221         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78222         with altivec.
78224 2012-04-16  Marek Polacek  <polacek@redhat.com>
78226         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78228 2012-04-16  Marek Polacek  <polacek@redhat.com>
78230         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78231         operands of fdivp instruction.
78233 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78235         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78236         * elf/tst-auditmod3b.c: Likewise.
78237         * elf/tst-auditmod4b.c: Likewise.
78238         * elf/tst-auditmod5b.c: Likewise.
78239         * elf/tst-auditmod6b.c: Likewise.
78240         * elf/tst-auditmod6c.c: Likewise.
78241         * elf/tst-auditmod7b.c: Likewise.
78242         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78243         * sysdeps/x86_64/preconfigure.in: Likewise.
78244         * sysdeps/x86_64/preconfigure: Regenerated.
78246 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78248         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78249         __ILP32__.
78251 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78254         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78256 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78258         [BZ #13973]
78259         * locale/iso-639.def: Fix gl language name. Spotted by
78260         Yaron Shahrabani.
78262 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78264         [BZ #2074]
78265         * libio/libio.h (__io_write_fn): Update comment.
78267 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78269         [BZ #2074]
78270         * stdio.texi (Hook Functions): The user provided writer function
78271         is not allowed to return -1.
78273 2012-04-11  David S. Miller  <davem@davemloft.net>
78275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78277 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78279         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78280         Add a leading slash to rtkaio.
78282 2012-04-11  Jim Meyering  <meyering@redhat.com>
78284         [BZ #11959]
78285         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78286         It is not necessarily an error to ignore fwrite's return
78287         value.  One can reliably use ferror to test for errors after
78288         the fact.
78290 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78292         * bits/types.h (__snseconds_t): New type.
78293         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78295         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78296         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78297         (__SNSECONDS_T_TYPE): Likewise.
78298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78299         (__SNSECONDS_T_TYPE): Likewise.
78300         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78301         (__SNSECONDS_T_TYPE): Likewise.
78303 2012-04-10  Andreas Jaeger  <aj@suse.de>
78305         [BZ #2636]
78306         * manual/time.texi (Processor Time): Return type of times is
78307         elapsed real time since an arbitrary point in the past.
78308         (CPU Time): Move CLK_TCK from here...
78309         (Processor Time): ...to here.  Correct description.
78310         * manual/conf.texi (Constants for Sysconf): Correct description of
78311         _SC_CLK_TCK.
78313 2012-04-10  David S. Miller  <davem@davemloft.net>
78315         [BZ #13967]
78316         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78317         where the is a gap between DT_REL(A) and DT_JMPREL.
78319 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78321         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78322         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78323         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78325 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78327         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78328         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78329         (dl_main): Handle --inhibit-cache.
78330         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78331         _dl_inhibit_cache.
78332         * elf/dl-load.c (_dl_map_object): Use it.
78333         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78335 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78337         [BZ #13872]
78338         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78339         (__ieee754_powl): Saturate large exponents rather than testing for
78340         overflow of y*log2(x).
78341         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78342         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78343         exceptions.
78345         [BZ #11521]
78346         * math/s_ctan.c: Include <float.h>.
78347         (__ctan): Avoid internal overflow or cancellation in calculating
78348         denominator.
78349         * math/s_ctanf.c: Likewise.
78350         * math/s_ctanl.c: Likewise.
78351         * math/s_ctanh.c: Likewise.
78352         * math/s_ctanhf.c: Likewise.
78353         * math/s_ctanhl.c: Likewise.
78354         * math/libm-test.inc (ctan_test): Add more tests.
78355         (ctanh_test): Likewise.
78356         * sysdeps/i386/fpu/libm-test-ulps: Update.
78357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78359 2012-04-09  Andreas Jaeger  <aj@suse.de>
78361         [BZ #6894]
78362         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78363         is an optional BSD extension.
78365         [BZ #10254]
78366         * manual/stdio.texi (Opening Streams): Document additional fopen
78367         parameters.
78369 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78371         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78372         %eax without telling the compiler.
78374 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78376         [BZ # 13963]
78377         * manual/install.texi: Use sourceware.org.
78379 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78381         [BZ #13873]
78382         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78383         (__ieee754_pow): Generate overflow and underflow using huge*huge
78384         and tiny*tiny rather than just returning constant infinity or zero
78385         for large exponents.
78386         * math/libm-test.inc (pow_test): Require overflow exceptions for
78387         applicable cases of large exponents.
78389         [BZ #706]
78390         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78391         (__ieee754_pow): Use iterative multiplication algorithm only for
78392         integer exponents with absolute value below 1024.  Check for odd
78393         integer exponents when using algorithm for real exponents.
78394         * math/libm-test.inc (pow_test): Add more tests.
78395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78397 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78399         [BZ #13705]
78400         * math/libm-test.inc (exp_test): Do not allow overflow exception
78401         on underflow test.
78403 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78405         [BZ #13705]
78406         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78407         instead of __kernel_standard_f.
78409 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78411         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78412         * sysdeps/x86_64/memset_chk.S: Likewise.
78414 2012-04-08  Andreas Jaeger  <aj@suse.de>
78416         [BZ #10153]
78417         * manual/startup.texi (Environment Access): Describe return value
78418         for putenv and setenv.
78420         [BZ #6895]
78421         * manual/filesys.texi (Directory Entries): Add description for
78422         DT_LNK.
78424         [BZ #6890]
78425         * manual/filesys.texi (Directory Entries): Clarify that it's file
78426         system not operating system in the description of DT_UNKNOWN.
78428         [BZ #6578]
78429         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78431 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78433         [BZ #6649]
78434         * manual/llio.texi (Opening and Closing Files): Add cross
78435         reference to explain mode argument.
78437 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78439         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78440         * sysdeps/x86_64/memset_chk.S: Likewise.
78442 2012-04-07  David S. Miller  <davem@davemloft.net>
78444         * elf/elf.h (R_SPARC_WDISP10): Define.
78445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78446         R_SPARC_SIZE32.
78447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78448         R_SPARC_SIZE64 and R_SPARC_H34.
78450 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78452         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78453         conditions and remove no longer applicable assertion.
78455 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78457         * bits/byteswap.h: Include <features.h>.
78458         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78459         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78461 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78463         * bits/byteswap.h (__bswap_16): Removed.
78464         Include <bits/byteswap-16.h> to get __bswap_16.
78465         * sysdeps/i386/bits/byteswap.h: Likewise.
78466         * sysdeps/s390/bits/byteswap.h: Likewise.
78467         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78468         * bits/byteswap-16.h: New file.
78469         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78470         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78471         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78472         * string/Makefile (headers): Add bits/byteswap-16.h.
78474 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78476         [BZ #13895]
78477         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78478         extra indirection.
78479         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78480         * nss/tst-nss-static.c: New.
78482 2012-04-06  Robert Millan  <rmh@gnu.org>
78484         [BZ #6486]
78485         * manual/llio.texi (File Position Primitive): lseek
78486         refers to WHENCE when it really means OFFSET.
78488 2012-04-06  Andreas Jaeger  <aj@suse.de>
78490         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78491         strncmp declarations.
78493         * abilist/libc.abilist: Add __poll and __ppoll.
78495 2012-04-05  David S. Miller  <davem@davemloft.net>
78497         * scripts/check-local-headers.sh: Accept a host triplet in the
78498         path matched by the exclude regexp.
78500         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78501         definition.
78502         * sysdeps/powerpc/powerpc32/dl-machine.h
78503         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78504         * sysdeps/s390/s390-32/dl-machine.h
78505         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78506         * sysdeps/sparc/sparc32/dl-machine.h
78507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78508         * sysdeps/sparc/sparc64/dl-machine.h
78509         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78511         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78512         lazy binding.
78513         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78514         undefined symbol errors.
78516         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78517         DT_NEEDED entries.
78519 2012-04-05  Michael Matz  <matz@suse.de>
78521         [BZ #13592]
78522         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78524 2012-04-05  Andreas Jaeger  <aj@suse.de>
78526         [BZ #13908]
78527         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78528         comment.
78530 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78532         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78533         which ROUND is no valid rounding mode.
78535 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78537         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78538         read again.
78539         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78541 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78543         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78544         an exception using FPU order intentionally.
78546 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78548         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78549         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78550         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78551         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78553 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78555         [BZ #12340]
78556         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78557         EINVAL when BUFLEN is too smal.
78559 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78561         [BZ #13553]
78562         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78563         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78565 2012-04-03  Andreas Jaeger  <aj@suse.de>
78567         [BZ #13938]
78568         * manual/setjmp.texi (System V contexts): Fix sentence.
78570         [BZ #13926]
78571         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78572         New macro for this case.
78573         [!__GNUC__] (__bswap_64): New inline function for this case.
78574         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78575         * bits/byteswap.h: Likewise.
78576         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78577         ull, guard with __GLIBC_HAVE_LONG_LONG.
78579         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78580         __GLIBC_HAVE_LONG_LONG.
78582         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78583         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78585 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78587         [BZ #13691]
78588         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78589         inptr and inend, rather than using last_ch.
78591 2012-04-02  David S. Miller  <davem@davemloft.net>
78593         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78594         * stdio-common/printf-parse.h (read_int): Change return type to
78595         'int', return -1 on INT_MAX overflow.
78596         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78597         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78598         overflows INT_MAX.  Check for overflow of in-format-string precision
78599         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78600         SIZE_MAX not INT_MAX for integer overflow test.
78601         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78602         skip the construct in the format string but do not record anything.
78603         * stdio-common/bug22.c: Adjust to test both width/prevision
78604         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78605         explicitly for proper errno values.
78607 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78609         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78610         CHAR_MAX.
78611         * string/test-strcmp.c [! WIDE]: Likewise.
78612         * time/tst-mktime2.c: Likewise for INT_MAX.
78613         * string/test-string.h: #include <sys/param.h> for MIN.
78615         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78616         * sysdeps/i386/init-first.c (init): Likewise.
78617         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78618         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78619         * sysdeps/sh/init-first.c (init): Likewise.
78621 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78623         * po/ru.po: Update from translation team.
78624         * po/vi.po: Likewise.
78626 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78628         * resolv/nss_dns/dns-host.c: Merge copyright years.
78630 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78632         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78633         Optimize memcpy with prefetch if
78634         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78635         src, dst pointers have unequal 16 byte alignments.
78637 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78639         [BZ #13928]
78640         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78641         from a CNAME entry and return the minimum ttl for the query.
78642         (gaih_getanswer_slice): Likewise.
78644 2012-03-30  Jeff Law  <law@redhat.com>
78646         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78647         due to long keys.
78648         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78649         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78651         * resolv/nss_dns/dns-host.c: Update copyright year.
78653 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78655         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78656         requests to save a system call.  Fix check that all bytes are sent.
78658         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78659         comments for sendmmsg.
78661 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78663         [BZ #13691]
78664         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78665         with only 1 character between 0x0041 and 0x01b0.
78666         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78667         * wcsmbs/tst-mbsnrtowcs.c: New file.
78669 2012-03-29  David S. Miller  <davem@davemloft.net>
78671         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78672         small copies by hand.
78674 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78676         [BZ #13761]
78677         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78678         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78679         group memberships.
78681 2012-03-28  David S. Miller  <davem@davemloft.net>
78683         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78684         that branches into memcpy.
78685         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78686         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78688         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78690         bits.
78691         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78692         implementation too.
78693         * sysdeps/sparc/mempcpy.S: New file.
78695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78696         the IFUNC routine in the libc case.
78697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78699         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78700         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78701         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78702         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78703         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78704         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78705         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78706         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78708         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78709         loop to 256 bytes instead of 64 bytes and fix test signedness.
78711         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78712         * sysdeps/sparc/sparc32/Makefile: rather than here...
78713         * sysdeps/sparc/sparc64/Makefile: and here.
78715 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78717         * malloc/mallocbug.c: Avoid warnings about unused variables.
78719 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78721         [BZ #13760]
78722         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78723         in the right place. Discard and retry query if response is
78724         larger than input buffer size.
78726 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78728         [BZ #369]
78729         [BZ #2678]
78730         [BZ #3866]
78731         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78732         x for large integer exponent.
78733         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78734         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78735         sign of result as needed afterwards.
78736         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78737         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78738         result for underflowing pow the same as for overflow.
78739         (__kernel_standard_l): Handle powl overflow and underflow here
78740         rather than calling __kernel_standard.
78741         * math/libm-test.inc (pow_test): Add more tests.
78743         [BZ #3868]
78744         [BZ #13879]
78745         [BZ #13910]
78746         [BZ #13911]
78747         [BZ #13912]
78748         [BZ #13913]
78749         [BZ #13915]
78750         [BZ #13916]
78751         [BZ #13917]
78752         [BZ #13918]
78753         [BZ #13919]
78754         [BZ #13920]
78755         [BZ #13921]
78756         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78757         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78758         (__kernel_standard_l): New function.
78759         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78760         __kernel_standard.
78761         * math/w_acosl.c (__acosl): Likewise.
78762         * math/w_asinl.c (__asinl): Likewise.
78763         * math/w_atan2l.c (__atan2l): Likewise.
78764         * math/w_atanhl.c (__atanhl): Likewise.
78765         * math/w_coshl.c (__coshl): Likewise.
78766         * math/w_exp10l.c (__exp10l): Likewise.
78767         * math/w_exp2l.c (__exp2l): Likewise.
78768         * math/w_fmodl.c (__fmodl): Likewise.
78769         * math/w_hypotl.c (__hypotl): Likewise.
78770         * math/w_j0l.c (__j0l, __y0l): Likewise.
78771         * math/w_j1l.c (__j1l, __y1l): Likewise.
78772         * math/w_jnl.c (__jnl, __ynl): Likewise.
78773         * math/w_lgammal.c (__lgammal): Likewise.
78774         * math/w_log10l.c (__log10l): Likewise.
78775         * math/w_log2l.c (__log2l): Likewise.
78776         * math/w_logl.c (__logl): Likewise.
78777         * math/w_powl.c (__powl): Likewise.
78778         * math/w_remainderl.c (__remainderl): Likewise.
78779         * math/w_scalbl.c (sysv_scalbl): Likewise.
78780         * math/w_sinhl.c (__sinhl): Likewise.
78781         * math/w_sqrtl.c (__sqrtl): Likewise.
78782         * math/w_tgammal.c (__tgammal): Likewise.
78783         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78784         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78785         * math/libm-test.inc (acos_test): Add more tests.
78786         (acosh_test): Likewise.
78787         (asin_test): Likewise.
78788         (atanh_test): Likewise.
78789         (exp_test): Likewise.
78790         (exp10_test): Likewise.
78791         (exp2_test): Likewise.
78792         (expm1_test): Likewise.
78793         (lgamma_test): Likewise.
78794         (log_test): Likewise.
78795         (log10_test): Likewise.
78796         (log1p_test): Likewise.
78797         (log2_test): Likewise.
78798         (pow_test): Do not allow some spurious overflow exceptions.
78799         (sqrt_test): Add more tests.
78800         (tgamma_test): Likewise.
78801         (y0_test): Likewise.
78802         (y1_test): Likewise.
78803         (yn_test): Likewise.
78805 2012-03-27  Anton Blanchard  <anton@samba.org>
78807         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78808         MAP_HUGETLB.
78809         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78810         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78811         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78813 2012-03-27  David S. Miller  <davem@davemloft.net>
78815         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78817         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78818         have-as-vis3 check.
78820 2012-03-27  Andreas Jaeger  <aj@suse.de>
78822         * sysdeps/x86_64/elf/configure.in: Moved to ...
78823         * sysdeps/x86_64/configure.in: ... here.
78824         * sysdeps/x86_64/elf/start.S: Moved to ...
78825         * sysdeps/x86_64/start.S: ... here.
78826         * sysdeps/x86_64/elf/configure: Delete.
78828         * sysdeps/x86_64/configure.in: Merge contents from
78829         sysdeps/i386/configure.in (without i686 check).
78831         * sysdeps/i386/elf/Versions: Merge into ...
78832         * sysdeps/i386/Versions: ... this.
78833         * sysdeps/i386/elf/Versions: Delete file.
78834         * sysdeps/i386/elf/start.S: Moved to ...
78835         * sysdeps/i386/start.S: ...here.
78836         * sysdeps/i386/elf/configure.in: Merge into...
78837         * sysdeps/i386/configure.in: ...here.
78838         * sysdeps/i386/elf/configure.in: Delete file.
78839         * sysdeps/i386/elf/configure: Delete file.
78841         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78842         * debug/backtracesyms.c: ... here.
78843         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78844         * debug/backtracesymsfd.c: ... here.
78845         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78846         * sysdeps/generic/ifunc-sel.h: ... here.
78848         * sysdeps/unix/i386/start.c: Delete file.
78849         * sysdeps/unix/sparc/start.c: Delete file.
78850         * sysdeps/unix/start.c: Delete file.
78852         * sysdeps/sh/elf/configure.in: Moved to ...
78853         * sysdeps/sh/configure.in: ... here.
78854         * sysdeps/sh/elf/start.S: Moved to ...
78855         * sysdeps/sh/start.S: ... here.
78856         * sysdeps/sh/elf/configure: Delete file.
78858         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78859         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78860         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78861         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78862         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78863         * sysdeps/powerpc/powerpc64/start.S: here.
78864         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78865         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78866         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78867         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78868         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78870         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78871         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78872         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78873         * sysdeps/powerpc/powerpc32/start.S: ... here.
78874         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78875         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78876         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78878         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78879         * sysdeps/powerpc/ifunc-sel.h: ... here.
78880         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78881         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78883         * sysdeps/sparc/elf/configure.in: Moved to ...
78884         * sysdeps/sparc/configure.in: ... here.
78885         * sysdeps/sparc/elf/configure: Delete file.
78886         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78887         * sysdeps/sparc/sparc32/start.S: ... here.
78888         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78889         * sysdeps/sparc/sparc64/start.S: ... here.
78890         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78891         * sysdeps/sparc/sparc32/Makefile: ... this.
78892         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78893         * sysdeps/sparc/sparc64/Makefile: ... this.
78895         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78896         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78897         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78898         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78899         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78900         * sysdeps/s390/s390-32/setjmp.S: ... here.
78901         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78902         * sysdeps/s390/s390-32/configure.in: ... here.
78903         * sysdeps/s390/s390-32/elf/configure: Delete file.
78904         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78905         * sysdeps/s390/s390-32/start.S: ... here.
78907         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78908         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78909         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78910         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78911         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78912         * sysdeps/s390/s390-64/setjmp.S: ... here.
78913         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78914         * sysdeps/s390/s390-64/configure.in: ... here
78915         * sysdeps/s390/s390-64/elf/configure: Delete file.
78916         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78917         * sysdeps/s390/s390-64/start.S: ... here.
78918         * sysdeps/s390/s390-64/elf/configure: Delete.
78920         * configure.in: Remove support for elf directories in sysdeps.
78922         * configure: Regenerated.
78923         * sysdeps/i386/configure: Regenerated.
78924         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78925         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78926         * sysdeps/s390/s390-32/configure: Regenerated.
78927         * sysdeps/s390/s390-64/configure: Regenerated.
78928         * sysdeps/sh/configure: Regenerated.
78929         * sysdeps/sparc/configure: Regenerated.
78930         * sysdeps/x86_64/configure: Regenerated.
78932 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78937         denormal result into account.
78939 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78941         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78942         Reported by Allan McRae <allan@archlinux.org>.
78944 2012-03-23  Jeff Law  <law@redhat.com>
78946         * nss/getnssent.c (__nss_getent): Fix typo.
78948 2012-03-23  David S. Miller  <davem@davemloft.net>
78950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78952 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78954         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78955         to pad to uint64_t for each field.
78956         (dl_tls_index): Replace unsigned long with uint64_t.
78958 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78959         Paul Pluzhnikov  <ppluzhnikov@google.com>
78961         [BZ #6528]
78962         * grp/Makefile (otherlibs): Don't set it.
78963         * inet/Makefile (otherlibs): Likewise.
78964         * login/Makefile (otherlibs): Likewise.
78965         * nscd/Makefile (otherlibs): Likewise.
78966         * posix/Makefile (otherlibs): Likewise.
78967         * pwd/Makefile (otherlibs): Likewise.
78968         * rt/Makefile (otherlibs): Likewise.
78969         * sunrpc/Makefile (otherlibs): Likewise.
78970         * nss/Makefile (otherlibs): Likewise.
78971         Add libnss_files to routines and static-only-routines.
78972         ($(objpfx)getent): Remove rule.
78973         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78974         static-only-routines.
78976 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78978         [BZ #13892]
78979         * math/s_cexp.c: Include <float.h>.
78980         (__cexp): Handle exp result overflowing not necessarily
78981         overflowing both real and imaginary parts of result.
78982         * math/s_cexpf.c: Likewise.
78983         * math/s_cexpl.c: Likewise.
78984         * math/libm-test.inc (cexp_test): Add more tests.
78985         * sysdeps/i386/fpu/libm-test-ulps: Update.
78986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78988 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78990         * include/link.h (ELFW): New macro.
78991         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78992         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78994 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78996         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78997         with uint64_t.
78999 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79001         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79002         declaration.
79003         (struct La_x32_retval): Likewise.
79005 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79007         * sysdeps/x86_64/preconfigure.in: New file.
79008         * sysdeps/x86_64/preconfigure: New generated file.
79010 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79012         [BZ #13824]
79013         * math/e_exp2l.c: Include <float.h>.
79014         (__ieee754_exp2l): Handle overflow and underflow cases
79015         separately.  Only pass fractional part of argument to
79016         __ieee754_expl.
79017         * math/libm-test.inc (exp2_test): Add more tests.
79019         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79020         negating x to take absolute value.
79021         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79022         Likewise.
79023         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79025         Likewise.
79026         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79027         computing low part if x was negated.
79028         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79030 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79032         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79033         la_x32_gnu_pltexit.
79034         (pltexit): Cast int_retval to ptrdiff_t.
79035         * elf/tst-auditmod3b.c: Likewise.
79036         * elf/tst-auditmod4b.c: Likewise.
79037         * elf/tst-auditmod5b.c: Likewise.
79038         * elf/tst-auditmod6b.c: Likewise.
79039         * elf/tst-auditmod6c.c: Likewise.
79040         * elf/tst-auditmod7b.c: Likewise.
79042         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79043         and x32_gnu_pltexit.
79045         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79046         __ELF_NATIVE_CLASS.
79047         (La_x32_regs): New macro.
79048         (La_x32_retval): Likewise.
79049         (la_x32_gnu_pltenter): New function prototype.
79050         (la_x32_gnu_pltexit): Likewise.
79052 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79054         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79055         exponent.
79057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79059         * configure.in (libc_cv_cc_nofma): Check for option to disable
79060         generation of FMA instructions.
79061         * configure: Regenerate.
79062         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79063         * sysdeps/ieee754/dbl-64/Makefile: New file.
79064         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79065         Remove brandred-fma4.
79066         (CFLAGS-brandred-fma4.c): Remove.
79067         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79068         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79069         define.
79070         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79071         define.
79073 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79075         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79076         LLONG_MAX != LONG_MAX.
79077         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79078         (_fitoa_word): Likewise.
79079         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79080         LLONG_MAX != LONG_MAX.
79081         * stdio-common/_itowa.h: Include <_itoa.h>.
79082         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79083         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79084         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79085         only if not defined.
79086         (_ITOA_WORD_TYPE): Likewise.
79087         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79088         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79090 2012-03-21  David S. Miller  <davem@davemloft.net>
79092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79094 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79096         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79097         of x86_64 when setting libc_cv_slibdir, libdir and
79098         libc_cv_localedir.
79099         * sysdeps/unix/sysv/linux/configure: Regenerated.
79101 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79103         * manual/lang.texi (Old Varargs): Remove section.
79104         (How Variadic): Update menu.
79105         (va_start): Do not mention varargs.h.
79107 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79108             Joseph Myers  <joseph@codesourcery.com>
79110         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79111         link test.
79112         * configure: Regenerated.
79114 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79116         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79117         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79118         conformtest.pl
79120 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79122         * NOTES: Remove.
79123         * Makefile (files-for-dist): Remove NOTES.
79124         (NOTES): Remove rule.
79125         * README: Don't refer to NOTES.
79126         * manual/creature.texi: Don't include macros.texi.
79127         * manual/intro.texi (creature.texi): Remove comment referring to
79128         NOTES.
79130         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79131         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79132         * configure: Regenerated.
79133         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79134         LIBC_TRY_CC_OPTION.
79135         (libc_cv_as_i686): Likewise.
79136         (libc_cv_cc_avx): Likewise.
79137         (libc_cv_cc_sse2avx): Likewise.
79138         (libc_cv_cc_fma4): Likewise.
79139         (libc_cv_cc_novzeroupper): Likewise.
79140         * sysdeps/i386/configure: Regenerated.
79142         [BZ #13883]
79143         * sysdeps/i386/fpu/s_cexp.S: Remove.
79144         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79145         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79146         * math/libm-test.inc (cexp_test): Add more tests.
79147         * sysdeps/i386/fpu/libm-test-ulps: Update.
79148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79150 2012-03-21  Allan McRae  <allan@archlinux.org>
79152         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79154 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79156         [BZ #13871]
79157         * math/w_exp2.c: Do not include <float.h>.
79158         (o_threshold, u_threshold): Remove.
79159         (__exp2): Calculate result before checking finiteness and calling
79160         __kernel_standard.
79161         * math/w_exp2f.c: Likewise.
79162         * math/w_exp2l.c: Likewise.
79163         * math/libm-test.inc (exp2_test): Require overflow exception for
79164         1e6 input.
79166         [BZ #3866]
79167         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79168         range of signed 64-bit integers before using fistpll.  Remove
79169         checks for whether integers fit in mantissa bits.
79170         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79171         the range of signed 32-bit integers before using fistpl.  Remove
79172         checks for whether integers fit in mantissa bits.
79173         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79174         (__ieee754_powl): Test for y outside the range of signed 64-bit
79175         integers before using fistpll.  Reduce 64-bit values to 63-bit
79176         ones as needed.
79177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79178         divide-by-zero is raised for zero to large negative powers.
79179         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79180         (__ieee754_powl): Test for y outside the range of signed 64-bit
79181         integers before using fistpll.  Reduce 64-bit values to 63-bit
79182         ones as needed.
79183         * math/libm-test.inc (pow_test): Add more tests.
79185 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79187         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79188         <stdio-common/_itoa.h>.
79189         * debug/segfault.c: Likewise.
79190         * elf/dl-cache.c: Likewise.
79191         * elf/dl-minimal.c: Likewise.
79192         * elf/dl-misc.c: Likewise.
79193         * elf/dl-sysdep.c: Likewise.
79194         * elf/dl-version.c: Likewise.
79195         * elf/rtld.c: Likewise.
79196         * hurd/hurdsock.c: Likewise.
79197         * hurd/lookup-retry.c: Likewise.
79198         * malloc/malloc.c: Likewise.
79199         * malloc/mtrace.c: Likewise.
79200         * nscd/nscd_getgr_r.c: Likewise.
79201         * nscd/nscd_getpw_r.c: Likewise.
79202         * nscd/nscd_getserv_r.c: Likewise.
79203         * posix/getopt_init.c: Likewise.
79204         * posix/wordexp.c: Likewise.
79205         * stdio-common/_itoa.c: Likewise.
79206         * stdio-common/printf_fphex.c: Likewise.
79207         * stdio-common/vfprintf.c: Likewise.
79208         * string/_strerror.c: Likewise.
79209         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79210         * sysdeps/i386/i686/hp-timing.h: Likewise.
79211         * sysdeps/mach/_strerror.c: Likewise.
79212         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79213         * sysdeps/mach/hurd/sethostid.c: Likewise.
79214         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79215         * sysdeps/mach/xpg-strerror.c: Likewise.
79216         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79218         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79219         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79220         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79221         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79222         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79223         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79224         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79225         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79226         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79227         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79228         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79229         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79230         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79231         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79232         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79233         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79234         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79235         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79236         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79238         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79240         * stdio-common/_itoa.h: Moved to ...
79241         * sysdeps/generic/_itoa.h: Here.
79243         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79245         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79246         instead of "_itoa.h" and "_itowa.h".
79247         * stdio-common/vfprintf.: Likewise.
79249 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79251         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79252         <bits/wordsize.h>.
79253         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79254         (__signbit): Likewise.
79255         (llrintf): Likewise.
79256         (llrint): Likewise.
79258 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79260         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79261         __WORDSIZE != 64.
79263 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79265         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79266         OVERFLOW_EXCEPTION_OK.
79267         * math/libm-test.inc ("Philosophy"): Update comment about
79268         exception testing.
79269         (OVERFLOW_EXCEPTION): Define.
79270         (OVERFLOW_EXCEPTION_OK): Likewise.
79271         (INVALID_EXCEPTION_OK): Renumber.
79272         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79273         (IGNORE_ZERO_INF_SIGN): Likewise.
79274         (test_exceptions): Handle FE_OVERFLOW.
79275         (exp10_test): Expect overflow exceptions.
79276         (exp2_test): Likewise.
79277         (expm1_test): Likewise.
79278         (nextafter_test): Likewise.
79279         (pow_test): Likewise.
79280         (scalbn_test): Likewise.
79281         (scalbln_test): Likewise.
79283 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79285         * sysdeps/x86_64/bits/atomic.h
79286         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79287         64bit integer.
79288         (atomic_exchange_acq): Likewise.
79289         (__arch_exchange_and_add_body): Likewise.
79290         (__arch_add_body): Likewise.
79291         (atomic_add_negative): Likewise.
79292         (atomic_add_zero): Likewise.
79294 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79296         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79297         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79299 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79301         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79302         Check __x86_64__ instead of __WORDSIZE.
79304 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79306         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79308 2012-03-19  David S. Miller  <davem@davemloft.net>
79310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79312         * sysdeps/sparc/fpu/fenv_private.h: New file.
79313         * sysdeps/sparc/fpu/math_private.h: Use it.
79314         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79315         Remove.
79316         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79317         (libc_feholdexcept_setroundl): Remove.
79318         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79319         Remove.
79320         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79321         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79323 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79325         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79326         int64_t instead of long int.
79327         (INSERT_WORDS64): Likewise.
79329 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79331         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79332         _Unwind_GetCFA return to _Unwind_Ptr first.
79334 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79336         [BZ #13629]
79337         * math/s_clog.c: Include <float.h>.
79338         (__clog): Scale large or subnormal inputs.
79339         * math/s_clogf.c: Likewise.
79340         * math/s_clogl.c: Likewise.
79341         * math/s_clog10.c: Include <float.h>.
79342         (M_LOG10_2): Define.
79343         (__clog10): Scale large or subnormal inputs.
79344         * math/s_clog10f.c: Likewise.
79345         * math/s_clog10l.c: Likewise.
79346         * math/libm-test.inc (clog_test): Add more tests.
79347         (clog10_test): Likewise.
79348         * sysdeps/i386/fpu/libm-test-ulps: Update.
79349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79351         [BZ #11451]
79352         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79353         x and y.
79354         * math/libm-test.inc (atan2_test): Add another test.
79356         * Makerules (common-objdir-compile): Remove.
79357         * sysdeps/unix/Makefile (config-generated): Do not add
79358         $(unix-generated) to variable.
79359         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79360         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79361         Remove rule.
79362         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79363         Likewise.
79364         [generic bits/local_lim.h] (before-compile): Do not append to
79365         variable.
79366         [generic bits/local_lim.h] (common-generated): Likewise.
79367         [generic sys/param.h] (before-compile): Do not append to variable.
79368         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79369         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79370         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79371         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79372         include.
79373         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79374         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79375         [generic sys/param.h] ($(addprefix
79376         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79377         [generic sys/param.h] (common-generated): Do not append to
79378         variable.
79379         [generic sys/param.h] (sysdep_headers): Likewise.
79380         [generic bits/errno.h] (before-compile): Do not append to
79381         variable.
79382         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79383         rule.
79384         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79385         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79386         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79387         [generic bits/errno.h] (common-generated): Do not append to
79388         variable.
79389         [generic bits/ioctls.h] (before-compile): Do not append to
79390         variable.
79391         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79392         rule.
79393         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79394         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79395         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79396         rule.
79397         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79398         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79399         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79400         [generic bits/ioctls.h] (common-generated): Do not append to
79401         variable.
79402         [generic sys/syscall.h] (syscall.h): Remove variable.
79403         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79404         rule.
79405         [generic sys/syscall.h] (before-compile): Do not append to
79406         variable.
79407         [generic sys/syscall.h] (common-generated): Likewise.
79408         * sysdeps/unix/errnos-tmpl.c: Remove file.
79409         * sysdeps/unix/errnos.awk: Likewise.
79410         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79411         * sysdeps/unix/ioctls.awk: Likewise.
79412         * sysdeps/unix/mk-local_lim.c: Likewise.
79413         * sysdeps/unix/snarf-ioctls: Likewise.
79415 2012-03-19  Richard Henderson  <rth@twiddle.net>
79417         * sysdeps/i386/fpu/fenv_private.h: New file.
79418         * sysdeps/i386/fpu/math_private.h: Use it.
79419         (math_opt_barrier, math_force_eval): Remove.
79420         (libc_feholdexcept_setround_53bit): Remove.
79421         (libc_feupdateenv_53bit): Remove.
79422         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79423         (math_opt_barrier, math_force_eval): Remove.
79424         (libc_feholdexcept): Remove.
79425         (libc_feholdexcept_setround): Remove.
79426         (libc_fetestexcept, libc_fesetenv): Remove.
79427         (libc_feupdateenv_test): Remove.
79428         (libc_feupdateenv, libc_feholdsetround): Remove.
79429         (libc_feresetround): Remove.
79431         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79432         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79434         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79435         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79436         (libc_feupdateenv_testl): New.
79437         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79438         (libc_feupdateenv_testf): New.
79439         (libc_feupdateenv): Use libc_feupdateenv_test.
79440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79441         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79443         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79444         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79445         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79446         (libc_feresetround_noex): New.
79447         (libc_feresetround_noexf): New.
79448         (libc_feresetround_noexl): New.
79449         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79450         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79451         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79452         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79453         SET_RESTORE_ROUND.
79454         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79456         (__cos): Likewise.
79457         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79458         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79459         SET_RESTORE_ROUND_NOEX.
79460         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79461         SET_RESTORE_ROUND_NOEXF.
79462         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79463         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79464         (libc_feholdsetroundf): New.
79465         (libc_feresetround, libc_feresetroundf): New.
79467         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79468         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79469         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79471         * sysdeps/generic/math_private.h: Include <fenv.h>.
79472         (default_libc_feholdexcept): New.
79473         (default_libc_feholdexcept_setround): New.
79474         (default_libc_fesetenv, default_libc_feupdateenv): New.
79475         (libc_feholdexcept): Only define if undefined.
79476         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79477         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79478         (libc_feholdexcept_setroundl): Likewise.
79479         (libc_feholdexcept_setround_53bit): Likewise.
79480         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79481         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79482         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79483         (libc_feupdateenv_53bit): Likewise.
79484         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79485         (libc_feholdexcept): Convert from macro to inline function.
79486         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79487         (libc_fesetenv, libc_feupdateenv): Likewise.
79489         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79490         not previously defined.
79491         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79492         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79493         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79494         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79495         * sysdeps/ieee754/flt-32/math_private.h: New file.
79496         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79497         math_private.h below SET_FLOAT_WORD.
79498         (__isnan, __isinf_ns, __finite): Remove.
79499         (__isnanf, __isinf_nsf, __finitef): Remove.
79501 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79505 2012-03-17  David S. Miller  <davem@davemloft.net>
79507         [BZ #6471]
79508         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79509         for 2.16.
79511 2012-03-16  David S. Miller  <davem@davemloft.net>
79513         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79514         warnings.
79516         [BZ #6471]
79517         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79518         properly.
79519         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79520         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79521         sysdep_routines when subdir is sysvipc.
79522         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79523         __getshmlba helper.
79525         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79527 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79529         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79530         [__LP64__].
79532 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79534         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79535         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79536         (__lround): Renamed to ...
79537         (__llround): This.  Replace long int with long long int.
79538         Define lround functions as aliases of llround functions.
79539         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79541 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79543         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79544         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79545         adresses to uintptr_t.  Replace "long int" and "unsigned long
79546         int" with "greg_t" on va_arg.
79548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79550         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79551         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79553         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79554         Move e_machine check before EI_CLASS check.  Handle x32
79555         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79556         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79557         SKIP_EM_IA_64 and include
79558         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79560         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79561         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79562         (add_system_dir): New macro.
79564         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79565         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79567 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79569         [BZ #2551]
79570         [BZ #2552]
79571         [BZ #2553]
79572         [BZ #2554]
79573         [BZ #2562]
79574         [BZ #2563]
79575         [BZ #2565]
79576         [BZ #2566]
79577         [BZ #2576]
79578         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79579         (y0): Likewise.
79580         * math/w_j0f.c (j0f): Likewise.
79581         (y0f): Likewise.
79582         * math/w_j0l.c (__j0l): Likewise.
79583         (__y0l): Likewise.
79584         * math/w_j1.c (j1): Likewise.
79585         (y1): Likewise.
79586         * math/w_j1f.c (j1f): Likewise.
79587         (y1f): Likewise.
79588         * math/w_j1l.c (__j1l): Likewise.
79589         (__y1l): Likewise.
79590         * math/w_jn.c (jn): Likewise.
79591         (yn): Likewise.
79592         * math/w_jnf.c (jnf): Likewise.
79593         (ynf): Likewise.
79594         * math/w_jnl.c (__jnl): Likewise.
79595         (__ynl): Likewise.
79596         * math/libm-test.inc (j0_test): Add more tests.
79597         (j1_test): Likewise.
79598         (jn_test): Likewise.  Add trailing semicolon to existing test.
79599         (y0_test): Likewise.
79600         (y1_test): Likewise.
79601         * sysdeps/i386/fpu/libm-test-ulps: Update.
79602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79604         [BZ #13851]
79605         [BZ #13854]
79606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79607         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79608         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79609         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79610         (__tanl): Set errno for infinite argument.
79611         * sysdeps/i386/fpu/mptan.c: Remove.
79612         * sysdeps/i386/fpu/s_tan.S: Likewise.
79613         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79614         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79615         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79616         * math/libm-test.inc (tan_test): Add more tests and enable more
79617         tests for double and long double.
79618         * sysdeps/i386/fpu/libm-test-ulps: Update.
79619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79621 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79623         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79624         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79626 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79628         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79629         * configure.in: Use it for both main tree and add-ons.
79630         * configure: Regenerated.
79632 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79634         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79636 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79638         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79639         in comment.
79641         [BZ #13851]
79642         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79643         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79644         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79645         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79646         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79647         infinite argument.
79648         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79649         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79650         != 0 for prec == 2.
79651         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79652         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79653         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79654         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79655         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79656         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79657         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79658         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79659         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79660         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79661         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79662         * math/libm-test.inc (cos_test): Add more tests and enable more
79663         tests for long double.
79664         (sin_test): Likewise.
79665         (sincos_test): Likewise.
79666         * sysdeps/i386/fpu/libm-test-ulps: Update.
79667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79669 2012-03-16  David S. Miller  <davem@davemloft.net>
79671         * sysdeps/sparc/fpu/math_private.h: New file.
79673 2012-03-15  David S. Miller  <davem@davemloft.net>
79675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79676         file.
79677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79679         file.
79680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79686         sysdep routines.
79687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79689         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79690         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79692         * sysdeps/sparc/sparc-ifunc.h: New file.
79693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79694         sparc-ifunc.h
79695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79697         Likewise.
79698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79699         Likewise.
79700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79704         Likewise.
79705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79710         Likewise.
79711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79712         Likewise.
79713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79719         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79720         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79722         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79731         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79732         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79733         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79734         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79735         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79736         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79738 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79740         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79741         scaling.
79742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79744 2012-03-15  Andreas Jaeger  <aj@suse.de>
79746         [BZ #13852]
79747         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79748         ieee754/flt-32 implementation for sin, cos and sincos.
79749         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79750         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79751         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79752         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79753         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79754         ieee754/flt-32 implementation for tan.
79756         * math/libm-test.inc (cos_test): Enable some large input tests for
79757         float as well
79758         (sin_test): Likewise.
79759         (sincos_test): Likewise.
79760         (tan_test): Add tests for large input.
79762         * sysdeps/i386/fpu/libm-test-ulps: Update.
79764 2012-03-15  Andreas Jaeger  <aj@suse.de>
79766         [BZ #13658]
79767         * math/libm-test.inc (cos_test): Add more test cases.
79768         (sin_test): Likewise.
79769         (sincos_test): Likewise.
79771 2012-03-15  Andreas Jaeger  <aj@suse.de>
79773         [BZ #13837]
79774         * math/libm-test.inc (cos_test): Add a test case for large input
79775         value.
79776         (sin_test): Likewise.
79777         (sincos_test): Likewise.
79779 2012-03-15  Andreas Jaeger  <aj@suse.de>
79780             Joseph Myers  <joseph@codesourcery.com>
79782         [BZ #13658]
79783         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79784         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79785         * sysdeps/i386/fpu/branred.c: Likewise.
79786         * sysdeps/i386/fpu/dosincos.c: Likewise.
79787         * sysdeps/i386/fpu/mpa.c: Likewise.
79788         * sysdeps/i386/fpu/s_cos.S: Likewise.
79789         * sysdeps/i386/fpu/s_sin.S: Likewise.
79790         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79791         * sysdeps/i386/fpu/sincos32.c: Likewise.
79793         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79794         Define.
79795         (libc_feupdateenv_53bit): Define.
79796         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79797         Define.
79798         (libc_feupdateenv_53bit): Define.
79800         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79801         53 bit (without extend i386 double precision).
79803         * math/libm-test.inc (sincos_test): Add tests for large input.
79804         (sin): Likewise.
79805         (cos): Likewise.
79807         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79809 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79813 2012-03-15  David S. Miller  <davem@davemloft.net>
79815         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79816         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79817         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79818         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79831         file.
79832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79834         file.
79835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79837         file.
79838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79840         file.
79841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79842         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79843         fmin/fmax sysdep routines.
79844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79846 2012-03-14  David S. Miller  <davem@davemloft.net>
79848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79852         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79853         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79854         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79855         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79868         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79869         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79870         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79871         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79872         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79873         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79874         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79876         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79877         routines.
79878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79879         file.
79880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79882         file.
79883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79885         file.
79886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79888         file.
79889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79891         file.
79892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79894         file.
79895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79896         file.
79897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79898         file.
79899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79900         file.
79901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79902         New file.
79903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79904         file.
79905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79906         file.
79907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79909         file.
79910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79912         file.
79913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79915         file.
79916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79918         VIS3 routines.
79920         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79921         New file.
79923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79925         * sysdeps/sparc/configure.in: New file.
79926         * sysdeps/sparc/configure: Generate.
79927         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79928         * configure: Regenerate.
79929         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79930         * config.make.in (have-as-vis3): New.
79931         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79932         available use -Av9d instead of -Av9a.
79933         * sysdeps/sparc/sparc64/Makefile: Likewise.
79934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79936         New file.
79937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79938         file.
79939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79940         New file.
79941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79942         file.
79943         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79944         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79949         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79950         fzeros/fnegs to load 0x80000000 into a float register instead of
79951         using the stack.
79952         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79954 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79957         bits/syscall.h.
79958         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79959         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79960         ($(inst_includedir)/bits/syscall.h): Remove rule.
79961         ($(objpfx)bits/syscall.d): Include instead of
79962         $(objpfx)syscall-list.d.
79963         (generated): Change syscall-list.h and syscall-list.d to
79964         bits/syscall.h and bits/syscall.d.
79966 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79968         [BZ #13846]
79969         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79971 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79973         [BZ #13841]
79974         * math/s_csqrt.c: Include <float.h>.
79975         (__csqrt): Scale large or subnormal inputs.
79976         * math/s_csqrtf.c: Likewise.
79977         * math/s_csqrtl.c: Likewise.
79978         * math/libm-test.inc (csqrt_test): Add more tests.
79979         * sysdeps/i386/fpu/libm-test-ulps: Update.
79980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79982         [BZ #13840]
79983         * math/libm-test.inc (hypot_test): Add more tests.
79985 2012-03-13  David S. Miller  <davem@davemloft.net>
79987         [BZ #13840]
79988         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79989         double-precision for the calculation instead of scaling.
79991 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79993         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79994         manipulate bits before adding and subtracting TWO52[sx].
79995         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79996         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79997         Likewise.
79998         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80000 2012-03-13  David S. Miller  <davem@davemloft.net>
80002         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80003         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80004         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80005         rtld-global-offsets.h
80006         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80008         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80009         large parameters.
80011         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80013         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80014         'err' in the ifdef scope in which it is actually used.
80016         * nss/nss_db/db-init.c: Include string.h
80018 2012-03-12  David S. Miller  <davem@davemloft.net>
80020         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80021         masking out of the most significant byte of random value used.
80022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80023         Fix coding style in previous change.
80025         * sysdeps/unix/sysv/linux/kernel-features.h
80026         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80027         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80028         expression.
80029         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80030         later.
80032 2012-03-11  David S. Miller  <davem@davemloft.net>
80034         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80035         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80036         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80037         for 'resultvar' otherwise things get truncated on 64-bit.
80039         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80040         Fix masking out of the most significant byte of random value used.
80042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80044 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80048 2012-03-09  David S. Miller  <davem@davemloft.net>
80050         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80051         variables with appropriate CPP guards.
80052         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80053         from the frame pointer, not the stack pointer.  Correct layout
80054         comments.  Fix test on resulting framesize and the management of
80055         the outregs buffer for pltexit.  Preserve floating point return
80056         values across _dl_call_pltexit call.
80057         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80058         framesize and the management of the outregs buffer for pltexit.
80059         Preserve floating point return values across _dl_call_pltexit
80060         call.
80061         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80062         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80063         (la_sparc64_gnu_pltexit): New functions.
80064         (print_exit): Fix format string for return register value.
80066 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80068         * sunrpc/Makefile (others): Add rpcgen.
80069         ($(objpfx)rpcgen): Remove special build rule and dependency on
80070         libc.
80071         * sunrpc/rpcgen.c: New file.
80073 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80075         [BZ #13673]
80076         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80077         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80078         * sysdeps/i386/crti.S: Likewise.
80079         * sysdeps/i386/crtn.S: Likewise.
80080         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80081         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80082         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80083         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80084         * sysdeps/sh/crti.S: Likewise.
80085         * sysdeps/sh/crtn.S: Likewise.
80086         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80088         [BZ #13673]
80089         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80090         with URL.
80091         * locale/programs/locfile-kw.gperf: Likewise.
80092         * locale/programs/charmap-kw.h: Regenerated.
80093         * locale/programs/locfile-kw.h: Likewise.
80095         [BZ #13673]
80096         * intl/plural.y: Replace FSF snail mail address with URL.
80097         * intl/plural.c: Regenerated.
80099 2012-03-09  Richard Henderson  <rth@twiddle.net>
80101         * include/math_private.h: Remove file.
80102         * math/math_private.h: Move file ...
80103         * sysdeps/generic/math_private.h: ... here.
80105         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80106         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80107         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80109         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80110         and <math_private.h>.
80111         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80112         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80113         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80114         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80115         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80116         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80117         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80126         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80135         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80141         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80142         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80143         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80144         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80145         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80146         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80147         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80148         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80149         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80151         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80152         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80153         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80157         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80158         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80160         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80161         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80162         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80163         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80164         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80165         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80166         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80167         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80170         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80171         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80172         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80174         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80175         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80179         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80180         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80182         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80185         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80187         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80189         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80190         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80191         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80192         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80194         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80195         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80198         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80199         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80200         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80201         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80202         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80203         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80204         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80205         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80206         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80211         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80212         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80213         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80214         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80215         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80216         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80217         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80218         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80223         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80224         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80225         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80227         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80228         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80229         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80230         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80231         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80232         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80233         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80234         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80235         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80236         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80237         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80238         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80239         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80240         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80241         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80242         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80243         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80244         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80245         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80246         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80248         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80249         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80250         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80251         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80252         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80253         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80254         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80255         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80256         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80257         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80258         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80259         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80260         * sysdeps/ieee754/k_standard.c: Likewise.
80261         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80262         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80263         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80264         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80265         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80266         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80267         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80268         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80269         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80270         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80271         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80273         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80274         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80275         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80276         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80277         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80278         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80279         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80280         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80281         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80282         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80284         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80285         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80286         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80287         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80288         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80289         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80290         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80292         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80293         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80294         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80295         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80296         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80297         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80298         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80299         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80300         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80301         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80303         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80304         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80307         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80309         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80312         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80313         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80314         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80315         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80317         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80318         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80319         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80320         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80321         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80322         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80323         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80324         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80325         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80327         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80328         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80329         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80331         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80333         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80334         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80335         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80337         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80340         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80341         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80347         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80349         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80352         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80353         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80354         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80357         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80358         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80359         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80372         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80374         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80376         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80387         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80388         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80392         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80393         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80395         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80396         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80397         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80400         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80405         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80410         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80411         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80418         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80419         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80421         * sysdeps/ieee754/s_lib_version.c: Likewise.
80422         * sysdeps/ieee754/s_matherr.c: Likewise.
80423         * sysdeps/ieee754/s_signgam.c: Likewise.
80424         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80425         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80426         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80427         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80428         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80429         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80430         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80431         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80432         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80433         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80434         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80435         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80436         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80437         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80438         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80441         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80442         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80443         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80446 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80448         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80449         * sunrpc/rpc_main.c: Likewise.
80450         * sunrpc/rpc_svcout.c: Likewise.
80452 2012-03-09  David S. Miller  <davem@davemloft.net>
80454         * include/math_private.h: New file.
80456 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80458         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80459         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80460         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80461         from <bits/socket_type.h>.
80462         (enum __socket_type): Don't define here.
80463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80465         bits/socket_type.h.
80467         [BZ #13566]
80468         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80469         checking __USE_GNU.
80471         * Makerules ($(inst_includedir)/%.h): New rule.
80472         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80473         (install-others): Remove variable setting.
80474         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80476 2012-03-08  Richard Henderson  <rth@twiddle.net>
80478         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80479         from macro to inline function; merge with the
80480         !__LIBC_INTERNAL_MATH_INLINES version.
80481         (__ieee754_sqrtf): Likewise.
80483         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80484         to inline function.
80485         (__rintf, __floor, __floorf): Likewise.
80487         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80488         macro to inline function.
80489         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80491         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80492         not <math/math_private.h>.
80494 2012-03-08  David S. Miller  <davem@davemloft.net>
80496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80497         copyright year.
80498         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80500 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80502         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80503         normalization.
80504         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80505         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80507 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80509         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80510         be defined individually, they must be defined as a block.  Define
80511         S for printing a string instead of hidint the different by using a
80512         macro for adding the 'l'.
80513         * stdio-common/tst-fphex-wide.c: Adjust.
80515 2012-03-07  Marek Polacek  <polacek@redhat.com>
80517         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80519 2012-03-08  Marek Polacek  <polacek@redhat.com>
80521         [BZ #13806]
80522         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80523         * stdio-common/tst-fphex.c: Define a few macros to make the
80524         test reusable.  Use them.
80525         * stdio-common/tst-fphex-wide.c: New file.
80527 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80529         [BZ #6911]
80530         * manual/macros.texi (gnusystems): New macro.
80531         (nongnusystems): Likewise.
80532         (gnulinuxhurdsystems): Likewise.
80533         (gnuhurdsystems): Likewise..
80534         (gnulinuxsystems): Likewise.
80535         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80536         variants of the GNU system, not "GNU system".
80537         * manual/conf.texi: Likewise.
80538         * manual/errno.texi: Likewise.  Update example of errno macro
80539         expansion.
80540         * manual/filesys.texi: Likewise.
80541         (getumask): Document as specific to GNU/Hurd.
80542         * manual/install.texi: Likewise.  Reword some references to
80543         GNU/Linux.
80544         * manual/intro.texi: Likewise.
80545         * manual/io.texi: Likewise.
80546         (File Name Portability): Detail which constraints are inapplicable
80547         to all GNU systems and which are only inapplicable to GNU/Hurd.
80548         * manual/job.texi: Likewise.
80549         * manual/llio.texi: Likewise.
80550         (O_NOCTTY): Document as present on GNU/Linux.
80551         * manual/maint.texi: Likewise.
80552         * manual/memory.texi: Likewise.
80553         * manual/pattern.texi: Likewise.
80554         * manual/pipe.texi: Likewise.
80555         * manual/process.texi: Likewise.
80556         * manual/resource.texi: Likewise.
80557         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80558         child on GNU/Hurd.
80559         * manual/setjmp.texi: Likewise.
80560         * manual/signal.texi: Likewise.
80561         * manual/startup.texi: Likewise.
80562         * manual/stdio.texi: Likewise.
80563         * manual/terminal.texi: Likewise.
80564         (ONLCR): Document as POSIX.
80565         (OXTABS): Document availability on GNU/Linux as XTABS.
80566         (ONOEOT): Document availability separately from other bits.
80567         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80568         * manual/time.texi: Likewise.
80569         * manual/users.texi: Likewise.
80570         * INSTALL: Regenerated.
80571         * sysdeps/gnu/errlist.c: Regenerated.
80573         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80574         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80575         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80576         puts.
80577         * configure: Regenerated.
80579 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80581         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80582         default includes instead of AC_HEADER_CHECK.
80583         * sysdeps/i386/configure: Regenerated.
80585         [BZ #10716]
80586         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80587         * math/s_cacoshf.c (__cacoshf): Likewise.
80588         * math/s_cacoshl.c (__cacoshl): Likewise.
80589         * math/s_casinh.c (__casinh): Set signs of result from argument.
80590         * math/s_casinhf.c (__casinhf): Likewise.
80591         * math/s_casinhl.c (__casinhl): Likewise.
80592         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80593         (casinh_test): Add more tests.
80594         * sysdeps/i386/fpu/libm-test-ulps: Update.
80595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80597 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80599         * po/zh_TW.po: Update from translation team.
80601         * login/Makefile (distribute): Remove variable.
80602         * catgets/Makefile: Likewise.
80603         * mach/Makefile: Likewise.
80604         * malloc/Makefile: Likewise.
80605         * misc/Makefile: Likewise.
80606         * iconv/Makefile: Likewise.
80607         * nscd/Makefile: Likewise.
80608         * hurd/Makefile: Likewise.
80609         * manual/Makefile: Likewise.
80610         * locale/Makefile: Likewise.
80611         * intl/Makefile: Likewise.
80612         * conform/Makefile: Likewise.
80613         * nss/Makefile: Likewise.
80614         * time/Makefile: Likewise.
80615         * soft-fp/Makefile: Likewise.
80616         * dirent/Makefile: Likewise.
80617         * gmon/Makefile: Likewise.
80618         * po/Makefile: Likewise.
80619         * rt/Makefile: Likewise.
80620         * socket/Makefile: Likewise.
80621         * math/Makefile: Likewise.
80622         * signal/Makefile: Likewise.
80623         * debug/Makefile: Likewise.
80624         * elf/Makefile: Likewise.
80625         * timezone/Makefile: Likewise.
80626         * stdlib/Makefile: Likewise.
80627         * iconvdata/Makefile: Likewise.
80628         * sunrpc/Makefile: Likewise.
80629         * io/Makefile: Likewise.
80630         * argp/Makefile: Likewise.
80631         * inet/Makefile: Likewise.
80632         * hesiod/Makefile: Likewise.
80633         * grp/Makefile: Likewise.
80634         * csu/Makefile: Likewise.
80635         * wctype/Makefile: Likewise.
80636         * crypt/Makefile: Likewise.
80637         * libio/Makefile: Likewise.
80638         * string/Makefile: Likewise.
80639         * nis/Makefile: Likewise.
80640         * resolv/Makefile: Likewise.
80641         * stdio-common/Makefile: Likewise.
80642         * wcsmbs/Makefile: Likewise.
80643         * dlfcn/Makefile: Likewise.
80644         * posix/Makefile: Likewise.
80646         [BZ #6959]
80647         * timezone/Makefile: Don't install timezone files, just the programs
80648         and scripts.
80650 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80652         * nss/databases.def: Add missing gshadow entry.
80654         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80656 2012-03-06  Marek Polacek  <polacek@redhat.com>
80658         [BZ #13726]
80659         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80660         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80661         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80662         * stdio-common/tst-long-dbl-fphex.c: New file.
80664 2012-03-06  David S. Miller  <davem@davemloft.net>
80666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80667         (set_obp_int): New function.
80668         (get_obp_int): New function.
80669         (__get_clockfreq_via_dev_openprom): Likewise.
80670         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80671         Avoid unused variable warnings on 'val' and use builtin_expect.
80672         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80673         __builtin_expect.
80674         (INLINE_CLONE_SYSCALL): Likewise.
80676 2012-03-05  David S. Miller  <davem@davemloft.net>
80678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80680 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80685         only for |x| >= 40.
80686         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80688 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80691         Replace gettimeofday with __vdso_gettimeofday.
80693         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80694         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80695         __vdso_clock_gettime and __vdso_getcpu.
80697         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80698         time with __vdso_time.
80700 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80702         * manual/lang.texi (size_t): Note types to which size_t may be
80703         equivalent with the GNU C Library, but do not describe when
80704         differences between them are significant.
80706 2012-03-05  Andreas Jaeger  <aj@suse.de>
80708         * sysdeps/i386/fpu/libm-test-ulps: Update.
80710 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80712         [BZ #3976]
80713         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80714         (__ieee754_pow): Save and restore rounding mode and use
80715         round-to-nearest for main computations.
80716         * math/libm-test.inc (pow_test_tonearest): New function.
80717         (pow_test_towardzero): Likewise.
80718         (pow_test_downward): Likewise.
80719         (pow_test_upward): Likewise.
80720         (main): Call the new functions.
80721         * sysdeps/i386/fpu/libm-test-ulps: Update.
80722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80724         [BZ #3976]
80725         * math/libm-test.inc (cosh_test_tonearest): New function.
80726         (cosh_test_towardzero): Likewise.
80727         (cosh_test_downward): Likewise.
80728         (cosh_test_upward): Likewise.
80729         (sinh_test_tonearest): Likewise.
80730         (sinh_test_towardzero): Likewise.
80731         (sinh_test_downward): Likewise.
80732         (sinh_test_upward): Likewise.
80733         (main): Call the new functions.
80734         * sysdeps/i386/fpu/libm-test-ulps: Update.
80735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80737 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80739         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80740         default stack guard is set in last bytes.
80741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80743 2012-03-05  Kees Cook  <keescook@chromium.org>
80745         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80747         [BZ #13656]
80748         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80749         possibly allocate from heap instead of stack.
80750         * stdio-common/bug-vfprintf-nargs.c: New file.
80751         * stdio-common/Makefile (tests): Add nargs overflow test.
80753 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80757 2012-03-03  Marek Polacek  <polacek@redhat.com>
80759         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80760         * math/math_private.h: Likewise.
80761         * stdlib/tst-strtod.c: Likewise.
80762         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80763         * sysdeps/x86_64/bits/atomic.h: Likewise.
80765 2012-03-02  David S. Miller  <davem@davemloft.net>
80767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80771         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80772         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80773         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80774         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80776 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80778         [BZ #13792]
80779         * manual/examples/README: New file, says the example source files
80780         can be used under GPL>=2.
80781         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80782         line containing just "*/".
80783         * manual/examples/add.c: Add copyright header (GPL>=2).
80784         * manual/examples/argp-ex1.c: Likewise.
80785         * manual/examples/argp-ex2.c: Likewise.
80786         * manual/examples/argp-ex3.c: Likewise.
80787         * manual/examples/argp-ex4.c: Likewise.
80788         * manual/examples/atexit.c: Likewise.
80789         * manual/examples/db.c: Likewise.
80790         * manual/examples/dir.c: Likewise.
80791         * manual/examples/dir2.c: Likewise.
80792         * manual/examples/execinfo.c: Likewise.
80793         * manual/examples/filecli.c: Likewise.
80794         * manual/examples/filesrv.c: Likewise.
80795         * manual/examples/fmtmsgexpl.c: Likewise.
80796         * manual/examples/genpass.c: Likewise.
80797         * manual/examples/inetcli.c: Likewise.
80798         * manual/examples/inetsrv.c: Likewise.
80799         * manual/examples/isockad.c: Likewise.
80800         * manual/examples/longopt.c: Likewise.
80801         * manual/examples/memopen.c: Likewise.
80802         * manual/examples/memstrm.c: Likewise.
80803         * manual/examples/mkfsock.c: Likewise.
80804         * manual/examples/mkisock.c: Likewise.
80805         * manual/examples/mygetpass.c: Likewise.
80806         * manual/examples/pipe.c: Likewise.
80807         * manual/examples/popen.c: Likewise.
80808         * manual/examples/rprintf.c: Likewise.
80809         * manual/examples/search.c: Likewise.
80810         * manual/examples/select.c: Likewise.
80811         * manual/examples/setjmp.c: Likewise.
80812         * manual/examples/sigh1.c: Likewise.
80813         * manual/examples/sigusr.c: Likewise.
80814         * manual/examples/stpcpy.c: Likewise.
80815         * manual/examples/strdupa.c: Likewise.
80816         * manual/examples/strftim.c: Likewise.
80817         * manual/examples/strncat.c: Likewise.
80818         * manual/examples/subopt.c: Likewise.
80819         * manual/examples/swapcontext.c: Likewise.
80820         * manual/examples/termios.c: Likewise.
80821         * manual/examples/testopt.c: Likewise.
80822         * manual/examples/testpass.c: Likewise.
80823         * manual/examples/timeval_subtract.c: Likewise.
80825         [BZ #13792]
80826         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80827         function to ...
80828         * manual/timeval_subtract.c.texi: ... here, new file.
80830 2012-03-02  David S. Miller  <davem@davemloft.net>
80832         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80834 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80836         [BZ #3976]
80837         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80838         (__sin): Save and restore rounding mode and use round-to-nearest
80839         for all computations.
80840         (__cos): Save and restore rounding mode and use round-to-nearest
80841         for all computations.
80842         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80843         <fenv.h>.
80844         (tan): Save and restore rounding mode and use round-to-nearest for
80845         all computations.
80846         * math/libm-test.inc (cos_test_tonearest): New function.
80847         (cos_test_towardzero): Likewise.
80848         (cos_test_downward): Likewise.
80849         (cos_test_upward): Likewise.
80850         (sin_test_tonearest): Likewise.
80851         (sin_test_towardzero): Likewise.
80852         (sin_test_downward): Likewise.
80853         (sin_test_upward): Likewise.
80854         (tan_test_tonearest): Likewise.
80855         (tan_test_towardzero): Likewise.
80856         (tan_test_downward): Likewise.
80857         (tan_test_upward): Likewise.
80858         (main): Call the new functions.
80859         * sysdeps/i386/fpu/libm-test-ulps: Update.
80860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80862         [BZ #10135]
80863         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80864         small n, then large n, before computing and testing k+n.
80865         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80866         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80867         Likewise.
80868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80869         Likewise.
80870         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80871         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80872         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80873         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80874         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80875         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80876         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80877         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80878         * math/libm-test.inc (scalbn_test): Add more tests.
80879         (scalbln_test): Likewise.
80881         * manual/filesys.texi (mode_t): Describe constraints on size and
80882         signedness, not exact equivalence to a particular type.
80883         (ino_t): Likewise.
80884         (ino64_t): Likewise.
80885         (dev_t): Likewise.
80886         (nlink_t): Likewise.
80887         (blkcnt_t): Likewise.
80888         (blkcnt64_t): Likewise.
80889         * manual/llio.texi (off_t): Likewise.
80891         [BZ #3976]
80892         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80893         (__ieee754_exp): Save and restore rounding mode and use
80894         round-to-nearest for all computations.
80895         * math/libm-test.inc (exp_test_tonearest): New function.
80896         (exp_test_towardzero): Likewise.
80897         (exp_test_downward): Likewise.
80898         (exp_test_upward): Likewise.
80899         (main): Call the new functions.
80900         * sysdeps/i386/fpu/libm-test-ulps: Update.
80901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80903 2012-03-01  Chris Demetriou  <cgd@google.com>
80905         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80906         have predictable order.
80908 2012-03-01  David S. Miller  <davem@davemloft.net>
80910         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80912         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80913         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80914         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80915         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80917         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80918         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80919         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80921         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80922         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80923         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80924         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80925         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80930         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80931         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80933         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80935         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80936         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80937         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80940         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80941         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80942         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80943         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80944         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80946         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80949         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80950         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80951         * sysdeps/sparc/elf/configure: Regenerated.
80953 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80955         * configure.in (AS, LD): Require binutils 2.20 or later.
80956         * configure: Regenerated.
80957         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80958         as required minimum version.
80959         * INSTALL: Regenerated.
80961         [BZ #2541]
80962         [BZ #4108]
80963         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80964         before squaring exponent.
80965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80966         bottom long double and 27 bits of top long double before squaring
80967         exponent.
80968         * math/libm-test.inc (erfc_test): Add more tests.
80969         * sysdeps/i386/fpu/libm-test-ulps: Update.
80970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80973 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80975         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80976         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80977         containing bit-fields.
80978         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80979         * soft-fp/single.h (_FP_UNION_S): Likewise.
80980         * soft-fp/double.h (_FP_UNION_D): Likewise.
80982 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80984         [BZ #13786]
80985         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80986         not include ../strcmp.S.
80987         [USE_AS_STRNCASECMP_L]: Likewise.
80988         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80989         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80990         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80991         (__strncasecmp_l_ia32): Define as alias to
80992         __strncasecmp_l_nonascii.
80994         [BZ #5794]
80995         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80996         * sysdeps/i386/fpu/libm-test-ulps: Update.
80997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80999         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81002 2012-02-29  Jeff Law  <law@redhat.com>
81004         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81005         out of bounds read.
81007 2012-02-29  Marek Polacek  <polacek@redhat.com>
81009         [BZ #13706]
81010         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81011         * elf/Makefile: Add rules to run tst-unused-dep.out.
81013 2012-02-28  David S. Miller  <davem@davemloft.net>
81015         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81016         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81017         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81018         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81019         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81020         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81022 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81024         * math/libm-test.inc (llround_test): Move one test from
81025         lround_test.  Use TEST_f_L in moved test.
81026         (lround_test): Move misplaced test to llround_test.  Add testcase
81027         from bug 2561.
81029 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81031         * sysdeps/x86_64/fpu/e_expf.S: New file.
81032         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81034 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81036         [BZ #13637]
81037         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81038         of remain_len that may cause incomplete multi-byte character and
81039         false match.
81040         * posix/bug-regex33.c: New file.
81041         * posix/Makefile (tests): Add bug-regex33.
81043 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81045         * manual/macros.texi: New file.
81046         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81047         * manual/libc.texinfo: Include macros.texi.
81048         * manual/creatute.texi: Likewise.
81049         * manual/install.texi: Likewise.
81050         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81051         @glibcadj{} in references to the GNU C Library.
81052         * manual/charset.texi: Likewise.
81053         * manual/conf.texi: Likewise.
81054         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81055         when not using those macros.
81056         * manual/creature.texi: Likewise.
81057         * manual/crypt.texi: Likewise.
81058         * manual/errno.texi: Likewise.
81059         * manual/filesys.texi: Likewise.
81060         * manual/header.texi: Likewise.
81061         * manual/install.texi: Likewise.
81062         * manual/intro.texi: Likewise.
81063         * manual/io.texi: Likewise.
81064         * manual/job.texi: Likewise.
81065         * manual/lang.texi: Likewise.
81066         * manual/libc.texiinfo: Likewise.
81067         * manual/llio.texi: Likewise.
81068         * manual/locale.texi: Likewise.
81069         * manual/maint.texi: Likewise.
81070         * manual/math.texi: Likewise.
81071         * manual/memory.texi: Likewise.
81072         * manual/message.texi: Likewise.
81073         * manual/nss.texi: Likewise.
81074         * manual/pattern.texi: Likewise.
81075         * manual/process.texi: Likewise.
81076         * manual/resource.texi: Likewise.
81077         * manual/search.texi: Likewise.
81078         * manual/setjmp.texi: Likewise.
81079         * manual/signal.texi: Likewise.
81080         * manual/socket.texi: Likewise.
81081         * manual/startup.texi: Likewise.
81082         * manual/stdio.texi: Likewise.
81083         * manual/string.texi: Likewise.
81084         * manual/sysinfo.texi: Likewise.
81085         * manual/syslog.texi: Likewise.
81086         * manual/terminal.texi: Likewise.
81087         * manual/time.texi: Likewise.
81088         * manual/users.texi: Likewise.
81089         * INSTALL: Regenerated.
81090         * NOTES: Regenerated.
81091         * sysdeps/gnu/errlist.c: Regenerated.
81093 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81095         * include/dirent.h: Include <dirstream.h> before
81096         <dirent/dirent.h>.
81098 2012-02-28  David S. Miller  <davem@davemloft.net>
81100         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81101         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81102         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81103         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81105 2012-02-27  David S. Miller  <davem@davemloft.net>
81107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81109         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81110         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81113         frame pointer instead of stack pointer relative arg slot.
81114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81118 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81120         [BZ #3992]
81121         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81123 2012-02-27  David S. Miller  <davem@davemloft.net>
81125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81129         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81130         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81131         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81132         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81134 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81136         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81137         later.  Allow versions 5-9.
81138         * configure: Regenerated.
81139         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81140         required minimum version and 4.6 as recommended version.  Do not
81141         mention bugs in GCC 2.7 and 2.8.
81142         * INSTALL: Regenerated.
81144 2012-02-27  David S. Miller  <davem@davemloft.net>
81146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81150         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81151         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81152         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81153         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81156         manipulate bits before adding and subtracting TWO112[sx].
81157         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81159 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81161         [BZ #13775]
81162         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81163         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81164         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81165         being in POSIX, because they are in 1003.1-2008.
81167         * rt/tst-aio.c: Include <fcntl.h>.
81168         * rt/tst-aio7.c: Likewise.
81169         * rt/tst-aio64.c: Likewise.
81171         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81173 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81175         * manual/install.texi (--with-headers): Describe headers as
81176         interface headers, not private headers.
81177         (Specific advice for GNU/Linux systems): Describe use of headers
81178         from "make headers_install", not private headers from older
81179         kernels.
81180         * INSTALL: Regenerated.
81181         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81182         Change to 2.6.19.
81183         * sysdeps/unix/sysv/linux/configure: Regenerated.
81185         * manual/llio.texi (fclean): Remove documentation.
81187         * manual/Makefile (libc-texi-generated): New variable.  Include
81188         version.texi.
81189         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81190         $(libc-texi-generated), not duplicated list of files.
81191         (version.texi, stamp-version): New rules.
81192         (realclean): Remove $(libc-texi-generated), not individual files
81193         from that list.  Do not remove dir-add.texinfo.
81194         * manual/libc.texinfo: Comment out uses of edition numbers and
81195         references to printed manual.  Remove last-updated dates.
81196         (EDITION): Comment out.
81197         (ISBN): Likewise.
81198         (VERSION, UPDATED): Remove.
81199         (version.texi): Include.
81201 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81203         * sysdeps/posix/spawni.c: Include <signal.h>.
81204         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81205         * sysdeps/pthread/aio_fsync.c: Likewise.
81207 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81209         * conform/Makefile (tests): Run only when not cross-compiling and
81210         when fast-check is not defined.
81212         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81213         * conform/data/limits.h-data: Fixes for POSIX2008.
81214         * conform/run-conformtest.sh: Run all tests.
81215         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81216         headers.
81217         * include/bits/dlfcn.h: Likewise.
81218         * include/langinfo.h: Likewise.
81219         * include/monetary.h: Likewise.
81220         * include/sys/poll.h: Likewise.
81222         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81223         for __USE_GNU.
81224         * posix/spawn.h: Define __need_sigset_t.
81225         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81226         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81227         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81228         to get sigevent_t only.
81229         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81230         only for __USE_GNU.
81231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81232         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81233         process_vm_writev only for __USE_GNU.
81234         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81236         * conform/Makefile: For now ignore errors from run-conformtest.
81237         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81238         POSIX to avoid namespace pollution.  Don't prepend headers.
81239         * conform/data/aio.h-data: Fixes for POSIX testing.
81240         * conform/data/fcntl.h-data: Likewise.
81241         * conform/data/glob.h-data: Likewise.
81242         * conform/data/grp.h-data: Likewise.
81243         * conform/data/pthread.h-data: Likewise.
81244         * conform/data/pwd.h-data: Likewise.
81245         * conform/data/signal.h-data: Likewise.
81246         * conform/data/spawn.h-data: Likewise.
81247         * conform/data/stdio.h-data: Likewise.
81248         * conform/data/stdlib.h-data: Likewise.
81249         * conform/data/stropts.h-data: Likewise.
81250         * conform/data/sys/mman.h-data: Likewise.
81251         * conform/data/sys/stat.h-data: Likewise.
81252         * conform/data/sys/types.h-data: Likewise.
81253         * conform/data/sys/wait.h-data: Likewise.
81254         * conform/data/time.h-data: Likewise.
81255         * conform/data/unistd.h-data: Likewise.
81256         * conform/data/utime.h-data: Likewise.
81258         * io/sys/stat.h: fchmod was always in POSIX.
81259         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81260         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81261         * rt/aio.h: Define __need_timespec before including <time.h>.
81262         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81263         struct.  Add forward declaration of pthread_attr_t and use it in
81264         sigevent.
81265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81267         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81268         always remove CLK_TCK definition.
81270 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81272         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81274 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81276         * conform/run-conformtest.sh: New file.
81277         * conform/Makefile: Run run-conformtest for tests.
81278         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81279         support.
81281         * conform/data/uchar.h-data: New file.
81282         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81283         * conform/data/arpa/inet.h-data: Likewise.
81284         * conform/data/assert.h-data: Likewise.
81285         * conform/data/complex.h-data: Likewise.
81286         * conform/data/cpio.h-data: Likewise.
81287         * conform/data/ctype.h-data: Likewise.
81288         * conform/data/dirent.h-data: Likewise.
81289         * conform/data/dlfcn.h-data: Likewise.
81290         * conform/data/errno.h-data: Likewise.
81291         * conform/data/fcntl.h-data: Likewise.
81292         * conform/data/float.h-data: Likewise.
81293         * conform/data/fmtmsg.h-data: Likewise.
81294         * conform/data/fnmatch.h-data: Likewise.
81295         * conform/data/ftw.h-data: Likewise.
81296         * conform/data/glob.h-data: Likewise.
81297         * conform/data/grp.h-data: Likewise.
81298         * conform/data/iconv.h-data: Likewise.
81299         * conform/data/inttypes.h-data: Likewise.
81300         * conform/data/langinfo.h-data: Likewise.
81301         * conform/data/libgen.h-data: Likewise.
81302         * conform/data/limits.h-data: Likewise.
81303         * conform/data/locale.h-data: Likewise.
81304         * conform/data/math.h-data: Likewise.
81305         * conform/data/monetary.h-data: Likewise.
81306         * conform/data/mqueue.h-data: Likewise.
81307         * conform/data/ndbm.h-data: Likewise.
81308         * conform/data/net/if.h-data: Likewise.
81309         * conform/data/netdb.h-data: Likewise.
81310         * conform/data/netinet/in.h-data: Likewise.
81311         * conform/data/nl_types.h-data: Likewise.
81312         * conform/data/poll.h-data: Likewise.
81313         * conform/data/pthread.h-data: Likewise.
81314         * conform/data/pwd.h-data: Likewise.
81315         * conform/data/regex.h-data: Likewise.
81316         * conform/data/sched.h-data: Likewise.
81317         * conform/data/search.h-data: Likewise.
81318         * conform/data/semaphore.h-data: Likewise.
81319         * conform/data/setjmp.h-data: Likewise.
81320         * conform/data/signal.h-data: Likewise.
81321         * conform/data/spawn.h-data: Likewise.
81322         * conform/data/stdarg.h-data: Likewise.
81323         * conform/data/stdio.h-data: Likewise.
81324         * conform/data/stdlib.h-data: Likewise.
81325         * conform/data/string.h-data: Likewise.
81326         * conform/data/strings.h-data: Likewise.
81327         * conform/data/stropts.h-data: Likewise.
81328         * conform/data/sys/ipc.h-data: Likewise.
81329         * conform/data/sys/mman.h-data: Likewise.
81330         * conform/data/sys/msg.h-data: Likewise.
81331         * conform/data/sys/resource.h-data: Likewise.
81332         * conform/data/sys/select.h-data: Likewise.
81333         * conform/data/sys/sem.h-data: Likewise.
81334         * conform/data/sys/shm.h-data: Likewise.
81335         * conform/data/sys/socket.h-data: Likewise.
81336         * conform/data/sys/stat.h-data: Likewise.
81337         * conform/data/sys/statvfs.h-data: Likewise.
81338         * conform/data/sys/time.h-data: Likewise.
81339         * conform/data/sys/timeb.h-data: Likewise.
81340         * conform/data/sys/times.h-data: Likewise.
81341         * conform/data/sys/types.h-data: Likewise.
81342         * conform/data/sys/uio.h-data: Likewise.
81343         * conform/data/sys/un.h-data: Likewise.
81344         * conform/data/sys/utsname.h-data: Likewise.
81345         * conform/data/sys/wait.h-data: Likewise.
81346         * conform/data/syslog.h-data: Likewise.
81347         * conform/data/tar.h-data: Likewise.
81348         * conform/data/termios.h-data: Likewise.
81349         * conform/data/utime.h-data: Likewise.
81350         * conform/data/utmpx.h-data: Likewise.
81351         * conform/data/varargs.h-data: Likewise.
81352         * conform/data/wchar.h-data: Likewise.
81353         * conform/data/wctype.h-data: Likewise.
81354         * conform/data/wordexp.h-data: Likewise.
81356         * include/stropts.h: New file.
81357         * include/uchar.h: New file.
81358         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81359         * include/assert.h: Likewise.
81360         * include/ctype.h: Likewise.
81361         * include/dirent.h: Likewise.
81362         * include/dlfcn.h: Likewise.
81363         * include/fcntl.h: Likewise.
81364         * include/fnmatch.h: Likewise.
81365         * include/glob.h: Likewise.
81366         * include/grp.h: Likewise.
81367         * include/libio.h: Likewise.
81368         * include/locale.h: Likewise.
81369         * include/math.h: Likewise.
81370         * include/net/if.h: Likewise.
81371         * include/netdb.h: Likewise.
81372         * include/netinet/in.h: Likewise.
81373         * include/pthread.h: Likewise.
81374         * include/pwd.h: Likewise.
81375         * include/regex.h: Likewise.
81376         * include/sched.h: Likewise.
81377         * include/search.h: Likewise.
81378         * include/setjmp.h: Likewise.
81379         * include/signal.h: Likewise.
81380         * include/stdio.h: Likewise.
81381         * include/stdlib.h: Likewise.
81382         * include/string.h: Likewise.
81383         * include/sys/cdefs.h: Likewise.
81384         * include/sys/mman.h: Likewise.
81385         * include/sys/msg.h: Likewise.
81386         * include/sys/resource.h: Likewise.
81387         * include/sys/select.h: Likewise.
81388         * include/sys/socket.h: Likewise.
81389         * include/sys/stat.h: Likewise.
81390         * include/sys/statvfs.h: Likewise.
81391         * include/sys/time.h: Likewise.
81392         * include/sys/times.h: Likewise.
81393         * include/sys/uio.h: Likewise.
81394         * include/sys/utsname.h: Likewise.
81395         * include/sys/wait.h: Likewise.
81396         * include/termios.h: Likewise.
81397         * include/time.h: Likewise.
81398         * include/ulimit.h: Likewise.
81399         * include/unistd.h: Likewise.
81400         * include/utime.h: Likewise.
81401         * include/wchar.h: Likewise.
81402         * include/wctype.h: Likewise.
81403         * include/wordexp.h: Likewise.
81405         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81407         * time/time.h: TIME_UTC must be a macro.
81408         Make timespec_get available for ISO C11 only as well.
81410 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81412         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81413         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81415 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81417         * configure.in: Use -o not -a in test for unsupported multi-arch.
81419 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81421         * manual/texinfo.tex: Update to version 2012-01-19.16.
81423 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81425         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81427 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81429         [BZ #13738]
81430         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81431         * manual/fdl-1.3.texi: New file.
81432         * manual/fdl-1.1.texi: File removed.
81434         [BZ #13738]
81435         * manual/libc.texinfo (FDL_VERSION): New @set.
81436         Use it for mention of FDL in cover text.
81437         (Documentation License): Use it in @include file name.
81439 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81440             Roland McGrath  <roland@hack.frob.com>
81442         [BZ #5461]
81443         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81444         (not LONG_LONG_MAX and LONG_LONG_MIN.
81445         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81446         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81447         name.
81448         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81450 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81452         [BZ #2547]
81453         [BZ #11365]
81454         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81455         manipulate bits before adding and subtracting TWO23[sx].
81456         * math/libm-test.inc (nearbyint_test): Add more tests.
81458 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81460         [BZ #2548]
81461         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81462         bits before adding and subtracting TWO23[sx].
81463         * math/libm-test.inc (rint_test): Add more tests.
81464         (rint_test_tonearest): Likewise.
81465         (rint_test_towardzero): Likewise.
81466         (rint_test_downward): Likewise.
81467         (rint_test_upward: Likewise.
81469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81471         [BZ #10110]
81472         * include/stdc-predef.h: New file.  Extracted from features.h.
81473         * include/features.h: Include stdc-predef.h.
81474         * Makefile (headers): Add stdc-predef.h.
81475         * CONFORMANCE (Compiler limitations): Update.
81477 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81479         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81481 2012-02-21  David S. Miller  <davem@davemloft.net>
81483         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81484         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81486 2012-02-20  David S. Miller  <davem@davemloft.net>
81488         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81489         using a normal save/restore sequence, rather than allocating a
81490         dummy stack frame just to store a frame pointer and restore.
81491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81493 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81495         * manual/install.texi: Fix stray word in line-wrapped comment.
81497 2012-02-20  David S. Miller  <davem@davemloft.net>
81499         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81500         both binutils and gcc support GOTDATA.
81502         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81503         "rd %pc" in the PIC register setup sequences.
81505         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81506         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81507         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81508         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81509         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81512         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81514         (SYSCALL_ERROR_HANDLER): Likewise.
81515         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81516         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81518         (SYSCALL_ERROR_HANDLER): Likewise.
81520         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81521         (HAVE_GCC_GOTDATA): New.
81522         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81523         relocation support in both binutils and gcc.
81524         * sysdeps/sparc/elf/configure: Regenerate.
81526         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81527         * sysdeps/sparc/sparc32/elf/configure: Delete.
81528         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81529         * sysdeps/sparc/sparc64/elf/configure: Delete.
81530         * sysdeps/sparc/elf/configure.in: New file.
81531         * sysdeps/sparc/elf/configure: Generate.
81533         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81534         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81535         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81536         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81537         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81539 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81541         * manual/install.texi: Do not mention specific glibc version
81542         numbers.
81543         * manual/libc.texinfo (VERSION, UPDATED): Update.
81544         (@copying): Use @copyright{} and range of years.
81546 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81548         [BZ #13695]
81549         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81550         [crti.S not in sysdirs] (generated): Do not append.
81551         [crti.S not in sysdirs] (omit-deps): Likewise.
81552         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81553         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81554         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81555         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81556         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81557         Likewise.
81558         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81559         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81560         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81561         * csu/defs.awk: Remove file.
81562         * sysdeps/generic/initfini.c: Likewise.
81563         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81564         variable.
81565         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81566         Likewise.
81568 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81570         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81571         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81572         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81574         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81575         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81576         <bits/epoll.h>.
81577         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81578         (__EPOLL_PACKED): Define to empty if not defined by
81579         <bits/epoll.h>.
81580         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81582         bits/epoll.h.
81584 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81586         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81587         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81588         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81590         <bits/timerfd.h>.
81591         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81593         bits/timerfd.h.
81595 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81597         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81598         in C locale.
81599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81600         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81604 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81607         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81609 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81611         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81612         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81613         defined.
81614         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81615         Likewise.
81616         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81617         entry for 2.16.
81619 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81621         * math/w_acos.c: Use non-signaling floating-point comparisons.
81622         * math/w_acosf.c: Likewise.
81623         * math/w_acosh.c: Likewise.
81624         * math/w_acoshf.c: Likewise.
81625         * math/w_acoshl.c: Likewise.
81626         * math/w_acosl.c: Likewise.
81627         * math/w_asin.c: Likewise.
81628         * math/w_asinf.c: Likewise.
81629         * math/w_asinl.c: Likewise.
81630         * math/w_atanh.c: Likewise.
81631         * math/w_atanhf.c: Likewise.
81632         * math/w_atanhl.c: Likewise.
81633         * math/w_exp2.c: Likewise.
81634         * math/w_exp2f.c: Likewise.
81635         * math/w_exp2l.c: Likewise.
81636         * math/w_j0.c: Likewise.
81637         * math/w_j0f.c: Likewise.
81638         * math/w_j0l.c: Likewise.
81639         * math/w_j1.c: Likewise.
81640         * math/w_j1f.c: Likewise.
81641         * math/w_j1l.c: Likewise.
81642         * math/w_jn.c: Likewise.
81643         * math/w_jnf.c: Likewise.
81644         * math/w_log.c: Likewise.
81645         * math/w_log10.c: Likewise.
81646         * math/w_log10f.c: Likewise.
81647         * math/w_log10l.c: Likewise.
81648         * math/w_log2.c: Likewise.
81649         * math/w_log2f.c: Likewise.
81650         * math/w_log2l.c: Likewise.
81651         * math/w_logf.c: Likewise.
81652         * math/w_logl.c: Likewise.
81653         * math/w_sqrt.c: Likewise.
81654         * math/w_sqrtf.c: Likewise.
81655         * math/w_sqrtl.c: Likewise.
81656         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81657         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81659         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81660         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81662 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81664         [BZ #9739]
81665         * manual/string.texi (strnlen): Use correct parameter name in
81666         equivalent expression.
81668 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81670         [BZ #11174]
81671         * manual/users.texi (seteuid): Consistently use neweuid for
81672         argument name.
81674 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81676         [BZ #13704]
81677         * manual/nss.texi (Services in the NSS configuration): Correct
81678         list of services in example configuration file.
81680 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81682         [BZ #11322]
81683         * manual/arith.texi: Remove statements about negative zero
81684         behaving identically to zero.
81686 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81688         [BZ #5993]
81689         * manual/install.texi: Do not document upgrading from libc5.
81691 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81693         [BZ #4596]
81694         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81696 2012-02-18  David S. Miller  <davem@davemloft.net>
81698         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81699         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81700         %o7 across the call.
81701         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81702         instead.
81703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81704         SETUP_PIC_REG_LEAF.
81705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81706         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81707         * sysdeps/sparc/crtn.S: Likewise.
81709 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81711         * aout/Makefile: Remove.
81713 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81715         [BZ #13058]
81716         * manual/examples/argp-ex1.c (main): Format definition in GNU
81717         style.
81718         * manual/examples/argp-ex2.c (main): Likewise.
81719         * manual/examples/argp-ex3.c (main): Likewise.
81720         * manual/examples/argp-ex4.c (main): Likewise.
81721         * manual/examples/longopt.c (main): Use new-style prototype
81722         definition.
81723         * manual/examples/strncat.c (main): Specify return type and use
81724         (void) for arguments.
81725         * manual/examples/subopt.c (main): Use char **argv argument.
81727 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81729         [BZ #5077]
81730         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81731         rounding modes.
81733 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81735         [BZ #6907]
81736         * manual/string.texi (strchr): Change when strchrnul is
81737         recommended.
81739 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81741         [BZ #174]
81742         * manual/locale.texi (setlocale): Document LOCPATH.
81744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81746         [BZ #10210]
81747         * manual/process.texi (execle): Move @dots{} before last argument.
81749 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81751         [BZ #12047]
81752         * manual/charset.texi (Generic Charset Conversion): Fix typo
81753         (LC_TYPE -> LC_CTYPE).
81755 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81757         [BZ #5805]
81758         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81759         (scalbnf): Likewise.
81760         (scalbnl): Likewise.
81761         (scalbln): Likewise.
81762         (scalblnf): Likewise.
81763         (scalblnl): Likewise.
81764         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81765         (vwarnx): Likewise.
81766         (verr): Likewise.
81767         (verrx): Likewise.
81768         * manual/filesys.texi (telldir): Use braces around return type.
81769         * manual/llio.texi (mmap): Add space after comma.
81770         (mmap64): Likewise.
81771         * manual/math.texi (jn): Use @var{} on parameter names.
81772         (jnf): Likewise.
81773         (jnl): Likewise.
81774         (yn): Likewise.
81775         (ynf): Likewise.
81776         (ynl): Likewise.
81777         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81778         line.
81779         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81780         "...".
81781         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81782         (sched_get_priority_max): Likewise.
81783         * manual/signal.texi (sigvec): Add space after comma.
81784         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81785         names.
81786         (if_indextoname): Likewise.
81787         (if_freenameindex): Likewise.
81788         (sendto): Use ',' instead of '.' in prototype.
81789         * manual/startup.texi (syscall): Use @dots{} instead of literal
81790         "...".
81791         * manual/stdio.texi (__fpending): Separate initial words of
81792         paragraph from @deftypefun line.
81793         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81794         "...".
81795         (vsyslog): Use @var{} on parameter names.
81796         * manual/terminal.texi (stty): Use @var{} on parameter names.
81797         * manual/users.texi (getutmp): Use @var{} on parameter names.
81798         (getutmpx): Likewise.
81800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81802         [BZ #6884]
81803         * manual/stdio.texi (fopen): Fix typos in description of
81804         ",ccs=STRING".
81806 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81808         [BZ #4026]
81809         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81810         get clock_id definition.
81812 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81814         [BZ #4822]
81815         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81816         (madvise): Cast every argument to void on its own.
81818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81820         [BZ #9902]
81821         * manual/startup.texi (Exit Status): Fix typo.
81823 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81825         [BZ #10140]
81826         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81827         * manual/examples/argp-ex2.c: Likewise.
81828         * manual/examples/argp-ex3.c: Likewise.
81830 2012-02-16  Richard Henderson  <rth@redhat.com>
81832         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81833         * sysdeps/s390/s390-32/initfini.c: Remove.
81834         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81835         * sysdeps/s390/s390-64/initfini.c: Remove.
81837 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81839         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81840         compiler output for sysdeps/generic/initfini.c.
81841         * sysdeps/sh/elf/initfini.c: Remove file.
81843 2012-02-16  David S. Miller  <davem@davemloft.net>
81845         [BZ #11494]
81846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81848         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81849         * sysdeps/sparc/crti.S: New file.
81850         * sysdeps/sparc/crtn.S: New file.
81851         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81852         * sysdeps/sparc/sparc64/Makefile: Likewise.
81854 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81856         [BZ #3335]
81857         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81859 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81861         [BZ #4822]
81862         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81864         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81865         (write, read, close): Likewise.
81866         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81868 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81870         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81871         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81872         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81873         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81874         <bits/signalfd.h>.
81875         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81877         bits/signalfd.h.
81879 2012-02-14  Marek Polacek  <polacek@redhat.com>
81881         * sysdeps/x86_64/crti.S: New file.
81882         * sysdeps/x86_64/crtn.S: New file.
81883         * sysdeps/x86_64/elf/initfini.c: Remove file.
81885 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81887         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81888         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81889         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81890         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81891         <bits/inotify.h>.
81892         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81894         bits/inotify.h.
81896 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81898         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81899         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81900         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81901         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81902         <bits/eventfd.h>.
81903         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81905         bits/eventfd.h.
81907 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81909         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81910         __feraiseexcept instead of feraiseexcept.
81912         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81913         nanosleep invocations.
81914         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81915         strings, and add error checking for a nanosleep invocations.
81917 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81919         Replace FSF snail mail address with URLs, as per GNU coding standards.
81920         Most of the snail mail addresses were wrong anyway, and omitting
81921         them makes the source code easier to maintain.  Almost all of the
81922         changes are to license notices and to locale LC_IDENTIFICATION
81923         addresses, except for this one:
81924         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81925         not its snail mail address.
81927 2012-02-09  Richard Henderson  <rth@twiddle.net>
81929         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81930         of kernel-features.h.
81932         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81934 2012-02-08  Marek Polacek  <polacek@redhat.com>
81936         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81937         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81938         * sysdeps/gnu/_G_config.h: Likewise.
81939         * sysdeps/generic/_G_config.h: Likewise.
81941 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81943         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81944         tests.
81945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81947         * sysdeps/powerpc/powerpc32/crti.S: New file.
81948         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81949         * sysdeps/powerpc/powerpc64/crti.S: New file.
81950         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81952         * Makeconfig (have-initfini): Don't set.
81953         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81954         * configure.in (nopic_initfini): Don't substitute.
81955         * config.h.in (HAVE_INITFINI): Don't #undef.
81956         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81957         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81959 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81961         Support crti.S and crtn.S provided directly by architectures.
81962         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81963         [crti.S in sysdirs] (omit-deps): Likewise.
81964         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81965         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81966         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81967         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81968         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81969         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81970         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81971         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81972         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81973         compiler output for sysdeps/generic/initfini.c.
81974         * sysdeps/i386/elf/Makefile: Remove file.
81975         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81977 2012-02-07  Marek Polacek  <polacek@redhat.com>
81979         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81980         * sysdeps/gnu/_G_config.h: Likewise.
81981         * sysdeps/mach/hurd/_G_config.h: Likewise.
81983 2012-02-07  Marek Polacek  <polacek@redhat.com>
81985         * math/Makefile (tests): Add tst-CMPLX2.
81986         * math/tst-CMPLX2.c: New file.
81988 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81990         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81992         * math/libm-test.inc (jn_test): Add missing L suffix.
81994 2012-02-06  Marek Polacek  <polacek@redhat.com>
81996         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81997         * sysdeps/i386/fpu/e_powf.S: Likewise.
81998         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81999         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82000         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82001         * sysdeps/i386/fpu/e_pow.S: Likewise.
82002         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82003         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82004         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82005         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82006         * sysdeps/i386/fpu/e_log2.S: Likewise.
82007         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82008         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82009         * sysdeps/i386/fpu/e_powl.S: Likewise.
82010         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82011         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82012         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82013         * sysdeps/i386/fpu/e_logl.S: Likewise.
82014         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82015         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82016         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82017         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82019         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82020         * sysdeps/i386/fpu/e_log.S: Likewise.
82021         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82023         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82024         * sysdeps/i386/fpu/e_logf.S: Likewise.
82025         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82026         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82027         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82028         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82029         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82030         * sysdeps/i386/fpu/e_log10.S: Likewise.
82031         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82032         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82033         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82034         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82035         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82036         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82037         * sysdeps/i386/asm-syntax.h: Likewise.
82038         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82039         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82040         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82041         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82042         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82044         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82045         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82047         * sysdeps/powerpc/sysdep.h: Likewise.
82048         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82049         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82051 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82053         [BZ #411]
82054         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82056 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82058         * sysdeps/i386/sysdep.h: Include <features.h>.
82059         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82060         version.
82062 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82064         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82065         Define.
82066         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82067         LOAD_PIC_REG_STR.
82069 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82071         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82072         (SETUP_PIC_REG): Use GET_PC_THUNK.
82073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82074         macro.
82076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82078         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82079         for non-PIC compilation.
82080         (SETUP_PIC_REG): Add .p2align directive.
82081         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82082         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82083         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82084         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82085         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82089         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82090         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82091         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82092         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82093         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82094         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82095         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82096         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82097         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82101         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82102         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82103         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82109         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82110         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82111         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82114         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82115         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82117         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82118         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82119         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82120         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82121         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82125         * math/tst-CMPLX.c: Include <stdio.h>.
82127 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82129         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82130         float.
82131         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82132         * sysdeps/sparc/bits/mathdef.h: Likewise.
82134 2012-01-31  Marek Polacek  <polacek@redhat.com>
82136         * libio/libio.h: Don't define _PARAMS.
82137         * locale/programs/config.h: Don't define PARAMS.
82138         * stdlib/strtol_l.c: Likewise.
82139         (__strtol_l): Remove PARAMS from the prototype.
82141 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82143         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82144         names.  Just use the correct names.  Remove unnecessary wrapper
82145         functions.
82146         * malloc/arena.c: Likewise.
82147         * malloc/hooks.c: Likewise.
82149         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82150         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82151         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82153 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82155         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82156         into tail calls.
82157         (update_get_addr): New function.
82158         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82159         GET_ADDR_MODULE parameter.
82161 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82163         * crypt/cert.c: Remove __STDC__ conditionals.
82164         * crypt/crypt-entry.c: Likewise.
82165         * crypt/crypt_util.c: Likewise.
82166         * libio/filedoalloc.c: Likewise.
82167         * libio/fileops.c: Likewise.
82168         * libio/genops.c: Likewise.
82169         * libio/iofclose.c: Likewise.
82170         * libio/iofdopen.c: Likewise.
82171         * libio/iofopen.c: Likewise.
82172         * libio/iofopen64.c: Likewise.
82173         * libio/iogetdelim.c: Likewise.
82174         * libio/iopopen.c: Likewise.
82175         * libio/obprintf.c: Likewise.
82176         * libio/oldfileops.c: Likewise.
82177         * libio/oldiofclose.c: Likewise.
82178         * libio/oldiofdopen.c: Likewise.
82179         * libio/oldiofopen.c: Likewise.
82180         * libio/oldiopopen.c: Likewise.
82181         * libio/wfiledoalloc.c: Likewise.
82182         * libio/wgenops.c: Likewise.
82183         * locale/programs/xmalloc.c: Likewise.
82184         * misc/syslog.c: Likewise.
82185         * stdio-common/xbug.c: Likewise.
82186         * string/memchr.c: Likewise.
82187         * string/memcmp.c: Likewise.
82188         * string/memrchr.c: Likewise.
82189         * string/rawmemchr.c: Likewise.
82190         * sysdeps/posix/getcwd.c: Likewise.
82191         * time/strftime_l.c: Likewise.
82193 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82195         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82196         * config.make.in (config-cflags-sse2avx): Define.
82197         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82198         Fix typo.
82200 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82202         * scripts/config.guess: Update from upstream config git repository.
82203         * scripts/config.sub: Likewise.
82205 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82207         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82208         (EM_NUM): Update.
82209         (R_TILEPRO_*, R_TILEGX_*): New macros.
82211         * scripts/firstversions.awk: Fix bug in version range handling.
82213         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82215         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82217         * include/sys/epoll.h: New file.
82218         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82219         libc_hidden_def.
82221 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82223         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82224         Avoid unnecessary __WORDSIZE == 64 test.
82225         (fmaxf): Use VEX format if possible.
82226         (fmax): Likewise.
82227         (fminf): Likewise.
82228         (fmin): Likewise.
82230         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82231         * math/math_private.h: Remove libc_fegetround* and
82232         libc_fesetround*.
82233         * sysdeps/i386/configure.in: Check for -msse2avx.
82234         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82235         also if SSE2AVX is defined.
82236         Remove libc_fegetround* and libc_fesetround*.
82237         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82238         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82240         of HAS_YMM_USABLE.
82241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82242         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82243         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82244         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82245         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82247         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82249 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82251         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82252         size is not set.
82253         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82255 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82257         [BZ #13618]
82258         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82259         relocation.
82260         * Makeconfig (libm): Define.
82261         * elf/Makefile: Add rules to build and run tst-relsort1.
82262         * elf/tst-relsort1.c: New file.
82263         * elf/tst-relsort1mod1.c: New file.
82264         * elf/tst-relsort1mod2.c: New file.
82266 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82268         * math/s_ldexp.c: Remove __STDC__ conditionals.
82269         * math/s_ldexpf.c: Likewise.
82270         * math/s_ldexpl.c: Likewise.
82271         * math/s_nextafter.c: Likewise.
82272         * math/s_nexttowardf.c: Likewise.
82273         * math/s_significand.c: Likewise.
82274         * math/s_significandf.c: Likewise.
82275         * math/s_significandl.c: Likewise.
82276         * math/w_jnl.c: Likewise.
82277         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82278         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82279         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82280         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82281         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82283         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82284         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82285         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82286         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82287         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82288         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82289         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82290         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82291         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82292         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82294         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82296         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82297         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82298         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82299         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82300         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82301         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82302         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82303         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82304         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82305         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82306         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82307         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82308         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82309         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82310         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82311         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82312         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82313         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82314         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82315         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82316         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82317         * sysdeps/ieee754/k_standard.c: Likewise.
82318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82320         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82321         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82322         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82323         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82324         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82326         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82327         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82328         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82329         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82330         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82331         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82332         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82334         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82337         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82340         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82341         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82342         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82343         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82344         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82345         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82347         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82348         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82349         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82350         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82351         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82353         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82354         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82357         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82358         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82360         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82361         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82363         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82367         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82368         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82371         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82372         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82373         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82375         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82378         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82379         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82380         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82382         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82383         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82384         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82385         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82386         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82387         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82388         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82390         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82391         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82392         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82393         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82394         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82395         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82396         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82397         * sysdeps/ieee754/s_matherr.c: Likewise.
82398         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82399         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82400         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82403 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82405         * crypt/md5.h: Remove __STDC__ conditionals.
82406         * libio/libioP.h: Likewise.
82407         * locale/programs/config.h: Likewise.
82408         * sysdeps/generic/sysdep.h: Likewise.
82409         * sysdeps/i386/asm-syntax.h: Likewise.
82410         * sysdeps/s390/asm-syntax.h: Likewise.
82411         * sysdeps/unix/sysdep.h: Likewise.
82412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82415 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82417         * libio/libio.h: Remove __STDC__ conditionals.
82418         * malloc/obstack.h: Likewise.
82419         * math/complex.h: Likewise.
82420         * math/math.h: Likewise.
82421         * sysdeps/generic/_G_config.h: Likewise.
82422         * sysdeps/gnu/_G_config.h: Likewise.
82423         * sysdeps/mach/hurd/_G_config.h: Likewise.
82424         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82425         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82426         * sysdeps/sparc/bits/mathdef.h: Likewise.
82428 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82430         [BZ #13583]
82431         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82432         Clean up HAS_* macros.
82433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82434         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82435         possible.
82436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82437         HAS_AVX.
82438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82444 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82446         * elf/tst-unique3.cc (gets): Remove declaration.
82447         * elf/tst-unique3lib.cc (gets): Likewise.
82448         * elf/tst-unique3lib2.cc (gets): Likewise.
82449         * elf/tst-unique4.cc (gets): Likewise.
82451 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82453         * include/stdio.h: Add C++ protection.  Add gets declarations and
82454         definitions.
82455         * debug/tst-chk1.c: Don't declare gets here.
82456         * stdio-common/tst-gets.c: Likewise.
82458 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82460         * posix/glob: Remove directory.
82462 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82464         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82466 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82468         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82469         of the non-standard EPFNOSUPPORT.
82471 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82473         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82474         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82475         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82477 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82479         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82481 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82483         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82484         transient errors.
82485         * nscd/grpcache.c (cache_addgr): Likewise.
82486         * nscd/hstcache.c (cache_addhst): Likewise.
82487         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82488         * nscd/pwdcache.c (cache_addpw): Likewise.
82489         * nscd/servicescache.c (cache_addserv): Likewise.
82491 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82493         * malloc/malloc.c: Various cleanups.
82494         * malloc/hooks.c: Likewise.
82496         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82497         * stdlib/bug-fmtmsg1.c: New file.
82499         * stdlib/fmtmsg.c (init): Add missing unlock.
82500         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82502 2012-01-12  Marek Polacek  <polacek@redhat.com>
82504         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82505         and _GNU_SOURCE.
82507 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82509         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82510         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82511         macro to ensure uniqueness of label name.
82512         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82513         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82515 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82517         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82519         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82520         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82521         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82524 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82526         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82528         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82529         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82532         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82534         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82535         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82539         * math/bits/math-finite.h: Add ldexp support.
82541 2012-01-10  Marek Polacek  <polacek@redhat.com>
82543         * locale/programs/localedef.h (show_archive_content): Add noreturn
82544         attribute.
82546 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82548         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82550 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82552         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82554         * io/Makefile (headers): Add bits/poll2.h.
82556 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82559         typo #include statement.
82561 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82563         * include/sys/cdefs.h: Define __attribute_alloc_size.
82564         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82565         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82566         * elf/pldd.c: Likewise.
82567         * iconv/iconv_charmap.c: Likewise.
82568         * iconv/iconvconfig.c: Likewise.
82569         * iconv/strtab.c: Likewise.
82570         * locale/programs/locale.c: Likewise.
82571         * locale/programs/localedef.h: Likewise.
82572         * locale/programs/simple-hash.c: Likewise.
82573         * nscd/nscd.h: Likewise.
82574         * nss/makedb.c: Likewise.
82575         * sysdeps/generic/ldconfig.h: Likewise.
82576         * locale/programs/localedef.c: Remove xmalloc prototype.
82577         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82579 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82581         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82582         appropriate.
82584 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82586         * math/Makefile (tests): Add tst-CMPLX.
82587         * math/tst-CMPLX.c: New file.
82589         * math/complex.h (CMPLXL): Fix typo.
82591         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82592         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82593         GLIBC_2.16.
82594         * debug/tst-chk1.c: Add poll and ppoll tests.
82595         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82596         * include/sys/poll.h: Add hidden proto for ppoll.
82597         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82598         * sysdeps/mach/hurd/ppoll.c: Likewise.
82599         * io/ppoll.c: Likewise.
82600         * debug/poll_chk.c: New file.
82601         * debug/ppoll_chk.c: New file.
82602         * include/bits/poll2.h: New file.
82603         * io/bits/poll2.h: New file.
82605         [BZ #1350]
82606         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82608         * configure.in: static is always set to yes.  Remove.
82609         * config.make.in: Don't set build-static.
82610         * Makeconfig: Remove use of build-static.
82611         * dlfcn/Makefile: Likewise.
82612         * elf/Makefile: Likewise.
82613         * math/Makefile: Likewise.
82614         * misc/Makefile: Likewise.
82615         * nptl/Makefile: Likewise.
82616         * sysdeps/mach/hurd/Makefile: Likewise.
82618         * configure.in: PWD_P is not used anymore.
82619         * config.make.in: Remove PWD_P entry.
82621         * configure.in: Remove last remnants of RANLIB.
82622         No need to check for signed size_t anymore.
82623         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82624         and IA-64.
82625         Remove __builtin_expect test because we require at least gcc 3.4.
82626         * aclocal.m4: Likewise.
82628         * wcsmbs/mbrtoc16.c: Implement using towc function.
82629         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82630         * wcsmbs/wcsmbsload.c: Likewise.
82631         * iconv/gconv_simple.c: Likewise.
82632         * iconv/gconv_int.h: Likewise.
82633         * iconv/gconv_builtin.h: Likewise.
82634         * iconv/iconv_prog.c: Remove CHAR16 handling.
82636         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82638         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82640         * configure.in: Remove --with-elf and --enable-bounded options.
82641         Dont set base_machine for ia64.  More non-ELF conditions removed.
82642         Remove testing and setting of leading underscore information.
82643         * config.make.in (build-bounded): Set to no.
82644         * config.h.in: Remove NO_UNDERSCORES entry.
82645         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82646         them.
82647         * csu/start.c: Remove !NO_UNDERSCORE code.
82648         * locale/localeinfo.h: Likewise.
82649         * sysdeps/generic/machine-gmon.h: Likewise.
82650         * sysdeps/generic/sysdep.h: Likewise.
82651         * sysdeps/i386/sysdep.h: Likewise.
82652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82653         * sysdeps/mach/sysdep.h: Likewise.
82654         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82656         * sysdeps/sh/sysdep.h: Likewise.
82657         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82658         * sysdeps/unix/i386/sysdep.S: Likewise.
82659         * sysdeps/unix/sparc/start.c: Likewise.
82660         * sysdeps/unix/sparc/sysdep.S: Likewise.
82661         * sysdeps/unix/sparc/sysdep.h: Likewise.
82662         * sysdeps/unix/start.c: Likewise.
82663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82664         * sysdeps/x86_64/sysdep.h: Likewise.
82666 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82668         [BZ #13553]
82669         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82670         for non-gcc.
82671         * argp/argp-fmtstream.h: Use const instead __const.
82672         * argp/argp.h: Likewise.
82673         * assert/assert.h: Likewise.
82674         * bits/fenv.h: Likewise.
82675         * bits/sched.h: Likewise.
82676         * bits/sigset.h: Likewise.
82677         * bits/sigthread.h: Likewise.
82678         * catgets/nl_types.h: Likewise.
82679         * conform/data/pthread.h-data: Likewise.
82680         * crypt/crypt-private.h: Likewise.
82681         * crypt/crypt.h: Likewise.
82682         * crypt/crypt_util.c: Likewise.
82683         * ctype/ctype.h: Likewise.
82684         * debug/execinfo.h: Likewise.
82685         * debug/mbsnrtowcs_chk.c: Likewise.
82686         * debug/mbsrtowcs_chk.c: Likewise.
82687         * debug/wcsnrtombs_chk.c: Likewise.
82688         * debug/wcsrtombs_chk.c: Likewise.
82689         * debug/wcstombs_chk.c: Likewise.
82690         * dirent/dirent.h: Likewise.
82691         * dlfcn/dlfcn.h: Likewise.
82692         * elf/neededtest4.c: Likewise.
82693         * grp/grp.h: Likewise.
82694         * gshadow/gshadow.h: Likewise.
82695         * iconv/gconv.h: Likewise.
82696         * iconv/gconv_int.h: Likewise.
82697         * iconv/gconv_simple.c: Likewise.
82698         * iconv/iconv.h: Likewise.
82699         * iconv/loop.c: Likewise.
82700         * iconv/skeleton.c: Likewise.
82701         * include/aio.h: Likewise.
82702         * include/aliases.h: Likewise.
82703         * include/argz.h: Likewise.
82704         * include/arpa/inet.h: Likewise.
82705         * include/assert.h: Likewise.
82706         * include/dirent.h: Likewise.
82707         * include/dlfcn.h: Likewise.
82708         * include/execinfo.h: Likewise.
82709         * include/fcntl.h: Likewise.
82710         * include/fenv.h: Likewise.
82711         * include/glob.h: Likewise.
82712         * include/grp.h: Likewise.
82713         * include/libintl.h: Likewise.
82714         * include/mntent.h: Likewise.
82715         * include/netdb.h: Likewise.
82716         * include/pwd.h: Likewise.
82717         * include/rpc/netdb.h: Likewise.
82718         * include/sched.h: Likewise.
82719         * include/search.h: Likewise.
82720         * include/shadow.h: Likewise.
82721         * include/signal.h: Likewise.
82722         * include/stdio.h: Likewise.
82723         * include/stdlib.h: Likewise.
82724         * include/string.h: Likewise.
82725         * include/sys/socket.h: Likewise.
82726         * include/sys/stat.h: Likewise.
82727         * include/sys/statfs.h: Likewise.
82728         * include/sys/statvfs.h: Likewise.
82729         * include/sys/syslog.h: Likewise.
82730         * include/sys/time.h: Likewise.
82731         * include/sys/uio.h: Likewise.
82732         * include/time.h: Likewise.
82733         * include/unistd.h: Likewise.
82734         * include/utmp.h: Likewise.
82735         * include/wchar.h: Likewise.
82736         * include/wctype.h: Likewise.
82737         * inet/aliases.h: Likewise.
82738         * inet/arpa/inet.h: Likewise.
82739         * inet/netinet/ether.h: Likewise.
82740         * inet/netinet/in.h: Likewise.
82741         * intl/libintl.h: Likewise.
82742         * io/bits/fcntl2.h: Likewise.
82743         * io/fcntl.h: Likewise.
82744         * io/ftw.h: Likewise.
82745         * io/sys/poll.h: Likewise.
82746         * io/sys/stat.h: Likewise.
82747         * io/sys/statfs.h: Likewise.
82748         * io/sys/statvfs.h: Likewise.
82749         * io/utime.h: Likewise.
82750         * libio/bits/stdio.h: Likewise.
82751         * libio/bits/stdio2.h: Likewise.
82752         * libio/libio.h: Likewise.
82753         * libio/libioP.h: Likewise.
82754         * libio/stdio.h: Likewise.
82755         * locale/lc-ctype.c: Likewise.
82756         * locale/locale.h: Likewise.
82757         * login/utmp.h: Likewise.
82758         * malloc/arena.c: Likewise.
82759         * malloc/malloc.c: Likewise.
82760         * malloc/malloc.h: Likewise.
82761         * malloc/mcheck.c: Likewise.
82762         * malloc/mtrace.c: Likewise.
82763         * math/bits/mathcalls.h: Likewise.
82764         * math/fenv.h: Likewise.
82765         * math/math_private.h: Likewise.
82766         * misc/bits/error.h: Likewise.
82767         * misc/bits/syslog.h: Likewise.
82768         * misc/err.h: Likewise.
82769         * misc/error.h: Likewise.
82770         * misc/fstab.h: Likewise.
82771         * misc/mntent.h: Likewise.
82772         * misc/regexp.h: Likewise.
82773         * misc/search.h: Likewise.
82774         * misc/sgtty.h: Likewise.
82775         * misc/sys/mman.h: Likewise.
82776         * misc/sys/syslog.h: Likewise.
82777         * misc/sys/uio.h: Likewise.
82778         * misc/sys/xattr.h: Likewise.
82779         * misc/ttyent.h: Likewise.
82780         * nis/rpcsvc/ypclnt.h: Likewise.
82781         * nss/nss.h: Likewise.
82782         * posix/bits/unistd.h: Likewise.
82783         * posix/fnmatch.h: Likewise.
82784         * posix/glob.h: Likewise.
82785         * posix/sched.h: Likewise.
82786         * posix/spawn.h: Likewise.
82787         * posix/sys/wait.h: Likewise.
82788         * posix/unistd.h: Likewise.
82789         * posix/wordexp.h: Likewise.
82790         * pwd/pwd.h: Likewise.
82791         * resolv/netdb.h: Likewise.
82792         * resource/sys/resource.h: Likewise.
82793         * rt/aio.h: Likewise.
82794         * rt/bits/mqueue2.h: Likewise.
82795         * rt/mqueue.h: Likewise.
82796         * shadow/shadow.h: Likewise.
82797         * signal/signal.h: Likewise.
82798         * socket/send.c: Likewise.
82799         * socket/sendto.c: Likewise.
82800         * socket/sys/socket.h: Likewise.
82801         * stdio-common/printf.h: Likewise.
82802         * stdlib/bits/stdlib.h: Likewise.
82803         * stdlib/fmtmsg.h: Likewise.
82804         * stdlib/monetary.h: Likewise.
82805         * stdlib/stdlib.h: Likewise.
82806         * stdlib/ucontext.h: Likewise.
82807         * streams/stropts.h: Likewise.
82808         * string/argz.h: Likewise.
82809         * string/bits/string2.h: Likewise.
82810         * string/string.h: Likewise.
82811         * string/strings.h: Likewise.
82812         * sunrpc/rpc/auth.h: Likewise.
82813         * sunrpc/rpc/auth_des.h: Likewise.
82814         * sunrpc/rpc/clnt.h: Likewise.
82815         * sunrpc/rpc/netdb.h: Likewise.
82816         * sunrpc/rpc/pmap_clnt.h: Likewise.
82817         * sunrpc/rpc/xdr.h: Likewise.
82818         * sysdeps/generic/inttypes.h: Likewise.
82819         * sysdeps/generic/net/if.h: Likewise.
82820         * sysdeps/generic/sys/swap.h: Likewise.
82821         * sysdeps/gnu/net/if.h: Likewise.
82822         * sysdeps/gnu/utmpx.h: Likewise.
82823         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82824         * sysdeps/i386/i486/bits/string.h: Likewise.
82825         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82826         * sysdeps/s390/bits/string.h: Likewise.
82827         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82828         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82829         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82830         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82831         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82832         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82833         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82834         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82835         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82836         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82837         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82838         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82839         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82840         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82841         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82842         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82843         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82846         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82848         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82849         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82850         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82851         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82852         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82854         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82855         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82857         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82858         * sysvipc/sys/ipc.h: Likewise.
82859         * sysvipc/sys/msg.h: Likewise.
82860         * sysvipc/sys/sem.h: Likewise.
82861         * sysvipc/sys/shm.h: Likewise.
82862         * termios/termios.h: Likewise.
82863         * time/sys/time.h: Likewise.
82864         * time/time.h: Likewise.
82865         * wcsmbs/bits/wchar2.h: Likewise.
82866         * wcsmbs/uchar.h: Likewise.
82867         * wcsmbs/wchar.h: Likewise.
82868         * wctype/wctype.h: Likewise.
82870         [BZ #13551]
82871         * Makeconfig: Remove all but ELF support including AIX support.
82872         * Makerules: Likewise.
82873         * config.h.in: Likewise.
82874         * config.make.in: Likewise.
82875         * configure: Likewise.
82876         * configure.in: Likewise.
82877         * csu/Makefile: Likewise.
82878         * csu/version.c: Likewise.
82879         * debug/Makefile: Likewise.
82880         * dlfcn/Makefile: Likewise.
82881         * elf/Makefile: Likewise.
82882         * extra-lib.mk: Likewise.
82883         * iconv/Makefile: Likewise.
82884         * include/libc-symbols.h: Likewise.
82885         * include/shlib-compat.h: Likewise.
82886         * resolv/Makefile: Likewise.
82887         * resolv/res_libc.c: Likewise.
82888         * rt/Makefile: Likewise.
82889         * sysdeps/i386/asm-syntax.h: Likewise.
82890         * sysdeps/i386/sysdep.h: Likewise.
82891         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82892         * sysdeps/mach/sysdep.h: Likewise.
82893         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82894         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82895         * sysdeps/s390/asm-syntax.h: Likewise.
82896         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82897         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82898         * sysdeps/sh/sysdep.h: Likewise.
82899         * sysdeps/unix/sparc/sysdep.h: Likewise.
82900         * sysdeps/wordsize-32/divdi3.c: Likewise.
82901         * sysdeps/x86_64/sysdep.h: Likewise.
82903         * argp/Versions: Remove _argp_unlock_xxx.
82905         [BZ #13559]
82906         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82907         * abilist/libBrokenLocale.abilist: Likewise.
82908         * abilist/libanl.abilist: Likewise.
82909         * abilist/libc.abilist: Likewise.
82910         * abilist/libcrypt.abilist: Likewise.
82911         * abilist/libdl.abilist: Likewise.
82912         * abilist/libm.abilist: Likewise.
82913         * abilist/libnsl.abilist: Likewise.
82914         * abilist/libpthread.abilist: Likewise.
82915         * abilist/libresolv.abilist: Likewise.
82916         * abilist/librt.abilist: Likewise.
82917         * abilist/libthread_db.abilist: Likewise.
82918         * abilist/libutil.abilist: Likewise.
82919         * abilist/libnss_db.abilist: New file.
82921         * scripts/abilist.awk: Add support for indirect functions.
82923         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82925         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82927         * shlib-versions: Remove entries for ports architectures.
82929         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82930         files in ports.
82931         * elf/stackguard-macros.h: Remove support for IA-64.
82932         * elf/tst-auditmod1.c: Likewise.
82933         * sysdeps/generic/ldsodefs.h: Likewise.
82935         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82936         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82937         configure files.
82939         [BZ #13552]
82940         * configure.in: Remove --enable-omitfp support.
82941         * FAQ.in: Adjust.
82942         * config.make.in: Likewise.
82943         * Makeconfig: Likewise.
82944         * manual/install.texi: Likewise.
82946         In case anyone cares, the IA-64 architecture could move to ports.
82947         * sysdeps/ia64/*: Removed.
82948         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82949         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82951         [BZ #13555]
82952         * configure.in: Remove entries for unsupported architectures.
82954         [BZ #13533]
82955         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82956         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82957         routines.
82958         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82959         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82960         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82961         fall back to using wcrtomb.
82962         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82963         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82964         renaming.
82965         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82966         * wcsmbs/tst-c16c32-1.c: New file.
82968         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82969         local variable.
82971         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82973         * elf/tst-unique3.cc: Add explicit declaration of gets.
82974         * elf/tst-unique3lib.cc: Likewise.
82975         * elf/tst-unique3lib2.cc: Likewise.
82976         * elf/tst-unique4.cc: Likewise.
82978         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82980 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82982         [BZ #13566]
82983         * assert/assert.h (static_assert): Don't define for C++.
82984         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82985         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82987 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82989         * iconv/loop.c (single loop): Fix assertion in storing of
82990         remaining bytes.
82992         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82994 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82996         * posix/getconf.c: Update copyright year.
82997         * nss/getent.c: Likewise.
82998         * nss/makedb.c: Likewise.
82999         * iconv/iconvconfig.c: Likewise.
83000         * iconv/iconv_prog.c: Likewise.
83001         * elf/ldconfig.c: Likewise.
83002         * elf/pldd.c: Likewise.
83003         * elf/sotruss.ksh: Likewise.
83004         * catgets/gencat.c: Likewise.
83005         * csu/version.c: Likewise.
83006         * elf/ldd.bash.in: Likewise.
83007         * elf/sprof.c (print_version): Likewise.
83008         * locale/programs/locale.c: Likewise.
83009         * locale/programs/localedef.c: Likewise.
83010         * login/programs/pt_chown.c: Likewise.
83011         * nscd/nscd.c (print_version): Likewise.
83012         * debug/xtrace.sh: Likewise.
83013         * malloc/memusage.sh: Likewise.
83014         * malloc/mtrace.pl: Likewise.
83015         * debug/catchsegv.sh: Likewise.
83017 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83019         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83020         pure attribute.
83022 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83024         [BZ #13533]
83025         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83026         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83027         transformations.
83028         * iconv/gconv_int.h: Likewise.
83029         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83030         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83031         from libc for GLIBC_2.16.
83032         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83033         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83034         * wcsmbs/uchar.h: Really define mbstate_t.
83035         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83036         * wcsmbs/c16rtomb.c: New file.
83037         * wcsmbs/mbrtoc16.c: New file.
83038         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83039         for C/POSIX locale.
83040         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83041         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83043         * wcsmbs/wchar.h: Add missing __restrict.
83045 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83047         [BZ #13532]
83048         * time/Makefile (routines): Add timespec_get.
83049         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83050         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83051         timespec for ISO C11.
83052         * time/timespec_get.c: New file.
83053         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83054         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83056         [BZ #13531]
83057         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83058         * stdlib/stdlib.h: Declare aligned_alloc.
83059         * Versions.def: Add GLIBC_2.16 for libc.
83060         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83062         [BZ 13527]
83063         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83064         ISO C11.
83066         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83067         code.
83069         [BZ #13528]
83070         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83072         [BZ #13529]
83073         * assert/assert.h (static_assert): Define.
83075         * version.h: Update for 2.16 development version.
83077         [BZ #13526]
83078         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83079         _ISOC11_SOURCE.
83081         * version.h (RELEASE): Bump for 2.15 release.
83082         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83084         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83085         Patch by Marek Polacek <mpolacek@redhat.com>.
83087         * bits/byteswap.h: Protect long long constants with __extension__.
83088         * sysdeps/i386/bits/byteswap.h: Likewise.
83089         * sysdeps/ia64/bits/byteswap.h: Likewise.
83090         * sysdeps/s390/bits/byteswap.h: Likewise.
83091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83093 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83095         [BZ #13540]
83096         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83097         destination buffer.
83098         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83100 2011-12-23  Marek Polacek  <polacek@redhat.com>
83102         * elf/dl-addr.c (determine_info): Add inline keyword.
83103         * elf/tst-auditmod4b.c (check_avx): Likewise.
83104         * elf/tst-auditmod6b.c (check_avx): Likewise.
83105         * elf/tst-auditmod6c.c (check_avx): Likewise.
83106         * elf/tst-auditmod7b.c (check_avx): Likewise.
83108 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83110         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83111         !__SSE_MATH__.
83113 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83115         [BZ #13540]
83116         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83117         processing for last bytes.
83119 2011-08-06  Bruno Haible  <bruno@clisp.org>
83121         [BZ #13061]
83122         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83123         U+0385, not to U+1FEE.
83125         [BZ #13062]
83126         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83127         entry for U+00A5 U+0301.
83129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83131         [BZ #13166]
83132         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83133         buffer for the output is too small.
83135         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83136         optimization.
83138         [BZ #13185]
83139         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83140         SSE flags if possible.
83142 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83144         [BZ #13540]
83145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83146         processing for last bytes.
83148 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83150         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83151         (syscall-list-default-options, syscall-list-default-condition)
83152         (syscall-list-includes): Define.
83153         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83154         list of ABIs and options and #if conditions for each ABI.  Do not
83155         handle common syscalls between ABIs specially.
83156         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83157         Remove.
83158         (syscall-list-variants, syscall-list-32bit-options)
83159         (syscall-list-32bit-condition, syscall-list-64bit-options)
83160         (syscall-list-64bit-condition): Define.
83161         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83162         (syscall-list-variants, syscall-list-32bit-options)
83163         (syscall-list-32bit-condition, syscall-list-64bit-options)
83164         (syscall-list-64bit-condition): Define.
83165         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83166         Remove.
83167         (syscall-list-variants, syscall-list-32bit-options)
83168         (syscall-list-32bit-condition, syscall-list-64bit-options)
83169         (syscall-list-64bit-condition): Define.
83170         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83171         Remove.
83172         (syscall-list-variants, syscall-list-32bit-options)
83173         (syscall-list-32bit-condition, syscall-list-64bit-options)
83174         (syscall-list-64bit-condition): Define.
83176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83178         * locale/iso-639.def: Add brx entry.
83180         [BZ #13328]
83181         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83182         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83184         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83185         __feraiseexcept_renamed.
83187 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83189         [BZ #13538]
83190         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83191         EPOLLET with unsigned values.
83192         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83195         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83196         to large cancellation.
83197         * math/s_cacoshf.c: Likewise.
83198         * math/s_cacoshl.c: Likewise.
83200 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83202         [BZ #13305]
83203         [BZ #12786]
83204         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83205         * math/s_cacoshf.c: Likewise.
83206         * math/s_cacoshl.c: Likewise.
83208 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83210         [BZ #13439]
83211         * iconv/gconv.h: Define __GCONV_SWAP.
83212         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83213         * iconvdata/utf-16.c: Likewise.
83214         * iconvdata/utf-32.c: Likewise.
83216 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83218         [BZ #13524]
83219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83220         numerator after shifting it by one limb.
83222 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83224         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83225         under [__USE_EXTERN_INLINES].
83227 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83229         [BZ #13446]
83230         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83232 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83234         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83235         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83236         optimized code.
83237         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83238         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83239         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83240         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83241         for strncasecmp/strncasecmp_l compilation.
83242         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83243         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83245 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83247         [BZ #13484]
83248         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83249         of __asm__.
83251 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83253         [BZ #13506]
83254         * time/tzfile.c (__tzfile_read): Check values from file header.
83256 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83258         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83259         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83260         * powerpc/powerpc32/dl-start.S: Likewise.
83261         * powerpc/powerpc32/elf/start.S: Likewise.
83262         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83263         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83264         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83265         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83266         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83267         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83268         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83269         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83270         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83271         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83272         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83273         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83274         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83275         * powerpc/powerpc32/memset.S: Likewise.
83276         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83277         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83278         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83279         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83280         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83281         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83282         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83283         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83284         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83285         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83286         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83287         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83288         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83290 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83292         * math/libm-test.inc: Added more nearbyint tests.
83293         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83296         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83298 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83300         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83301         FD_CLOEXEC.
83303 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83305         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83306         Add wcscpy-ssse3 wcscpy-c.
83307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83308         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83309         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83310         * sysdeps/x86_64/wcschr.S: New file.
83311         * sysdeps/x86_64/wcsrchr.S: New file.
83312         * string/test-strcmp.c: Remove checking of wcscmp function for
83313         wrong alignments.
83314         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83315         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83316         wcsrchr-sse2 wcsrchr-c.
83317         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83318         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83319         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83320         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83321         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83322         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83323         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83324         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83326         * wcsmbc/wcschr.c (WCSCHR): New macro.
83328 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83330         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83331         * wcsmbs/test-wcsrchr.c: New file.
83332         * string/test-strrchr.c: Add wcsrchr support.
83333         (WIDE): New macro.
83334         * wcsmbs/test-wcscpy.c: New file.
83335         * string/test-strcpy.c: Add wcscpy support.
83336         (WIDE): New macro.
83338 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83340         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83341         the inner loop.
83343 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83345         [BZ #13472]
83346         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83348 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83350         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83351         Minor optimizations.
83353         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83354         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83355         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83357 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83359         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83360         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83361         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83362         for gcc to avoid warnings.
83363         * inet/Makefile (tests): Add tst-checks.
83364         * inet/tst-checks.c: New file.
83366         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83367         warning.
83369         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83370         __wmemcmp_sse2.
83372         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83373         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83375         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83377 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83379         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83380         problem.
83382         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83384 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83386         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83387         conditional on GCC version.
83388         (__arch_compare_and_exchange_val_8_acq)
83389         (__arch_compare_and_exchange_val_16_acq)
83390         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83391         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83392         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83394 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83396         * sysdeps/sh/backtrace.c: New file.
83398 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83400         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83401         parenthesis.
83403 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83405         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83406         falling back to utime.
83408 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83410         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83411         expectations for float.
83413 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83415         * locale/weight.h (findidx): Add parameter len.
83416         * locale/weightwc.h (findidx): Likewise.
83417         * posix/fnmatch_loop.c (FCT): Adjust caller.
83418         * posix/regcomp.c (build_equiv_class): Likewise.
83419         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83420         * posix/regexec.c (check_node_accept_bytes): Likewise.
83421         * string/strcoll_l.c (STRCOLL): Likewise.
83422         * string/strxfrm_l.c (STRXFRM): Likewise.
83424 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83426         * Makefile.in: Remove CVSOPT handling.
83427         * configure.in: Remove use of AC_REVISION.
83428         * iconvdata/Makefile (distribute): No need to filter out CVS.
83429         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83430         handling.
83432 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83435         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83436         [USE_AS_STRNCASECMP_L]: Likewise.
83437         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83438         NO_TLS_DIRECT_SEG_REFS.
83439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83440         Fix argument offsets for non-PIC.
83441         [USE_AS_STRNCASECMP_L]: Likewise.
83442         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83443         NO_TLS_DIRECT_SEG_REFS.
83445 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83447         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83448         O_CLOEXEC.
83449         * locale/loadlocale.c (_nl_load_locale): Likewise.
83451 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83453         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83454         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83455         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83456         (SYSCALL_GETTIME): Set errno on error.
83458         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83459         count references to noai6ai_cached.
83461 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83463         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83465         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83466         FD_CLOEXEC for /proc/self/maps.
83468         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83469         FD_CLOEXEC for /proc/meminfo.
83471         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83472         gai.conf.
83474         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83475         FD_CLOEXEC for given file.
83477         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83479         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83480         FD_CLOEXEC for /etc/hosts.
83481         (_gethtent): Likewise.
83483         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83485         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83486         cancellation and set FD_CLOEXEC for /etc/netgroup.
83488         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83489         reading /etc/publickey.
83491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83492         allow cancellation when reading /etc/group.
83494         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83495         cancellation.
83496         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83498         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83499         when using data file.
83501         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83503         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83504         (write_nis_obj): Use "c" and "e" in fopen.
83506         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83508         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83510         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83512         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83514         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83515         locale.alias.
83517         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83519         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83521         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83523         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83524         file parsing and set FD_CLOEXEC.
83526 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83528         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83530 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83532         * malloc/arena.c (arena_get2): Don't call reused_arena when
83533         _int_new_arena failed.
83535 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83537         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83538         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83541         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83543         to compile strcasecmp and strncasecmp.
83544         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83545         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83549 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83551         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83552         locale-defines.sym to gen-as-const-headers.
83553         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83554         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83556         to compile strcasecmp and strncasecmp.
83557         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83558         strcasecmp_l and strncasecmp_l.
83559         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83560         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83561         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83562         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83563         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83564         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83565         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83566         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83567         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83568         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83569         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83571 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83573         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83574         result of SYSDEP_GETTIME_CPU to retval.
83575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83576         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83578         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83579         variable.
83581         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83582         mantissa words.
83583         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83585         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83586         from unused variable.
83588         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83589         DWARF definitions.
83590         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83591         for assembling.
83593         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83594         over namespaces.
83596         * sunrpc/rpc_prot.c (rejected): Fix case value.
83598         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83599         unsigned long long int to avoid warnings in shift.
83601         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83602         of use of trans.
83603         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83604         variable tmp.
83606         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83607         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83608         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83610         * nis/nis_table.c (nis_list): Use variable of correct type for
83611         result of __follow_path call.
83613 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83615         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83616         of math functions ceil, trunc, floor, round, and sqrt, when
83617         avaliable on the platform.
83618         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83619         name clash.
83620         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83621         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83622         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83624 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83626         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83627         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83629 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83631         * include/unistd.h: Fix __readlink return type.
83632         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83634 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83636         * stdlib/ucontext.h: Undo last change for makecontext.
83638 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83640         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83642         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83643         * setjmp/setjmp.h: Mark functions as non-leaf.
83644         * setjmp/bits/setjmp2.h: Likewise.
83645         * stdlib/ucontext.h: Likewise.
83647 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83649         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83650         (reused_arena): Don't check arena limit.
83651         (arena_get2): Atomically check arena limit.
83653 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83655         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83656         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83659         instructions.
83661 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83663         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83664         handler when locking.
83666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83667         Fix size of allocated buffer.
83669 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83671         [BZ #10103]
83672         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83673         declarations for long double functions.
83674         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83676         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83678 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83680         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83681         installed.
83683         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83684         is disabled.
83686 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83688         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83690 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83692         * include/alloca.h (stackinfo_alloca_round): Define.
83693         (extend_alloca): Use it.
83694         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83695         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83696         here.
83698         * scripts/check-local-headers.sh: Ignore libaudit.h.
83700         * nscd/Makefile (extra-objs): Make recursively expanded.
83702 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83704         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83705         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83707         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83708         * posix/tst-rfc3484-2.c: Likewise.
83709         * posix/tst-rfc3484-3.c: Likewise.
83711         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83712         process_vm_writev.
83713         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83714         process_vm_writev.
83715         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83716         process_vm_writev from libc using GLIBC_2.15 version.
83718         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83720 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83722         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83723         stack usage.
83725 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83727         [BZ #13367]
83728         * nss/getent.c (initgroups_keys): Show error message in case no group
83729         names are given.
83731         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83732         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83733         __bump_nl_timestamp.
83734         * nscd/connections (nscd_init): When host database is served open
83735         netlink socket and request notification about configuration changes.
83736         (main_loop_poll): Track netlink file descriptor and bump timestamp
83737         in case data becomes available.
83738         (main_loop_epoll): Likewise.
83739         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83740         (database_pers_head): Add extra_data fileds.
83741         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83743         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83744         Adjust caller.
83745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83746         in6ai data, call __free_in6ai.
83747         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83748         Add -DHAVE_NETLINK.
83749         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83750         interface information.  Reuse previous data if netlink timestamp
83751         is not changed.
83752         (__bump_nl_timestamp): New function.
83753         (__free_in6ai): New function.
83755 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83757         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83758         close_not_cancel_no_status here.
83759         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83761 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83763         [BZ #13276]
83764         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83765         return value.
83767         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83768         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83769         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83771 2011-07-03  Andreas Jaeger  <aj@suse.de>
83773         [BZ #10709]
83774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83775         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83776         * math/libm-test.inc (sin_test): Add test case.
83778 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83780         [BZ #13337]
83781         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83782         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83784         * elf/chroot_canon.c (chroot_canon): Cleanups.
83786         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83788         [BZ #13335]
83789         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83790         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83792         * string/test-strchr.c: Make usable for strchrnul testing.
83793         * string/test-strchrnul.c: New file.
83794         * string/Makefile (strop-tests): Add strchrnul.
83796         * po/it.po: Update from translation team.
83797         * po/es.po: Likewise.
83799 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83802         the three constants needed as parameters.  Drop the others.
83803         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83804         __m128i_strloadu_tolower.
83805         Create and initialize variable zero and use it in all the places
83806         where _mm_setzero_si128 was used.
83808         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83809         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83810         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83812         anymore.
83813         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83814         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83815         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83816         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83817         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83818         __mpranred, __mptan.
83819         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83820         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83821         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83822         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83823         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83824         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83825         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83826         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83827         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83829 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83831         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83832         redefine if SHARED.
83833         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83836         wide char related routines to wcsmbs subdir.
83838 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83840         [BZ #13344]
83841         * misc/sys/cdefs.h (__THROWNL): Define.
83842         * posix/unistd.h: Use __THREADNL instead of __THREAD
83843         for memory synchronization functions.
83845 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83847         [BZ #13349]
83848         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83849         doesn't exist.
83850         * manual/stdio.texi (Obstack Streams): Node removed.
83852 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83854         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83856         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83858         * math/math_private.h (math_force_eval): Allow non-addressable
83859         arguments.
83860         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83864         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83865         file is not needed.
83867         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83874         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83875         Add AVX variants.
83876         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83877         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83878         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83879         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83880         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83881         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83882         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83884         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83885         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83886         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83887         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83889         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83890         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83891         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83892         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83893         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83894         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83896         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83897         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83900         place.  Use VEX encoding when compiling for AVX.
83902 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83904         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83905         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83907         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83911         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83912         useless if() expression.
83913         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83914         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83919         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83921         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83923         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83924         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83925         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83927         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83928         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83929         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83930         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83931         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83933         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83935 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83937         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83938         condition.
83939         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83941 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83943         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83944         .text section.  Avoid duplicate constants.
83945         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83947         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83953         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83954         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83956         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83957         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83958         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83959         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83960         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83961         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83962         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83964         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83965         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83966         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83967         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83968         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83969         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83970         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83971         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83972         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83973         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83974         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83975         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83976         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83978         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83979         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83980         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83981         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83982         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83983         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83984         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83987         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83988         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83989         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83991 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83993         * sysdeps/x86_64/dla.h: Move to ...
83994         * sysdeps/x86_64/fpu/dla.h: ...here.
83995         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83996         situations.  Use __builtin_fma only for gcc 4.6 and up.
83998         * config.make.in: Add have-mfma4 entry.
83999         * configure.in: Substitute libc_cv_cc_fma4.
84000         * math/Makefile (dbl-only-routines): Add sincostab.
84001         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84002         Use __sincostab not sincos.
84003         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84004         name is a macro.
84005         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84007         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84009         using __copysign.
84010         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84011         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84012         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84013         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84014         and __inv.
84015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84016         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84017         __copysign.
84018         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84019         define aliases when function name is a macro.
84020         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84021         sysdeps/ieee754/dbl-64/sincos.tbl.
84022         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84023         fma4-enabled routines.
84024         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84025         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84026         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84027         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84029         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84030         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84031         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84032         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84033         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84034         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84035         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84036         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84037         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84038         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84039         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84040         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84041         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84042         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84044         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84045         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84047         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84049         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84050         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84051         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84052         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84053         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84055         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84056         rename.
84057         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84066 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84068         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84074         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84075         prediction.
84076         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84078         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84079         Remove unused variable magic_bits.
84080         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84082         * string/strnlen.c: Define and use STRNLEN macro.
84083         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84084         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84086         * wcsmbs/wcslen.c: Define and use WCSLEN.
84087         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84088         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84089         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84090         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84091         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84092         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84093         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84095 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84098         strnlen-sse2-no-bsf.
84099         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84101         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84102         Add strnlen support.
84103         (USE_AS_STRNLEN): New macro.
84104         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84105         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84106         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84107         * sysdeps/x86_64/wcslen.S: New file.
84109 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84111         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84112         XMM-moves are used for copying on small sizes.
84114 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84116         * wcsmbs/Makefile (strop-tests): Add wcschr.
84117         * wcsmbs/test-wcschr.c: New file.
84118         * string/test-strchr.c: Update.
84119         Add wcschr support.
84120         (WIDE): New macro.
84122 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84124         * wcsmbs/Makefile (strop-tests): Add wcslen.
84125         * wcsmbs/test-wcslen.c: New file.
84126         * string/test-strlen.c: Update.
84127         Add wcslen support.
84128         (WIDE): New macro.
84130 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84132         * po/it.po: Update from translation team.
84134 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84136         * sysdeps/x86_64/wcscmp.S: Update.
84137         Fix wrong comparison semantics.
84138         wcscmp shall use signed comparison not unsigned.
84139         Don't use substraction to avoid overflow bug.
84140         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84141         * wcsmbc/wcscmp.c: Likewise.
84142         * string/test-strcmp.c: Likewise.
84143         Add new tests to check cases with negative values.
84145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84147         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84148         * sysdeps/x86_64/dla.h: ...here.  New file.
84149         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84156         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84159 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84161         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84162         __ynl_finite aliases.
84164 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84168         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84169         define DLA_FMA.
84170         [DLA_FMA] (EMULV): Use DLA_FMA.
84171         [DLA_FMA] (MUL12): Use EMULV.
84172         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84173         that are not needed.
84174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84182 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84184         * math/s_nan.c: Undef __nan.
84185         * math/s_nanf.c: Undef __nanf.
84186         * math/s_nanl.c: Undef __nanl.
84187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84188         "math_private.h".
84190 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84192         * math/s_catan.c: Add branch predictions.
84193         * math/s_catanf.c: Likewise.
84194         * math/s_catanh.c: Likewise.
84195         * math/s_catanhf.c: Likewise.
84196         * math/s_catanhl.c: Likewise.
84197         * math/s_catanl.c: Likewise.
84198         * math/s_cexp.c: Likewise.
84199         * math/s_cexpf.c: Likewise.
84200         * math/s_cexpl.c: Likewise.
84201         * math/s_clog.c: Likewise.
84202         * math/s_clog10.c: Likewise.
84203         * math/s_clog10f.c: Likewise.
84204         * math/s_clog10l.c: Likewise.
84205         * math/s_clogf.c: Likewise.
84206         * math/s_clogl.c: Likewise.
84207         * math/s_csqrt.c: Likewise.
84208         * math/s_csqrtf.c: Likewise.
84209         * math/s_csqrtl.c: Likewise.
84210         * math/s_ctanf.c: Likewise.
84211         * math/s_ctanh.c: Likewise.
84212         * math/s_ctanhf.c: Likewise.
84213         * math/s_ctanhl.c: Likewise.
84214         * math/s_ctanl.c: Likewise.
84216         * math/math_private.h: Define __nan, __nanf, __nanl.
84217         * math/s_cacosh.c: Include <math_private.h>.
84218         * math/s_cacoshl.c: Likewise.
84219         * math/s_casinh.c: Likewise.
84220         * math/s_casinhf.c: Likewise.
84221         * math/s_casinhl.c: Likewise.
84222         * math/s_ccos.c: Rely entire on ccosh.
84223         * math/s_ccosf.c: Rely entire on ccoshf.
84224         * math/s_ccosl.c: Rely entirely on ccoshl.
84225         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84226         Remove tests for FE_INVALID.
84227         * math/s_ccoshf.c: Likewise.
84228         * math/s_ccoshl.c: Likewise.
84229         * math/s_csin.c: Likewise.
84230         * math/s_csinf.c: Likewise.
84231         * math/s_csinh.c Likewise.
84232         * math/s_csinhf.c: Likewise.
84233         * math/s_csinhl.c: Likewise.
84234         * math/s_csinl.c: Likewise.
84235         * math/s_ctan.c: Likewise.
84236         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84237         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84238         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84240 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84243         compilation problems.
84245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84246         __builtin_expect.
84248 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84250         * sysdeps/i386/configure.in: Test for -mfma4 option.
84251         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84252         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84253         COMMON_CPUID_INDEX_80000001.
84254         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84255         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84256         use it if FMA3 is not supported.
84257         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84259         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84260         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84262 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84264         [BZ #12892]
84265         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84266         it would create a cycle with a link time dependency.
84268 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84270         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84271         instruction.
84272         * string/Makefile (strop-tests): Add rawmemchr.
84273         * string/test-rawmemchr.c: New file.
84275         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84276         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84277         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84278         when compiling str{,n}casecmp and when AVX is available.  Hook up
84279         new optimized code in initializers.
84281 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84283         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84284         __feraiseexcept instead of feraiseexcept.
84286 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84288         * math/math_private.h: Define defaults for libc_fetestexcept and
84289         libc_feupdateenv.
84290         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84291         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84293         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84294         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84295         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84296         libc_fetestexcept and libc_feupdateenv.
84298         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84299         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84300         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84301         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84302         libc_feholdexcept_setround.
84304         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84305         Add s_nearbyint-c and s_nearbyintf-c.
84306         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84307         nearbyintf inlines.
84308         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84309         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84310         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84311         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84313         * math/math_private.h: Define defaults for libc_fegetround,
84314         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84315         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84316         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84318         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84319         standard functions.
84320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84321         Remove comments and hacks for old compiler versions.
84322         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84323         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84324         libc_feholdexceptl.
84326 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84328         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84329         (__feraiseexcept_renamed): Add __NTH.
84330         (feraiseexcept): Add __NTH.  Rename local variables to fix
84331         namespace violations.
84333 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84335         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84337         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84339         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84340         recently added interfaces.
84341         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84343         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84344         about macro parameter expansion.
84346         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84347         __NO_MATH_INLINES is defined.  Cleanups.
84349         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84350         and __floorf is target has SSE4.1.
84351         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84352         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84353         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84354         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84356         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84357         name.
84358         (floorf): Likewise.
84360         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84362 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84364         * misc/sys/cdefs.h: Fix last change.
84366         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84367         database lookup.
84369 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84371         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84373         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84374         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84376         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84378         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84380         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84381         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84382         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84383         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84384         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84385         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84386         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84388         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84389         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84390         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84391         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84392         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84393         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84394         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84396         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84397         ceil, ceilf, floor, floorf.
84399         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84400         Perform IRELATIVE relocations last.
84402         * elf/do-rel.h: Add another parameter nrelative, replacing the
84403         local variable with the same name.  Change name of the function
84404         to end in Rel or Rela (uppercase).
84405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84406         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84407         elf_dynamic_do_##reloc function.
84409 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84411         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84412         is sufficient, at least on modern CPUs.
84414         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84416         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84417         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84419         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84420         __expl_finite.
84421         * math/bits/math-finite.h: Add entries for exp.
84422         * math/e_expl.c: Add __*_finite alias.
84423         * sysdeps/i386/fpu/e_exp.S: Likewise.
84424         * sysdeps/i386/fpu/e_expf.S: Likewise.
84425         * sysdeps/i386/fpu/e_expl.c: Likewise.
84426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84427         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84428         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84430         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84431         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84432         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84434         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84435         is sufficient, at least on modern CPUs.
84437         * ctype/ctype-info.c (__ctype_init): Define.
84438         * include/ctype.h (__ctype_init): Declare.
84439         (__ctype_b_loc): The variable is always initialized.
84440         (__ctype_toupper_loc): Likewise.
84441         (__ctype_tolower_loc): Likewise.
84442         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84443         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84445 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84447         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84449         * configure.in: Also look in $cxxmachine/include for C++ system
84450         headers.
84452 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84454         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84455         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84456         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84457         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84458         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84459         (USE_AS_WMEMCMP): New macro.
84460         Fixing indents.
84461         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84462         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84463         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84464         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84466         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84467         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84468         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84469         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84470         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84471         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84472         (USE_AS_WMEMCMP): New macro.
84473         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84474         * sysdeps/string/test-memcmp.c: Update.
84475         Fix simple_wmemcmp.
84476         Add new tests.
84477         * wcsmbs/wmemcmp.c: Update.
84478         (WMEMCMP): New macro.
84479         Fix overflow bug.
84481 2011-10-12  Andreas Jaeger  <aj@suse.de>
84483         [BZ #13268]
84484         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84486 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84488         * libio/iofwide.c (do_length): Avoid warning.
84490         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84492 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84494         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84496         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84497         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84498         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84499         * sysdeps/i386/i686/fpu/e_log.S: New file.
84500         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84501         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84503         * ctype/ctype.h: Add support for inlined isXXX functions when
84504         compiling C++ code.
84506 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84508         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84510         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84512 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84514         [BZ #13291]
84515         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84517 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84519         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84520         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84521         feraiseexcept.
84523         * sysdeps/x86_64/memrchr.S: Check for zero size.
84525         * string/stratcliff.c: Add memrchr tests.
84527 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84530         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84531         rawmemchr-sse2 rawmemchr-sse2-bsf.
84532         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84533         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84534         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84535         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84536         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84537         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84538         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84539         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84540         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84541         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84542         * string/memrchr.c (MEMRCHR): New macro.
84544 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84546         Add integration with gcc's -ffinite-math-only and optimize wrapper
84547         functions in libm.
84548         * Versions.def: Define GLIBC_2.15 version for libm.
84549         * math/Makefile (headers): Add bits/math-finite.h.
84550         * math/bits/math-finite.h: New file.
84551         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84552         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84553         * math/e_acoshl.c: Add __*_finite alias.
84554         * math/e_acosl.c: Likewise.
84555         * math/e_asinl.c: Likewise.
84556         * math/e_atan2l.c: Likewise.
84557         * math/e_atanhl.c: Likewise.
84558         * math/e_coshl.c: Likewise.
84559         * math/e_exp10.c: Likewise.
84560         * math/e_exp10f.c: Likewise.
84561         * math/e_exp10l.c: Likewise.
84562         * math/e_exp2l.c: Likewise.
84563         * math/e_fmodl.c: Likewise.
84564         * math/e_gammal_r.c: Likewise.
84565         * math/e_hypotl.c: Likewise.
84566         * math/e_j0l.c: Likewise.
84567         * math/e_j1l.c: Likewise.
84568         * math/e_jnl.c: Likewise.
84569         * math/e_lgammal_r.c: Likewise.
84570         * math/e_log10l.c: Likewise.
84571         * math/e_log2l.c: Likewise.
84572         * math/e_logl.c: Likewise.
84573         * math/e_powl.c: Likewise.
84574         * math/e_sinhl.c: Likewise.
84575         * math/e_sqrtl.c: Likewise.
84576         * math/e_scalb.c: Completely rewritten and optimized.
84577         * math/e_scalbf.c: Likewise.
84578         * math/e_scalbl.c: Likewise.
84579         * math/w_acos.c: Likewise.
84580         * math/w_acosf.c: Likewise.
84581         * math/w_acosl.c: Likewise.
84582         * math/w_acosh.c: Likewise.
84583         * math/w_acoshf.c: Likewise.
84584         * math/w_acoshl.c: Likewise.
84585         * math/w_asin.c: Likewise.
84586         * math/w_asinf.c: Likewise.
84587         * math/w_asinl.c: Likewise.
84588         * math/w_atan2.c: Likewise.
84589         * math/w_atan2f.c: Likewise.
84590         * math/w_atan2l.c: Likewise.
84591         * math/w_atanh.c: Likewise.
84592         * math/w_atanhf.c: Likewise.
84593         * math/w_atanhl.c: Likewise.
84594         * math/w_exp10.c: Likewise.
84595         * math/w_exp10f.c: Likewise.
84596         * math/w_exp10l.c: Likewise.
84597         * math/w_fmod.c: Likewise.
84598         * math/w_fmodf.c: Likewise.
84599         * math/w_fmodl.c: Likewise.
84600         * math/w_j0.c: Likewise.
84601         * math/w_j0f.c: Likewise.
84602         * math/w_j0l.c: Likewise.
84603         * math/w_j1.c: Likewise.
84604         * math/w_j1f.c: Likewise.
84605         * math/w_j1l.c: Likewise.
84606         * math/w_jn.c: Likewise.
84607         * math/w_jnf.c: Likewise.
84608         * math/w_log.c: Likewise.
84609         * math/w_logf.c: Likewise.
84610         * math/w_logl.c: Likewise.
84611         * math/w_log10.c: Likewise.
84612         * math/w_log10f.c: Likewise.
84613         * math/w_log10l.c: Likewise.
84614         * math/w_log2.c: Likewise.
84615         * math/w_log2f.c: Likewise.
84616         * math/w_log2l.c: Likewise.
84617         * math/w_pow.c: Likewise.
84618         * math/w_powf.c: Likewise.
84619         * math/w_powl.c: Likewise.
84620         * math/w_remainder.c: Likewise.
84621         * math/w_remainderf.c: Likewise.
84622         * math/w_remainderl.c: Likewise.
84623         * math/w_scalb.c: Likewise.
84624         * math/w_scalbf.c: Likewise.
84625         * math/w_scalbl.c: Likewise.
84626         * math/w_sqrt.c: Likewise.
84627         * math/w_sqrtf.c: Likewise.
84628         * math/w_sqrtl.c: Likewise.
84629         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84630         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84631         used.
84632         * math/math_private.h: Declare __kernel_standard_f.
84633         * math/w_cosh.c: Remove cruft and optimize a bit.
84634         * math/w_coshf.c: Likewise.
84635         * math/w_coshl.c: Likewise.
84636         * math/w_exp2.c: Likewise.
84637         * math/w_exp2f.c: Likewise.
84638         * math/w_exp2l.c: Likewise.
84639         * math/w_hypot.c: Likewise.
84640         * math/w_hypotf.c: Likewise.
84641         * math/w_hypotl.c: Likewise.
84642         * math/w_lgamma.c: Likewise.
84643         * math/w_lgamma_r.c: Likewise.
84644         * math/w_lgammaf.c: Likewise.
84645         * math/w_lgammaf_r.c: Likewise.
84646         * math/w_lgammal.c: Likewise.
84647         * math/w_lgammal_r.c: Likewise.
84648         * math/w_sinh.c: Likewise.
84649         * math/w_sinhf.c: Likewise.
84650         * math/w_sinhl.c: Likewise.
84651         * math/w_tgamma.c: Likewise.
84652         * math/w_tgammaf.c: Likewise.
84653         * math/w_tgammal.c: Likewise.
84654         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84656         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84657         Minor optimizations.  Pretty printing.  Remove cruft.
84658         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84660         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84661         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84662         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84663         * sysdeps/i386/fpu/e_asin.S: Likewise.
84664         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84665         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84666         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84667         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84668         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84670         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84671         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84672         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84673         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84674         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84675         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84676         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84677         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84678         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84679         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84680         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84681         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84682         * sysdeps/i386/fpu/e_log.S: Likewise.
84683         * sysdeps/i386/fpu/e_log10.S: Likewise.
84684         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84685         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84686         * sysdeps/i386/fpu/e_log2.S: Likewise.
84687         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84688         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84689         * sysdeps/i386/fpu/e_logf.S: Likewise.
84690         * sysdeps/i386/fpu/e_logl.S: Likewise.
84691         * sysdeps/i386/fpu/e_pow.S: Likewise.
84692         * sysdeps/i386/fpu/e_powf.S: Likewise.
84693         * sysdeps/i386/fpu/e_powl.S: Likewise.
84694         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84695         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84696         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84697         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84698         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84699         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84700         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84701         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84702         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84703         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84706         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84707         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84708         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84709         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84710         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84711         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84713         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84714         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84716         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84717         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84719         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84720         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84723         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84724         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84725         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84726         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84727         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84728         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84729         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84730         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84731         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84732         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84733         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84734         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84735         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84736         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84737         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84738         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84739         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84740         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84741         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84742         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84743         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84758         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84759         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84760         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84761         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84767         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84772         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84774         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84775         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84782         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84783         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84784         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84785         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84787         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84790         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84791         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84792         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84794         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84795         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84796         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84797         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84798         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84799         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84800         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84801         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84802         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84803         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84804         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84805         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84806         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84807         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84808         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84809         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84810         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84811         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84812         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84813         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84814         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84815         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84816         (__isnanf): Likewise.
84817         (__isinf_ns): Likewise.
84818         (__isinf_nsf): Likewise.
84819         (__finite): Likewise.
84820         (__finitef): Likewise.
84821         (__ieee754_sqrt): Define as macro.
84822         (__ieee754_sqrtf): Define as macro.
84823         (__ieee754_sqrtl): Define as macro.
84824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84825         inlined copy.
84826         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84827         __FINITE_MATH_ONLY__ consistent.
84828         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84830 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84832         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84833         of rawmemchr.
84835         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84837 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84839         * po/ja.po: Update from translation team.
84841 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84843         * locale/programs/locarchive.c (prepare_address_space): New function.
84844         (create_archive, enlarge_archive, open_archive): Use it.
84846         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84847         inside [SHARED], where it is used.
84849         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84851         * nss/getent.c (netgroup_keys): Remove unused variable.
84852         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84854 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84856         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84857         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84859         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84860         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84862         * math/Makefile (libm-calls): Add s_isinf_ns.
84863         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84864         * math/multc3.c: Likewise.
84865         * math/s_casin.c: Likewise.
84866         * math/s_casinf.c: Likewise.
84867         * math/s_casinl.c: Likewise.
84868         * math/s_ccos.c: Likewise.
84869         * math/s_ccosf.c: Likewise.
84870         * math/s_ccosl.c: Likewise.
84871         * math/s_ctan.c: Likewise.
84872         * math/s_ctanf.c: Likewise.
84873         * math/s_ctanh.c: Likewise.
84874         * math/s_ctanhf.c: Likewise.
84875         * math/s_ctanhl.c: Likewise.
84876         * math/s_ctanl.c: Likewise.
84877         * math/w_fmod.c: Likewise.
84878         * math/w_fmodf.c: Likewise.
84879         * math/w_fmodl.c: Likewise.
84880         * math/w_remainder.c: Likewise.
84881         * math/w_remainderf.c: Likewise.
84882         * math/w_remainderl.c: Likewise.
84883         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84884         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84885         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84887         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84888         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84889         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84890         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84892         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84893         of the number.
84894         * stdio-common/printf_fphex.c: Likewise.
84895         * stdio-common/printf_size.c: Likewise.
84897         * math/e_exp10.c: Include math_private.h using <...> not "...".
84898         * math/e_exp10f.c: Likewise.
84899         * math/e_exp10l.c: Likewise.
84900         * math/e_exp2l.c: Likewise.
84901         * math/e_j0l.c: Likewise.
84902         * math/e_j1l.c: Likewise.
84903         * math/e_jnl.c: Likewise.
84904         * math/e_lgammal_r.c: Likewise.
84905         * math/e_rem_pio2l.c: Likewise.
84906         * math/e_scalb.c: Likewise.
84907         * math/e_scalbf.c: Likewise.
84908         * math/e_scalbl.c: Likewise.
84909         * math/k_cosl.c: Likewise.
84910         * math/k_sinl.c: Likewise.
84911         * math/k_tanl.c: Likewise.
84912         * math/s_cacoshf.c: Likewise.
84913         * math/s_catan.c: Likewise.
84914         * math/s_catanf.c: Likewise.
84915         * math/s_catanh.c: Likewise.
84916         * math/s_catanhf.c: Likewise.
84917         * math/s_catanhl.c: Likewise.
84918         * math/s_catanl.c: Likewise.
84919         * math/s_ccosh.c: Likewise.
84920         * math/s_ccoshf.c: Likewise.
84921         * math/s_ccoshl.c: Likewise.
84922         * math/s_cexp.c: Likewise.
84923         * math/s_cexpf.c: Likewise.
84924         * math/s_cexpl.c: Likewise.
84925         * math/s_clog.c: Likewise.
84926         * math/s_clog10.c: Likewise.
84927         * math/s_clog10f.c: Likewise.
84928         * math/s_clog10l.c: Likewise.
84929         * math/s_clogf.c: Likewise.
84930         * math/s_clogl.c: Likewise.
84931         * math/s_csin.c: Likewise.
84932         * math/s_csinf.c: Likewise.
84933         * math/s_csinh.c: Likewise.
84934         * math/s_csinhf.c: Likewise.
84935         * math/s_csinhl.c: Likewise.
84936         * math/s_csinl.c: Likewise.
84937         * math/s_csqrt.c: Likewise.
84938         * math/s_csqrtf.c: Likewise.
84939         * math/s_csqrtl.c: Likewise.
84940         * math/s_ctan.c: Likewise.
84941         * math/s_ctanf.c: Likewise.
84942         * math/s_ctanh.c: Likewise.
84943         * math/s_ctanhf.c: Likewise.
84944         * math/s_ctanhl.c: Likewise.
84945         * math/s_ctanl.c: Likewise.
84946         * math/s_ldexp.c: Likewise.
84947         * math/s_ldexpf.c: Likewise.
84948         * math/s_ldexpl.c: Likewise.
84949         * math/s_significand.c: Likewise.
84950         * math/s_significandf.c: Likewise.
84951         * math/s_significandl.c: Likewise.
84952         * math/w_acos.c: Likewise.
84953         * math/w_acosf.c: Likewise.
84954         * math/w_acosh.c: Likewise.
84955         * math/w_acoshf.c: Likewise.
84956         * math/w_acoshl.c: Likewise.
84957         * math/w_acosl.c: Likewise.
84958         * math/w_asin.c: Likewise.
84959         * math/w_asinf.c: Likewise.
84960         * math/w_asinl.c: Likewise.
84961         * math/w_atan2.c: Likewise.
84962         * math/w_atan2f.c: Likewise.
84963         * math/w_atan2l.c: Likewise.
84964         * math/w_atanh.c: Likewise.
84965         * math/w_atanhf.c: Likewise.
84966         * math/w_atanhl.c: Likewise.
84967         * math/w_cosh.c: Likewise.
84968         * math/w_coshf.c: Likewise.
84969         * math/w_coshl.c: Likewise.
84970         * math/w_dremf.c: Likewise.
84971         * math/w_exp10.c: Likewise.
84972         * math/w_exp10f.c: Likewise.
84973         * math/w_exp10l.c: Likewise.
84974         * math/w_exp2.c: Likewise.
84975         * math/w_exp2f.c: Likewise.
84976         * math/w_fmod.c: Likewise.
84977         * math/w_fmodf.c: Likewise.
84978         * math/w_fmodl.c: Likewise.
84979         * math/w_hypot.c: Likewise.
84980         * math/w_hypotf.c: Likewise.
84981         * math/w_hypotl.c: Likewise.
84982         * math/w_j0.c: Likewise.
84983         * math/w_j0f.c: Likewise.
84984         * math/w_j0l.c: Likewise.
84985         * math/w_j1.c: Likewise.
84986         * math/w_j1f.c: Likewise.
84987         * math/w_j1l.c: Likewise.
84988         * math/w_jn.c: Likewise.
84989         * math/w_jnf.c: Likewise.
84990         * math/w_jnl.c: Likewise.
84991         * math/w_lgamma.c: Likewise.
84992         * math/w_lgamma_r.c: Likewise.
84993         * math/w_lgammaf.c: Likewise.
84994         * math/w_lgammaf_r.c: Likewise.
84995         * math/w_lgammal.c: Likewise.
84996         * math/w_lgammal_r.c: Likewise.
84997         * math/w_log.c: Likewise.
84998         * math/w_log10.c: Likewise.
84999         * math/w_log10f.c: Likewise.
85000         * math/w_log10l.c: Likewise.
85001         * math/w_log2.c: Likewise.
85002         * math/w_log2f.c: Likewise.
85003         * math/w_log2l.c: Likewise.
85004         * math/w_logf.c: Likewise.
85005         * math/w_logl.c: Likewise.
85006         * math/w_pow.c: Likewise.
85007         * math/w_powf.c: Likewise.
85008         * math/w_powl.c: Likewise.
85009         * math/w_remainder.c: Likewise.
85010         * math/w_remainderf.c: Likewise.
85011         * math/w_remainderl.c: Likewise.
85012         * math/w_scalb.c: Likewise.
85013         * math/w_scalbf.c: Likewise.
85014         * math/w_scalbl.c: Likewise.
85015         * math/w_sinh.c: Likewise.
85016         * math/w_sinhf.c: Likewise.
85017         * math/w_sinhl.c: Likewise.
85018         * math/w_sqrt.c: Likewise.
85019         * math/w_sqrtf.c: Likewise.
85020         * math/w_sqrtl.c: Likewise.
85021         * math/w_tgamma.c: Likewise.
85022         * math/w_tgammaf.c: Likewise.
85023         * math/w_tgammal.c: Likewise.
85025         * po/ja.po: Update from translation team.
85027 2011-09-29  Andreas Jaeger  <aj@suse.de>
85029         [BZ #13179]
85030         * sunrpc/netname.c (netname2host): Fix logic.
85032         [BZ #6779]
85033         [BZ #6783]
85034         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85035         correctly.
85036         * math/w_remainder.c (__remainder): Likewise.
85037         * math/w_remainderf.c (__remainderf): Likewise.
85038         * math/libm-test.inc (remainder_test): Add test cases.
85040 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85042         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85043         sdiv_qrnnd.
85045 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85047         * string/test-memcmp.c: Avoid unncessary #defines.
85048         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85050 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85052         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85053         Use new sse2 version for core i3 - i7 as it's faster
85054         than sse42 version.
85055         (bit_Prefer_PMINUB_for_stringop): New.
85056         * sysdeps/x86_64/rawmemchr.S: Update.
85057         Replace with faster SSE2 version.
85058         * sysdeps/x86_64/memrchr.S: New file.
85059         * sysdeps/x86_64/memchr.S: Update.
85060         Replace with faster SSE2 version.
85062 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85064         * elf/dl-load.c (lose): Add cast to avoid warning.
85066 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85068         * po/ca.po: Update from translation team.
85070         * inet/getnetgrent_r.c: Hook up nscd.
85071         * nscd/Makefile (routines): Add nscd_netgroup.
85072         (nscd-modules): Add netgroupcache.
85073         (CFLAGS-netgroupcache.c): Define.
85074         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85075         (cache_search): Add const to second parameter.
85076         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85077         INNETGR.
85078         (dbs): Add netgrdb entry.
85079         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85080         (verify_persistent_db): Handle netgrdb.
85081         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85082         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85083         GETFDNETGR.
85084         (netgroup_response_header): Define.
85085         (innetgroup_response_header): Define.
85086         (datahead): Add netgroup_response_header and innetgroup_response_header
85087         elements.
85088         * nscd/nscd.conf: Add entries for netgroup cache.
85089         * nscd/nscd.h (dbtype): Add netgrdb.
85090         (_PATH_NSCD_NETGROUP_DB): Define.
85091         (netgroup_iov_disabled): Declare.
85092         (xmalloc, xcalloc, xrealloc): Move declarations here.
85093         (cache_search): Adjust prototype.
85094         Add netgroup-related prototypes.
85095         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85096         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85097         (__nscd_innetgr): Declare.
85098         * nscd/selinux.c (perms): Use access_vector_t as element type and
85099         add netgroup-related initializers.
85100         * nscd/netgroupcache.c: New file.
85101         * nscd/nscd_netgroup.c: New file.
85102         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85103         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85104         For four parameters use innetgr.
85105         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85106         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85107         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85108         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85110         * nscd/connections.c (register_traced_file): Don't register file
85111         for disabled databases.
85113 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85115         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85117         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85118         from tree and freeing node.
85120 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85122         * nss/nsswitch.c (__nss_database_lookup): Handle
85123         nss_parse_service_list out of memory case.
85125 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85127         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85128         out of memory case.
85130 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85132         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85133         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85134         pass it down.
85135         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85136         elf_machine_rela, elf_machine_lazy_rel.
85137         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85138         (ELF_DYNAMIC_DO_REL): Likewise.
85139         (ELF_DYNAMIC_DO_RELA): Likewise.
85140         (ELF_DYNAMIC_RELOCATE): Likewise.
85141         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85142         to ELF_DYNAMIC_DO_REL.
85143         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85144         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85145         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85146         elf_machine_rela.
85147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85148         skip_ifunc, don't call ifunc function if non-zero.
85149         (elf_machine_rela): Likewise.
85150         (elf_machine_lazy_rel): Likewise.
85151         (elf_machine_lazy_rela): Likewise.
85152         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85153         (elf_machine_lazy_rel): Likewise.
85154         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85155         Likewise.
85156         (elf_machine_lazy_rel): Likewise.
85157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85158         Likewise.
85159         (elf_machine_lazy_rel): Likewise.
85160         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85161         (elf_machine_lazy_rel): Likewise.
85162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85163         (elf_machine_lazy_rel): Likewise.
85164         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85165         (elf_machine_lazy_rel): Likewise.
85166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85167         (elf_machine_lazy_rel): Likewise.
85168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85169         (elf_machine_lazy_rel): Likewise.
85170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85171         (elf_machine_lazy_rel): Likewise.
85173 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85175         * nss/nss_files/files-init.c (_nss_files_init): Use static
85176         initialization for all the *_traced_file variables.
85178 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85180         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85182 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85184         [BZ #13226]
85185         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85187 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85189         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85190         Reread the line before reparsing it.
85192 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85194         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85196 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85197             Maxim Kuvyrkov  <maxim@codesourcery.com>
85198             Joseph Myers  <joseph@codesourcery.com>
85200         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85201         if needed for __stack_chk_guard.
85203 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85205         * sysdeps/posix/spawni.c (script_execute): Always define it.
85206         It will be optimized away if unused.
85207         (maybe_script_execute): New function.
85208         (__spawni): Call it.
85210         * Makerules: Don't include tls.make.
85211         (config-tls): Always set to thread.
85212         * tls.make.c: File removed.
85214 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85216         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85217         * config.make.in (CPPFLAGS-config): New substituted variable.
85219 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85221         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85223         [BZ #13192]
85224         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85225         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85227 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85229         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85230         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85232         (CALL_FAIL): Likewise.
85233         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85234         (CALL_FAIL): Macro removed.
85235         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85237 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85239         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85240         for __FINITE_MATH_ONLY__ == 1.
85242 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85244         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85245         __ieee754_sqrt instead of sqrt.
85246         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85247         __ieee754_sqrtf instead of sqrtf.
85248         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85249         __floorf instead of floorf.
85250         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85251         __floorf, __truncf instead of floorf, truncf.
85253 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85255         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85257         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85258         __extern_always_inline.
85259         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85260         32-bit.
85262 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85264         * elf/rtld.c (dl_main): Also relocate in dependency order when
85265         doing symbol dependency testing.
85267 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85270         Always define `refsym'.
85272 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85274         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85275         (__FD_ELT): Renamed from __FDELT.
85276         * misc/bits/select2.h (__FD_ELT): Likewise.
85277         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85278         __FD_MASK instead of __FDELT, __FDMASK.
85279         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85280         Likewise.
85281         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85282         Likewise.
85284         * elf/Makefile (gen-ldd): Fix pattern.
85286         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85287         (init_tls): Likewise.
85289 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85293 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85295         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85296         `struct cmsghdr *' instead of `void *'.
85297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85298         Likewise.
85300 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85302         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85303         if non-absolute.
85304         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85305         ldd_rewrite_script.
85307 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85309         * configure.in: Remove --with-tls option.
85310         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85311         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85312         out in case it is missing.
85313         * sysdeps/ia64/elf/configure.in: Likewise.
85314         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85315         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85316         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85317         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85318         * sysdeps/sh/elf/configure.in: Likewise.
85319         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85320         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85321         * sysdeps/x86_64/elf/configure.in: Likewise.
85322         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85323         * sysdeps/mach/hurd/tls.h: Likewise.
85325         [BZ #13067]
85326         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85328         [BZ #13090]
85329         * configure.in: Fix use of AC_INIT.
85331         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85333 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85335         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85336         __set_errno.
85337         * malloc/hooks.c: Likewise.
85339         [BZ #11929]
85340         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85341         variables statically.
85342         (narenas): Initialize.
85343         (list_lock): Initialize.
85344         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85345         initializtion of main_arena and list_lock.  Small cleanups.
85346         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85347         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85348         Add initializers to main_arena and mp_.
85349         (malloc_state): Remove pagesize member.  Change all users to use
85350         GLRO(dl_pagesize).
85352         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85353         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85354         is always initialized.
85356         * malloc/malloc.c: Removed unused configurations and dead code.
85357         * malloc/arena.c: Likewise.
85358         * malloc/hooks.c: Likewise.
85359         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85361         * include/tls.h: Removed.  USE___THREAD must always be defined.
85362         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85363         * elf/dl-libc.c: Likewise.
85364         * elf/dl-tsd.c: Likewise.
85365         * include/errno.h: Likewise.
85366         * include/netdb.h: Likewise.
85367         * include/resolv.h: Likewise.
85368         * inet/herrno-loc.c: Likewise.
85369         * inet/herrno.c: Likewise.
85370         * malloc/arena.c: Likewise.
85371         * malloc/hooks.c: Likewise.
85372         * malloc/malloc.c: Likewise.
85373         * resolv/res-state.c: Likewise.
85374         * resolv/res_libc.c: Likewise.
85375         * sysdeps/i386/dl-machine.h: Likewise.
85376         * sysdeps/ia64/dl-machine.h: Likewise.
85377         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85379         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85380         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85381         * sysdeps/sh/dl-machine.h: Likewise.
85382         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85383         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85384         * sysdeps/unix/i386/sysdep.S: Likewise.
85385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85386         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85391         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85395         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85396         * sysdeps/x86_64/dl-machine.h: Likewise.
85397         * tls.make.c: Likewise.
85399         * configure.in: Remove --with-__thread option.  Make tests for
85400         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85401         tls_model attribute fail if no support is available.  Remove
85402         USE_IN_LIBIO.
85403         * Makeconfig: Adjust for dropped configure option.  All features are
85404         now mandatory.
85405         * Makerules: Likewise.
85406         * Versions.def: Likewise.
85407         * argp/argp-fmtstream.c: Likewise.
85408         * argp/argp-fmtstream.h: Likewise.
85409         * argp/argp-help.c: Likewise.
85410         * assert/assert.c: Likewise.
85411         * config.h.in: Likewise.
85412         * config.make.in: Likewise.
85413         * configure: Likewise.
85414         * configure.in: Likewise.
85415         * csu/Versions: Likewise.
85416         * csu/init.c: Likewise.
85417         * elf/tst-audit2.c: Likewise.
85418         * elf/tst-tls10.c: Likewise.
85419         * elf/tst-tls10.h: Likewise.
85420         * elf/tst-tls11.c: Likewise.
85421         * elf/tst-tls12.c: Likewise.
85422         * elf/tst-tls14.c: Likewise.
85423         * elf/tst-tlsmod11.c: Likewise.
85424         * elf/tst-tlsmod12.c: Likewise.
85425         * elf/tst-tlsmod13.c: Likewise.
85426         * elf/tst-tlsmod13a.c: Likewise.
85427         * elf/tst-tlsmod14a.c: Likewise.
85428         * elf/tst-tlsmod15b.c: Likewise.
85429         * elf/tst-tlsmod16a.c: Likewise.
85430         * elf/tst-tlsmod16b.c: Likewise.
85431         * elf/tst-tlsmod7.c: Likewise.
85432         * elf/tst-tlsmod8.c: Likewise.
85433         * elf/tst-tlsmod9.c: Likewise.
85434         * gmon/gmon.c: Likewise.
85435         * grp/fgetgrent_r.c: Likewise.
85436         * grp/putgrent.c: Likewise.
85437         * hurd/fopenport.c: Likewise.
85438         * include/libc-symbols.h: Likewise.
85439         * include/tls.h: Likewise.
85440         * intl/gettextP.h: Likewise.
85441         * intl/loadinfo.h: Likewise.
85442         * locale/global-locale.c: Likewise.
85443         * locale/localeinfo.h: Likewise.
85444         * mach/devstream.c: Likewise.
85445         * malloc/arena.c: Likewise.
85446         * malloc/set-freeres.c: Likewise.
85447         * misc/err.c: Likewise.
85448         * misc/getttyent.c: Likewise.
85449         * misc/mntent_r.c: Likewise.
85450         * posix/getopt.c: Likewise.
85451         * posix/wordexp.c: Likewise.
85452         * pwd/fgetpwent_r.c: Likewise.
85453         * resolv/Versions: Likewise.
85454         * resolv/res_hconf.c: Likewise.
85455         * shadow/fgetspent_r.c: Likewise.
85456         * shadow/putspent.c: Likewise.
85457         * stdio-common/printf_fphex.c: Likewise.
85458         * stdio-common/tmpfile.c: Likewise.
85459         * stdlib/abort.c: Likewise.
85460         * stdlib/fmtmsg.c: Likewise.
85461         * sunrpc/auth_unix.c: Likewise.
85462         * sunrpc/clnt_perr.c: Likewise.
85463         * sunrpc/clnt_tcp.c: Likewise.
85464         * sunrpc/clnt_udp.c: Likewise.
85465         * sunrpc/clnt_unix.c: Likewise.
85466         * sunrpc/openchild.c: Likewise.
85467         * sunrpc/svc_simple.c: Likewise.
85468         * sunrpc/svc_tcp.c: Likewise.
85469         * sunrpc/svc_udp.c: Likewise.
85470         * sunrpc/svc_unix.c: Likewise.
85471         * sunrpc/xdr.c: Likewise.
85472         * sunrpc/xdr_array.c: Likewise.
85473         * sunrpc/xdr_rec.c: Likewise.
85474         * sunrpc/xdr_ref.c: Likewise.
85475         * sunrpc/xdr_stdio.c: Likewise.
85477 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85479         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85481 2011-07-03  Andreas Jaeger  <aj@suse.de>
85483         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85484         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85485         regenerate with gen-libm-tests.pl.
85487 2010-05-12  Petr Baudis  <pasky@suse.cz>
85489         [BZ #11589]
85490         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85491         around j0() zero points by switching to j1().
85492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85493         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85497 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85499         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85500         instead of 0.
85501         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85502         instead of 0.
85503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85504         Patch in part by Pavel Roskin <proski@gnu.org>.
85506         [BZ #13138]
85507         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85508         realloc.
85509         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85510         Free memory block if necessary.
85512         [BZ #12847]
85513         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85514         be NULL.  Don't lock in this case.
85516 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85518         * elf/elf.h (ELFOSABI_GNU): New macro.
85519         (ELFOSABI_LINUX): Define to that.
85521 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85523         * string/strncat.c (strncat): Undef the symbol in case it has been
85524         defined in bits/string.h.
85526 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85528         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85530         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85531         link map.
85533 2011-08-17  Andreas Jaeger  <aj@suse.de>
85535         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85537 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85538             Ian Lance Taylor  <iant@google.com>
85540         * math/libm-test.inc (lround_test): New testcase.
85541         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85543 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85545         * Makefile: Remove support for automatic cvs check-ins.
85546         * Makerules: Likewise.
85547         * config.make.in: Likewise.
85548         * configure.in: Likewise.
85549         * intl/Makefile: Likewise.
85550         * locale/Makefile: Likewise.
85551         * po/Makefile: Likewise.
85552         * posix/Makefile: Likewise.
85553         * sysdeps/gnu/Makefile: Likewise.
85554         * sysdeps/mach/hurd/Makefile: Likewise.
85555         * sysdeps/sparc/sparc32/Makefile: Likewise.
85557         [BZ #13118]
85558         * posix/Makefile (bug-regex32-ENV): Define.
85559         Patch by John Stanley <jpsinthemix@verizon.net>.
85561         * misc/Makefile (headers): Add bits/select2.h.
85562         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85563         * misc/bits/select2.h: New file.
85564         * include/bits/select2.h: New file.
85565         * debug/Makefile (routines): Add fdelt_chk.
85566         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85567         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85568         FD_ISSET.
85569         * debug/fdelt_chk.c: New file.
85571         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85572         * wcsmbs/test-wmemcmp.c: Likewise.
85573         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85574         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85576 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85578         * string/Makefile (strop-tests): Add memcmp.
85579         * string/test-wmemcmp.c: New file.
85580         * string/test-memcmp.c: Add wmemcmp support.
85582 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85584         [BZ #13153]
85585         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85586         2011-07-19 change.
85588         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85589         garbage value in a __mach_port_mod_refs call in the cases of the
85590         task-self and thread-self ports.
85592 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85594         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85596 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85598         * elf/dl-load.c (lose): Check for non-null L.
85600 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85602         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85604         * elf/dl-libc.c (dlerror_run): Pass back error code from
85605         dl_catch_error.
85607         [BZ #13123]
85608         * elf/dl-load.c (lose): Free l_origin if it is valid.
85610         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85611         names.
85612         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85615         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85616         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85617         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85619 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85621         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85622         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85623         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85624         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85625         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85626         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85627         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85628         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85629         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85630         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85632 2011-08-15  Alan Modra  <amodra@gmail.com>
85634         [BZ #13092]
85635         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85636         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85637         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85638         ppc_mcount to static-only-routines.
85639         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85640         __mcount_internal.
85641         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85642         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85644 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85647         for finite and infinity parameters.
85649 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85652         and add nop instructions for throughput optimization.
85653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85655 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85658         aligned copy for power7 with vector-scalar instructions.
85659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85661 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85664         AVX check.
85666 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85668         [BZ #13144]
85669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85670         last change.
85672 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85674         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85675         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85676         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85677         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85678         clock_gettime.
85680 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85682         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85683         Forgot to demangle the pointer.
85685         * sysdeps/i386/sysdep.h: Define atom_text_section.
85686         * sysdeps/x86_64/sysdep.h: Likewise.
85687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85688         section with atom_text_section.
85689         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85693         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85695         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85696         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85697         already be defined.  Change to take two parameters and don't assign
85698         result to variable.  Adjust all users.
85699         Define INTERNAL_GETTIME if not already defined.
85700         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85701         call.
85702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85703         HAVE_CLOCK_GETTIME_VSYSCALL.
85704         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85706         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85707         gettimeofday vsyscall, just use time.
85709 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85711         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85712         <errno.h>.
85714 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85716         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85717         syscall on x86-64.
85718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85719         syscall.
85720         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85722         syscall if possible.
85724 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85726         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85727         e_ident.  Don't pass to find_mapsXX.
85728         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85730 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85733         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85734         * sysdeps/x86_64/multiarch/strchr.S: Update.
85735         Check bit_slow_BSF bit.
85736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85737         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85738         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85740 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85742         [BZ #13134]
85743         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85744         before glibc 2.15.
85745         (tryshell): Define.
85746         (__spawni): Change last parameter to be flag.  Test
85747         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85748         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85749         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85750         * posix/spawni.c: Likewise.
85751         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85752         * posix/spawnp.c: Likewise.  Change normal version to use
85753         SPAWN_XFLAGS_USE_PATH.
85754         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85755         SPAWN_XFLAGS_TRY_SHELL.
85757         [BZ #13150]
85758         * posix/glob.h: Remove gcc 1.x support.
85760         [BZ #13068]
85761         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85763 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85766         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85767         strrchr-sse2-bsf
85768         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85769         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85770         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85772         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85773         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85775 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85777         * sysdeps/x86_64/wcscmp.S: New file.
85779         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85780         wcscmp-c wcscmp-sse2
85781         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85782         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85783         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85784         * wcsmbs/wcscmp.c: Allow renaming.
85786 2011-09-05  David S. Miller  <davem@davemloft.net>
85788         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85789         stack slot, rather than the struct return pointer slot.
85790         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85791         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85793         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85797         * po/ja.po: Update from translation team.
85799         [BZ #13144]
85800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85801         kernel in 64-bit binaries.
85803 2011-09-01  David S. Miller  <davem@davemloft.net>
85805         * elf/elf.h (HWCAP_SPARC_*): Move to..
85806         * sysdeps/sparc/sysdep.h: this new file and add new values.
85807         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85808         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85809         _DL_HWCAP_COUNT to 24.
85810         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85811         entries.
85812         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85813         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85814         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85816         instead of magic constants.
85817         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85819 2011-08-31  David S. Miller  <davem@davemloft.net>
85821         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85823         Reimplement to do errno handling inline.
85824         (SYSCALL_ERROR_HANDLER): New macro.
85825         (__SYSCALL_STRING): Do not do errno handling in asm.
85826         (__CLONE_SYSCALL_STRING): Delete.
85827         (__INTERNAL_SYSCALL_STRING): Delete.
85828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85829         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85830         (PSEUDO): Reimplement to do errno handling inline.
85831         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85832         (SYSCALL_ERROR_HANDLER): New macro.
85833         (__SYSCALL_STRING): Do not do errno handling in asm.
85834         (__CLONE_SYSCALL_STRING): Delete.
85835         (__INTERNAL_SYSCALL_STRING): Delete.
85836         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85837         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85838         i386.
85839         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85840         (inline_syscall*): Add 'err' argument.
85841         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85842         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85843         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85844         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85846         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85847         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85849 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85851         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85853 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85855         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85856         directive.
85858 2011-08-24  David S. Miller  <davem@davemloft.net>
85860         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85862 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85864         * elf/Makefile: Add rules to build and run unload8 test.
85865         * elf/unload8.c: New file.
85866         * elf/unload8mod1.c: New file.
85867         * elf/unload8mod1x.c: New file.
85868         * elf/unload8mod2.c: New file.
85869         * elf/unload8mod3.c: New file.
85871         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85872         it wasn't used.
85874 2011-08-23  David S. Miller  <davem@davemloft.net>
85876         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85877         subtract stack bias.
85878         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85879         %sp not %fp in calculations.
85880         (_JMPBUF_UNWINDS_ADJ): Likewise.
85882         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85883         (aio_suspend): Call it to force an exception region around the
85884         AIO_MISC_WAIT() invocation.
85886 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85888         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85889         backslash.
85891 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85893         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85894         protection macro.
85895         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85896         and <dl-machine.h>.
85897         (Elf64_FuncDesc): Remove.
85899 2011-08-22  David S. Miller  <davem@davemloft.net>
85901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85902         sigaltstack check, add missing cfi directives.
85903         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85904         missing cfi directives, and sigaltstack handling.
85906 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85908         [BZ #11724]
85909         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85910         object is seen twice.
85911         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85913         * elf/Makefile (distribute): Add tst-initorder2.c.
85914         (tests): Add tst-initorder2.
85915         (modules-names): Add tst-initorder2a tst-initorder2b
85916         tst-initorder2c tst-initorder2d.  Add rules to build them.
85917         ($(objpfx)tst-initorder2.out): New rule.
85918         * elf/tst-initorder2.c: New file.
85919         * elf/tst-initorder2.exp: New file.
85921 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85923         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85925         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85926         dependencies back to end of function.
85928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85929         $(elfobjdir)/ld.so.
85931 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85934         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85935         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85936         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85937         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85938         of __vdso_gettimeofday.
85939         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85940         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85941         attribute_hidden.
85942         (_libc_vdso_platform_setup): Remove initialization of
85943         __vdso_gettimeofday and __vdso_time.
85945 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85947         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85948         and fgetc_unlocked.
85949         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85950         getc_unlocked.
85952         * elf/dl-open.c (add_to_global): Report additions to the global scope
85953         for LD_DEBUG=scopes.
85954         (dl_open_worker): Also print scope of newly loaded dependencies.
85955         (_dl_show_scope): Indicate if there is no scope.
85957         [BZ #13114]
85958         * stdio-common/Makefile (tests): Add bug24.
85959         * stdio-common/bug24.c: New file.
85961 2011-08-19  Andreas Jaeger  <aj@suse.de>
85963         [BZ #13114]
85964         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85965         non-existant file when using close-on-exec mode.
85967 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85970         the very first instruction.
85972         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85973         the CFI state in the end.
85974         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85975         inclusion of dl-trampoline.h.
85976         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85978 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85980         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85981         expectations for long double.
85983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85984         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85986 2011-08-14  David S. Miller  <davem@davemloft.net>
85988         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85989         artificual limit depends upon the system page size.
85991 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85993         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85994         * resolv/Makefile: Define CFLAGS-libresolv.
85996 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85998         * nss/makedb.c (compute_tables): Make variables used in nested
85999         function static.
86001 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86003         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86004         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86005         if buffer was too small.
86007         * elf/pldd.c (main): Attach to all threads in the process.
86008         Rewrite /proc handling to use *at functions.
86010 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86012         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86013         specifies first scope to show.
86014         (dl_open_worker): Update callers.  Move printing scope of new
86015         object to before the relocation.
86016         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86017         * sysdeps/generic/ldsodefs.h: Update declaration.
86019         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86020         string for the scope number.
86022 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86024         * nscd/servicescache.c (cache_addserv): Make sure written is always
86025         initialized.
86027 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86029         * sysdeps/i386/i486/bits/atomic.h
86030         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86031         statement expression, so as to suppress "set but not used" warning.
86032         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86034         * string/strncat.c (STRNCAT): Use prototype definition.
86036         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86037         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86038         -Iprograms here.
86039         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86040         (localedef-modules): Add localedef.
86041         (locale-modules): Add locale.
86043         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86044         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86045         to avoid a warning.
86047 2011-08-14  David S. Miller  <davem@davemloft.net>
86049         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86050         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86052 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86054         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86055         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86056         * elf/rtld.c (dl_main): Set l_name of vDSO.
86057         Call _dl_show_scope when DL_DEBUG_SCOPES.
86058         (process_dl_debug): Recognize scopes flag and also set it for all.
86059         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86060         Declare _dl_show_scope.
86062         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86063         (do_dlopen): Pass caller_dlopen to dl_open.
86064         (__libc_dlopen_mode): Initialize caller_dlopen.
86066         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86067         of libc.  Make tolower call locale-independent.  Optimize a bit by
86068         using isdigit instead of isalnum.
86069         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86071 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86073         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86074         was a dependency or dynamically loaded.
86076 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86078         * intl/l10nflist.c: Allow architecture-specific pop function.
86079         * sysdeps/x86_64/l10nflist.c: New file.
86081         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86082         classification.
86084 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86086         * include/dirent.h: Add libc_hidden_proto for scandirat and
86087         scandirat64.  Don't declare __scandirat64.
86088         * dirent/scandirat.c: Add libc_hidden_def.
86089         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86090         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86092 2011-08-10  David S. Miller  <davem@davemloft.net>
86094         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86095         enum.
86096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86100 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86102         * Versions.def [libc]: Add GLIBC_2.15.
86103         * dirent/Makefile (routines): Add scandirat and scandirat64.
86104         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86105         GLIBC_2.15.
86106         * dirent/dirent.h: Declare scandirat and scandirat64.
86107         * dirent/scandirat.c: New file.
86108         * dirent/scandirat64.c: New file.
86109         * sysdeps/wordsize-64/scandirat.c: New file.
86110         * sysdeps/wordsize-64/scandirat64.c: New file.
86111         * dirent/opendir.c: Define opendirat.
86112         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86113         using scandirat.
86114         * dirent/scandir64.c: Adjust for scandir.c change.
86115         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86116         __scandirat64, and __scandir_cancel_handler.
86117         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86118         additional parameter and use openat instead of open (outside of ld.so).
86119         Add new __opendir as wrapper around __opendirat.
86120         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86121         here without requiring old scandirat implementation.
86123 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86125         * dirent/scandir.c (cancel_handler): Renamed to
86126         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86127         defined.  Adjust users.
86128         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86129         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86131 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86133         * string/test-string.h (IMPL): Use __STRING to expand name and then
86134         stringify it.
86136         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86137         of cleanups.
86139 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86141         * string/Makefile: Update.
86142         (strop-tests): Append strncat.
86143         * string/test-wcscmp.c: New file.
86144         New comprehensive test for wcscmp.
86145         * string/test-strcmp.c: Update.
86146         (WIDE): New define.
86148 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86150         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86151         line.
86153 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86156         encoding to ACE if AI_IDN.
86158 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86161         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86163 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86166         Fix overflow bug in strncat.
86167         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86169         * string/test-strncat.c: Update.
86170         Add new tests for checking overflow bugs.
86172 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86175         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86176         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86177         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86178         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86179         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86180         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86181         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86182         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86184         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86185         (USE_AS_STRCAT): Define.
86186         Add strcat and strncat support.
86187         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86189 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86191         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86192         __n bigger than INT_MAX+1.
86193         (__strncmp_g): Likewise.
86195 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86197         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86198         * libio/stido.h: Likewise.
86200         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86201         (AF_NFC): Define.
86202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86203         (AF_NFC): Define.
86205         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86207         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86208         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86209         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86211         [BZ #13021]
86212         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86213         installed.
86215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86216         typo.
86217         (_dl_x86_64_save_sse): Likewise.
86219 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86222         OSXSAVE.
86223         (_dl_x86_64_save_sse): Likewise.
86225         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86227         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86229 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86232         change.
86233         (_dl_x86_64_save_sse): Use correct AVX check.
86235 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86237         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86238         bug in strncpy/strncat.
86239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86241 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86243         * string/tester.c (test_strcat): Add tests for different alignments
86244         of source and destination.
86245         (test_strncat): Likewise.
86247 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86249         [BZ #12852]
86250         * posix/glob.c (glob): Check passed in values before using them in
86251         expressions to avoid some overflows.
86252         (glob_in_dir): Likewise.
86254         [BZ #13007]
86255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86256         check for AVX enablement so that we don't crash with old kernels and
86257         new hardware.
86258         * elf/tst-audit4.c: Add same checks here.
86259         * elf/tst-audit6.c: Likewise.
86261         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86263 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86265         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86267 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86269         * po/cs.po: Update from translation team.
86270         * po/bg.po: Likewise.
86272 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86274         * misc/sys/cdefs.h: Add support for const attribute.
86275         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86276         to gnu_dev_{major,minor,makedev} functions.
86278 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86280         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86282 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86284         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86285         strlen results.
86287 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86290         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86291         register in order to avoid conflicts with the soft frame pointer
86292         being held in r11 when necessary.
86293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86294         (INTERNAL_VSYSCALL_NCS): Likewise.
86296 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86298         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86299         * elf/dl-fini.c (_dl_fini): Adjust caller.
86300         * elf/dl-close.c (_dl_close_worker): Likewise.
86301         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86303 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86305         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86306         "aux_cache->nlibs < 0".
86308         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86309         in the reload-count case.
86311 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86314         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86315         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86316         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86317         * sysdeps/x86_64/multiarch/strcat.S: New file.
86318         * sysdeps/x86_64/multiarch/strncat.S: New file.
86319         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86321         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86322         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86324         (USE_AS_STRCAT): Define.
86325         Add strcat and strncat support.
86326         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86328         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86329         * string/strncat.c: Update.
86330         (USE_AS_STRNCAT): Define.
86331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86332         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86333         and i7.
86334         * sysdeps/x86_64/multiarch/init-arch.h
86335         (bit_Prefer_PMINUB_for_stringop): New.
86336         (index_Prefer_PMINUB_for_stringop): Likewise.
86337         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86338         bit_Prefer_PMINUB_for_stringop.
86340 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86342         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86343         buffer64.
86344         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86345         of casting of buffer.
86346         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86347         buffer32 and buffer64.
86348         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86349         writes instead of casting of buffer.
86350         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86351         buffer32.
86352         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86353         casting of buffer.
86355 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86357         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86359 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86361         * nscd/nscd.c (termination_handler): Don't do anything for a database
86362         if it has not yet been initialized.
86364 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86366         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86368 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86370         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86372 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86374         * po/nl.po: Update from translation team.
86375         * po/sv.po: Likewise.
86377 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86379         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86380         now disallowed by GCC.
86382         * configure.in (use-default-link): Default to yes if a test -shared
86383         link meets our qualifications.
86384         * configure: Regenerated.
86386         * config.make.in (output-format): New variable.
86387         * configure.in: Check for ld --print-output-format support.
86388         * configure: Regenerated.
86389         * Makerules ($(common-objpfx)format.lds)
86390         [$(output-format) != unknown]: Just use $(output-format),
86391         instead of the linker-script munging.
86393 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86395         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86396         of $(common-objpfx)shlib.lds.
86397         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86399         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86400         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86402         * configure.in (-z relro check): Adjust test code to add a large
86403         writable data section after it.
86404         * configure: Regenerated.
86406 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86408         * configure.in (-z relro check): Fix test code to make the variable
86409         truly const.
86410         * configure: Regenerated.
86412 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86414         * nscd/nscd.h (struct traced_file): Define.
86415         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86416         elements.  Add traced_files.
86417         (inotify_fd): Declare.
86418         (register_traced_file): Declare.
86419         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86420         (inotify_fd): Export.
86421         (resolv_conf_descr): Remove.
86422         (nscd_init): Move inotify descriptor creation to main.
86423         Don't register files for notification here.
86424         (register_traced_file): New function.
86425         (invalidate_cache): Don't use reset_res to determine whether to call
86426         res_init, go through the list of registered files.
86427         (main_loop_poll): The inotify descriptors are now stored in the
86428         structures for the traced files.
86429         (main_loop_epoll): Likewise.
86430         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86431         to __nss_disable_nscd.
86432         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86433         for a database anymore.  Check the records for all the registered
86434         files instead.
86435         * nss/Makefile (libnss_files-routines): Add files-init.
86436         (libnss_db-routines): Add db-init.
86437         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86438         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86439         * nss/nss_db/db-init.c: New file.
86440         * nss/nss_files/files-init.c: New file.
86441         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86442         __nss_lookup_function.
86443         (__nss_lookup_function): Call nss_load_library.
86444         (nss_load_all_libraries): New function.
86445         (__nss_disable_nscd): Take parameter with callback function for files
86446         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86447         used for the cached services.
86448         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86449         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86450         options for features to all the files in nscd.
86452         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86454 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86456         * csu/elf-init.c (__libc_csu_init): Comment typo.
86458 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86460         * po/pl.po: Update from translation team.
86461         * po/ja.po: Likewise.
86462         * po/ru.po: Likewise.
86463         * po/ko.po: Likewise.
86464         * po/fr.po: Likewise.
86466 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86468         * configure.in (.ctors/.dtors header and trailer check):
86469         Use an empirical test on a built program.
86470         * configure: Regenerated.
86472         * configure.in (-z relro check): Use an empirical test on a built DSO.
86473         Detect, but do not require, on ia64.
86474         * configure: Regenerated.
86476         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86477         Update tests that use readelf to use $READELF instead.
86478         * configure: Regenerated.
86480 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86482         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86483         if the result is not used.
86485 2011-07-05  Andreas Jaeger  <aj@suse.de>
86487         [BZ #9696]
86488         * stdlib/tst-strtod.c: Add testcase.
86490 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86492         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86493         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86494         The latter has a higher limit.  Take additional parameter to pass to
86495         the new function.
86496         (__pathconf): Pass file to __statfs_link_max.
86497         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86498         __statfs_link_max.
86499         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86500         __statfs_link_max.
86502         [BZ #12868]
86503         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86504         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86505         Handle Lustre.
86506         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86507         (__statfs_filesize_max): Likewise.
86508         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86510 2011-07-05  Andreas Jaeger  <aj@suse.de>
86512         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86514 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86516         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86517         `status' variable.
86518         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86519         Likewise.
86521 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86523         * Makefile (strop-tests): Add strncat.
86524         * string/test-strncat.c: New file.
86526 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86528         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86530 2011-06-21  Andreas Jaeger  <aj@suse.de>
86532         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86533         Copy rule from iconvdata/Makefile.
86535 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86537         [BZ #12922]
86538         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86539         but no long options are defined, just return 'W'.
86541 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86543         [BZ #9696]
86544         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86546 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86548         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86549         netgroups to read.
86550         (innetgr): Likewise.
86552 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86554         * config.make.in (install_root): Default to $(DESTDIR).
86556 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86560 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86562         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86564         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86565         containing directory rather than embedding absolute directory names.
86567         * scripts/check-local-headers.sh: Rewritten using awk.
86568         Match by word, not by line.  Print error messages for matches.
86569         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86571         * Makerules [shlib-lds-flags empty]:
86572         ($(common-objpfx)libc_pic.opts): New target.
86573         ($(common-objpfx)libc_pic.os.clean): New target.
86574         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86576         * config.make.in (OBJCOPY): New variable.
86577         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86578         * configure: Regenerated.
86580         * config.make.in (use-default-link): New variable.
86581         * configure.in (use_default_link): Grok --with-default-link to set it.
86582         * configure: Regenerated.
86583         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86584         (shlib-lds, shlib-lds-flags): Define to empty.
86586         * Makerules (shlib-lds): New variable.
86587         (shlib-lds-flags): New variable.
86588         (build-shlib, build-moduile, build-module-asneeded): Use it.
86589         ($(common-objpfx)libc.so): Use $(shlib-lds).
86590         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86591         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86593         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86594         DT_FLAGS/DT_FLAGS_1 with zero flags.
86596         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86597         linker script munging.
86599 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86601         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86602         as 128-bit value.
86603         * crypt/sha512.c (sha512_process_block): Perform total addition using
86604         128-bit if possible.
86605         (__sha512_finish_ctx): Likewise.
86606         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86607         as 64-bit value.
86608         * crypt/sha256.c (SWAP64): Define.
86609         (sha256_process_block): Perform total addition using 64-bit if
86610         possible.
86611         (__sha256_finish_ctx): Likewise.
86613 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86615         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86617         * nscd/hstcache.c (cache_addhst): Likewise.
86618         * nscd/grpcache.c (cache_addgr): Likewise.
86619         * nscd/aicache.c (addhstaiX): Likewise.
86620         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86622 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86624         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86626         * nscd/hstcache.c (cache_addhst): Likewise.
86627         * nscd/grpcache.c (cache_addgr): Likewise.
86628         * nscd/aicache.c (addhstaiX): Likewise.
86630 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86633         domain only when needed.
86635 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86638         is always restored.
86640 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86642         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86643         are re-adding the entry.
86644         * nscd/servicescache.c (cache_addserv): Likewise.
86646 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86648         * sysdeps/generic/dl-irel.h: fix protection against multiple
86649         inclusions.
86650         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86652 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86654         [BZ #12935]
86655         * malloc/memusage.sh: Fix quoting in message.
86656         * debug/xtrace.sh: Likewise.
86658         * configure.in: Remove support for --experimental-malloc option, make
86659         it the default.
86660         * config.make.in: Likewise.
86661         * malloc/Makefile: Likewise.
86663 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86665         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86666         two-byte characters.
86668 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86670         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86671         AC_CACHE_CHECK invocation.
86672         * configure: Regenerated.
86674         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86676 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86678         [BZ #12350]
86679         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86680         bit from old_res_options.
86682         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86684         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86685         value type for setfct.
86687 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86690         __gettimeofday instead of gettimeofday.
86692 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86694         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86696 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86700         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86701         info.
86703 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86706         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86707         strcpy-sse2-unaligned strncpy-sse2-unaligned
86708         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86709         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86710         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86711         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86712         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86714         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86715         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86716         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86717         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86718         (STRCPY): Support SSE2 and SSSE3 versions.
86720 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86722         [BZ #12874]
86723         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86724         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86725         kernels which artificially limit size of requests.
86727 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86730         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86731         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86732         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86733         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86734         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86735         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86736         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86737         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86738         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86739         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86740         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86741         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86742         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86743         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86745         Enable unaligned load optimization for Intel Core i3, i5 and i7
86746         processors.
86747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86748         Define.
86749         (index_Fast_Unaligned_Load): Define.
86750         (HAS_FAST_UNALIGNED_LOAD): Define.
86752 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86754         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86756 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86758         [BZ #12907]
86759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86760         until it is clear that the information is realy needed.
86761         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86763 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86767 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86769         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86770         /sys/devices/system/cpu/online if it is usable.
86772         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86773         reading the information from the /proc filesystem to once a second.
86775 2011-06-21  Andreas Jaeger  <aj@suse.de>
86777         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86778         NULL after inclusion of kernel headers.
86780 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86782         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86783         calls to internal_setent.
86785         [BZ #12885]
86786         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86787         addresses using gethostbyname4_r ignore IPv4 addresses.
86789         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86790         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86792         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86794 2011-06-20  David S. Miller  <davem@davemloft.net>
86796         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86797         inclusions.
86798         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86800         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86801         (elf_irel): Use it.
86802         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86803         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86804         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86805         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86806         * sysdeps/x86_64/dl-irel.h: Likewise.
86808         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86809         * elf/dl-sym.c: Likewise.
86811 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86813         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86814         need to dereference resplen2.
86816 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86818         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86820 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86822         * Makeconfig: Define vardbdir and inst_vardbdir.
86823         * nss/Makefile: Add rules to install db-Makefile.
86825         * nss/nss_db/db-XXX.c: Cleanup.
86827         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86828         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86829         GLIBC_PRIVATE.
86830         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86831         * nss/makedb.c: Implement -g option to specify that value strings
86832         are generated and should not be added to table iterated over for
86833         get*ent calls.
86834         * nss/nss_db/db-initgroups.c: New file.
86836         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86837         interface.
86839         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86840         (internal_getgrouplist): Adjust to name change.
86841         Update use_initgroups_entry if this is not the first call.
86842         * nss/databases.def: Add initgroups entry.
86844         * nss/makedb.c (compute_tables): Check result of multiple hash table
86845         sizes to minimize maximum chain length.
86847 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86849         * Versions.def: Add entry for libnss_db.
86850         * shlib-versions: Likewise.
86851         * nss/Makefile: Add rules to build libnss_db.
86852         * nss/Versions: Add libnss_db information.  Organize libnss_files
86853         entries better.
86854         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86855         makedb progra.  Some minor improvements to generate smaller files.
86856         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86857         here from...
86858         * nss/makedb.c: ...here.
86859         Improve database format to be smaller and require less memory at
86860         runtime.
86861         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86862         db anymore.
86863         * nss/nss_db/db-netgrp.c: Likewise.
86864         * nss/nss_db/db-open.c: Likewise.
86865         * nss/nss_files/flies-XXX.x: Adjust comments.
86866         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86867         * nss/nss_files/files-grp.c: Likewise.
86868         * nss/nss_files/files-hosts.c: Likewise.
86869         * nss/nss_files/files-network.c: Likewise.
86870         * nss/nss_files/files-proto.c: Likewise.
86871         * nss/nss_files/files-pwd.c: Likewise.
86872         * nss/nss_files/files-rpc.c: Likewise.
86873         * nss/nss_files/files-service.c: Likewise.
86874         * nss/nss_files/files-sgrp.c: Likewise.
86875         * nss/nss_files/files-spwd.c: Likewise.
86876         * nss/nss_db/db-alias.c: Removed.
86877         * nss/nss_db/dummy-db.h: Removed.
86879 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86881         * nss/makedb.c: Rewritten to not use database library.
86882         * nss/Makefile: Update to build new makedb program.
86884 2011-06-14  Andreas Jaeger  <aj@suse.de>
86886         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86887         memset declaration.
86889 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86892         tmpbuf.
86894 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86896         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86897         * elf/Makefile ($(objpfx)ld.so): Likewise.
86899         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86900         Don't list ld.so twice in dependencies.
86902         * posix/bug-regex31.c: Include <stdlib.h>.
86904         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86906         * nis/nss_compat/compat-spwd.c
86907         (getspent_next_nss_netgr): Remove unused variable.
86908         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86910         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86911         nonmembers" output to use the right array.
86913         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86915         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86917         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86918         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86919         * catgets/gencat.c (read_input_file): Likewise.
86920         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86922         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86923         variable definition inside #if's controlling its use.
86925         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86927         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86929         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86931         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86932         unreachable code.
86934         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86936         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86937         * configure: Regenerated.
86939         * Makerules: Revert last change.
86940         * elf/Makefile: Likewise.
86942 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86944         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86945         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86946         (reloc-link): Likewise.
86948 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86950         * elf/Makefile: Add rules to build pldd.
86951         * elf/pldd.c: New file.
86952         * elf/pldd-xx.c: New file.
86954 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86956         * version.h: Update for 2.15 development version.
86958 2011-06-07  David S. Miller  <davem@davemloft.net>
86960         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86961         ifuncs.
86962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86963         elf_machine_lazy_rel): Likewise.
86964         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86966         elf_machine_lazy_rel): Likewise.
86967         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86968         dl_hwcap via passed in argument.
86969         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86970         Likewise.
86972 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86974         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86976 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86978         [BZ #12849]
86979         * manual/fdl-1.1.texi: New file, verbatim from:
86980         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86981         * manual/lgpl-2.1.texi: New file, verbatim from:
86982         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86983         * manual/Makefile (licenses): New variable, list those new file names.
86984         (texis): Use it.
86985         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86987         * manual/fdl.texi: File removed.
86988         * manual/lesser.texi: File removed.
86989         * manual/libc.texinfo (Copying, Documentation License):
86990         Use new @include file names, put @appendix directive before @include.
86992 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86994         [BZ #12841]
86995         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86996         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86997         (mq_open): Add __NTH.
86999 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87002         Assume Intel Core i3/i5/i7 processor if AVX is available.
87004 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87007         typo.
87009 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87011         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87012         memory.  Use alloca_account.  Fix memory leak when retrying.
87014 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87016         * version.h (RELEASE): Bump for 2.14 release.
87017         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87019         * config.make.in (RANLIB): Remove entry.
87021 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87023         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87024         (libc.pot): Work around missing support for .ksh extension in xgettext.
87026         [BZ #12684]
87027         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87028         if both request failed.
87029         (send_dg): In case of server errors clear resplen or *resplen2.
87031         [BZ #12454]
87032         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87033         when there are multiple maps.
87034         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87035         (_dl_fini): Remove test here.
87037         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87039 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87041         [BZ #12350]
87042         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87043         bit from old_res_options.
87044         (gaih_inet): Likewise.
87046         [BZ #11099]
87047         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87048         as signed.
87050         * resolv/res_init.c (res_setoptions): Make the code more compact.
87052         [BZ #11558]
87053         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87054         set RES_USEVC.
87056         [BZ #11634]
87057         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87059         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87061         [BZ #11781]
87062         * malloc/malloc.h: Declare malloc hook variables as volatile.
87064         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87065         in last patch.
87067         [BZ #11799]
87068         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87069         raise in the comment.
87070         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87072         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87074 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87076         [BZ #12811]
87077         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87078         grow the buffers more if it already has to be sufficient.
87079         (build_wcs_upper_buffer): Likewise.
87080         * posix/regexec.c (check_matching): Likewise.
87081         (clean_state_log_if_needed): Likewise.
87082         (extend_buffers): Don't enlarge buffers beyond size of the input
87083         buffer.
87084         Patches mostly by Emil Wojak <emil@wojak.eu>.
87085         * posix/bug-regex32.c: New file.
87086         * posix/Makefile (tests): Add bug-regex32.
87088         * locale/findlocale.c (_nl_find_locale): Return right away if
87089         _nl_explode_name failed.
87090         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87092         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87094         * debug/xtrace.sh: Unify messages.
87095         * malloc/memusage.sh: Likewise.
87097         [BZ #12813]
87098         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87099         time symbol from vDSO.  Substitute with vsyscall if not available.
87100         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87101         __vdso_time.
87103         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87104         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87105         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87106         Add sendmmsg and internal_sendmmsg.
87107         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87108         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87109         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87111         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87112         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87113         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87115 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87117         [BZ #12813]
87118         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87119         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87120         available.
87121         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87122         __vdso_getcpu.
87124         [BZ #12814]
87125         * iconvdata/Makefile (tests): Add bug-iconv9.
87126         * iconvdata/bug-iconv9.c: New file.
87128 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87130         [BZ #12814]
87131         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87133 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87135         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87136         (struct user_regs_struct): Change intcs field back to cs.
87138 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87140         * po/ja.po: Update from translation team.
87142 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87144         [BZ #12795]
87145         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87146         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87148 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87150         * stdlib/longlong.h: Update from GCC.
87152 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87154         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87155         parameter name.
87156         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87157         Add parameter name.
87158         (__sysconf): Pass it down.
87160 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87162         [BZ #12671]
87163         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87164         some situations.
87165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87166         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87167         add in in __libc_use_alloca calls.  Adjust callers.
87168         (glob): Use malloc in some situations.
87170         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87171         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87172         pltexit.
87174 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87176         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87177         and CLOCK_BOOTTIME_ALARM.
87179         [BZ #12782]
87180         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87181         is returned.
87183         * string/_strerror.c (__strerror_r): Print negative errors as signed
87184         numbers.
87186         [BZ #12777]
87187         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87188         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87189         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87191         * configure.in: Fix typo in redirection and correct removal of test
87192         files in two cases.
87194         [BZ #12788]
87195         * locale/setlocale.c (new_composite_name): Fix test to check for
87196         identical name of all categories.
87198         [BZ #12792]
87199         * libio/filedoalloc.c (local_isatty): New function.
87200         (_IO_file_doallocate): Use local_isatty.
87201         * stdio-common/perror.c (perror): In case a new stream is used
87202         forward the stream error.
87203         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87204         error flag.
87206 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87208         [BZ #11884]
87209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87210         alloca.
87211         * include/alloca.h (extend_alloca_account): Define.
87213         [BZ #11857]
87214         * posix/regex.h: Fix comments with documentation of user-accessible
87215         fields after compilation and describe correct free'ing of pattern
87216         after re_compile_pattern.
87217         Patch by Reuben Thomas <rrt@sc3d.org>.
87219 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87221         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87222         and -mno-altivec to prevent the compiler from using Altivec and/or
87223         VSX instructions when the corresponding registers are not available.
87225 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87227         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87229 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87231         * libio/freopen.c (freopen): Use __dup2, not dup2.
87232         * libio/freopen64.c (freopen64): Likewise.
87234 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87236         [BZ #12775]
87237         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87238         * math/Makefile (tests): Add test-powl.
87239         (CFLAGS-test-powl.c): Define.
87240         * math/test-powl.c: New file.
87242 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87244         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87246 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87248         [BZ #11837]
87249         * iconvdata/gb18030.c: Update to GB18020-2005.
87251 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87253         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87254         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87255         Patch by Aharon Robbins <arnold@skeeve.com>.
87257         [BZ #11892]
87258         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87259         on the stack.
87261         [BZ #11895]
87262         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87263         through underflows.
87265         [BZ #12766]
87266         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87267         point to strings before performing equality test for error_one_per_line
87268         mode.
87270         [BZ #11697]
87271         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87273         [BZ #11820]
87274         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87275         (struct user_fpregs_struct): Avoid __uint*_t types.
87277         [BZ #6420]
87278         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87279         symbol info.  Use it instead of calling _dl_addr locally.
87280         (lock_and_info): New function.
87281         (tr_freehook): Call lock_and_info and pass symbol info as additional
87282         parameter to tr_where.
87283         (tr_mallochook): Likewise.
87284         (tr_reallochook): Likewise.
87285         (tr_memalignhook): Likewise.
87287         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87288         used and couldn't be at all thread-safe.
87290 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87292         * libio/freopen.c (freopen): Don't close old file descriptor
87293         before the new one is opened.  Instead dup the new file descriptor
87294         to the old one after the new stream is created.
87295         * libio/freopen64.c (freopen64): Likewise.
87296         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87297         * libio/fileops.c (_IO_new_file_close_it): Handle new
87298         _IO_FLAGS2_NOCLOSE flag.
87299         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87300         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87301         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87302         _IO_FLAGS2_NOCLOSE flag.
87303         * include/unistd.h: Add hidden_proto for dup3.
87304         Define __have_dup3.
87305         * io/dup3.c: Define hidden symbol.
87306         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87308         [BZ #7101]
87309         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87310         when an incomplete long option is used.
87311         * posix/tst-getopt_long1.c: New file.
87312         * posix/Makefile (tests): Add tst-getopt_long1.
87314         [BZ #10138]
87315         * scripts/config.guess: Update from autoconf-2.68.
87316         * scripts/config.sub: Likewise.
87318         [BZ #10157]
87319         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87320         tests into ...
87321         (has_cpuclock): ...this.  New function.
87322         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87323         macro here based on has_cpuclock code.
87325         [BZ #10149]
87326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87327         First byte (not low byte) is now always NUL.
87328         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87331         Use non-cancelable interfaces.
87333         [BZ #9809]
87334         * locale/iso-639.def: Add entry for Sorani.
87336         [BZ #11901]
87337         * include/stdlib.h: Move include protection to the right place.
87338         Define abort_msg_s.  Declare __abort_msg with it.
87339         * stdlib/abort.c (__abort_msg): Adjust type.
87340         * assert/assert.c (__assert_fail_base): New function.  Majority
87341         of code from __assert_fail.  Allocate memory for __abort_msg with
87342         mmap.
87343         (__assert_fail): Now call __assert_fail_base.
87344         * assert/assert-perr.c: Remove bulk of implementation.  Use
87345         __assert_fail_base.
87346         * include/assert.hL Declare __assert_fail_base.
87347         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87348         mmap.
87349         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87351 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87353         [BZ #11952]
87354         [BZ #12453]
87355         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87356         until all modules are registered in the DTV.
87357         * elf/Makefile: Add rules to build and run tst-tls19.
87358         * elf/tst-tls19.c: New file.
87359         * elf/tst-tls19mod1.c: New file.
87360         * elf/tst-tls19mod2.c: New file.
87361         * elf/tst-tls19mod3.c: New file.
87362         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87364         [BZ #12083]
87365         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87366         correctly.
87368         [BZ #12601]
87369         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87370         two-byte sequence errors.
87371         * iconvdata/Makefile (tests): Add bug-iconv8.
87372         * iconvdata/bug-iconv8.c: New file.
87374         [BZ #12626]
87375         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87376         buf2 definition.
87378         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87380         [BZ #12432]
87381         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87382         (dummy_getcfa): New function.
87383         (init): Get _Unwind_GetCFA address, use dummy if not found.
87384         (backtrace_helper): In recursion check, also check whether CFA changes.
87385         (__backtrace): Completely initialize arg.
87387         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87388         storing incomplete byte sequence in state object.  Avoid testing for
87389         guaranteed too small input if we know there is enough data available.
87391 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87393         * Makeconfig (+link-pie): Indent.
87394         * Rules (binaries-pie): Define if $(have-fpie) and
87395         $(build-shared).
87396         (binaries-shared): Also filter out $(binaries-pie).
87397         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87398         * nscd/Makefile (others-pie): Add nscd.
87399         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87400         ($(objpfx)nscd): Remove command override.
87401         * login/Makefile (others-pie): Add pt_chown.
87402         ($(objpfx)pt_chown): Remove command override.
87403         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87404         remove command overrides.
87406 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87408         * libio/tst_putwc.c: Fix error messages.
87410         [BZ #12724]
87411         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87412         currently writing and seek to current position when not.
87413         * libio/Makefile (tests): Add bug-fclose1.
87414         * libio/bug-fclose1.c: New file.
87416 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87418         [BZ #12511]
87419         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87420         don't set DF_1_NODELETE here.
87421         (do_lookup_x): When entering new entry test for copy relocation
87422         and if necessary set DF_1_NODELETE flag.
87423         * elf/tst-unique4.cc: New file.
87424         * elf/tst-unique4.h: New file.
87425         * elf/tst-unique4lib.cc: New file.
87426         * elf/Makefile: Add rules to build and run tst-unique4.
87427         Patch by Piotr Bury <pbury@goahead.com>.
87429 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87431         [BZ #12052]
87432         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87434         [BZ #12625]
87435         * misc/mntent_r.c (addmntent): Flush the stream after the output
87437         [BZ #12393]
87438         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87439         (is_trusted_path_normalize): Skip initial colon.  Append slash
87440         to empty buffer.  Duplicate is_trusted_path code but allow
87441         constructed patch to be prefix.
87442         (is_dst): Allow $ORIGIN followed by /.
87443         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87444         Correct testing of result of is_trusted_path_normalize
87445         (decompose_rpath): Fix warning.
87447 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87449         [BZ #11257]
87450         * grp/initgroups.c (internal_getgrouplist): When we found the service
87451         list through the initgroups entry in nsswitch.conf do not always
87452         continue on a successful lookup.  Don't always use the
87453         __nss_group_database value if it is set.
87454         * nss/nsswitch.conf (initgroups): Change action for successful db
87455         lookup to continue for compatibility.
87457 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87459         [BZ #11532]
87460         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87461         and CP774 modules.
87462         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87463         and CP774 modules.
87464         * iconvdata/tst-tables.sh: Likewise.
87465         * iconvdata/cp770.c: New file.
87466         * iconvdata/cp771.c: New file.
87467         * iconvdata/cp772.c: New file.
87468         * iconvdata/cp773.c: New file.
87469         * iconvdata/cp774.c: New file.
87470         * iconvdata/testdata/CP770: New file.
87471         * iconvdata/testdata/CP770..UTF8: New file.
87472         * iconvdata/testdata/CP771: New file.
87473         * iconvdata/testdata/CP771..UTF8: New file.
87474         * iconvdata/testdata/CP772: New file.
87475         * iconvdata/testdata/CP772..UTF8: New file.
87476         * iconvdata/testdata/CP773: New file.
87477         * iconvdata/testdata/CP773..UTF8: New file.
87478         * iconvdata/testdata/CP774: New file.
87479         * iconvdata/testdata/CP774..UTF8: New file.
87481         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87482         END CHARMAP line.
87483         * iconvdata/gen-8bit-gap.sh: Likewise.
87484         * iconvdata/gen-8bit.sh: Likewise.
87486         * locale/iso-639.def: Add ary entry.
87488         [BZ #11258]
87489         * locale/C-translit.h.in: Add U20A1 transliteration.
87491         [BZ #12178]
87492         * locale/iso-639.def: Add wae entry.
87493         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87495         [BZ #12545]
87496         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87497         for n.
87499         [BZ #12711]
87500         * locale/C-translit.h.in: Add entry for U20B9.
87501         Patch by pravin.d.s@gmail.com.
87503 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87505         [BZ #12713]
87506         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87507         ENAMETOOLONG use generic getcwd.
87508         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87509         in rtld.  Use *stat64.
87510         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87511         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87512         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87513         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87514         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87515         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87516         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87517         __fstatat64 macros.
87518         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87519         * dirent/rewinddir.c: Add libc_hidden_def.
87520         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87521         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87523         * include/dirent.h (__alloc_dir): Add flags parameter.
87524         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87525         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87526         __alloc_dir.
87527         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87528         from fdopendir if O_CLOEXEC is already set.
87530 2011-03-15  Alan Modra  <amodra@gmail.com>
87532         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87533         l_tls_firstbyte_offset non-zero.  Save padding offset in
87534         l_tls_firstbyte_offset for later use.
87535         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87536         freeing static tls block.
87538 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87540         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87541         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87542         being defined by the kernel headers.
87544 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87546         [BZ #12734]
87547         * resolv/resolv.h: Define RES_NOTLDQUERY.
87548         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87549         no-tld-query and set RES_NOTLDQUERY.
87550         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87551         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87552         modern BIND to search name as TLD unless forbidden.
87554 2011-05-07  Petr Baudis  <pasky@suse.cz>
87555             Ulrich Drepper  <drepper@gmail.com>
87557         [BZ #12393]
87558         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87559         (is_trusted_path): ...to here.
87560         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87561         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87562         using is_trusted_path_normalize() in setuid scripts.
87564 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87566         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87567         __BEGIN/__END_DECLS.
87569 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87571         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87572         NSS_STATUS_NOTFOUND if no record was found.
87574 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87576         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87577         (headers-not-in-tirpc): Remove rpc/netdb.h
87578         * resolv/netdb.h: Revert last change.
87580 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87582         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87583         circular dependency between libgcc.a and libc.a.
87585 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87587         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87588         * nis/Makefile: Don't install rpcsvc/*.
87589         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87590         instead of <rpc/types.h>.
87591         (MAXHOSTNAMELEN): Define.
87593 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87595         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87597 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87599         [BZ #12714]
87600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87601         gethostbyname4_r when IPv6 results are possible.
87603 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87605         [BZ #12723]
87606         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87607         _PC_PIPE_BUF handling.
87609 2011-04-30  Bruno Haible  <bruno@clisp.org>
87611         [BZ #12717]
87612         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87613         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87614         to 'int'.
87615         * inet/getnameinfo.c (getnameinfo): Likewise.
87617 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87619         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87620         to groups setting in database lookup.
87621         * nss/nsswitch.conf: Add initgroups entry.
87623 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87625         [BZ #12685]
87626         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87627         mode string.
87628         Patch by Eric Blake <eblake@redhat.com>.
87630 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87632         * sunrpc/Makefile (need-export-routines): Add svc_run.
87633         (routines): Remove svc_run.
87634         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87635         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87636         * sunrpc/svc_run.c (svc_run): Likewise.
87637         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87639 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87642         problem in reallocation in last patch.
87644 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87646         * sunrpc/Makefile: Move inclusion of Rules.
87648 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87650         * nss/nss_files/files-initgroups.c: New file.
87651         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87652         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87653         _nss_files_initgroups_dyn.
87655 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87657         * elf/elf.h (R_ARM_IRELATIVE): Define.
87659 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87661         * po/ru.po: Update from translation team.
87663 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87665         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87666         dependencies.
87668 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87670         [BZ #12653]
87671         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87672         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87673         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87674         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87677 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87679         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87680         differing bytes.
87681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87682         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87683         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87685 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87687         [BZ #12420]
87688         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87689         storing it.
87690         * stdlib/bug-getcontext.c: New file.
87691         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87693 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87695         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87696         instructions into .machine "z9-109".
87697         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87698         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87700 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87702         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87703         between environment variables and auxiliary vector.
87705 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87707         * Makefile: Add rules to build linkobj/libc.so.
87708         * include/libc-symbols.h: Define libc_hidden_nolink.
87709         * include/rpc/auth.h: Mark functions which are to be hidden.
87710         * include/rpc/auth_des.h: Likewise.
87711         * include/rpc/auth_unix.h: Likewise.
87712         * include/rpc/clnt.h: Likewise.
87713         * include/rpc/des_crypt.h: Likewise.
87714         * include/rpc/key_prot.h: Likewise.
87715         * include/rpc/pmap_clnt.h: Likewise.
87716         * include/rpc/pmap_prot.h: Likewise.
87717         * include/rpc/pmap_rmt.h: Likewise.
87718         * include/rpc/rpc_msg.h: Likewise.
87719         * include/rpc/svc.h: Likewise.
87720         * include/rpc/svc_auth.h: Likewise.
87721         * include/rpc/xdr.h: Likewise.
87722         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87723         * nss/Makefile: Likewise.
87724         * sunrpc/Makefile: Don't install headers.  Build library with normal
87725         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87726         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87727         for the compat linking library.  Remove use of INTDEF/INTUSE.
87728         * sunrpc/auth_none.c: Likewise.
87729         * sunrpc/auth_unix.c: Likewise.
87730         * sunrpc/authdes_prot.c: Likewise.
87731         * sunrpc/authuxprot.c: Likewise.
87732         * sunrpc/clnt_gen.c: Likewise.
87733         * sunrpc/clnt_perr.c: Likewise.
87734         * sunrpc/clnt_raw.c: Likewise.
87735         * sunrpc/clnt_simp.c: Likewise.
87736         * sunrpc/clnt_tcp.c: Likewise.
87737         * sunrpc/clnt_udp.c: Likewise.
87738         * sunrpc/clnt_unix.c: Likewise.
87739         * sunrpc/des_crypt.c: Likewise.
87740         * sunrpc/des_soft.c: Likewise.
87741         * sunrpc/get_myaddr.c: Likewise.
87742         * sunrpc/key_call.c: Likewise.
87743         * sunrpc/key_prot.c: Likewise.
87744         * sunrpc/netname.c: Likewise.
87745         * sunrpc/pm_getmaps.c: Likewise.
87746         * sunrpc/pm_getport.c: Likewise.
87747         * sunrpc/pmap_clnt.c: Likewise.
87748         * sunrpc/pmap_prot.c: Likewise.
87749         * sunrpc/pmap_prot2.c: Likewise.
87750         * sunrpc/pmap_rmt.c: Likewise.
87751         * sunrpc/publickey.c: Likewise.
87752         * sunrpc/rpc_cmsg.c: Likewise.
87753         * sunrpc/rpc_common.c: Likewise.
87754         * sunrpc/rpc_dtable.c: Likewise.
87755         * sunrpc/rpc_prot.c: Likewise.
87756         * sunrpc/rpc_thread.c: Likewise.
87757         * sunrpc/rtime.c: Likewise.
87758         * sunrpc/svc.c: Likewise.
87759         * sunrpc/svc_auth.c: Likewise.
87760         * sunrpc/svc_authux.c: Likewise.
87761         * sunrpc/svc_raw.c: Likewise.
87762         * sunrpc/svc_run.c: Likewise.
87763         * sunrpc/svc_simple.c: Likewise.
87764         * sunrpc/svc_tcp.c: Likewise.
87765         * sunrpc/svc_udp.c: Likewise.
87766         * sunrpc/svc_unix.c: Likewise.
87767         * sunrpc/svcauth_des.c: Likewise.
87768         * sunrpc/xcrypt.c: Likewise.
87769         * sunrpc/xdr.c: Likewise.
87770         * sunrpc/xdr_array.c: Likewise.
87771         * sunrpc/xdr_float.c: Likewise.
87772         * sunrpc/xdr_intXX_t.c: Likewise.
87773         * sunrpc/xdr_mem.c: Likewise.
87774         * sunrpc/xdr_rec.c: Likewise.
87775         * sunrpc/xdr_ref.c: Likewise.
87776         * sunrpc/xdr_sizeof.c: Likewise.
87777         * sunrpc/xdr_stdio.c: Likewise.
87779 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87781         [BZ #12650]
87782         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87783         * sysdeps/ia64/dl-tls.h: Likewise.
87784         * sysdeps/powerpc/dl-tls.h: Likewise.
87785         * sysdeps/s390/dl-tls.h: Likewise.
87786         * sysdeps/sh/dl-tls.h: Likewise.
87787         * sysdeps/sparc/dl-tls.h: Likewise.
87788         * sysdeps/x86_64/dl-tls.h: Likewise.
87789         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87791 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87793         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87794         rpath element also skip the following colon.
87795         (expand_dynamic_string_token): Add is_path parameter and pass
87796         down to DL_DST_REQUIRED and _dl_dst_substitute.
87797         (decompose_rpath): Call expand_dynamic_string_token with
87798         non-zero is_path.  Ignore empty rpaths.
87799         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87800         with zero is_path.
87802 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87805         Make cancelable.
87807 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87809         [BZ #12655]
87810         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87811         Patch by Filipe David Manana <fdmanana@apache.org>.
87813 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87816         Maintain aligned stack.
87817         (CHECK_RSP): Remove unused macro.
87819 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87821         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87822         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87824 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87826         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87828         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87830 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87832         [BZ #12518]
87833         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87834         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87835         * sysdeps/x86_64/memmove.c: New file.
87836         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87837         (memcpy): Renamed to ...
87838         (__new_memcpy): This.
87839         (memcpy): Provide GLIBC_2_14 memcpy.
87840         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87841         (memcpy): Provide GLIBC_2_2_5 memcpy.
87843 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87845         [BZ #12631]
87846         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87848 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87850         * misc/syncfs.c: New file.
87851         * misc/Makefile (routines): Add syncfs.
87852         * posix/unistd.h: Declare syncfs.
87853         * sysdeps/unix/syscalls.list: Add syncfs.
87855 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87857         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87858         open_by_handle_at.
87859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87864         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87867 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87869         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87873         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87875         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87877         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87878         sync_file_range.c with -fexceptions.
87879         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87880         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87881         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87882         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87883         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87884         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87886         sync_file_range as cancellation point
87887         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87888         now a wrapper around __call_sync_file_range with cancellation handling.
87889         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87890         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87891         function name to __call_sync_file_range.
87892         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87893         Add call_sync_file_range.
87895 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87898         bits/timex.h.
87900 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87902         * iconv/iconv.h: Fix typo in comment.
87903         * io/fcntl.h: Likewise.
87904         * libio/stdio.h: Likewise.
87905         * posix/spawn.h: Likewise.
87906         * posix/unistd.h: Likewise.
87907         * stdlib/stdlib.h: Likewise.
87908         * time/time.h: Likewise.
87909         * wcsmbs/wchar.h: Likewise.
87911         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87912         open_by_handle): Add.
87913         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87914         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87915         Augment a few comments.
87916         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87918         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87921         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87922         open_by_handle.
87924         * io/fcntl.h (AT_EMPTY_PATH): Define.
87926 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87928         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87929         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87930         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87931         to...
87932         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87933         * Versions.def: Add GLIBC_2.14.
87934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87935         Export.
87937 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87939         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87940         round counter.
87941         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87943 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87945         [BZ #12597]
87946         * string/test-strncmp.c (do_page_test): New function.
87947         (check2): Likewise.
87948         (test_main): Call check2.
87949         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87951 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87953         [BZ #12587]
87954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87955         Handle cache information in CPU leaf 4.
87956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87958 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87960         [BZ #12583]
87961         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87962         character representation.
87963         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87965 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87967         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87968         END(__isnan) to END(__isnanf) to match function entry point/label
87969         EALIGN(__isnanf,...).
87971 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87973         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87975 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87977         [BZ #12510]
87978         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87979         copy from the symbol referenced in the relocation to initialize the
87980         used variable.
87981         Patch by Piotr Bury <pbury@goahead.com>.
87982         * elf/Makefile: Add rules to build and tst-unique3.
87983         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87984         * elf/tst-unique3.cc: New file.
87985         * elf/tst-unique3.h: New file.
87986         * elf/tst-unique3lib.cc: New file.
87987         * elf/tst-unique3lib2.cc: New file.
87989         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87991 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87993         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87994         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87995         to _start.
87997 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87999         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88000         to-be-loaded object along a path to loader is ld.so.
88002 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88003             Ulrich Drepper  <drepper@gmail.com>
88005         * sysdeps/x86_64/memset.S: After aligning destination, code
88006         branches to different locations depending on the value of
88007         misalignment, when multiarch is enabled. Fix this.
88009 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88011         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88012         Set _x86_64_preferred_memory_instruction for AMD processsors.
88013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88014         Set bit_Prefer_SSE_for_memop for AMD processors.
88016 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88018         * libio/fmemopen.c (fmemopen): Optimize a bit.
88020 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88022         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88024 2011-03-03  Roland McGrath  <roland@redhat.com>
88026         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88028 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88030         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88031         __bzero_ultra1 instead of __memset_ultra1.
88033 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88034             Ulrich Drepper  <drepper@gmail.com>
88036         [BZ #12509]
88037         * include/link.h (struct link_map): Add l_orig_initfini.
88038         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88039         returning unsuccessfully.
88040         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88041         close of a file loaded at startup, restore the original l_initfini
88042         list.
88043         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88044         list, store the pointer.
88045         * elf/Makefile ($(objpfx)noload-mem): New rule.
88046         (noload-ENV): Define.
88047         (tests): Add $(objpfx)noload-mem.
88048         * elf/noload.c: Include <memcheck.h>.
88049         (main): Call mtrace.  Close all opened handles.
88051 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88053         [BZ #12454]
88054         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88055         dependencies are missing.
88057 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88059         Fix __if_freereq crash: Unlike the generic version which uses free,
88060         Hurd needs munmap.
88061         * sysdeps/mach/hurd/ifreq.h: New file.
88063 2011-01-27  Petr Baudis  <pasky@suse.cz>
88064             Ulrich Drepper  <drepper@gmail.com>
88066         [BZ 12445]#
88067         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88068         to extend_alloca().
88069         * stdio-common/bug23.c: New file.
88070         * stdio-common/Makefile (tests): Add bug23.
88072 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88073             Ulrich Drepper  <drepper@gmail.com>
88075         [BZ #12489]
88076         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88077         before performing relro protection.  At old place add assertion
88078         to make sure nothing changed.
88080 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88081             Glauber de Oliveira Costa  <glommer@gmail.com>
88083         * elf/elf.h: Add new ARM TLS relocs.
88085 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88088         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88089         cast from r3.
88090         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88091         'tests' variable.
88092         * sysdeps/wordsize-64/tst-writev.c: New file.
88094 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88096         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88097         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88098         insns in _dl_start to prevent a TOC reference before relocs are
88099         resolved.
88101 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88103         [BZ #12469]
88104         * Makeconfig: Remove RANLIB definition.
88105         * Makerules: Don't use RANLIB.
88106         * aclocal.m4: Remove ranlib test.
88107         * configure.in: No need to check for ranlib.
88108         * elf/rtld-Rules: Don't use RANLIB.
88110 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88112         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88113         protection macro.
88114         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88115         inclusion protection macro.
88117         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88118         SIGRTMIN and SIGRTMAX and print information in that case only when
88119         SIGRTMIN is defined.
88121 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88123         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88124         arginfo fn returning -1.
88126         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88127         and thousands string is zero terminated.
88129 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88132         sysdeps/unix/sysv/linux/bits/socket.h.
88134 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88136         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88137         (__CPU_COUNT): Remove old macros.
88138         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88139         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88140         (__CPU_ALLOC, __CPU_FREE): Add macros.
88141         (__sched_cpualloc, __sched_cpufree): Add declarations.
88143 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88145         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88146         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88147         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88148         (readdhstai): Return value of addhstaiX call.
88149         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88150         (addgrbyX): Return value returned by cache_addgr.
88151         (readdgrbyname): Return value returned by addgrbyX.
88152         (readdgrbygid): Likewise.
88153         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88154         (addpwbyX): Return value returned by cache_addpw.
88155         (readdpwbyname): Return value returned by addhstbyX.
88156         (readdpwbyuid): Likewise.
88157         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88158         (addservbyX): Return value returned by cache_addserv.
88159         (readdservbyname): Return value returned by addservbyX:
88160         (readdservbyport): Likewise.
88161         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88162         (addhstbyX): Return value returned by cache_addhst.
88163         (readdhstbyname): Return value returned by addhstbyX.
88164         (readdhstbyaddr): Likewise.
88165         (readdhstbynamev6): Likewise.
88166         (readdhstbyaddrv6): Likewise.
88167         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88168         (readdinitgroups): Return value returned by addinitgroupsX.
88169         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88170         (prune_cache): Keep track of timeout value of re-added entries.
88171         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88172         * nscd/nscd.h: Adjust prototypes of readd* functions.
88174 2011-02-04  Roland McGrath  <roland@redhat.com>
88176         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88177         (nis_stats): Likewise.
88178         * nis/nis_modify.c (nis_modify): Likewise.
88179         * nis/nis_remove.c (nis_remove): Likewise.
88180         * nis/nis_add.c (nis_add): Likewise.
88182         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88184         * posix/fnmatch_loop.c: Add some consts.
88186         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88188 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88190         [BZ #12460]
88191         * config.make.in (config-cflags-novzeroupper): Define.
88192         * configure.in: Substitute libc_cv_cc_novzeroupper.
88193         * elf/Makefile (AVX-CFLAGS): Define.
88194         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88195         (CFLAGS-tst-auditmod4a.c): Likewise.
88196         (CFLAGS-tst-auditmod4b.c): Likewise.
88197         (CFLAGS-tst-auditmod6b.c): Likewise.
88198         (CFLAGS-tst-auditmod6c.c): Likewise.
88199         (CFLAGS-tst-auditmod7b.c): Likewise.
88200         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88202 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88204         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88205         function to the callback.
88206         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88208 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88210         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88211         of errno.
88213 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88215         [BZ #11724]
88216         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88217         of constructors.
88218         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88219         of destructors.
88220         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88222         [BZ #11724]
88223         * elf/Makefile: Add rules to build and run new test.
88224         * elf/tst-initorder.c: New file.
88225         * elf/tst-initorder.exp: New file.
88226         * elf/tst-initordera1.c: New file.
88227         * elf/tst-initordera2.c: New file.
88228         * elf/tst-initordera3.c: New file.
88229         * elf/tst-initordera4.c: New file.
88230         * elf/tst-initorderb1.c: New file.
88231         * elf/tst-initorderb2.c: New file.
88232         * elf/tst-order-a1.c: New file.
88233         * elf/tst-order-a2.c: New file.
88234         * elf/tst-order-a3.c: New file.
88235         * elf/tst-order-a4.c: New file.
88236         * elf/tst-order-b1.c: New file.
88237         * elf/tst-order-b2.c: New file.
88238         * elf/tst-order-main.c: New file.
88239         New test case by George Gensure <werkt0@gmail.com>.
88241 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88244         decoding ACE if AI_CANONIDN.
88246 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88248         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88250 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88252         * version.h (RELEASE): Bump for 2.13 release.
88253         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88255         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88257         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88258         MADV_NOHUGEPAGE.
88259         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88261         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88263         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88266         * posix/getconf.c: Update copyright year.
88267         * catgets/gencat.c: Likewise.
88268         * csu/version.c: Likewise.
88269         * debug/catchsegv.sh: Likewise.
88270         * debug/xtrace.sh: Likewise.
88271         * elf/ldconfig.c: Likewise.
88272         * elf/ldd.bash.in: Likewise.
88273         * elf/sprof.c (print_version): Likewise.
88274         * iconv/iconv_prog.c: Likewise.
88275         * iconv/iconvconfig.c: Likewise.
88276         * locale/programs/locale.c: Likewise.
88277         * locale/programs/localedef.c: Likewise.
88278         * malloc/memusage.sh: Likewise.
88279         * malloc/mtrace.pl: Likewise.
88280         * nscd/nscd.c (print_version): Likewise.
88281         * nss/getent.c: Likewise.
88283         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88284         PF_CAIF, and PF_ALG.
88285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88287 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88289         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88290         (modules-names): Use them.
88291         (ifunc-test-modules, ifunc-pie-tests): Define.
88292         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88293         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88294         (test-extras): Likewise.
88295         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88296         $(compile-command.c).
88297         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88298         (all-built-dso): Define.
88299         (check-textrel.out, check-execstack.out): Depend on it.
88301         * configure.in: Don't override --enable-multi-arch.
88303 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88305         [BZ #6812]
88306         * nscd/hstcache.c (tryagain): Define.
88307         (cache_addhst): Return tryagain not notfound for temporary errors.
88308         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88309         failed.
88311 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88313         [BZ #10563]
88314         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88315         to make the syscall.
88316         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88318         [BZ #12378]
88319         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88320         and fall back to matching as normal character if the string ends before
88321         the matching ']' is found.  This is what POSIX requires.
88322         * posix/testfnm.c: Adjust test result.
88323         * posix/globtest.sh: Adjust test result.  Add new test.
88324         * posix/tst-fnmatch.input: Likewise.
88325         * posix/tst-fnmatch2.c: Add new test.
88327 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88329         * elf/Makefile (check-execstack): Revert last change.  Depend on
88330         check-execstack.h.
88331         (check-execstack.h): New target.
88332         (generated): Add check-execstack.h.
88333         * elf/check-execstack.c: Include "check-execstack.h".
88334         (main): Revert last change.
88335         (handle_file): Return zero if GNU_STACK is absent and
88336         DEFAULT_STACK_PERMS doesn't include PF_X.
88338 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88340         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88341         in child fails because the descriptor is already closed.
88342         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88343         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88346         [BZ #12397]
88347         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88348         syscall.
88350         [BZ #10484]
88351         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88352         temporary buffer used to handle multi lookups locally.
88353         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88355 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88357         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88358         loader is ld.so.
88360 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88362         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88363         alignment for SSE2.
88365 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88367         [BZ #12394]
88368         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88369         characters.  When rounding increased number of integer digits recompute
88370         number of groups.
88371         * stdio-common/tst-grouping.c: New file.
88372         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88374 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88376         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88377         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88379         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88380         void.
88381         * bits/select.h: Likewise.
88383 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88385         * po/ja.po: Update from translation team.
88387 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88389         [BZ #11155]
88390         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88391         implementation just like for lxstat, fxstatat, et al.
88393 2010-12-27  Jim Meyering  <meyering@redhat.com>
88395         [BZ #12348]
88396         * posix/regexec.c (build_trtable): Return failure indication upon
88397         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88399 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88401         [BZ #12201]
88402         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88403         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88404         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88405         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88407         [BZ #12207]
88408         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88410         [BZ #12204]
88411         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88412         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88414 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88416         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88417         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88418         script has SORT_BY_INIT_PRIORITY.
88419         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88420         NO_CTORS_DTORS_SECTIONS is defined.
88421         * elf/soinit.c: Likewise.
88422         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88423         NO_CTORS_DTORS_SECTIONS is defined.
88424         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88425         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88426         * sysdeps/sh/init-first.c: Likewise.
88427         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88429 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88431         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88432         always use the slow path.
88434 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88436         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88437         similar rule which adds the sysdep directories to the header search in
88438         order to pick up the correct platform stackinfo.h.
88439         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88440         perform test if it is, otherwise return successfully without testing.
88441         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88442         DEFAULT_STACK_PERMS define in stackinfo.h.
88443         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88444         defined in stackinfo.h.
88445         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88446         DEFAULT_STACK_PERMS defined in stackinfo.h.
88447         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88448         * sysdeps/ia64/stackinfo.h: Likewise.
88449         * sysdeps/s390/stackinfo.h: Likewise.
88450         * sysdeps/sh/stackinfo.h: Likewise.
88451         * sysdeps/sparc/stackinfo.h: Likewise.
88452         * sysdeps/x86_64/stackinfo.h: Likewise.
88453         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88454         PF_X for powerpc64.  Retain PF_X for powerpc32.
88456 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88458         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88459         accurately.
88460         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88461         GETDENTS_64BIT_ALIGNED.
88463 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88465         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88467 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88469         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88470         _GNU_SOURCE.
88472         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88473         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88474         Remove __restrict.
88475         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88476         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88478 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88480         [BZ #11655]
88481         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88482         are initialized.
88484 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88486         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88488 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88490         * po/it.po: Update from translation team.
88492 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88494         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88495         unused codes.
88497 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88499         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88501 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88503         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88504         specially.
88505         (gaih_getanswer_slice): Likewise.
88507 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88511 2010-05-31  Petr Baudis  <pasky@suse.cz>
88513         [BZ #11149]
88514         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88515         silently even in the chroot mode.
88517 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88519         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88520         last patch a bit.  Pretty printing
88522 2010-05-31  Petr Baudis <pasky@suse.cz>
88524         [BZ #10085]
88525         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88526         initialization of skip_initgroups_dyn.
88528 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88530         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88531         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88533 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88535         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88537 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88539         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88540         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88541         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88542         ($(objpfx)tst-fnmatch-mem): New rule.
88543         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88544         * posix/tst-fnmatch.c (main): Call mtrace.
88546 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88549         Support Intel processor model 6 and model 0x2c.
88551 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88553         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88554           signed comparison.
88556 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88558         [BZ #12205]
88559         * string/test-strncasecmp.c (check_result): New function.
88560         (do_one_test): Use it.
88561         (check1): New function.
88562         (test_main): Use it.
88563         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88564         Support strcasecmp and strncasecmp.
88566 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88568         [BZ #12194]
88569         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88570         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88572 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88574         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88575         IFUNC support.
88576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88577         memset-x86-64.
88578         * sysdeps/x86_64/multiarch/bzero.S: New file.
88579         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88580         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88581         * sysdeps/x86_64/multiarch/memset.S: New file.
88582         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88584         Set bit_Prefer_SSE_for_memop for Intel processors.
88585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88586         Define.
88587         (index_Prefer_SSE_for_memop): Define.
88588         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88590 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88592         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88593         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88595 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88597         [BZ #12191]
88598         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88599         (__x86_64_raw_data_cache_size_half): Likewise.
88600         (__x86_64_raw_shared_cache_size): Likewise.
88601         (__x86_64_raw_shared_cache_size_half): Likewise.
88603         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88604         (__x86_64_raw_data_cache_size_half): Likewise.
88605         (__x86_64_raw_shared_cache_size): Likewise.
88606         (__x86_64_raw_shared_cache_size_half): Likewise.
88607         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88608         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88609         and __x86_64_raw_shared_cache_size_half.  Round
88610         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88611         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88612         to multiple of 256 bytes.
88614 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88616         [BZ #12167]
88617         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88618         of inacessible symlinks.  Verify result of symlink before returning it.
88619         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88620         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88622 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88624         * math/math.h (isinf): Fix typo in comment.
88626 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88628         * po/da.po: Update from translation team.
88630 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88632         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88633         is added to the list.
88635 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88636             Ulrich Drepper  <drepper@gmail.com>
88638         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88639         the global list here.  Move code to...
88640         (_dl_add_to_namespace_list): ...here.  New function.
88641         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88642         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88643         * elf/dl-load.c (lose): Don't remove the element from the list.
88644         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88645         (_dl_map_object): Likewise.
88647 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88649         [BZ #12159]
88650         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88651         into all bytes of SSE register.
88652         Patch by Richard Li <richardpku@gmail.com>.
88654 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88656         [BZ #12140]
88657         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88658         perturbing.
88660 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88662         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88663         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88664         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88665         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88667         submachine.
88668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88670 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88672         * include/dlfcn.h (__RTLD_SECURE): Define.
88673         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88674         mode & __RTLD_SECURE instead.
88675         (open_path): Rename preloaded parameter to secure.
88676         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88677         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88678         * elf/dl-deps.c (openaux): Likewise.
88679         * elf/rtld.c (struct map_args): Remove is_preloaded.
88680         (map_doit): Don't use it.
88681         (dl_main): Likewise.
88682         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88683         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88685 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88687         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88688         (sysd-rules-targets): Remove duplicates.
88689         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88690         rtld-%.$o dependency.
88692 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88694         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88695         _dl_map_object do it.
88697 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88699         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88700         fast fma builtins, define the macros in the C99 standard.
88701         (FP_FAST_FMAF): Likewise.
88702         (FP_FAST_FMAL): Likewise.
88703         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88705         * bits/mathdef.h: Update copyright year.
88706         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88708 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88710         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88711         builtins, define the macros in the C99 standard.
88712         (FP_FAST_FMAF): Likewise.
88713         (FP_FAST_FMAL): Likewise.
88714         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88715         multiply/add.
88716         (FP_FAST_FMAF): Likewise.
88718 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88720         [BZ #3268]
88721         * math/libm-test.inc (fma_test): Some new testcases.
88722         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88724         y and infinite z.  Do multiplication by C already in long double.
88725         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88727         y and infinite z.  Do bitwise or of inexact bit into u.d.
88728         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88729         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88730         * sysdeps/i386/fpu/s_fma.S: Removed.
88731         * sysdeps/i386/fpu/s_fmal.S: Removed.
88733 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88735         [BZ #3268]
88736         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88738         computation is not scheduled after fetestexcept.  Fix value
88739         of minimum denormal long double.
88741 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88743         [BZ #3268]
88744         * math/libm-test.inc (fma_test): Add some more tests.
88745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88746         correctly.
88748 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88750         * scripts/data/localplt-s390-linux-gnu.data: New file.
88751         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88753 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88755         [BZ #3268]
88756         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88757         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88758         instead of dbl-64.
88759         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88760         inlines.
88761         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88763         if one of x and y is very large and the other is subnormal.
88764         * sysdeps/s390/fpu/s_fmaf.c: New file.
88765         * sysdeps/s390/fpu/s_fma.c: New file.
88766         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88767         * sysdeps/powerpc/fpu/s_fma.S: New file.
88768         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88769         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88770         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88772 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88774         [BZ #3268]
88775         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88776         fma tests.
88777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88778         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88779         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88780         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88781         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88782         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88783         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88785 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88787         [BZ #12078]
88788         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88789         * posix/bug-regex31.input: Add test case.
88791 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88793         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88794         * posix/bug-regex31.input: New file.
88796         [BZ #12078]
88797         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88798         (parse_sub_exp): Fix last change, use postorder.
88800         * posix/bug-regex31.c: New file.
88801         * posix/Makefile: Add rules to build and run bug-regex31.
88803         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88805         [BZ #12078]
88806         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88808         [BZ #12108]
88809         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88810         to have entries in sys_siglist.
88812         [BZ #12093]
88813         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88814         be NULL.
88816 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88818         [BZ #3268]
88819         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88820         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88821         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88822         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88824         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88825         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88826         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88827         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88828         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88829         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88830         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88831         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88832         * math/ftestexcept.c (fetestexcept): Likewise.
88833         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88834         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88836         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88837         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88838         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88839         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88841 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88843         [BZ #12107]
88844         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88845         newline.
88847 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88849         * string/bug-strstr1.c: New file.
88850         * string/Makefile: Add rules to build and run bug-strstr1.
88852 2010-10-05  Eric Blake  <eblake@redhat.com>
88854         [BZ #12092]
88855         * string/str-two-way.h (two_way_long_needle): Always clear memory
88856         when skipping input due to the shift table.
88858 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88860         [BZ #12005]
88861         * malloc/mcheck.c: Handle large requests.
88863         [BZ #12077]
88864         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88865         for strncmp and strncasecmp.
88866         * string/stratcliff.c: Add tests for strcmp and strncmp.
88867         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88869 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88871         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88872         __set_fpscr.
88874 2010-09-30  Andreas Jaeger  <aj@suse.de>
88876         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88877         (CGROUP_SUPER_MAGIC): Define.
88878         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88879         Handle btrfs and cgroup file systems.
88880         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88881         Likewise.
88883 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88885         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88886         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88888 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88890         [BZ #12067]
88891         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88892         trying to locate the ELF header.
88894 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88896         [BZ #11611]
88897         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88898         Mask out sign-bit copies when constructing f_fsid.
88900 2010-09-24  Petr Baudis <pasky@suse.cz>
88902         * debug/stack_chk_fail_local.c: Add missing licence exception.
88903         * debug/warning-nop.c: Likewise.
88905 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88907         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88908         implementing getdents64 using getdents syscall, set d_type if
88909         __ASSUME_GETDENTS32_D_TYPE.
88911 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88913         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88914         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88916 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88918         [BZ #12037]
88919         * posix/unistd.h: Undo change of feature selection for ftruncate from
88920         2010-01-11.
88922 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88924         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88925         detection.
88927 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88930         fanotify_mark.
88931         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88933 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88935         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88936         variables after CHECK_SP call.
88937         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88939 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88940             Ulrich Drepper  <drepper@redhat.com>
88942         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88943         re-relocationg ld.so.
88944         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88945         _dl_init_paths call.
88946         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88947         here anymore.
88949 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88951         * resolv/res_init.c (__res_vinit): Count the default server we added.
88953 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88954             Ulrich Drepper  <drepper@redhat.com>
88956         [BZ #11968]
88957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88958         (____longjmp_chk): Use %ebx for saving value across system call.
88959         Add unwind info.
88961 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88963         * manual/Makefile: Don't mix pattern rules with normal rules.
88965 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88967         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88968         operation.
88969         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88970         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88971         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88972         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88974         Likewise.
88976 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88978         [BZ #11979]
88979         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88980         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88982 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88984         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88985         * sysdeps/x86_64/addmul_1.S: Likewise.
88986         * sysdeps/x86_64/lshift.S: Likewise.
88987         * sysdeps/x86_64/mul_1.S: Likewise.
88988         * sysdeps/x86_64/rshift.S: Likewise.
88989         * sysdeps/x86_64/sub_n.S: Likewise.
88990         * sysdeps/x86_64/submul_1.S: Likewise.
88992 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88994         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88995         Define __sched_param instead of SCHED_* and sched_param when
88996         <bits/sched.h> is included with __need_schedparam defined.
88997         * bits/sched.h [__need_schedparam]
88998         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88999         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89000         (__defined_schedparam): Define to 1.
89001         (__sched_param): New structure, identical to sched_param.
89002         (__need_schedparam): Undefine.
89004 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89007         (epoll_create1): Declare.
89009         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89011 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89013         [BZ #7066]
89014         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89015         shifting retval into place.
89017 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89019         * nis/rpcsvc/nis.h: Update copyright notice.
89020         * nis/rpcsvc/nis.x: Likewise.
89021         * nis/rpcsvc/nis_callback.h: Likewise.
89022         * nis/rpcsvc/nis_callback.x: Likewise.
89023         * nis/rpcsvc/nis_object.x: Likewise.
89024         * nis/rpcsvc/nis_tags.h: Likewise.
89025         * nis/rpcsvc/yp.h: Likewise.
89026         * nis/rpcsvc/yp.x: Likewise.
89027         * nis/rpcsvc/ypupd.h: Likewise.
89028         * nis/yp_xdr.c: Likewise.
89029         * nis/ypupdate_xdr.c: Likewise.
89031         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89032         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89033         (pmap_getport): Use __libc_rpc_getport.
89034         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89035         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89036         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89038 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89041         fanotify_mark.
89043 2010-08-27  Roland McGrath  <roland@redhat.com>
89045         * sysdeps/i386/i686/multiarch/Makefile
89046         (CFLAGS-varshift.c): New variable.
89048 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89050         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89051         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89055         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89057 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89059         * sysdeps/x86_64/strlen.S: Unroll the loop.
89060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89061         strlen-sse2 strlen-sse2-bsf.
89062         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89063         __strlen_no_bsf if bit_Slow_BSF is set.
89064         (__strlen_sse42): Removed.
89065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89066         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89068 2010-08-25  Roland McGrath  <roland@redhat.com>
89070         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89071         * sysdeps/x86_64/multiarch/varshift.c: New file.
89072         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89073         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89074         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89075         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89077 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89079         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89080         strlen-sse2 strlen-sse2-bsf.
89081         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89082         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89083         (__strlen_sse2): Removed.
89084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89087         bit_Slow_BSF for Atom.
89088         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89089         (index_Slow_BSF): Define.
89090         (HAS_SLOW_BSF): Define.
89092 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89094         [BZ #10851]
89095         * resolv/res_init.c (__res_vinit): When no server address at all
89096         is given default to loopback.
89098 2010-08-24  Roland McGrath  <roland@redhat.com>
89100         * configure.in: Remove config-name.h generation.
89101         * configure: Regenerated.
89102         * config-name.in: File removed.
89103         * scripts/config-uname.sh: New file.
89104         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89105         ($(objdir)config-name.h): New target.
89107         * sunrpc/rpc_parse.h: Avoid nested comment.
89109 2010-08-24  Richard Henderson  <rth@redhat.com>
89110             Ulrich Drepper  <drepper@redhat.com>
89111             H.J. Lu  <hongjiu.lu@intel.com>
89113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89115         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89116         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89117         _mm_alignr_epi8 with _mm_loadu_si128.
89118         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89119         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89120         (__m128i_shift_right): Removed.
89121         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89122         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89123         * sysdeps/x86_64/multiarch/varshift.h: New file.
89124         * sysdeps/x86_64/multiarch/varshift.S: New file.
89126 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89128         * configure.in: Move assembler checks to before sysdep dir checking.
89130 2010-08-20  Petr Baudis  <pasky@suse.cz>
89132         * LICENSES: Sync the sunrpc license.
89134 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89136         * sunrpc/auth_des.c: Update copyright notice once again.
89137         * sunrpc/auth_none.c: Likewise.
89138         * sunrpc/auth_unix.c: Likewise.
89139         * sunrpc/authdes_prot.c: Likewise.
89140         * sunrpc/authuxprot.c: Likewise.
89141         * sunrpc/bindrsvprt.c: Likewise.
89142         * sunrpc/clnt_gen.c: Likewise.
89143         * sunrpc/clnt_perr.c: Likewise.
89144         * sunrpc/clnt_raw.c: Likewise.
89145         * sunrpc/clnt_simp.c: Likewise.
89146         * sunrpc/clnt_tcp.c: Likewise.
89147         * sunrpc/clnt_udp.c: Likewise.
89148         * sunrpc/clnt_unix.c: Likewise.
89149         * sunrpc/des_crypt.c: Likewise.
89150         * sunrpc/des_soft.c: Likewise.
89151         * sunrpc/get_myaddr.c: Likewise.
89152         * sunrpc/getrpcport.c: Likewise.
89153         * sunrpc/key_call.c: Likewise.
89154         * sunrpc/key_prot.c: Likewise.
89155         * sunrpc/openchild.c: Likewise.
89156         * sunrpc/pm_getmaps.c: Likewise.
89157         * sunrpc/pm_getport.c: Likewise.
89158         * sunrpc/pmap_clnt.c: Likewise.
89159         * sunrpc/pmap_prot.c: Likewise.
89160         * sunrpc/pmap_prot2.c: Likewise.
89161         * sunrpc/pmap_rmt.c: Likewise.
89162         * sunrpc/rpc/auth.h: Likewise.
89163         * sunrpc/rpc/auth_unix.h: Likewise.
89164         * sunrpc/rpc/clnt.h: Likewise.
89165         * sunrpc/rpc/des_crypt.h: Likewise.
89166         * sunrpc/rpc/key_prot.h: Likewise.
89167         * sunrpc/rpc/netdb.h: Likewise.
89168         * sunrpc/rpc/pmap_clnt.h: Likewise.
89169         * sunrpc/rpc/pmap_prot.h: Likewise.
89170         * sunrpc/rpc/pmap_rmt.h: Likewise.
89171         * sunrpc/rpc/rpc.h: Likewise.
89172         * sunrpc/rpc/rpc_des.h: Likewise.
89173         * sunrpc/rpc/rpc_msg.h: Likewise.
89174         * sunrpc/rpc/svc.h: Likewise.
89175         * sunrpc/rpc/svc_auth.h: Likewise.
89176         * sunrpc/rpc/types.h: Likewise.
89177         * sunrpc/rpc/xdr.h: Likewise.
89178         * sunrpc/rpc_clntout.c: Likewise.
89179         * sunrpc/rpc_cmsg.c: Likewise.
89180         * sunrpc/rpc_common.c: Likewise.
89181         * sunrpc/rpc_cout.c: Likewise.
89182         * sunrpc/rpc_dtable.c: Likewise.
89183         * sunrpc/rpc_hout.c: Likewise.
89184         * sunrpc/rpc_main.c: Likewise.
89185         * sunrpc/rpc_parse.c: Likewise.
89186         * sunrpc/rpc_parse.h: Likewise.
89187         * sunrpc/rpc_prot.c: Likewise.
89188         * sunrpc/rpc_sample.c: Likewise.
89189         * sunrpc/rpc_scan.c: Likewise.
89190         * sunrpc/rpc_scan.h: Likewise.
89191         * sunrpc/rpc_svcout.c: Likewise.
89192         * sunrpc/rpc_tblout.c: Likewise.
89193         * sunrpc/rpc_util.c: Likewise.
89194         * sunrpc/rpc_util.h: Likewise.
89195         * sunrpc/rpcinfo.c: Likewise.
89196         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89197         * sunrpc/rpcsvc/key_prot.x: Likewise.
89198         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89199         * sunrpc/rpcsvc/mount.x: Likewise.
89200         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89201         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89202         * sunrpc/rpcsvc/rex.x: Likewise.
89203         * sunrpc/rpcsvc/rstat.x: Likewise.
89204         * sunrpc/rpcsvc/rusers.x: Likewise.
89205         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89206         * sunrpc/rpcsvc/spray.x: Likewise.
89207         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89208         * sunrpc/rtime.c: Likewise.
89209         * sunrpc/svc.c: Likewise.
89210         * sunrpc/svc_auth.c: Likewise.
89211         * sunrpc/svc_authux.c: Likewise.
89212         * sunrpc/svc_raw.c: Likewise.
89213         * sunrpc/svc_run.c: Likewise.
89214         * sunrpc/svc_simple.c: Likewise.
89215         * sunrpc/svc_tcp.c: Likewise.
89216         * sunrpc/svc_udp.c: Likewise.
89217         * sunrpc/svc_unix.c: Likewise.
89218         * sunrpc/svcauth_des.c: Likewise.
89219         * sunrpc/xcrypt.c: Likewise.
89220         * sunrpc/xdr.c: Likewise.
89221         * sunrpc/xdr_array.c: Likewise.
89222         * sunrpc/xdr_float.c: Likewise.
89223         * sunrpc/xdr_mem.c: Likewise.
89224         * sunrpc/xdr_rec.c: Likewise.
89225         * sunrpc/xdr_ref.c: Likewise.
89226         * sunrpc/xdr_sizeof.c: Likewise.
89227         * sunrpc/xdr_stdio.c: Likewise.
89229         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89230         handling.
89232 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89234         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89236 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89238         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89239         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89240         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89241         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89242         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89243         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89244         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89245         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89248         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89249         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89250         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89251         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89253 2010-07-26  Anton Blanchard  <anton@samba.org>
89255         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89256         * malloc/arena.c (heap_trim): Likewise.
89258 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89260         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89261         here.  Not...
89262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89263         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89265 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89267         * sysdeps/i386/elf/Makefile: New file.
89269 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89271         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89272         from fanotify_init.
89273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89276 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89278         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89279         of strncasecmp_l.
89280         * sysdeps/multiarch/strcmp.S: Likewise.
89282 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89284         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89285         strncase_l-nonascii.
89286         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89287         Add strncase_l-ssse3.
89288         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89289         * sysdeps/x86_64/strcmp.S: Likewise.
89290         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89291         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89292         * sysdeps/x86_64/strncase.S: New file.
89293         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89294         * sysdeps/x86_64/strncase_l.S: New file.
89295         * string/Makefile (strop-tests): Add strncasecmp.
89296         * string/test-strncasecmp.c: New file.
89298         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89299         warning.
89301         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89302         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89304 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89306         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89308 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89310         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89314 2010-05-01  Alan Modra  <amodra@gmail.com>
89316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89317         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89318         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89319         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89320         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89321         tidying.  Don't tail-call __sigjmp_save for static lib.
89322         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89323         save location.
89324         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89325         (CALL_MCOUNT): Add eh info, and nop after bl.
89326         (TAIL_CALL_SYSCALL_ERROR): New macro.
89327         (PSEUDO_RET): Use it.
89328         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89329         Correct save location of integer regs and cr.
89330         (_dl_profile_resolve): Correct cr save location.  Delete nops
89331         after bl when SHARED.  Reduce cfi size a little by better
89332         placement of cfi directives.
89333         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89334         make a stack frame.  Instead use parm save area as a temp.
89335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89336         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89338         Don't make a stack frame for parent, use parm save area.
89339         Increase child stack frame to 112 bytes.  Don't save unused reg,
89340         and adjust reg usage.  Set up cfi on error recovery and
89341         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89343         (__makecontext): Add dummy nop after jump to exit.
89344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89345         Use correct parm save area and cr save, reduce stack frame.
89346         Correct cfi for possible PSEUDO_RET frame setup.
89347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89348         Branch to local label emitted by PSEUDO_RET rather than
89349         __syscall_error.
89351 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89353         [BZ #11904]
89354         * locale/programs/locale.c (print_assignment): New function.
89355         (show_locale_vars): Use it.
89357 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89359         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89360         field.
89361         (struct statfs64): Likewise.
89362         (_STATFS_F_FLAGS): Define.
89363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89364         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89365         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89366         (ST_VALID): Define locally.
89367         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89368         __statvfs_getflags, use the provided value.
89369         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89370         __ASSUME_STATFS_F_FLAGS.
89372         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89374         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89375         Add sys/fanotify.h.
89376         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89377         fanotify_mask for GLIBC_2.13.
89378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89379         fanotify_init and fanotify_mark.
89380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89381         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89383         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89384         Add prlimit.
89385         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89386         prlimit64 for GLIBC_2.13.
89387         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89388         prlimit64.
89389         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89390         syscall.
89391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89396         add prlimit alias.
89397         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89399         [BZ #11903]
89400         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89401         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89403         * nss/Makefile: Add rules to build and run tst-nss-test1.
89404         * shlib-versions: Add entry for libnss_test1.
89405         * nss/nss_test1.c: New file.
89406         * nss/tst-nss-test1.c: New file.
89408         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89409         (__nss_configure_lookup): Set appropriate entry in
89410         __nss_configure_lookup to true.
89411         * nss/nsswitch.h: Define enum with indeces of databases in
89412         databases and __nss_database_custom arrays.  Declare
89413         __nss_database_custom.
89414         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89415         to avoid using nscd when custom rules are installed.
89416         * nss/getXXbyYY_r.c: Likewise.
89417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89419         * nss/nss_files/files-parse.c: Whitespace fixes.
89421 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89423         [BZ #11883]
89424         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89425         * posix/fnmatch_loop.c: Likewise.
89427 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89429         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89430         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89431         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89432         * Versions.def [GLIBC_2.13]: Add.
89434 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89437         Also fail if tpwd after pwuid call is NULL.
89439 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89441         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89442         when converting to ms.
89444 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89446         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89447         EOPNOTSUPP errors with ENOTTY.
89448         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89449         EOPNOTSUPP errors with ENOTTY.
89451 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89453         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89454         Add strcasecmp_l-ssse3.
89455         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89456         strcasecmp.
89457         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89458         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89459         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89461 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89463         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89465         * string/Makefile (strop-tests): Add strcasecmp.
89466         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89467         strcasecmp_l-nonascii.
89468         (gen-as-const-headers): Add locale-defines.sym.
89469         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89470         * sysdeps/x86_64/strcasecmp.S: New file.
89471         * sysdeps/x86_64/strcasecmp_l.S: New file.
89472         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89473         * sysdeps/x86_64/locale-defines.sym: New file.
89474         * string/test-strcasecmp.c: New file.
89476         * string/test-strcasestr.c: Test both ends of the range of characters.
89477         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89479 2010-07-29  Roland McGrath  <roland@redhat.com>
89481         [BZ #11856]
89482         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89484 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89486         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89487         for ld.so.
89489 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89491         * manual/memory.texi (Malloc Tunable Parameters): Document
89492         M_PERTURB.
89494 2010-07-26  Roland McGrath  <roland@redhat.com>
89496         [BZ #11840]
89497         * configure.in (-fgnu89-inline check): Set and substitute
89498         gnu89_inline, not libc_cv_gnu89_inline.
89499         * configure: Regenerated.
89500         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89502 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89504         * string/test-strnlen.c: New file.
89505         * string/Makefile (strop-tests): Add strnlen.
89506         * string/tester.c (test_strnlen): Add a few more test cases.
89507         * string/tst-strlen.c: Better error reporting.
89509         * sysdeps/x86_64/strnlen.S: New file.
89511 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89513         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89514         lower-latency instructions.
89516 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89518         * string/test-strcasestr.c: New file.
89519         * string/test-strstr.c: New file.
89520         * string/Makefile (strop-tests): Add strstr and strcasestr.
89521         * string/str-two-way.h: Don't undefine MAX.
89522         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89524 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89527         strcasestr-nonascii.
89528         (CFLAGS-strcasestr-nonascii.c): Define.
89529         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89531         Remove unused attribute.
89533 2010-07-20  Roland McGrath  <roland@redhat.com>
89535         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89536         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89537         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89538         like LD_HWCAP_MASK can disable hwcaps.
89540 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89542         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89544 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89546         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89547         call in strcasestr.
89548         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89549         __strcasestr_sse42_nonascii.
89550         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89551         strcasestr-nonascii.c.
89552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89554 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89556         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89557         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89558         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89559         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89561 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89563         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89564         fcntl.
89566 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89568         [BZ #11577]
89569         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89570         dl_signal_cerror.
89572 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89574         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89575         _PC_PIPE_BUF using F_GETPIPE_SZ.
89577 2010-07-05  Roland McGrath  <roland@redhat.com>
89579         * manual/arith.texi (Rounding Functions): Fix rint description
89580         implicit in round description.
89582 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89584         * elf/Makefile: Fix linking for a few tests to make recent linker
89585         happy.
89587 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89589         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89590         $(common-objpfx)libc_nonshared.a.
89592 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89594         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89595         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89596         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89597         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89598         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89599         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89600         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89601         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89616         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89617         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89618         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89619         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89620         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89621         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89622         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89623         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89624         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89625         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89626         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89627         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89643 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89645         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89646         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89647         * string/memmove.c (memmove): Renamed to ...
89648         (MEMMOVE): ...this.  Default to memmove.
89649         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89650         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89651         (END_CHK): Define.
89652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89653         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89654         mempcpy-ssse3-back memmove-ssse3-back.
89655         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89657         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89658         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89659         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89660         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89661         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89662         * sysdeps/x86_64/multiarch/memmove.c: New file.
89663         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89664         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89665         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89666         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89667         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89669         Define.
89670         (index_Fast_Copy_Backward): Define.
89671         (HAS_ARCH_FEATURE): Define.
89672         (HAS_FAST_REP_STRING): Define.
89673         (HAS_FAST_COPY_BACKWARD): Define.
89675 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89678         Restore proper fallback handling.
89680 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89682         [BZ #11701]
89683         * posix/group_member.c (__group_member): Correct checking loop.
89685         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89686         OOM in getpwuid_r correctly.  Return error number when the caller
89687         should return, otherwise -1.
89688         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89689         call returning > 0 value.
89690         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89692 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89694         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89695         libc_nonshared.a from targets in modules-names.
89697 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89699         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89700         requires it.
89702 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89705         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89709 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89711         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89713 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89715         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89716         and F_GETPIPE_SZ.
89717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89718         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89721         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89722         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89724 2010-06-14  Roland McGrath  <roland@redhat.com>
89726         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89728 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89730         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89731         __REDIRECT followed by __THROW.
89732         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89733         * posix/getopt.h (getopt): Likewise.
89735 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89737         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89738         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89739         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89740         in AT_FLAGS.
89741         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89742         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89744 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89748 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89750         [BZ #11640]
89751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89752         Properly check family and model.
89754 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89756         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89758 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89760         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89762 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89764         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89765         symbol reference.
89767 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89769         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89770         symbol reference.
89772 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89774         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89775         and internal_recvmmsg.
89776         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89777         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89778         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89779         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89781         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89782         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89783         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89785 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89787         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89789 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89791         POWER7 optimizations.
89792         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89793         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89795 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89797         * version.h: Update for 2.13 development version.
89799 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89802         exceptions.  Return 0.
89804 2010-05-07  Roland McGrath  <roland@redhat.com>
89806         * elf/ldconfig.c (main): Add a const.
89808 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89810         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89811         (args_options): Add no-idn option.
89812         (ahosts_keys_int): Add idn_flags to ai_flags.
89813         (parse_option): Handle 'i' option to clear idn_flags.
89815         * malloc/malloc.c (_int_free): Possible race in the most recently
89816         added check.  Only act on the data if no current modification
89817         happened.
89819 See ChangeLog.17 for earlier changes.