powerpc: refactor strcasecmp, strcmp, and strncmp IFUNC.
[glibc.git] / ChangeLog
blob0dc5c074ed7caaf46dbb824046d846fb691763d1
1 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4         the implementation-specific function name and remove unneeded
5         macros definition.
6         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
8         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
11         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
12         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
13         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
14         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
16         name if not defined and pass as parameter to macros accordingly.
17         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
18         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
20         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
21         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
22         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
23         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
24         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
27         implementation-specific function name and remove unneeded macros
28         definition.
29         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
30         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
31         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
32         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
33         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
34         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
35         function name if not defined.
36         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
37         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
39 2017-04-11  Paul Clarke  <pc@us.ibm.com>
41         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
42         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
43         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
44         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
46 2017-04-11  Florian Weimer  <fweimer@redhat.com>
47             Zack Weinberg  <zackw@panix.com>
49         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
50         readdir64 as thread-safe.  Update warning about readdir_r.
52 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
54         * sysdeps/unix/sysv/linux/x86/Implies: New file.
55         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
56         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
57         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
58         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
59         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
60         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
62 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64         * sysdeps/i386/dl-procinfo.c: Include
65         <sysdeps/x86/dl-procinfo.c>.
66         * sysdeps/x86_64/dl-procinfo.c: Likewise.
67         * sysdeps/x86/dl-procinfo.c: New file.
69 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
71         * sysdeps/generic/math_private.h: Remove declarations of
72         many functions that are already declared in math.h.
73         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
74         declaration for __frexpl.
75         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
76         the declarations for __scalbnl and fabsl.
78 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
80         [BZ #20831]
81         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
82         of __mprotect to change protection on the excess portion
83         to disallow all access.
85 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
87         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
88         HAS_CPU_FEATURE to check for SSE.
89         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
90         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
91         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
92         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
93         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
94         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
95         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
96         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
97         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
98         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
99         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
100         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
101         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
102         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
103         (index_cpu_SSE): Likewise.
104         (reg_SSE): Likewise.
106 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
108         * posix/getopt1.c: Include <config.h>, not "config.h".
110 2017-04-07  Zack Weinberg  <zackw@panix.com>
112         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
113         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
114         Mention in top-of-file boilerplate that these files are shared
115         with gnulib.
116         * posix/getopt.h, posix/bits/getopt_posix.h:
117         Mention in top-of-file boilerplate that these files are NOT shared
118         with gnulib, unlike the rest of the getopt implementation.
120         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
121         New files, intended to be shared with gnulib.
122         * posix/bits/getopt_posix.h:
123         New file, not intended to be shared with gnulib.
124         * posix/getopt.h: Now just includes features.h,
125         bits/getopt_core.h, and bits/getopt_ext.h.  Will
126         no longer be shared with gnulib.
127         * include/bits/getopt_core.h, include/bits/getopt_ext.h
128         * include/bits/getopt_posix.h: New wrappers.
129         * posix/Makefile: Install new headers.
130         * posix/unistd.h, libio/stdio.h:
131         Include bits/getopt_posix.h instead of getopt.h.
133         * include/libc-symbols.h: For gnulib compatibility, define
134         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
135         _GL_ATTRIBUTE_CONST.
136         * posix/getopt.c (_getopt_initialize): Mark argc and argv
137         parameters with _GL_UNUSED.
139         * posix/getopt.c: When used standalone, define __libc_use_alloca
140         as always false and alloca to abort if called.
141         (process_long_option): Rewrite handling of ambiguous long options
142         to use a single boolean vector, not a linked list; use
143         __libc_use_alloca to decide whether to allocate this using alloca.
144         * posix/tst-getopt_long1.c: Adjust text of expected error message.
146         * posix/getopt.c (process_long_option): New function split out
147         from _getopt_internal_r.
148         (_getopt_internal_r): Replace both copies of the long-option
149         processing code with calls to process_long_option.
150         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
151         (do_test): Differentiate argv[0] in the two subtests.
153         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
154         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
155         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
157         * posix/getopt.h: Add backup definition of __nonnull for
158         consistency with gnulib.  Define __getopt_argv_const to const
159         if not already defined.
160         (getopt): Update doc comment from gnulib.  Prototype
161         unconditionally.  Add __nonnull annotation.
162         (__posix_getopt): Add __nonnull annotation.
163         (getopt_long, getopt_long_only): Use __getopt_argv_const in
164         prototypes for consistency with gnulib.  Add __nonnull
165         annotations.
166         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
167         (getopt_internal): Change 'argv' argument to type 'char **'.
168         Remove now-unnecessary casts.
169         (getopt, __posix_getopt): Eliminate repetition with a macro.
170         Cast 'argv' to 'char **' when calling _getopt_internal.
171         * posix/getopt1.c (getopt_long, getopt_long_only):
172         Use __getopt_argv_const for consistency with gnulib.
173         Cast 'argv' to 'char **' when calling _getopt_internal.
174         (_getopt_long_r, _getopt_long_only_r):
175         Change 'argv' argument to type 'char **'.
176         (main): Constify 'long_options'.
177         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
178         (_getopt_long_r, _getopt_long_only_r):
179         Change 'argv' argument to type 'char **'.
181         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
182         (locked_vfxprintf): New helper function. Handle arbitrary
183         multibyte strings, not just ASCII.
184         * include/stdio.h: Declare __fxprintf_nocancel.
185         * posix/getopt.c: When _LIBC is defined, define fprintf to
186         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
187         to _IO_funlockfile.  When neither _LIBC nor
188         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
189         funlockfile as no-ops.
190         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
191         the standalone error-printing code can now be used for libc as
192         well.  Add an flockfile/funlockfile pair around one case where
193         the error message is printed in several chunks.  Don't use fputc.
194         * posix/tst-getopt-cancel.c: New test.
195         * posix/Makefile: Run it.
197         * posix/getopt.c (_getopt_internal_r): Don't increment
198         d->optind a second time when reporting ambiguous -W options.
200         * posix/getopt_int.h: Include getopt.h.
201         Use impl-namespace names for all arguments to _getopt_internal and
202         _getopt_internal_r.
203         Declare __ordering enum outside the struct.
204         Harmonize comments with gnulib.
205         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
206         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
207         #ifdef TEST block and make unconditional.  Do not define NULL.
208         * posix/getopt.c: Partial merge from gnulib, covering the
209         initial includes and global declarations, commentary, and
210         a couple of semantically-neutral code changes.
212         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
213         Use '...' instead of `...' for quotation marks inside
214         comments and strings.
216         * config.h.in (USE_NONOPTION_FLAGS): Remove.
217         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
218         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
219         * posix/getopt_int.h: Likewise.
220         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
221         __libc_argc and __libc_argv externs, which were only used by
222         #ifdef USE_NONOPTION_FLAGS blocks.
223         * posix/getopt_init.c: Remove file.
224         * posix/Makefile (routines): Remove getopt_init.
225         * include/getopt.h: Don't declare __getopt_initialize_environment.
226         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
227         a comment.
229 2017-04-07  Florian Weimer  <fweimer@redhat.com>
231         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
233 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
235         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
236         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
237         to __wrap_.udiv.
238         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
239         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
241         * sysdeps/i386/symbol-hacks.h: New file.
242         * sysdeps/m68k/symbol-hacks.h: New file.
243         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
244         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
245         * sysdeps/unix/sysv/linux/i386/Makefile
246         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
247         [$(subdir) = csu] (sysdep-only-routines): Likewise.
248         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
249         * sysdeps/unix/sysv/linux/m68k/Makefile
250         [$(subdir) = csu] (sysdep_routines): Likewise.
251         [$(subdir) = csu] (sysdep-only-routines): Likewise.
252         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
254         [$(subdir) = csu] (sysdep_routines): Likewise.
255         [$(subdir) = csu] (sysdep-only-routines): Likewise.
256         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
257         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
258         [$(subdir) = csu] (sysdep_routines): Likewise.
259         [$(subdir) = csu] (sysdep-only-routines): Likewise.
260         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
261         * sysdeps/wordsize-32/Makefile: Remove file.
262         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
263         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
265 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
267         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
268         (TEST_FUNCTION_ARGV): New.
270 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
272         * elf/next.c: Import support/test-driver.c instead of
273         test-skeleton.c and delete TEST_FUNCTION macro definition.
274         * elf/nodelete.c: Likewise.
275         * elf/order2.c: Likewise.
276         * elf/tst-_dl_addr_inside_object.c: Likewise.
277         * elf/tst-addr1.c: Likewise.
278         * elf/tst-align.c: Likewise.
279         * elf/tst-align2.c: Likewise.
280         * elf/tst-audit11.c: Likewise.
281         * elf/tst-audit12.c: Likewise.
282         * elf/tst-audit2.c: Likewise.
283         * elf/tst-audit9.c: Likewise.
284         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
285         * elf/tst-deep1.c: Likewise.
286         * elf/tst-dl-iter-static.c: Likewise.
287         * elf/tst-dlmodcount.c: Likewise.
288         * elf/tst-dlmopen1.c: Likewise.
289         * elf/tst-dlmopen2.c: Likewise.
290         * elf/tst-dlmopen3.c: Likewise.
291         * elf/tst-dlopen-aout.c: Likewise.
292         * elf/tst-dlopenrpath.c: Likewise.
293         * elf/tst-dlsym-error.c: Likewise.
294         * elf/tst-execstack-needed.c: Likewise.
295         * elf/tst-execstack-prog.c: Likewise.
296         * elf/tst-execstack.c: Likewise.
297         * elf/tst-global1.c: Likewise.
298         * elf/tst-gnu2-tls1.c: Likewise.
299         * elf/tst-latepthread.c: Likewise.
300         * elf/tst-leaks1.c: Likewise.
301         * elf/tst-linkall-static.c: Likewise.
302         (do_test): New function.
303         * elf/tst-nodelete-opened.c: Likewise.
304         * elf/tst-nodelete.cc: Likewise.
305         * elf/tst-nodelete2.c: Likewise.
306         * elf/tst-noload.c: Likewise.
307         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
308         * elf/tst-order-main.c: Likewise.
309         * elf/tst-pathopt.c: Likewise.
310         * elf/tst-pie2.c: Likewise.
311         * elf/tst-piemod1.c: Likewise.
312         * elf/tst-prelink.c: Likewise.
313         * elf/tst-protected1a.c: Likewise.
314         * elf/tst-protected1b.c: Likewise.
315         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
316         and define _GNU_SOURCE macro.
317         (cmdline_process_function): New function.
318         * elf/tst-relsort1.c: Likewise.
319         * elf/tst-stackguard1.c: Likewise, import getopt.h,
320         and define _GNU_SOURCE macro.
321         (cmdline_process_function): New function.
322         * elf/tst-thrlock.c: Likewise.
323         * elf/tst-tls-dlinfo.c: Likewise.
324         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
325         * elf/tst-tls1.c: Likewise.
326         * elf/tst-tls10.c: Likewise.
327         * elf/tst-tls11.c: Likewise.
328         * elf/tst-tls12.c: Likewise.
329         * elf/tst-tls13.c: Likewise.
330         * elf/tst-tls14.c: Likewise.
331         * elf/tst-tls15.c: Likewise.
332         * elf/tst-tls16.c: Likewise.
333         * elf/tst-tls17.c: Likewise.
334         * elf/tst-tls18.c: Likewise.
335         * elf/tst-tls19.c: Likewise.
336         * elf/tst-tls2.c: Likewise.
337         * elf/tst-tls3.c: Likewise.
338         * elf/tst-tls4.c: Likewise.
339         * elf/tst-tls5.c: Likewise.
340         * elf/tst-tls6.c: Likewise.
341         * elf/tst-tls7.c: Likewise.
342         * elf/tst-tls8.c: Likewise.
343         * elf/tst-tls9.c: Likewise.
344         * elf/tst-tlsalign-extern.c: Likewise.
345         * elf/tst-tlsalign.c: Likewise.
346         * elf/tst-unique1.c: Likewise.
347         * elf/tst-unique2.c: Likewise.
348         * elf/vismain.c: Likewise.
350 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
352         * string/test-strnlen.c (do_page_tests): New function
353         to check length of strings ending at the page boundary.
354         (test_main): Added call to the do_page_tests function.
356 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
357             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
359         * sysdeps/powerpc/powerpc64/multiarch/Makefile
360         (sysdep_routines): Add strnlen-power8.
361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
362         (strnlen): Add __strnlen_power8 to list of strnlen functions.
363         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
364         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
365         (__strnlen): Add __strnlen_power8 to ifunc list.
366         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
368 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
370         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
371         the TEST_FUNCTION macro definition.
372         * wcsmbs/tst-mbrtowc2.c: Likewise.
373         * wcsmbs/tst-mbsrtowcs.c: Likewise.
374         * wcsmbs/tst-wchar-h.c: Likewise.
375         * wcsmbs/tst-wcpncpy.c: Likewise.
376         * wcsmbs/tst-wcrtomb.c: Likewise.
377         * wcsmbs/tst-wcsnlen.c: Likewise.
378         * wcsmbs/tst-wcstof.c: Likewise.
380 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
382         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
383         CALL_THREAD_FCT macro usage.
384         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
385         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
386         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
388         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
390         (__ASSUME_REQUEUE_PI): Likewise.
391         * sysdeps/unix/sysv/linux/kernel-features.h
392         (__ASSUME_REQUEUE_PI): Likewise.
393         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
394         (__ASSUME_REQUEUE_PI): Likewise.
395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
396         (__ASSUME_REQUEUE_PI): Likewise.
397         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
398         (__ASSUME_REQUEUE_PI): Likewise.
400 2017-04-04  Florian Weimer  <fweimer@redhat.com>
402         * resolv/tst-resolv-canonname.c: New file.
403         * resolv/Makefile (tests): Add tst-resolv-canonname.
404         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
406 2017-04-04  Florian Weimer  <fweimer@redhat.com>
408         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
409         Declare.
410         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
411         (NS_MAXCDNAME): Remove definition.
412         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
413         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
414         (NS_MAXCDNAME): Remove definition.
415         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
417 2017-04-04  Florian Weimer  <fweimer@redhat.com>
419         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
420         call whose result is not used.
422 2017-04-04  Florian Weimer  <fweimer@redhat.com>
424         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
425         * resolv/Makefile (tests): Add tst-ns_name.
426         (tst-ns_name): Link with -lresolv.
427         (tst-ns_name.out): Depend on the input data file.
429 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
431         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
432         Clobber also r14.
434 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
436         [BZ #21253]
437         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
438         slack space by 32KiB.
440 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
442         [BZ #21338]
443         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
444         instead of incorrect do_set_arena_test
446 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
448         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
449         * math/bits/math-finite.h: Likewise.
451 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
453         [BZ #21289]
454         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
456 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
458         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
459         non expected inotify_add_watch and quotactl return.
461 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
463         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
464         to int32_t.
465         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
466         as returning int32_t.
468 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
470         * math/math.h: Include bits/math-finite.h once per
471         floating-point type.
472         * math/bits/math-finite.h: Macroize all declarations by
473         floating-point type.
475 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
477         [BZ #21182]
478         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
479         near end of a page.
480         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
481         overflow calculation.
483 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
485         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
486         (IMPL) Call with 1 instead of 0 as argument.
488 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
490         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
491         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
492         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
493         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
494         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
495         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
496         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
497         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
498         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
499         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
500         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
501         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
502         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
503         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
504         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
505         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
506         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
507         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
508         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
509         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
510         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
511         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
512         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
513         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
514         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
515         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
516         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
517         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
518         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
519         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
520         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
521         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
522         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
523         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
524         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
525         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
526         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
527         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
528         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
529         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
530         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
531         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
532         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
533         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
534         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
535         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
536         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
537         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
538         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
539         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
540         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
541         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
542         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
543         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
544         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
545         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
546         INLINE_SYSCALL_ERROR_RETURN_VALUE.
547         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
548         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
549         defined.
550         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
551         __NR_setgroups32 if defined.
552         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
553         if defined.
554         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
555         __NR_setresgid32 is defined.
556         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
557         __NR_setresuid32 if defined.
558         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
559         __NR_setreuid32 if defined.
560         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
561         defined.
562         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
563         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
564         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
565         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
566         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
567         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
568         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
569         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
570         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
571         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
572         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
573         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
574         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
575         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
576         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
577         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
578         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
579         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
580         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
581         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
582         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
583         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
584         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
585         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
586         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
587         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
588         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
589         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
590         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
591         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
592         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
593         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
594         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
595         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
596         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
597         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
598         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
599         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
600         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
601         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
602         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
603         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
604         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
605         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
606         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
607         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
608         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
609         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
610         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
611         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
612         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
613         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
614         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
615         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
617         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
618         INLINE_SYSCALL_ERROR_RETURN_VALUE.
619         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
620         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
621         defined.
622         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
623         __NR_setgroups32 if defined.
624         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
625         if defined.
626         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
627         __NR_setresgid32 is defined.
628         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
629         __NR_setresuid32 if defined.
630         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
631         __NR_setreuid32 if defined.
632         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
633         defined.
635 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
637         [BZ #21277]
638         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
639         unconditionally.
640         (IMAXBEL): Likewise.
641         (IUTF8): Likewise.
643 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
645         * sysdeps/aarch64/libm-test-ulps: Update.
647 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
649         * README.tunables: Updated descriptions.
650         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
651         * scripts/gen-tunables.awk: Updated the code related to the
652         commit.
654 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
656         * benchtests/Makefile (string-benchset): Add memcpy-random.
657         * benchtests/bench-memcpy-random.c: New file.
659 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
661         * stdio-common/printf.h (register_printf_modifier): Change the
662         order of __wur and __THROW.
663         (register_printf_type): Likewise.
665 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
667         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
668         test_main ().
669         (CMDLINE_PROCESS): Use function instead of defined macro.
670         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
671         <suppport/support.h> to use set_fortify_handler().
672         * string/bug-envz1.c: Import support/test-driver.c instead of
673         test-skeleton.c.
674         * string/bug-strcoll2.c: Likewise.
675         * string/bug-strtok1.c: Likewise.
676         * string/stratcliff.c: Likewise.
677         * string/test-ffs.c: Likewise.
678         * string/test-memccpy.c: Likewise.
679         * string/test-memchr.c: Likewise.
680         * string/test-memcmp.c: Likewise.
681         * string/test-memcpy.c: Likewise.
682         * string/test-memmem.c: Likewise.
683         * string/test-memmove.c: Likewise.
684         * string/test-memrchr.c: Likewise.
685         * string/test-memset.c: Likewise.
686         * string/test-rawmemchr.c: Likewise.
687         * string/test-strcasecmp.c: Likewise.
688         * string/test-strcasestr.c: Likewise.
689         * string/test-strcat.c: Likewise.
690         * string/test-strchr.c: Likewise.
691         * string/test-strcmp.c: Likewise.
692         * string/test-strcpy.c: Likewise.
693         * string/test-string.h: Likewise.
694         * string/test-strlen.c: Likewise.
695         * string/test-strncasecmp.c: Likewise.
696         * string/test-strncat.c: Likewise.
697         * string/test-strncmp.c: Likewise.
698         * string/test-strncpy.c: Likewise.
699         * string/test-strnlen.c: Likewise.
700         * string/test-strpbrk.c: Likewise.
701         * string/test-strrchr.c: Likewise.
702         * string/test-strspn.c: Likewise.
703         * string/test-strstr.c: Likewise.
704         * string/tst-bswap.c: Likewise.
705         * string/tst-cmp.c: Likewise.
706         * string/tst-endian.c: Likewise.
707         * string/tst-inlcall.c: Likewise.
708         * string/tst-strcoll-overflow.c: Likewise.
709         * string/tst-strfry.c: Likewise.
710         * string/tst-strlen.c: Likewise.
711         * string/tst-strtok.c: Likewise.
712         * string/tst-strtok_r.c: Likewise.
713         * string/tst-strxfrm.c: Likewise.
714         * string/tst-strxfrm2.c: Likewise.
715         * string/tst-svc.c: Likewise.
716         * string/tst-svc2.c: Likewise.
718 2017-03-22  Zack Weinberg  <zackw@panix.com>
720         * stdio-common/bug25.c: Include stdlib.h.
721         * support/tst-support_format_dns_packet.c: Include stdio.h,
722         stdlib.h, and string.h.
723         * support/tst-support_record_failure.c: Include string.h.
724         * support/tst-support_record_failure-2.sh: Adjust line number
725         expectations and correct a typo in an error message.
727 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
729         [BZ #21258]
730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
731         Define only if _dl_runtime_resolve is defined to
732         _dl_runtime_resolve_sse_vex.
733         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
734         Fallthrough to _dl_runtime_resolve_sse_vex.
736 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
738         * INSTALL: Regenerated.
740 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
742         * config.h.in: Add LINK_OBSOLETE_NSL.
743         * config.make.in: Add build-obsolete-nsl.
744         * configure.ac: Add obsolete-nsl option.
745         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
746         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
747         * include/rpcsvc/nislib.h: Likewise.
748         * include/rpcsvc/ypclnt.h: Likewise.
749         * manual/install.texi: Document --enable-obsolete-nsl.
750         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
751         * nis/nis_add.c: Replace libnsl_hidden_def with
752         libnsl_hidden_nolink_def.
753         * nis/nis_addmember.c: Likewise.
754         * nis/nis_call.c: Likewise.
755         * nis/nis_clone_obj.c: Likewise.
756         * nis/nis_defaults.c: Likeise.
757         * nis/nis_domain_of_r.c: Likewise.
758         * nis/nis_error.c: Likewise.
759         * nis/nis_file.c: Likewise.
760         * nis/nis_free.c: Likewise.
761         * nis_local_names.c: Likewise.
762         * nis/nis_lookup.c: Likewise.
763         * nis/nis_modify.c: Likewise.
764         * nis/nis_print.c: Likewise.
765         * nis/nis_remove.c: Likewise.
766         * nis/nis_table.c: Likewise.
767         * nis/nis_util.c: Likewise.
768         * nis/nis_xdr.c: Likewise.
769         * nis/yp_xdr.c: Likewise.
770         * nis/ypclnt.c: Likewise.
771         * nis/ypupdate_xdr.c: Likewise.
772         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
773         * nis/nis_clone_dir.c: Likewise.
774         * nis/nis_clone_res.c: Likewise.
775         * nis/nis_creategroup.c: Likewise.
776         * nis/nis_destroygroup.c: Likewise.
777         * nis/nis_domain_of.c: Likewise.
778         * nis/nis_getservlist.c: Likewise.
779         * nis/nis_ismember.c: Likewise.
780         * nis/nis_mkdir.c: Likewise.
781         * nis/nis_ping.c: Likewise.
782         * nis/nis_print_group_entry.c: Likewise.
783         * nis/nis_removemember.c: Likewise.
784         * nis/nis_rmdir.c: Likewise.
785         * nis/nis_server.c: Likewise.
786         * nis/nis_subr.c: Likewise.
787         * nis/nis_verifygroup.c: Likewise.
789 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
791         * malloc/tst-interpose-aux.c (check_for_allocations):
792         Move compiler barrier before free.
794 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
796         [BZ #21279]
797         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
798         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
799         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
800         x86_64-x32-linux.
801         (mq_attr.mq_maxmsg): Likewise.
802         (mq_attr.mq_msgsize): Likewise.
803         (mq_attr.mq_curmsgs): Likewise.
805         [BZ #21278]
806         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
807         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
808         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
809         mips-o32-linux.
811         [BZ #21268]
812         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
813         if [__USE_MISC]
814         (NL3): Likewise.
816 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
818         [BZ #21275]
819         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
820         __stack to __stackbase.
821         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
822         checks so we can include defined(__ia64__) first.
824 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
826         * sysdeps/unix/sysv/linux/ttyname.h: New file.
827         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
828         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
829         Call is_pty when the link does not exist or does not match, fail
830         with ENODEV when it returns true.
831         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
832         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
833         Call is_pty when the link does not exist or does not match, fail
834         with ENODEV when it returns true.
836 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
838         [BZ #16437]
839         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
840         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
841         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
842         x86_64-x32-linux.
843         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
844         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
845         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
847         [BZ #21261]
848         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
849         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
850         names for all fields.
851         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
852         for jmp_buf field renaming.
853         (_JMPBUF_UNWINDS_ADJ): Likewise.
855         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
856         with allow-header.
858 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
860         * malloc/malloc.c (unlink): Add consistency check between size and
861         next->prev->size, to further harden against 1-byte overflows.
863 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
865         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
866         CPU_FEATURES_CPU_P.
868 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
870         [BZ #21259]
871         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
872         unconditionally, not just for [__USE_MISC].
874         [BZ #17786]
875         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
876         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
877         mips-o32-linux.
879         [BZ #21260]
880         * sysdeps/unix/sysv/linux/alpha/Makefile
881         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
882         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
884         * conform/conformtest.pl ($cross): New variable.
885         (--cross): New command-line option.
886         (runtest): Skip test execution when cross-compiling.
887         * conform/Makefile (conformtest-cross): New variable.
888         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
889         conformtest.pl.
891         * conform/conformtest.pl ($xfail_str): New variable.
892         (--xfail=): New command-line option.
893         (top level): Handle expectations starting xfail[cond]-.
894         * conform/Makefile (conformtest-xfail): New variable.
895         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
896         conformtest.pl.
898 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
900         * conform/conformtest.pl: Use compilation instead of execution
901         tests for testing values of constants and usability in #if.
903 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
905         * math/auto-libm-test-in: Mark some catan and catanh as
906         xfail-rounding:ibm128-libgcc.
907         * math/auto-libm-test-out-catan: Regenerate.
908         * math/auto-libm-test-out-catanh: Likewise.
910 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
912         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
913         (__END_NAMESPACE_STD): Likewise.
914         (__USING_NAMESPACE_STD): Likewise.
915         (__BEGIN_NAMESPACE_C99): Likewise.
916         (__END_NAMESPACE_C99): Likewise.
917         (__USING_NAMESPACE_C99): Likewise.
918         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
919         undefine macro.
920         (_Mdouble_END_NAMESPACE): Likewise.
921         * ctype/ctype.h: Do not handle C++ namespaces.
922         * libio/bits/stdio-ldbl.h: Likewise.
923         * libio/stdio.h: Likewise.
924         * locale/locale.h: Likewise.
925         * math/bits/mathcalls.h: Likewise.
926         * setjmp/setjmp.h: Likewise.
927         * signal/signal.h: Likewise.
928         * stdlib/bits/stdlib-float.h: Likewise.
929         * stdlib/bits/stdlib-ldbl.h: Likewise.
930         * stdlib/stdlib.h: Likewise.
931         * string/string.h: Likewise.
932         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
933         * time/bits/types/clock_t.h: Likewise.
934         * time/bits/types/struct_tm.h: Likewise.
935         * time/bits/types/time_t.h: Likewise.
936         * time/time.h: Likewise.
937         * wcsmbs/bits/wchar-ldbl.h: Likewise.
938         * wcsmbs/uchar.h: Likewise.
939         * wcsmbs/wchar.h: Likewise.
940         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
941         * wctype/wctype.h: Do not handle C++ namespaces.
942         * scripts/begin-end-check.pl: Remove.
943         * Makefile (installed-headers): Likewise.
944         (tests-special): Do not add $(objpfx)begin-end-check.out.
945         ($(objpfx)begin-end-check.out): Remove.
947 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
948             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
950         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
951         (DL_PLATFORM_INIT): New define.
952         (dl_platform_init): New function.
953         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
954         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
955         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
956         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
957         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
959 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
961         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
962         instead of PIC.
964 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
966         [BZ #21094]
967         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
968         24+24+24-bit pi for wider range of values around pi/2.
969         * math/auto-libm-test-in: Add more tests of cos and tan.
970         * math/auto-libm-test-out-cos: Regenerated.
971         * math/auto-libm-test-out-tan: Likewise.
973 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
975         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
976         (RTLD_START): Don't record stack end address in _dl_start_user.
978 2017-03-15  Alexey Neyman  <stilor@att.net>
980         [BZ #21088]
981         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
982         around definitions match those around use.
984 2017-03-15  Alexey Neyman  <stilor@att.net>
986         * configure.ac: Avoid empty subexpression in grep.
987         * configure: Regenerate.
989 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
991         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
992         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
993         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
994         (test_wrp_rv): Fix format.
995         (test_wrp_rv2): New macro.
996         (do_test): Handle mlock return on 64 bits kernels with 32 bits
997         binaries.
999 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1001         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1002         Use a union when storing pointers.
1003         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1004         cast result when passing to INIT_VEC_PTRS_LOOP.
1005         (VECTOR_WRAPPER_fFF_3): Likewise.
1006         (VECTOR_WRAPPER_fFF_4): Likewise.
1008 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1010         * include/bits/mathcalls-helper-functions.h: New file.
1011         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1012         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1013         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1014         math/bits/mathcalls-helper-functions.h.
1015         * math/bits/mathcalls-helper-functions.h: New file.
1016         * math/math.h: Include bits/mathcalls-helper-functions.h for
1017         float, double, and long double.
1019 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1021         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1022         instead of feraiseexcept.
1024 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1026         [BZ #21243]
1027         * support/temp_file.c (support_delete_temp_files): Add comment
1028         about ignored errors.
1030 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1032         [BZ #21244]
1033         * support/xclose.c: New file.
1034         * support/Makefile (libsupport-routines): Add xclose.
1035         * support/xunistd.h (xclose): Declare.
1036         * support/resolv_test.c (server_thread_tcp_client)
1037         (server_thread_tcp, make_server_sockets, resolv_test_start)
1038         (resolv_test_end): Call xclose instead of close.
1039         * support/support_enter_network_namespace.c
1040         (support_enter_network_namespace): Likewise.
1041         * support/support_run_diff.c (write_to_temp_file): Likewise.
1043 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1045         * support/support_format_dns_packet.c (support_format_dns_packet):
1046         Handle CNAME records in the response.  Extract RDATA names from
1047         rdata, not the whole packet.  Check AAAA record length.
1048         * support/tst-support_format_dns_packet.c: New file.
1049         * support/Makefile (tests): Add tst-support_format_dns_packet.
1050         (tst-support_format_dns_packet): Link against libresolv.
1052 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1054         [BZ #21232]
1055         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1056         posix_fadvise64 weak_alias for static build.
1058 2017-03-14  Andreas Schwab  <schwab@suse.de>
1060         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1061         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1062         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1063         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1064         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1065         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1066         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1067         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1069 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1071         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1072         posix error code.
1073         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1075 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1077         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1078         no_isolate usage for SH.
1080 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1082         [BZ #15105]
1083         [BZ #19463]
1084         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1085         * inet/rcmd.c (rcmd_af): Likewise.
1086         * inet/rexec.c   (rexec_af): Likewise.
1087         * intl/dcigettext.c (_LIBC): Likewise.
1088         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1089         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1090         * locale/setlocale.c (setlocale): Likewise.
1091         * posix/spawn_faction_addopen.c
1092         (posix_spawn_file_actions_addopen): Likewise.
1093         * stdlib/putenv.c (putenv): Use __strndup.
1094         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1096         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1097         (__Need_M_And_C) Remove define/undef.
1098         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1099         (__malloc_and_calloc_defined): Remove define.
1100         * string/bits/string2.h (__strdup): Remove define.
1101         (strdup): Likewise.
1102         (__strndup): Likewise.
1103         (strndup): Likewise.
1105 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1107         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1108         macro.
1109         (IPV6_ADDR_PREFERENCES): Likewise.
1110         (IPV6_MINHOPCOUNT): Likewise.
1111         (IPV6_ORIGDSTADDR): Likewise.
1112         (IPV6_RECVORIGDSTADDR): Likewise.
1113         (IPV6_TRANSPARENT): Likewise.
1114         (IPV6_UNICAST_IF): Likewise.
1115         (IPV6_RECVFRAGSIZE): Likewise.
1117 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1119         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1121 2017-03-12  Alexey Neyman <stilor@att.net>
1123         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1124         in R_SH_DIR32 case is always false when inlined from
1125         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1127 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1129         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1130         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1131         __ASSUME_SEND_SYSCALL.
1133 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1135         * sunrpc/Makefile: don't build and install rpcsvc header
1136         files, rpcgen and librpcsvc.a by default.
1138 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * math/auto-libm-test-out-catan: Regenerated.
1141         * math/auto-libm-test-out-catanh: Likewise.
1142         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1144 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1146         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1147         for long double with corrected test expectations.
1149 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1151         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1152         Define.
1153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1154         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1155         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1156         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1157         * sysdeps/unix/sysv/linux/tile/sysdep.h
1158         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1159         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1160         (__ASSUME_RECV_SYSCALL): Define.
1161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1162         (__ASSUME_RECV_SYSCALL): Likewise.
1163         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1164         (__ASSUME_RECV_SYSCALL): Likewise.
1165         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1166         (__ASSUME_RECV_SYSCALL): Likewise.
1167         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1168         (__ASSUME_RECV_SYSCALL): Likewise.
1169         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1170         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1172         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1173         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1174         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1175         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1176         auto-generation list.
1177         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1178         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1179         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1180         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1181         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1182         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1183         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1184         __ASSUME_SENDTO_SYSCALL.
1185         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1186         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1187         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1189         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto 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/hppa/syscalls.list: Likewise.
1194         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1195         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1196         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1198         * sysdeps/unix/sysv/linux/kernel-features.h
1199         (__ASSUME_SENDTO_SYSCALL): Define by default.
1200         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1201         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1202         __NR_sendto.
1203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1204         (__ASSUME_SENDTO_SYSCALL): Likewise.
1205         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1206         (__ASSUME_SENDTO_SYSCALL): Likewise.
1207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1208         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1209         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1210         (__ASSUME_SENDTO_SYSCALL): Likewise.
1211         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1212         (__ASSUME_SENDTO_SYSCALL): Likewise.
1213         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1215         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1216         auto-generation list.
1217         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1218         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1219         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1220         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1221         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1222         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1223         (__ASSUME_RECV_SYSCALL): New define.
1224         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1225         (__ASSUME_RECV_SYSCALL): Likewise.
1226         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1227         (__ASSUME_RECV_SYSCALL): Likewise.
1228         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1229         (__ASSUME_RECV_SYSCALL): Likewise.
1230         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1231         (__ASSUME_RECV_SYSCALL): Likewise.
1232         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1233         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1234         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1235         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1236         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1237         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1238         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1239         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1240         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1241         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1242         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1243         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1245         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1246         auto-generation list.
1247         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1248         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1249         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1250         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1251         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1252         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1253         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1254         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1255         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1256         * sysdeps/unix/sysv/linux/kernel-features.h
1257         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1258         __NR_recvfrom.
1259         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1260         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1261         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1262         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1264         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1265         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1266         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1267         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1268         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1269         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1270         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1271         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1273         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1274         auto-generation list.
1275         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1276         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1277         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1278         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1279         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1280         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1281         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1282         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1283         * sysdeps/unix/sysv/linux/kernel-features.h
1284         (__ASSUME_CONNECT_SYSCALL): Define.
1285         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1286         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1288         (__ASSUME_CONNECT_SYSCALL): Likewise.
1289         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1290         (__ASSUME_CONNECT_SYSCALL): Likewise.
1291         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1292         (__ASSUME_CONNECT_SYSCALL): Likewise.
1294         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1295         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1296         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1297         auto-generation list.
1298         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1299         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1300         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1301         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1302         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1303         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1304         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1305         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1306         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1307         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1308         * sysdeps/unix/sysv/linux/kernel-features.h
1309         (__ASSUME_ACCEPT_SYSCALL): New define.
1310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1311         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1312         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1314         (__ASSUME_ACCEPT_SYSCALL): Define.
1315         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1316         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1317         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1318         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1319         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1320         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1321         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1322         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1323         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1325 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1326             Zack Weinberg  <zackw@panix.com>
1328         * posix/test-errno.c: New file.
1329         * posix/Makefile (tests): Add test-errno.
1330         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1331         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1333 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1335         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1337 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1339         * time/tzset.c (compute_offset): Open-code min macro.
1340         (min, max, sign): Remove.
1342 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1344         [BZ #15576]
1345         Remove TZNAME_MAX limit from sysconf.
1346         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1347         declaration.
1348         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1349         compute_tzname_max.
1350         (compute_tzname_max): Remove.
1351         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1352         (update_vars): Do not update __tzname_cur_max.
1353         (tzset_internal): Remove argument.
1354         (__tzset): Adjust call to tzset_internal.
1355         (__tz_convert): Likewise.
1357         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1358         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1359         * manual/conf.texi (Sysconf Definition): Update comment.
1361 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1363         [BZ #21209]
1364         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1365         AT_SECURE processes.
1366         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1367         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1368         (test_child): Likewise.
1369         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1371 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1373         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1375 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1377         * sysdeps/s390/atomic-machine.h
1378         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1379         (__arch_compare_and_exchange_val_8_acq,
1380         __arch_compare_and_exchange_val_16_acq,
1381         __arch_compare_and_exchange_val_32_acq,
1382         __arch_compare_and_exchange_val_64_acq):
1383         Delete macro.
1384         (atomic_compare_and_exchange_val_acq,
1385         atomic_compare_and_exchange_val_rel,
1386         atomic_compare_and_exchange_bool_acq,
1387         catomic_compare_and_exchange_bool_acq,
1388         atomic_exchange_acq, atomic_exchange_rel,
1389         atomic_exchange_and_add_acq,
1390         atomic_exchange_and_add_rel,
1391         catomic_exchange_and_add, atomic_or_val,
1392         atomic_or, catomic_or, atomic_bit_test_set,
1393         atomic_and_val, atomic_and, catomic_and):
1394         Define macros with help of C11 atomic builtins.
1396 2017-03-03  Justus Winter <justus@gnupg.org>
1398         * sysdeps/mach/hurd/ftruncate64.c: New file.
1399         * sysdeps/mach/hurd/truncate64.c: Likewise.
1401 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1403         * time/tzfile.c (NOID): Do not define.
1404         * time/tzset.c (NOID): Likewise.
1406 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1408         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1410 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1412         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1414 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1416         [BZ #21015]
1417         * manual/install.texi (Configuring and compiling): Document
1418         --enable-bind-now.
1419         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1420         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1421         (format.lds): Likewise.
1422         [bind-now] (LDFLAGS-c.so): Remove.
1423         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1424         be R_X86_64_GLOB_DAT.
1425         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1426         relocation can be R_386_GLOB_DAT.
1427         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1428         relocaiton can be R_ALPHA_GLOB_DAT.
1429         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1431 2017-03-01  Zack Weinberg  <zackw@panix.com>
1433         * include/libc-pointer-arith.h: New file.  Define
1434         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1435         PTR_ALIGN_DOWN here.
1436         * include/libc-internal.h: Definitions of above macros
1437         moved from here.  Don't include libc-diag.h anymore either.
1438         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1439         Don't include libc-internal.h.
1441         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1442         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1443         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1444         * string/strcoll_l.c, sysdeps/nacl/brk.c
1445         * sysdeps/unix/clock_settime.c
1446         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1447         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1448         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1450         Don't include libc-internal.h.
1452         * elf/get-dynamic-info.h, iconv/loop.c
1453         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1454         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1455         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1456         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1457         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1459         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1460         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1461         * sysdeps/ieee754/ldbl-128/k_tanl.c
1462         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1463         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1464         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1465         Include libc-diag.h instead of libc-internal.h.
1467         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1468         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1469         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1470         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1471         * sysdeps/unix/sysv/linux/spawni.c
1472         * sysdeps/x86_64/nptl/tls.h:
1473         Include libc-pointer-arith.h instead of libc-internal.h.
1475         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1476         * sysdeps/x86_64/atomic-machine.h:
1477         Add multiple include guard.
1479         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1480         * string/strcasestr.c: No need to include config.h.
1481         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1482         sys/auxv.h. Don't include sysdep.h.
1483         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1485         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1486         DL_LOOKUP_ADDRESS.
1487         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1488         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1490         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1491         of ARTIFICIAL_LIMIT.
1492         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1493         declaration of __clone2.
1495 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1497         * scripts/backport-support.sh (latest_commit): New file.
1499 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1501         [BZ #20257]
1502         * inet/Makefile (routines): Add deadline.
1503         (tests-static): Add tst-deadline.
1504         * inet/net-internal.h (struct deadline_current_time)
1505         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1506         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1507         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1508         * inet/deadline.c: New file.
1509         * inet/tst-deadline.c: Likewise.
1510         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1511         tst-udp-timeout, tst-udp-garbage.
1512         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1513         explicitly.
1514         (tst-udp-garbage): Likewise.  Also link against thread library.
1515         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1516         struct layout is part of the ABI.
1517         (clntudp_call): Rework timeout handling.
1518         * sunrpc/tst-udp-garbage.c: New file.
1519         * sunrpc/tst-udp-nonblocking.c: Likewise.
1520         * sunrpc/tst-udp-timeout.c: Likewise.
1522 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1524         [BZ #5010]
1525         * sunrpc/svc.c (svc_is_mapped): Remove.
1526         (svc_unregister): Obtain mapped status while the service is still
1527         registered.
1528         * sunrpc/Makefile [have-thread-library] (tests): Add
1529         tst-svc_register.
1530         (tst-svc_register): Link against libc.so explicitly and the thread
1531         library.
1532         * sunrpc/tst-svc_register.c: New file.
1534 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1536         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1537         * sysdeps/pthread/bits/sigthread.h: Likewise.
1539 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1541         [BZ #21115]
1542         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1543         * sunrpc/Makefile (tests): Add tst-udp-error.
1544         (tst-udp-error): Link against libc.so explicitly.
1545         * sunrpc/tst-udp-error: New file.
1547 2017-02-25  Zack Weinberg  <zackw@panix.com>
1549         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1550         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1552         * sysdeps/generic/math_ldbl.h
1553         * sysdeps/ia64/fpu/math_ldbl.h
1554         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1556         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1557         * sysdeps/powerpc/fpu/math_ldbl.h
1558         * sysdeps/x86_64/fpu/math_ldbl.h:
1559         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1560         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1561         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1562         Add copyright notices.
1564         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1565         Don't use EXTRACT_WORDS64.
1567         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1568         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1569         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1570         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1571         Include math_ldbl.h, not math_private.h.
1573 2017-02-25  Zack Weinberg  <zackw@panix.com>
1575         * include/libc-diag.h: New file.  Define ignore_value,
1576         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1577         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1579         * include/libc-internal.h: Definitions of above macros moved from
1580         here.  Include libc-diag.h.  Add copyright notice.
1582         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1583         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1584         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1585         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1586         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1587         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1588         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1589         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1590         Include libc-diag.h instead of libc-internal.h.
1592         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1593         call to unsetenv (NULL).
1594         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1595         call to pthread_mutexattr_destroy (NULL).
1597 2017-02-25  Zack Weinberg  <zackw@panix.com>
1599         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1600         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1601         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1602         gets was removed from C++ in C++14.
1603         * include/stdio.h: Remove redundant declaration of gets.
1604         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1605         be declared, since we are testing it.
1606         * stdio-common/Makefile (tst-gets.c): Compile with
1607         -Wno-deprecated-declarations.
1608         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1609         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1610         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1611         Compile with -Wno-deprecated-declarations.
1613 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1615         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1616         numbers.
1618 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1620         * resolv/tst-resolv-qtypes.c (domain):
1621         Change type to const pointer to const char.
1623 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1625         * math/Makefile (libm-tests-generated): Remove variable.
1626         (libm-tests-base-normal): New variable.
1627         (libm-tests-base-finite): Likewise.
1628         (libm-tests-base-inline): Likewise.
1629         (libm-tests-base): Likewise.
1630         (libm-tests-normal): Likewise.
1631         (libm-tests-finite): Likewise.
1632         (libm-tests-inline): Likewise.
1633         (libm-tests-vector): Likewise.
1634         (libm-tests): Define in terms of these new variables.
1635         (libm-tests-for-type): New variable.
1636         (libm-tests.o): Move definition.
1637         (tests): Move addition of $(libm-tests).
1638         (generated): Update for new and removed libm test files.
1639         ($(objpfx)libm-test.c): Remove target.
1640         ($(objpfx)libm-have-vector-test.h): Likewise.
1641         (CFLAGS-test-double-vlen2.c): Remove variable.
1642         (CFLAGS-test-double-vlen4.c): Likewise.
1643         (CFLAGS-test-double-vlen8.c): Likewise.
1644         (CFLAGS-test-float-vlen4.c): Likewise.
1645         (CFLAGS-test-float-vlen8.c): Likewise.
1646         (CFLAGS-test-float-vlen16.c): Likewise.
1647         (CFLAGS-test-float.c): Likewise.
1648         (CFLAGS-test-float-finite.c): Likewise.
1649         (CFLAGS-libm-test-support-float.c): Likewise.
1650         (CFLAGS-test-double.c): Likewise.
1651         (CFLAGS-test-double-finite.c): Likewise.
1652         (CFLAGS-libm-test-support-double.c): Likewise.
1653         (CFLAGS-test-ldouble.c): Likewise.
1654         (CFLAGS-test-ldouble-finite.c): Likewise.
1655         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1656         (libm-test-inline-cflags): New variable.
1657         (CFLAGS-test-ifloat.c): Remove variable.
1658         (CFLAGS-test-idouble.c): Likewise.
1659         (CFLAGS-test-ildouble.c): Likewise.
1660         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1661         dependencies.
1662         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1663         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1664         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1665         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1666         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1667         Likewise.
1668         (dependencies on libm-test-support-*.o): Remove.
1669         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1670         rules using iterators.
1671         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1672         Likewise.
1673         ($(objpfx)libm-test-support-$(o).o): Likewise.
1674         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1675         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1676         instead.
1677         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1678         define rule instead.
1679         * math/README.libm-test: Update.
1680         * math/libm-test-acos.inc: Include libm-test-driver.c.
1681         (do_test): New function.
1682         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1683         (do_test): New function.
1684         * math/libm-test-asin.inc: Include libm-test-driver.c.
1685         (do_test): New function.
1686         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1687         (do_test): New function.
1688         * math/libm-test-atan.inc: Include libm-test-driver.c.
1689         (do_test): New function.
1690         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1691         (do_test): New function.
1692         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1693         (do_test): New function.
1694         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1695         (do_test): New function.
1696         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1697         (do_test): New function.
1698         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1699         (do_test): New function.
1700         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1701         (do_test): New function.
1702         * math/libm-test-carg.inc: Include libm-test-driver.c.
1703         (do_test): New function.
1704         * math/libm-test-casin.inc: Include libm-test-driver.c.
1705         (do_test): New function.
1706         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1707         (do_test): New function.
1708         * math/libm-test-catan.inc: Include libm-test-driver.c.
1709         (do_test): New function.
1710         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1711         (do_test): New function.
1712         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1713         (do_test): New function.
1714         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1715         (do_test): New function.
1716         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1717         (do_test): New function.
1718         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1719         (do_test): New function.
1720         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1721         (do_test): New function.
1722         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1723         (do_test): New function.
1724         * math/libm-test-clog.inc: Include libm-test-driver.c.
1725         (do_test): New function.
1726         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1727         (do_test): New function.
1728         * math/libm-test-conj.inc: Include libm-test-driver.c.
1729         (do_test): New function.
1730         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1731         (do_test): New function.
1732         * math/libm-test-cos.inc: Include libm-test-driver.c.
1733         (do_test): New function.
1734         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1735         (do_test): New function.
1736         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1737         (do_test): New function.
1738         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1739         (do_test): New function.
1740         * math/libm-test-creal.inc: Include libm-test-driver.c.
1741         (do_test): New function.
1742         * math/libm-test-csin.inc: Include libm-test-driver.c.
1743         (do_test): New function.
1744         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1745         (do_test): New function.
1746         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1747         (do_test): New function.
1748         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1749         (do_test): New function.
1750         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1751         (do_test): New function.
1752         * math/libm-test-erf.inc: Include libm-test-driver.c.
1753         (do_test): New function.
1754         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1755         (do_test): New function.
1756         * math/libm-test-exp.inc: Include libm-test-driver.c.
1757         (do_test): New function.
1758         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1759         (do_test): New function.
1760         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1761         (do_test): New function.
1762         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1763         (do_test): New function.
1764         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1765         (do_test): New function.
1766         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1767         (do_test): New function.
1768         * math/libm-test-floor.inc: Include libm-test-driver.c.
1769         (do_test): New function.
1770         * math/libm-test-fma.inc: Include libm-test-driver.c.
1771         (do_test): New function.
1772         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1773         (do_test): New function.
1774         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1775         (do_test): New function.
1776         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1777         (do_test): New function.
1778         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1779         (do_test): New function.
1780         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1781         (do_test): New function.
1782         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1783         (do_test): New function.
1784         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1785         (do_test): New function.
1786         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1787         (do_test): New function.
1788         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1789         (do_test): New function.
1790         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1791         (do_test): New function.
1792         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1793         (do_test): New function.
1794         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1795         (do_test): New function.
1796         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1797         (do_test): New function.
1798         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1799         (do_test): New function.
1800         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1801         (do_test): New function.
1802         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1803         (do_test): New function.
1804         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1805         (do_test): New function.
1806         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1807         (do_test): New function.
1808         * math/libm-test-isless.inc: Include libm-test-driver.c.
1809         (do_test): New function.
1810         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1811         (do_test): New function.
1812         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1813         (do_test): New function.
1814         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1815         (do_test): New function.
1816         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1817         (do_test): New function.
1818         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1819         (do_test): New function.
1820         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1821         (do_test): New function.
1822         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1823         (do_test): New function.
1824         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1825         (do_test): New function.
1826         * math/libm-test-j0.inc: Include libm-test-driver.c.
1827         (do_test): New function.
1828         * math/libm-test-j1.inc: Include libm-test-driver.c.
1829         (do_test): New function.
1830         * math/libm-test-jn.inc: Include libm-test-driver.c.
1831         (do_test): New function.
1832         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1833         (do_test): New function.
1834         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1835         (do_test): New function.
1836         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1837         (do_test): New function.
1838         * math/libm-test-llround.inc: Include libm-test-driver.c.
1839         (do_test): New function.
1840         * math/libm-test-log.inc: Include libm-test-driver.c.
1841         (do_test): New function.
1842         * math/libm-test-log10.inc: Include libm-test-driver.c.
1843         (do_test): New function.
1844         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1845         (do_test): New function.
1846         * math/libm-test-log2.inc: Include libm-test-driver.c.
1847         (do_test): New function.
1848         * math/libm-test-logb.inc: Include libm-test-driver.c.
1849         (do_test): New function.
1850         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1851         (do_test): New function.
1852         * math/libm-test-lround.inc: Include libm-test-driver.c.
1853         (do_test): New function.
1854         * math/libm-test-modf.inc: Include libm-test-driver.c.
1855         (do_test): New function.
1856         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1857         (do_test): New function.
1858         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1859         (do_test): New function.
1860         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1861         (do_test): New function.
1862         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1863         (do_test): New function.
1864         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1865         (do_test): New function.
1866         * math/libm-test-pow.inc: Include libm-test-driver.c.
1867         (do_test): New function.
1868         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1869         (do_test): New function.
1870         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1871         (do_test): New function.
1872         * math/libm-test-rint.inc: Include libm-test-driver.c.
1873         (do_test): New function.
1874         * math/libm-test-round.inc: Include libm-test-driver.c.
1875         (do_test): New function.
1876         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1877         (do_test): New function.
1878         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1879         (do_test): New function.
1880         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1881         (do_test): New function.
1882         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1883         (do_test): New function.
1884         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1885         (do_test): New function.
1886         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1887         (do_test): New function.
1888         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1889         (do_test): New function.
1890         * math/libm-test-significand.inc: Include libm-test-driver.c.
1891         (do_test): New function.
1892         * math/libm-test-sin.inc: Include libm-test-driver.c.
1893         (do_test): New function.
1894         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1895         (do_test): New function.
1896         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1897         (do_test): New function.
1898         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1899         (do_test): New function.
1900         * math/libm-test-tan.inc: Include libm-test-driver.c.
1901         (do_test): New function.
1902         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1903         (do_test): New function.
1904         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1905         (do_test): New function.
1906         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1907         (do_test): New function.
1908         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1909         (do_test): New function.
1910         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1911         (do_test): New function.
1912         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1913         (do_test): New function.
1914         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1915         (do_test): New function.
1916         * math/libm-test-y0.inc: Include libm-test-driver.c.
1917         (do_test): New function.
1918         * math/libm-test-y1.inc: Include libm-test-driver.c.
1919         (do_test): New function.
1920         * math/libm-test-yn.inc: Include libm-test-driver.c.
1921         (do_test): New function.
1922         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1923         (HAVE_VECTOR): Remove macro.
1924         (START): Do not call HAVE_VECTOR.
1925         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1926         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1927         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1928         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1929         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1930         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1931         * math/test-math-vector.h (FUNC_TEST): New macro.
1932         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1933         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1934         (double-vlen4-funcs): Likewise.
1935         (double-vlen4-avx2-funcs): Likewise.
1936         (double-vlen8-funcs): Likewise.
1937         (float-vlen4-funcs): Likewise.
1938         (float-vlen8-funcs): Likewise.
1939         (float-vlen8-avx2-funcs): Likewise.
1940         (float-vlen16-funcs): Likewise.
1941         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1942         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1943         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1944         macro.
1945         (TEST_VECTOR_sin): Likewise.
1946         (TEST_VECTOR_sincos): Likewise.
1947         (TEST_VECTOR_log): Likewise.
1948         (TEST_VECTOR_exp): Likewise.
1949         (TEST_VECTOR_pow): Likewise.
1950         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1951         Likewise.
1952         (TEST_VECTOR_sin): Likewise.
1953         (TEST_VECTOR_sincos): Likewise.
1954         (TEST_VECTOR_log): Likewise.
1955         (TEST_VECTOR_exp): Likewise.
1956         (TEST_VECTOR_pow): Likewise.
1957         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1958         Likewise.
1959         (TEST_VECTOR_sinf): Likewise.
1960         (TEST_VECTOR_sincosf): Likewise.
1961         (TEST_VECTOR_logf): Likewise.
1962         (TEST_VECTOR_expf): Likewise.
1963         (TEST_VECTOR_powf): Likewise.
1964         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1965         Likewise.
1966         (TEST_VECTOR_sinf): Likewise.
1967         (TEST_VECTOR_sincosf): Likewise.
1968         (TEST_VECTOR_logf): Likewise.
1969         (TEST_VECTOR_expf): Likewise.
1970         (TEST_VECTOR_powf): Likewise.
1971         * math/gen-libm-have-vector-test.sh: Remove file.
1972         * math/libm-test.inc: Likewise.
1973         * math/libm-test-support-double.c: Likewise.
1974         * math/libm-test-support-float.c: Likewise.
1975         * math/libm-test-support-ldouble.c: Likewise.
1976         * math/test-double-finite.c: Likewise.: Likewise.
1977         * math/test-double.c: Likewise.
1978         * math/test-float-finite.c: Likewise.
1979         * math/test-float.c: Likewise.
1980         * math/test-idouble.c: Likewise.
1981         * math/test-ifloat.c: Likewise.
1982         * math/test-ildouble.c: Likewise.
1983         * math/test-ldouble-finite.c: Likewise.
1984         * math/test-ldouble.c: Likewise.
1985         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1986         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1987         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1988         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1989         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1990         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1991         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1992         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1994         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1996 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1997            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1999         * math/Makefile: Add wrappers to gen-libm-calls.
2000         * math/w_acos_template.c: New file.
2001         * math/w_acosh_template.c: Likewise.
2002         * math/w_asin_template.c: Likewise.
2003         * math/w_atan2_template.c: Likewise.
2004         * math/w_atanh_template.c: Likewise.
2005         * math/w_cosh_template.c: Likewise.
2006         * math/w_exp10_template.c: Likewise.
2007         * math/w_exp2_template.c: Likewise.
2008         * math/w_exp_template.c: Likewise.
2009         * math/w_fmod_template.c: Likewise.
2010         * math/w_hypot_template.c: Likewise.
2011         * math/w_j0_template.c: Likewise.
2012         * math/w_j1_template.c: Likewise.
2013         * math/w_jn_template.c: Likewise.
2014         * math/w_lgamma_r_template.c: Likewise.
2015         * math/w_lgamma_template.c: Likewise.
2016         * math/w_log10_template.c: Likewise.
2017         * math/w_log2_template.c: Likewise.
2018         * math/w_log_template.c: Likewise.
2019         * math/w_pow_template.c: Likewise.
2020         * math/w_remainder_template.c: Likewise.
2021         * math/w_sinh_template.c: Likewise.
2022         * math/w_sqrt_template.c: Likewise.
2023         * math/w_tgamma_template.c: Likewise.: Likewise.
2024         * sysdeps/generic/math-type-macros-double.h
2025         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2026         the new wrappers.
2027         * sysdeps/generic/math-type-macros-float.h: Likewise.
2028         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2030 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2032         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2033         New enum constant and macro.
2035         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2036         kernel version to 4.10.
2038 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2040         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2042 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2046 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2048         * sysdeps/powerpc/tst-set_ppr.c: New file.
2049         Implement test cases for __ppc_set_ppr_* functions.
2050         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2051         in the list of tests.
2053 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2055         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2056         instead of test-skeleton.c.
2057         (do_test): Replaced pthread_create and pthread_join with
2058         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2059         Removed unneeded status variable.
2060         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2061         instead of test-skeleton.c.
2062         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2064 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2066         [BZ #20313]
2067         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2068         201605L, for Unicode 9.
2070 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2072         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2073         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2074         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2075         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2076         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2077         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2079 2017-02-19  Zack Weinberg  <zackw@panix.com>
2081         * rt/tst-mqueue4.c: Include stdint.h.
2083 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2085         * sysdeps/arm/libm-test-ulps: Update.
2086         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2087         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2088         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2090 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2092         [BZ #21029]
2093         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2094         * sysdeps/unix/sysv/linux/i386/Makefile
2095         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2096         (uses-6-syscall-arguments): Remove.
2097         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2098         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2099         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2100         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2101         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2102         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2103         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2104         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2105         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2106         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2107         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2108         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2109         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2110         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2111         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2112         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2113         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2114         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2115         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2116         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2117         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2118         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2119         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2120         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2121         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2122         Likewise.
2123         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2124         Likewise.
2125         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2126         Likewise.
2127         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2128         Likewise.
2129         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2130         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2131         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2132         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2133         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2134         ebp on inline assembly.
2135         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2136         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2137         Set if CAN_USE_REGISTER_ASM_EBP is set.
2139 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2141         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2142         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2144 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2146         * math/auto-libm-test-in: Add tests of catan and catanh.
2147         * math/auto-libm-test-out-catan: New generated file.
2148         * math/auto-libm-test-out-catanh: Likewise.
2149         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2150         Move tests with finite inputs, except divide-by-zero cases, to
2151         auto-libm-test-in.
2152         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2153         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2154         (libm-test-funcs-noauto): Remove catan and catanh.
2155         * sysdeps/i386/fpu/libm-test-ulps: Update.
2156         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159         * math/auto-libm-test-in: Add tests of casin and casinh.
2160         * math/auto-libm-test-out-casin: New generated file.
2161         * math/auto-libm-test-out-casinh: Likewise.
2162         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2163         Move tests with finite inputs to auto-libm-test-in.
2164         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2165         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2166         (libm-test-funcs-noauto): Remove casin and casinh.
2167         * sysdeps/i386/fpu/libm-test-ulps: Update.
2168         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2171         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2172         * math/auto-libm-test-out-cacos: New generated file.
2173         * math/auto-libm-test-out-cacosh: Likewise.
2174         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2175         Move tests with finite inputs to auto-libm-test-in.
2176         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2177         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2178         (libm-test-funcs-noauto): Remove cacos and cacosh.
2179         * sysdeps/i386/fpu/libm-test-ulps: Update.
2180         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183         Revert:
2184         2017-02-16  Zack Weinberg  <zackw@panix.com>
2186         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2187         Don't include init-arch.h.
2188         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2189         Don't include init-arch.h.
2191 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2193         [BZ #21171]
2194         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2195         +Inf and raise divide-by-zero when x is negative.
2196         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2198         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2199         -Inf and raise divide-by-zero when x = +-0.
2200         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2201         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2202         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2203         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2204         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2205         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2206         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2208 2017-02-16  Zack Weinberg  <zackw@panix.com>
2210         * scripts/build-many-glibcs.py (bot_build_mail): If the
2211         bot_config does not contain all of the necessary email-
2212         related settings, just print a warning and continue.
2214 2017-02-16  Zack Weinberg  <zackw@panix.com>
2216         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2217         * dirent/opendir-tst1.c: Include sys/stat.h.
2218         * dirent/tst-fdopendir.c: Include sys/stat.h.
2219         * dirent/tst-fdopendir2.c: Include stdlib.h.
2220         * dirent/tst-scandir.c: Include stdbool.h.
2221         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2222         * elf/tst-tls15.c: Include stdlib.h.
2223         * elf/tst-tls16.c: Include stdlib.h.
2224         * elf/tst-tls17.c: Include stdlib.h.
2225         * elf/tst-tls18.c: Include stdlib.h.
2226         * iconv/tst-iconv6.c: Include endian.h.
2227         * iconvdata/bug-iconv11.c: Include limits.h.
2228         * io/test-utime.c: Include stdint.h.
2229         * io/tst-faccessat.c: Include sys/stat.h.
2230         * io/tst-fchmodat.c: Include sys/stat.h.
2231         * io/tst-fchownat.c: Include sys/stat.h.
2232         * io/tst-fstatat.c: Include sys/stat.h.
2233         * io/tst-futimesat.c: Include sys/stat.h.
2234         * io/tst-linkat.c: Include sys/stat.h.
2235         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2236         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2237         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2238         * io/tst-openat.c: Include stdbool.h.
2239         * io/tst-readlinkat.c: Include sys/stat.h.
2240         * io/tst-renameat.c: Include sys/stat.h.
2241         * io/tst-symlinkat.c: Include sys/stat.h.
2242         * io/tst-unlinkat.c: Include stdbool.h.
2243         * libio/bug-memstream1.c: Include stdlib.h.
2244         * libio/bug-wmemstream1.c: Include stdlib.h.
2245         * libio/tst-fwrite-error.c: Include stdlib.h.
2246         * libio/tst-memstream1.c: Include stdlib.h.
2247         * libio/tst-memstream2.c: Include stdlib.h.
2248         * libio/tst-memstream3.c: Include stdlib.h.
2249         * malloc/tst-interpose-aux.c: Include stdint.h.
2250         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2251         * nptl/tst-basic7.c: Include limits.h.
2252         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2253         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2254         * nptl/tst-cancel4_1.c: Include stddef.h.
2255         * nptl/tst-cancel4_2.c: Include stddef.h.
2256         * nptl/tst-cond16.c: Include limits.h.
2257         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2258         * nptl/tst-cond18.c: Include limits.h.
2259         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2260         * nptl/tst-cond4.c: Include stdint.h.
2261         * nptl/tst-cond6.c: Include stdint.h.
2262         * nptl/tst-stack2.c: Include limits.h.
2263         * nptl/tst-stackguard1.c: Include stddef.h.
2264         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2265         * nptl/tst-tls4moda.c: Include stddef.h.
2266         Don't include stdio.h, unistd.h, or tls.h.
2267         * nptl/tst-tls4modb.c: Include stddef.h.
2268         Don't include stdio.h, unistd.h, or tls.h.
2269         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2270         * posix/tst-getaddrinfo2.c: Include stdio.h.
2271         * posix/tst-getaddrinfo5.c: Include stdio.h.
2272         * posix/tst-pathconf.c: Include sys/stat.h.
2273         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2274         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2275         * posix/tst-regex.c: Include stdint.h.
2276         Don't include spawn.h or spawn_int.h.
2277         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2278         * posix/tst-vfork3.c: Include sys/stat.h.
2279         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2280         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2281         * resolv/tst-resolv-search.c: Include stdlib.h.
2282         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2283         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2284         * stdlib/test-canon.c: Include sys/stat.h.
2285         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2286         * string/test-memchr.c: Include stdint.h.
2287         * string/tst-cmp.c: Include stdint.h.
2288         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2289         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2290         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2291         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2292         Don't include init-arch.h.
2293         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2294         Don't include init-arch.h.
2295         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2296         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2297         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2298         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2299         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2300         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2301         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2302         * time/clocktest.c: Include stdint.h.
2303         * time/tst-posixtz.c: Include stdint.h.
2304         * timezone/tst-timezone.c: Include stdint.h.
2306 2017-02-16  Zack Weinberg  <zackw@panix.com>
2308         * string/string.h [__USE_MISC]: Include strings.h.
2309         (__bzero, bcmp, bcopy, bzero, index, rindex)
2310         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2311         (ffs, ffsl, ffsll): Don't declare.
2312         * string/strings.h: Do not suppress the file if string.h has
2313         already been included.
2314         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2315         annotations.
2316         (index, rindex): Define inline forwarders even if
2317         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2318         (ffs): Use __attribute_const__.
2319         (ffsl, ffsll): Declare here.
2320         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2321         have now been standardized.
2322         * include/string.h (__bzero): Declare here.
2324         * bits/types.h: Move to posix/bits.
2325         * include/bits/types.h: New wrapper.
2327 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2329         * string/bits/string2.h (strcmp): Remove define.
2330         (__strcmp_cg): Likewise.
2331         (strncmp): Likewise.
2333 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2335         * include/string.h: Add __cplusplus check.
2337 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2339         [BZ #21134]
2340         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2341         "divide by zero" exception when the input is zero.
2342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2343         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2344         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2346         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2348 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2351         and include ...
2352         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2354         to, and include ...
2355         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2356         file.
2357         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2358         and include ...
2359         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2360         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2361         and include ...
2362         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2363         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2364         and include ...
2365         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2366         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2367         and include ...
2368         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2369         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2370         to, and include ...
2371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2372         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2373         and include ...
2374         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2376 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2378         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2379         here.
2380         * math/libm-test-support.c (libm_test_init): Do not call
2381         INIT_ARCH_EXT here.
2382         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2383         (main): Call INIT_ARCH_EXT.
2385 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2387         [BZ #21130]
2388         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2389         with the "invalid" exception raised when x is -Inf.
2390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2392 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2394         * string/bits/string2.h (strchr): Remove define.
2396 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2398         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2399         tst-avx512.
2400         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2401         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2402         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2403         ($(objpfx)tst-sse): New rule.
2404         ($(objpfx)tst-avx): Likewise.
2405         ($(objpfx)tst-avx512): Likewise.
2406         (CFLAGS-tst-avx-aux.c): New.
2407         (CFLAGS-tst-avxmod.c): Likewise.
2408         (CFLAGS-tst-avx512-aux.c): Likewise.
2409         (CFLAGS-tst-avx512mod.c): Likewise.
2410         * sysdeps/x86_64/tst-avx-aux.c: New file.
2411         * sysdeps/x86_64/tst-avx.c: Likewise.
2412         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2413         * sysdeps/x86_64/tst-avx512.c: Likewise.
2414         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2415         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2416         * sysdeps/x86_64/tst-sse.c: Likewise.
2417         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2419 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2421         * math/auto-libm-test-in: Add more tests of csin and csinh.
2422         * math/auto-libm-test-out-csin: Regenerated.
2423         * math/auto-libm-test-out-csinh: Likewise.
2424         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2425         auto-libm-test-in.
2426         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2428 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2430         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2431         libm-compat-calls-auto.
2432         (libm-compat-calls): Likewise.
2433         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2434         w_lgamma_compatF and k_standardF (merged from the items above).
2435         (libm-routines): Use libm-compat-calls, instead of
2436         libm-compat-calls-auto, with type-foreach.
2438 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2440         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2441         macro.
2442         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2443         (CFLAGS-test-ifloat.c): ... this.  Remove
2444         -U__LIBC_INTERNAL_MATH_INLINES.
2445         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2446         (CFLAGS-test-idouble.c): ... this.  Remove
2447         -U__LIBC_INTERNAL_MATH_INLINES.
2448         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2449         (CFLAGS-test-ildouble.c): ... this.  Remove
2450         -U__LIBC_INTERNAL_MATH_INLINES.
2452 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2454         * math/libm-test-support.c: New file.  Content from
2455         math/libm-test-driver.c.
2456         * math/libm-test-support.h: Likewise.
2457         * math/libm-test-support-double.c: New file.
2458         * math/libm-test-support-float.c: Likewise.
2459         * math/libm-test-support-ldouble.c: Likewise.
2460         * math/libm-test-driver.c: Remove main comment and header
2461         includes.  Include libm-test-support.h.
2462         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2463         (flag_test_errno): Remove static.
2464         (flag_test_exceptions): Likewise.
2465         (flag_test_finite): Likewise.
2466         (flag_test_inline): Likewise.
2467         (flag_test_mathvec): Likewise.
2468         (test_msg): Likewise.
2469         (NO_EXCEPTION): Remove.
2470         (INVALID_EXCEPTION): Likewise.
2471         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2472         (OVERFLOW_EXCEPTION): Likewise.
2473         (UNDERFLOW_EXCEPTION): Likewise.
2474         (INEXACT_EXCEPTION): Likewise.
2475         (INVALID_EXCEPTION_OK): Likewise.
2476         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2477         (OVERFLOW_EXCEPTION_OK): Likewise.
2478         (UNDERFLOW_EXCEPTION_OK): Likewise.
2479         (NO_INEXACT_EXCEPTION): Likewise.
2480         (EXCEPTIONS_OK): Likewise.
2481         (IGNORE_ZERO_INF_SIGN): Likewise.
2482         (TEST_NAN_SIGN): Likewise.
2483         (TEST_NAN_PAYLOAD): Likewise.
2484         (NO_TEST_INLINE): Likewise.
2485         (XFAIL_TEST): Likewise.
2486         (ERRNO_UNCHANGED): Likewise.
2487         (ERRNO_EDOM): Likewise.
2488         (ERRNO_ERANGE): Likewise.
2489         (IGNORE_RESULT): Likewise.
2490         (NON_FINITE): Likewise.
2491         (TEST_SNAN): Likewise.
2492         (NO_TEST_MATHVEC): Likewise.
2493         (__CONCATX): Likewise.
2494         (TYPE_MIN): Likewise.
2495         (TYPE_TRUE_MIN): Likewise.
2496         (TYPE_MAX): Likewise.
2497         (MIN_EXP): Likewise.
2498         (MAX_EXP): Likewise.
2499         (MANT_DIG): Likewise.
2500         (FSTR_MAX): Likewise.
2501         (ulp_idx): Likewise.
2502         (qtype_str): Remove static.
2503         (TEST_COND_binary32): Remove.
2504         (TEST_COND_binary64): Likewise.
2505         (TEST_COND_binary128): Likewise.
2506         (TEST_COND_ibm128): Likewise.
2507         (TEST_COND_intel96): Likewise.
2508         (TEST_COND_m68k96): Likewise.
2509         (TEST_COND_ibm128_libgcc): Likewise.
2510         (XFAIL_IBM128_LIBGCC): Likewise.
2511         (PAYLOAD_DIG): Likewise.
2512         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2513         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2514         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2515         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2516         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2517         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2518         (TEST_COND_long32): Likewise.
2519         (TEST_COND_long64): Likewise.
2520         (TEST_COND_before_rounding): Likewise.
2521         (TEST_COND_after_rounding): Likewise.
2522         (ulps_file_name): Likewise.
2523         (ulps_file): Likewise.
2524         (output_ulps): Likewise.
2525         (output_dir): Likewise.
2526         (noErrors): Likewise.
2527         (noTests): Likewise.
2528         (noExcTests): Likewise.
2529         (noErrnoTests): Likewise.
2530         (verbose): Likewise.
2531         (output_max_error): Likewise.
2532         (output_points): Likewise.
2533         (ignore_max_ulp): Likewise.
2534         (max_error): Likewise.
2535         (real_max_error): Likewise.
2536         (imag_max_error): Likewise.
2537         (prev_max_error): Likewise.
2538         (prev_real_max_error): Likewise.
2539         (prev_imag_max_error): Likewise.
2540         (max_valid_error): Likewise.
2541         (TYPE_DECIMAL_DIG): Likewise.
2542         (TYPE_HEX_DIG): Likewise.
2543         (fmt_ftostr): Likewise.
2544         (compare_ulp_data): Likewise.
2545         (find_ulps): Likewise.
2546         (init_max_error): Likewise.
2547         (set_max_error): Likewise.
2548         (print_float): Likewise.
2549         (print_screen): Likewise.
2550         (print_screen_max_error): Likewise.
2551         (update_stats): Likewise.
2552         (print_function_ulps): Likewise.
2553         (print_complex_function_ulps): Likewise.
2554         (fpstack_test): Likewise.
2555         (print_max_error): Likewise.
2556         (print_complex_max_error): Likewise.
2557         (test_single_exception): Likewise.
2558         (test_exceptions): Likewise.
2559         (test_single_errno): Likewise.
2560         (test_errno): Likewise.
2561         (ULPDIFF): Likewise.
2562         (ulp): Likewise.
2563         (check_float_internal): Likewise.
2564         (check_float): Likewise.
2565         (check_complex): Likewise.
2566         (check_int): Likewise.
2567         (check_long): Likewise.
2568         (check_bool): Likewise.
2569         (check_longlong): Likewise.
2570         (check_intmax_t): Likewise.
2571         (check_uintmax_t): Likewise.
2572         (enable_test): Likewise.
2573         (matherr): Likewise.
2574         (initialize): Likewise.
2575         (options): Likewise.
2576         (doc): Remove static.
2577         (argp): Likewise.
2578         (parse_opt): Remove.
2579         (check_ulp): Likewise.
2580         (libm_test_init): Likewise.
2581         (libm_test_finish): Likewise.
2582         * math/Makefile (libm-test-support): New variable.
2583         (test-extras): Add libm-test-support files.
2584         (extra-test-objs): Likewise.
2585         (CFLAGS-libm-test-support-float.c): New variable.
2586         (CFLAGS-libm-test-support-double.c): Likewise.
2587         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2588         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2589         libm-test-support objects.
2591 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2593         * math/Makefile (libm-calls): Move w_exp...
2594         (libm-compat-calls-auto): Here.
2596         * math/w_expl.c: Add suffix "_compat" to filename.
2597         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2598         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2599         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2600         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2601         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2602         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2603         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2604         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2606         * math/w_expl_compat.c: New file, copied from above.
2607         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2608         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2609         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2611         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2612         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2613         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2614         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2616         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2617         to filename.
2618         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2620         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2621         copied from above and adjusted for the new filenames.
2622         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2624 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2626         * math/Makefile (libm-calls): Move w_lgammaF...
2627         (libm-compat-calls-auto): Here.
2629         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2630         * math/w_lgammaf.c: Likewise.
2631         * math/w_lgammal.c: Likewise.
2633         * math/w_lgamma_compat2.c: New file, copied from above.
2634         * math/w_lgammaf_compat2.c: Likewise.
2635         * math/w_lgammal_compat2.c: Likewise.
2637 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2639         * math/Makefile (libm-calls): Move w_lgammaF_r...
2640         (libm-compat-calls-auto): Here.
2642         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2643         * math/w_lgammaf_r.c: Likewise.
2644         * math/w_lgammal_r.c: Likewise.
2645         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2646         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2647         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2649         * math/w_lgamma_r_compat.c: New file, copied from above.
2650         * math/w_lgammaf_r_compat.c: Likewise.
2651         * math/w_lgammal_r_compat.c: Likewise.
2652         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2653         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2654         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2656         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2657         to filename.
2658         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2660         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2661         copied from above and adjusted for the new filenames.
2662         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2664 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2667         calculation in SYSCALL_ERROR_HANDLER().
2669 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2671         * manual/contrib.texi: Fix typo.
2673 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2675         [BZ #21109]
2676         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2677         tunable_val_t as argument.
2678         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2679         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2680         argument.
2681         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2683 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2685         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2686         Add PTRACE_EVENT_STOP.
2687         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2690         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2691         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2692         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2694 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2696         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2697         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2698         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2699         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2700         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2701         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2702         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2703         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2704         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2705         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2707         [BZ #21112]
2708         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2709         12 bits zero.
2710         (cp_l): Update for new value of cp_h.
2711         * math/auto-libm-test-in: Add another test of pow.
2712         * math/auto-libm-test-out-pow: Regenerated.
2714 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2716         * manual/contrib.texi: Fix typo.
2718 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2720         [BZ #15998]
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2722         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2725 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2727         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2728         STRCHR as __strchr_power8.
2729         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2730         strlen as __strlen_power8.
2732 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2734         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2735         unaligned load for shorter strings.
2736         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2738 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2740         * math/libm-test-driver.c (flag_test_errno): New variable.
2741         (flag_test_exceptions): Likewise.
2742         (flag_test_finite): Likewise.
2743         (flag_test_inline): Likewise.
2744         (flag_test_mathvec): Likewise.
2745         (test_msg): Likewise.
2746         (ulp_idx): Likewise.
2747         (qtype_str): Likewise.
2748         (ULP_IDX): Remove macro.
2749         (QTYPE_STR): Likewise.
2750         (find_ulps): Use ulp_idx not ULP_IDX.
2751         (print_function_ulps): Use qtype_str, printed with %s, not
2752         QTYPE_STR, printed with concatentation to format string.
2753         (print_complex_function_ulps): Likewise.
2754         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2755         (test_errno): Use flag_test_errno not TEST_ERRNO.
2756         (enable_test): Use flag_test_inline, flag_test_finite and
2757         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2758         TEST_MATHVEC.
2759         (libm_test_init): New function.  Factored out of main.
2760         (libm_test_finish): Likewise.
2761         (main): Call libm_test_init and libm_test_finish and move most
2762         code to those functions.
2764         * math/libm-test-driver.c (STRX): New macro.
2765         (STR): Likewise.
2766         (STR_FLOAT): Likewise.
2767         (STR_VEC_LEN): Likewise.
2768         (TEST_MSG): Likewise.  Define here instead of expecting to be
2769         defined by including file.
2770         * math/test-double-finite.c (TEST_MSG): Remove macro.
2771         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2772         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2773         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2774         * math/test-double.c (TEST_MSG): Likewise.
2775         * math/test-float-finite.c (TEST_MSG): Likewise.
2776         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2777         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2778         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2779         * math/test-float.c (TEST_MSG): Likewise.
2780         * math/test-idouble.c (TEST_MSG): Likewise.
2781         * math/test-ifloat.c (TEST_MSG): Likewise.
2782         * math/test-ildouble.c (TEST_MSG): Likewise.
2783         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2784         * math/test-ldouble.c (TEST_MSG): Likewise.
2786         * math/libm-test.inc: Move all tests of individual functions to
2787         libm-test-*.inc and #include libm-test-*.c files.
2788         (acos_test_data): Remove.
2789         (acos_test): Likewise.
2790         (acosh_test_data): Likewise.
2791         (acosh_test): Likewise.
2792         (asin_test_data): Likewise.
2793         (asin_test): Likewise.
2794         (asinh_test_data): Likewise.
2795         (asinh_test): Likewise.
2796         (atan_test_data): Likewise.
2797         (atan_test): Likewise.
2798         (atanh_test_data): Likewise.
2799         (atanh_test): Likewise.
2800         (atan2_test_data): Likewise.
2801         (atan2_test): Likewise.
2802         (cabs_test_data): Likewise.
2803         (cabs_test): Likewise.
2804         (cacos_test_data): Likewise.
2805         (cacos_test): Likewise.
2806         (cacosh_test_data): Likewise.
2807         (cacosh_test): Likewise.
2808         (canonicalize_test_data): Likewise.
2809         (canonicalize_test): Likewise.
2810         (carg_test_data): Likewise.
2811         (carg_test): Likewise.
2812         (casin_test_data): Likewise.
2813         (casin_test): Likewise.
2814         (casinh_test_data): Likewise.
2815         (casinh_test): Likewise.
2816         (catan_test_data): Likewise.
2817         (catan_test): Likewise.
2818         (catanh_test_data): Likewise.
2819         (catanh_test): Likewise.
2820         (cbrt_test_data): Likewise.
2821         (cbrt_test): Likewise.
2822         (ccos_test_data): Likewise.
2823         (ccos_test): Likewise.
2824         (ccosh_test_data): Likewise.
2825         (ccosh_test): Likewise.
2826         (ceil_test_data): Likewise.
2827         (ceil_test): Likewise.
2828         (cexp_test_data): Likewise.
2829         (cexp_test): Likewise.
2830         (cimag_test_data): Likewise.
2831         (cimag_test): Likewise.
2832         (clog_test_data): Likewise.
2833         (clog_test): Likewise.
2834         (clog10_test_data): Likewise.
2835         (clog10_test): Likewise.
2836         (conj_test_data): Likewise.
2837         (conj_test): Likewise.
2838         (copysign_test_data): Likewise.
2839         (copysign_test): Likewise.
2840         (cos_test_data): Likewise.
2841         (cos_test): Likewise.
2842         (cosh_test_data): Likewise.
2843         (cosh_test): Likewise.
2844         (cpow_test_data): Likewise.
2845         (cpow_test): Likewise.
2846         (cproj_test_data): Likewise.
2847         (cproj_test): Likewise.
2848         (creal_test_data): Likewise.
2849         (creal_test): Likewise.
2850         (csin_test_data): Likewise.
2851         (csin_test): Likewise.
2852         (csinh_test_data): Likewise.
2853         (csinh_test): Likewise.
2854         (csqrt_test_data): Likewise.
2855         (csqrt_test): Likewise.
2856         (ctan_test_data): Likewise.
2857         (ctan_test): Likewise.
2858         (ctanh_test_data): Likewise.
2859         (ctanh_test): Likewise.
2860         (erf_test_data): Likewise.
2861         (erf_test): Likewise.
2862         (erfc_test_data): Likewise.
2863         (erfc_test): Likewise.
2864         (exp_test_data): Likewise.
2865         (exp_test): Likewise.
2866         (exp10_test_data): Likewise.
2867         (exp10_test): Likewise.
2868         (pow10_test): Likewise.
2869         (exp2_test_data): Likewise.
2870         (exp2_test): Likewise.
2871         (expm1_test_data): Likewise.
2872         (expm1_test): Likewise.
2873         (fabs_test_data): Likewise.
2874         (fabs_test): Likewise.
2875         (fdim_test_data): Likewise.
2876         (fdim_test): Likewise.
2877         (floor_test_data): Likewise.
2878         (floor_test): Likewise.
2879         (fma_test_data): Likewise.
2880         (fma_test): Likewise.
2881         (fmax_test_data): Likewise.
2882         (fmax_test): Likewise.
2883         (fmaxmag_test_data): Likewise.
2884         (fmaxmag_test): Likewise.
2885         (fmin_test_data): Likewise.
2886         (fmin_test): Likewise.
2887         (fminmag_test_data): Likewise.
2888         (fminmag_test): Likewise.
2889         (fmod_test_data): Likewise.
2890         (fmod_test): Likewise.
2891         (fpclassify_test_data): Likewise.
2892         (fpclassify_test): Likewise.
2893         (frexp_test_data): Likewise.
2894         (frexp_test): Likewise.
2895         (fromfp_test_data): Likewise.
2896         (fromfp_test): Likewise.
2897         (fromfpx_test_data): Likewise.
2898         (fromfpx_test): Likewise.
2899         (getpayload_test_data): Likewise.
2900         (getpayload_test): Likewise.
2901         (hypot_test_data): Likewise.
2902         (hypot_test): Likewise.
2903         (ilogb_test_data): Likewise.
2904         (ilogb_test): Likewise.
2905         (iscanonical_test_data): Likewise.
2906         (iscanonical_test): Likewise.
2907         (iseqsig_test_data): Likewise.
2908         (iseqsig_test): Likewise.
2909         (isfinite_test_data): Likewise.
2910         (isfinite_test): Likewise.
2911         (finite_test): Likewise.
2912         (isgreater_test_data): Likewise.
2913         (isgreater_test): Likewise.
2914         (isgreaterequal_test_data): Likewise.
2915         (isgreaterequal_test): Likewise.
2916         (isinf_test_data): Likewise.
2917         (isinf_test): Likewise.
2918         (isless_test_data): Likewise.
2919         (isless_test): Likewise.
2920         (islessequal_test_data): Likewise.
2921         (islessequal_test): Likewise.
2922         (islessgreater_test_data): Likewise.
2923         (islessgreater_test): Likewise.
2924         (isnan_test_data): Likewise.
2925         (isnan_test): Likewise.
2926         (isnormal_test_data): Likewise.
2927         (isnormal_test): Likewise.
2928         (issignaling_test_data): Likewise.
2929         (issignaling_test): Likewise.
2930         (issubnormal_test_data): Likewise.
2931         (issubnormal_test): Likewise.
2932         (isunordered_test_data): Likewise.
2933         (isunordered_test): Likewise.
2934         (iszero_test_data): Likewise.
2935         (iszero_test): Likewise.
2936         (j0_test_data): Likewise.
2937         (j0_test): Likewise.
2938         (j1_test_data): Likewise.
2939         (j1_test): Likewise.
2940         (jn_test_data): Likewise.
2941         (jn_test): Likewise.
2942         (lgamma_test_data): Likewise.
2943         (lgamma_test): Likewise.
2944         (gamma_test): Likewise.
2945         (llogb_test_data): Likewise.
2946         (llogb_test): Likewise.
2947         (lrint_test_data): Likewise.
2948         (lrint_test): Likewise.
2949         (llrint_test_data): Likewise.
2950         (llrint_test): Likewise.
2951         (log_test_data): Likewise.
2952         (log_test): Likewise.
2953         (log10_test_data): Likewise.
2954         (log10_test): Likewise.
2955         (log1p_test_data): Likewise.
2956         (log1p_test): Likewise.
2957         (log2_test_data): Likewise.
2958         (log2_test): Likewise.
2959         (logb_test_data): Likewise.
2960         (logb_test): Likewise.
2961         (lround_test_data): Likewise.
2962         (lround_test): Likewise.
2963         (llround_test_data): Likewise.
2964         (llround_test): Likewise.
2965         (modf_test_data): Likewise.
2966         (modf_test): Likewise.
2967         (nearbyint_test_data): Likewise.
2968         (nearbyint_test): Likewise.
2969         (nextafter_test_data): Likewise.
2970         (nextafter_test): Likewise.
2971         (nextup_test_data): Likewise.
2972         (nextup_test): Likewise.
2973         (nextdown_test_data): Likewise.
2974         (nextdown_test): Likewise.
2975         (nexttoward_test_data): Likewise.
2976         (nexttoward_test): Likewise.
2977         (pow_test_data): Likewise.
2978         (pow_test): Likewise.
2979         (remainder_test_data): Likewise.
2980         (remainder_test): Likewise.
2981         (drem_test): Likewise.
2982         (remquo_test_data): Likewise.
2983         (remquo_test): Likewise.
2984         (rint_test_data): Likewise.
2985         (rint_test): Likewise.
2986         (round_test_data): Likewise.
2987         (round_test): Likewise.
2988         (roundeven_test_data): Likewise.
2989         (roundeven_test): Likewise.
2990         (scalb_test_data): Likewise.
2991         (scalb_test): Likewise.
2992         (scalbn_test_data): Likewise.
2993         (scalbn_test): Likewise.
2994         (ldexp_test): Likewise.
2995         (scalbln_test_data): Likewise.
2996         (scalbln_test): Likewise.
2997         (setpayload_test_data): Likewise.
2998         (setpayload_test): Likewise.
2999         (setpayloadsig_test_data): Likewise.
3000         (setpayloadsig_test): Likewise.
3001         (signbit_test_data): Likewise.
3002         (signbit_test): Likewise.
3003         (sin_test_data): Likewise.
3004         (sin_test): Likewise.
3005         (sincos_test_data): Likewise.
3006         (sincos_test): Likewise.
3007         (sinh_test_data): Likewise.
3008         (sinh_test): Likewise.
3009         (sqrt_test_data): Likewise.
3010         (sqrt_test): Likewise.
3011         (tan_test_data): Likewise.
3012         (tan_test): Likewise.
3013         (tanh_test_data): Likewise.
3014         (tanh_test): Likewise.
3015         (tgamma_test_data): Likewise.
3016         (tgamma_test): Likewise.
3017         (totalorder_test_data): Likewise.
3018         (totalorder_test): Likewise.
3019         (totalordermag_test_data): Likewise.
3020         (totalordermag_test): Likewise.
3021         (trunc_test_data): Likewise.
3022         (trunc_test): Likewise.
3023         (ufromfp_test_data): Likewise.
3024         (ufromfp_test): Likewise.
3025         (ufromfpx_test_data): Likewise.
3026         (ufromfpx_test): Likewise.
3027         (y0_test_data): Likewise.
3028         (y0_test): Likewise.
3029         (y1_test_data): Likewise.
3030         (y1_test): Likewise.
3031         (yn_test_data): Likewise.
3032         (yn_test): Likewise.
3033         (significand_test_data): Likewise.
3034         (significand_test): Likewise.
3035         * math/Makefile (auto-libm-test-out-files): Remove variable.
3036         (libm-test-funcs-noauto): New variable.
3037         (libm-test-funcs-all): Likewise.
3038         (libm-test-c-auto): Likewise.
3039         (libm-test-c-noauto): Likewise.
3040         (libm-tests-generated): Add $(libm-test-c-auto) and
3041         $(libm-test-c-noauto).
3042         (generated): Do not add auto-libm-test-out.
3043         (libm-test-c-auto-obj): New variable.
3044         (libm-test-c-noauto-obj): Likewise.
3045         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3046         ($(libm-test-c-noauto-obj)): New static pattern rule.
3047         ($(libm-test-c-auto-obj)): Likewise.
3048         (libm-test-incs): New variable.
3049         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3050         and pass it to gen-libm-have-vector-test.sh.
3051         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3052         be passed on command line.
3053         * math/libm-test-acos.inc: New file.  Content from
3054         math/libm-test.inc.
3055         * math/libm-test-acosh.inc: Likewise.
3056         * math/libm-test-asin.inc: Likewise.
3057         * math/libm-test-asinh.inc: Likewise.
3058         * math/libm-test-atan.inc: Likewise.
3059         * math/libm-test-atan2.inc: Likewise.
3060         * math/libm-test-atanh.inc: Likewise.
3061         * math/libm-test-cabs.inc: Likewise.
3062         * math/libm-test-cacos.inc: Likewise.
3063         * math/libm-test-cacosh.inc: Likewise.
3064         * math/libm-test-canonicalize.inc: Likewise.
3065         * math/libm-test-carg.inc: Likewise.
3066         * math/libm-test-casin.inc: Likewise.
3067         * math/libm-test-casinh.inc: Likewise.
3068         * math/libm-test-catan.inc: Likewise.
3069         * math/libm-test-catanh.inc: Likewise.
3070         * math/libm-test-cbrt.inc: Likewise.
3071         * math/libm-test-ccos.inc: Likewise.
3072         * math/libm-test-ccosh.inc: Likewise.
3073         * math/libm-test-ceil.inc: Likewise.
3074         * math/libm-test-cexp.inc: Likewise.
3075         * math/libm-test-cimag.inc: Likewise.
3076         * math/libm-test-clog.inc: Likewise.
3077         * math/libm-test-clog10.inc: Likewise.
3078         * math/libm-test-conj.inc: Likewise.
3079         * math/libm-test-copysign.inc: Likewise.
3080         * math/libm-test-cos.inc: Likewise.
3081         * math/libm-test-cosh.inc: Likewise.
3082         * math/libm-test-cpow.inc: Likewise.
3083         * math/libm-test-cproj.inc: Likewise.
3084         * math/libm-test-creal.inc: Likewise.
3085         * math/libm-test-csin.inc: Likewise.
3086         * math/libm-test-csinh.inc: Likewise.
3087         * math/libm-test-csqrt.inc: Likewise.
3088         * math/libm-test-ctan.inc: Likewise.
3089         * math/libm-test-ctanh.inc: Likewise.
3090         * math/libm-test-erf.inc: Likewise.
3091         * math/libm-test-erfc.inc: Likewise.
3092         * math/libm-test-exp.inc: Likewise.
3093         * math/libm-test-exp10.inc: Likewise.
3094         * math/libm-test-exp2.inc: Likewise.
3095         * math/libm-test-expm1.inc: Likewise.
3096         * math/libm-test-fabs.inc: Likewise.
3097         * math/libm-test-fdim.inc: Likewise.
3098         * math/libm-test-floor.inc: Likewise.
3099         * math/libm-test-fma.inc: Likewise.
3100         * math/libm-test-fmax.inc: Likewise.
3101         * math/libm-test-fmaxmag.inc: Likewise.
3102         * math/libm-test-fmin.inc: Likewise.
3103         * math/libm-test-fminmag.inc: Likewise.
3104         * math/libm-test-fmod.inc: Likewise.
3105         * math/libm-test-fpclassify.inc: Likewise.
3106         * math/libm-test-frexp.inc: Likewise.
3107         * math/libm-test-fromfp.inc: Likewise.
3108         * math/libm-test-fromfpx.inc: Likewise.
3109         * math/libm-test-getpayload.inc: Likewise.
3110         * math/libm-test-hypot.inc: Likewise.
3111         * math/libm-test-ilogb.inc: Likewise.
3112         * math/libm-test-iscanonical.inc: Likewise.
3113         * math/libm-test-iseqsig.inc: Likewise.
3114         * math/libm-test-isfinite.inc: Likewise.
3115         * math/libm-test-isgreater.inc: Likewise.
3116         * math/libm-test-isgreaterequal.inc: Likewise.
3117         * math/libm-test-isinf.inc: Likewise.
3118         * math/libm-test-isless.inc: Likewise.
3119         * math/libm-test-islessequal.inc: Likewise.
3120         * math/libm-test-islessgreater.inc: Likewise.
3121         * math/libm-test-isnan.inc: Likewise.
3122         * math/libm-test-isnormal.inc: Likewise.
3123         * math/libm-test-issignaling.inc: Likewise.
3124         * math/libm-test-issubnormal.inc: Likewise.
3125         * math/libm-test-isunordered.inc: Likewise.
3126         * math/libm-test-iszero.inc: Likewise.
3127         * math/libm-test-j0.inc: Likewise.
3128         * math/libm-test-j1.inc: Likewise.
3129         * math/libm-test-jn.inc: Likewise.
3130         * math/libm-test-lgamma.inc: Likewise.
3131         * math/libm-test-llogb.inc: Likewise.
3132         * math/libm-test-llrint.inc: Likewise.
3133         * math/libm-test-llround.inc: Likewise.
3134         * math/libm-test-log.inc: Likewise.
3135         * math/libm-test-log10.inc: Likewise.
3136         * math/libm-test-log1p.inc: Likewise.
3137         * math/libm-test-log2.inc: Likewise.
3138         * math/libm-test-logb.inc: Likewise.
3139         * math/libm-test-lrint.inc: Likewise.
3140         * math/libm-test-lround.inc: Likewise.
3141         * math/libm-test-modf.inc: Likewise.
3142         * math/libm-test-nearbyint.inc: Likewise.
3143         * math/libm-test-nextafter.inc: Likewise.
3144         * math/libm-test-nextdown.inc: Likewise.
3145         * math/libm-test-nexttoward.inc: Likewise.
3146         * math/libm-test-nextup.inc: Likewise.
3147         * math/libm-test-pow.inc: Likewise.
3148         * math/libm-test-remainder.inc: Likewise.
3149         * math/libm-test-remquo.inc: Likewise.
3150         * math/libm-test-rint.inc: Likewise.
3151         * math/libm-test-round.inc: Likewise.
3152         * math/libm-test-roundeven.inc: Likewise.
3153         * math/libm-test-scalb.inc: Likewise.
3154         * math/libm-test-scalbln.inc: Likewise.
3155         * math/libm-test-scalbn.inc: Likewise.
3156         * math/libm-test-setpayload.inc: Likewise.
3157         * math/libm-test-setpayloadsig.inc: Likewise.
3158         * math/libm-test-signbit.inc: Likewise.
3159         * math/libm-test-significand.inc: Likewise.
3160         * math/libm-test-sin.inc: Likewise.
3161         * math/libm-test-sincos.inc: Likewise.
3162         * math/libm-test-sinh.inc: Likewise.
3163         * math/libm-test-sqrt.inc: Likewise.
3164         * math/libm-test-tan.inc: Likewise.
3165         * math/libm-test-tanh.inc: Likewise.
3166         * math/libm-test-tgamma.inc: Likewise.
3167         * math/libm-test-totalorder.inc: Likewise.
3168         * math/libm-test-totalordermag.inc: Likewise.
3169         * math/libm-test-trunc.inc: Likewise.
3170         * math/libm-test-ufromfp.inc: Likewise.
3171         * math/libm-test-ufromfpx.inc: Likewise.
3172         * math/libm-test-y0.inc: Likewise.
3173         * math/libm-test-y1.inc: Likewise.
3174         * math/libm-test-yn.inc: Likewise.
3175         * math/README.libm-test: Update.
3177         * math/gen-auto-libm-tests.c: Update comment about use of program.
3178         (generate_output): Add argument FUNCTION.
3179         (main): Require extra argument.  Pass function name to
3180         generate_output.
3181         * math/Makefile (generated): Add auto-libm-test-out.
3182         (libm-test-funcs-auto): New variable.
3183         (auto-libm-test-out-files): New variable.
3184         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3185         Concatenate those files to form $(objpfx)auto-libm-test-out and
3186         use it as input to gen-libm-test.pl.
3187         * math/README.libm-test: Update.
3188         * math/auto-libm-test-out: Remove.
3189         * math/auto-libm-test-out-acos: New generated file.
3190         * math/auto-libm-test-out-acosh: Likewise.
3191         * math/auto-libm-test-out-asin: Likewise.
3192         * math/auto-libm-test-out-asinh: Likewise.
3193         * math/auto-libm-test-out-atan: Likewise.
3194         * math/auto-libm-test-out-atan2: Likewise.
3195         * math/auto-libm-test-out-atanh: Likewise.
3196         * math/auto-libm-test-out-cabs: Likewise.
3197         * math/auto-libm-test-out-carg: Likewise.
3198         * math/auto-libm-test-out-cbrt: Likewise.
3199         * math/auto-libm-test-out-ccos: Likewise.
3200         * math/auto-libm-test-out-ccosh: Likewise.
3201         * math/auto-libm-test-out-cexp: Likewise.
3202         * math/auto-libm-test-out-clog: Likewise.
3203         * math/auto-libm-test-out-clog10: Likewise.
3204         * math/auto-libm-test-out-cos: Likewise.
3205         * math/auto-libm-test-out-cosh: Likewise.
3206         * math/auto-libm-test-out-cpow: Likewise.
3207         * math/auto-libm-test-out-csin: Likewise.
3208         * math/auto-libm-test-out-csinh: Likewise.
3209         * math/auto-libm-test-out-csqrt: Likewise.
3210         * math/auto-libm-test-out-ctan: Likewise.
3211         * math/auto-libm-test-out-ctanh: Likewise.
3212         * math/auto-libm-test-out-erf: Likewise.
3213         * math/auto-libm-test-out-erfc: Likewise.
3214         * math/auto-libm-test-out-exp: Likewise.
3215         * math/auto-libm-test-out-exp10: Likewise.
3216         * math/auto-libm-test-out-exp2: Likewise.
3217         * math/auto-libm-test-out-expm1: Likewise.
3218         * math/auto-libm-test-out-fma: Likewise.
3219         * math/auto-libm-test-out-hypot: Likewise.
3220         * math/auto-libm-test-out-j0: Likewise.
3221         * math/auto-libm-test-out-j1: Likewise.
3222         * math/auto-libm-test-out-jn: Likewise.
3223         * math/auto-libm-test-out-lgamma: Likewise.
3224         * math/auto-libm-test-out-log: Likewise.
3225         * math/auto-libm-test-out-log10: Likewise.
3226         * math/auto-libm-test-out-log1p: Likewise.
3227         * math/auto-libm-test-out-log2: Likewise.
3228         * math/auto-libm-test-out-pow: Likewise.
3229         * math/auto-libm-test-out-sin: Likewise.
3230         * math/auto-libm-test-out-sincos: Likewise.
3231         * math/auto-libm-test-out-sinh: Likewise.
3232         * math/auto-libm-test-out-sqrt: Likewise.
3233         * math/auto-libm-test-out-tan: Likewise.
3234         * math/auto-libm-test-out-tanh: Likewise.
3235         * math/auto-libm-test-out-tgamma: Likewise.
3236         * math/auto-libm-test-out-y0: Likewise.
3237         * math/auto-libm-test-out-y1: Likewise.
3238         * math/auto-libm-test-out-yn: Likewise.
3240         * math/Makefile (generated): Do not include libm-test.stmp.
3241         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3242         on $(objpfx)libm-test.stmp.
3243         ($(objpfx)libm-test.stmp): Remove rule.
3244         ($(objpfx)libm-test-ulps.h): New rule.
3245         ($(objpfx)libm-test.c): Likewise.
3246         ($(objpfx)libm-have-vector-test.h): Likewise.
3247         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3248         individual generated files, not libm-test.stmp.
3250         * math/gen-libm-test.pl ($output_dir): Remove variable.
3251         ($srcdir): Likewise.
3252         ($opt_a): New variable.
3253         ($opt_c): Likewise.
3254         ($opt_C): Likewise.
3255         ($opt_H): Likewise.
3256         (-n): Make option take argument and use it as NewUlps output.
3257         (-a): New option.  Use its argument for auto-libm-test-out input.
3258         (-c): New option.  Use its argument for libm-test.inc input.
3259         (-C): New option.  Use its argument for libm-test.c output.
3260         (-H): New option.  Use its argument for libm-test-ulps.h output.
3261         (top level): Only process inputs needed to generate outputs
3262         specified by command-line options.  Only generate outputs
3263         specified by command-line options.
3264         * math/README.libm-test: Update example gen-libm-test.pl command.
3265         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3266         commands.
3267         (regen-ulps): Likewise.
3269 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3271         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3272         * include/string.h (index): Remove define.
3273         (rindex): Likewise.
3274         * misc/getttyent.c (__getttyent): Rename index to strchr.
3275         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3276         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3278 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3280         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3281         * math/libm-test.inc: Move all contents, other than tests of
3282         individual functions, to libm-test-driver.c.
3283         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3284         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3285         [!FE_UPWARD] (FE_UPWARD): Likewise.
3286         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3287         (NO_EXCEPTION): Likewise.
3288         (INVALID_EXCEPTION): Likewise.
3289         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3290         (OVERFLOW_EXCEPTION): Likewise.
3291         (UNDERFLOW_EXCEPTION): Likewise.
3292         (INEXACT_EXCEPTION): Likewise.
3293         (INVALID_EXCEPTION_OK): Likewise.
3294         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3295         (OVERFLOW_EXCEPTION_OK): Likewise.
3296         (UNDERFLOW_EXCEPTION_OK): Likewise.
3297         (NO_INEXACT_EXCEPTION): Likewise.
3298         (EXCEPTIONS_OK): Likewise.
3299         (IGNORE_ZERO_INF_SIGN): Likewise.
3300         (TEST_NAN_SIGN): Likewise.
3301         (TEST_NAN_PAYLOAD): Likewise.
3302         (NO_TEST_INLINE): Likewise.
3303         (XFAIL_TEST): Likewise.
3304         (ERRNO_UNCHANGED): Likewise.
3305         (ERRNO_EDOM): Likewise.
3306         (ERRNO_ERANGE): Likewise.
3307         (IGNORE_RESULT): Likewise.
3308         (NON_FINITE): Likewise.
3309         (TEST_SNAN): Likewise.
3310         (NO_TEST_MATHVEC): Likewise.
3311         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3312         (__CONCATX): Likewise.
3313         (TYPE_MIN): Likewise.
3314         (TYPE_TRUE_MIN): Likewise.
3315         (TYPE_MAX): Likewise.
3316         (MIN_EXP): Likewise.
3317         (MAX_EXP): Likewise.
3318         (MANT_DIG): Likewise.
3319         (FSTR_MAX): Likewise.
3320         (ULP_IDX): Likewise.
3321         (QTYPE_STR): Likewise.
3322         (TEST_COND_binary32): Likewise.
3323         (TEST_COND_binary64): Likewise.
3324         (TEST_COND_binary128): Likewise.
3325         (TEST_COND_ibm128): Likewise.
3326         (TEST_COND_intel96): Likewise.
3327         (TEST_COND_m68k96): Likewise.
3328         (TEST_COND_ibm128_libgcc): Likewise.
3329         (XFAIL_IBM128_LIBGCC): Likewise.
3330         (PAYLOAD_DIG): Likewise.
3331         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3332         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3333         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3334         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3335         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3336         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3337         (TEST_COND_long32): Likewise.
3338         (TEST_COND_long64): Likewise.
3339         (TEST_COND_before_rounding): Likewise.
3340         (TEST_COND_after_rounding): Likewise.
3341         (lit_pi_3_m_4_d): Likewise.
3342         (lit_pi_3_m_4_ln10_m_d): Likewise.
3343         (lit_pi_2_ln10_m_d): Likewise.
3344         (lit_pi_4_ln10_m_d): Likewise.
3345         (lit_pi_ln10_d): Likewise.
3346         (lit_pi_2_d): Likewise.
3347         (lit_pi_4_d): Likewise.
3348         (lit_pi): Likewise.
3349         (lit_e): Likewise.
3350         (ulps_file_name): Likewise.
3351         (ulps_file): Likewise.
3352         (output_ulps): Likewise.
3353         (output_dir): Likewise.
3354         (noErrors): Likewise.
3355         (noTests): Likewise.
3356         (noExcTests): Likewise.
3357         (noErrnoTests): Likewise.
3358         (verbose): Likewise.
3359         (output_max_error): Likewise.
3360         (output_points): Likewise.
3361         (ignore_max_ulp): Likewise.
3362         (plus_zero): Likewise.
3363         (minus_zero): Likewise.
3364         (plus_infty): Likewise.
3365         (minus_infty): Likewise.
3366         (qnan_value_pl): Likewise.
3367         (qnan_value): Likewise.
3368         (snan_value_pl): Likewise.
3369         (snan_value): Likewise.
3370         (max_value): Likewise.
3371         (min_value): Likewise.
3372         (min_subnorm_value): Likewise.
3373         (snan_value_ld): Likewise.
3374         (max_error): Likewise.
3375         (real_max_error): Likewise.
3376         (imag_max_error): Likewise.
3377         (prev_max_error): Likewise.
3378         (prev_real_max_error): Likewise.
3379         (prev_imag_max_error): Likewise.
3380         (max_valid_error): Likewise.
3381         (TYPE_DECIMAL_DIG): Likewise.
3382         (TYPE_HEX_DIG): Likewise.
3383         (fmt_ftostr): Likewise.
3384         (compare_ulp_data): Likewise.
3385         (find_ulps): Likewise.
3386         (init_max_error): Likewise.
3387         (set_max_error): Likewise.
3388         (print_float): Likewise.
3389         (print_screen): Likewise.
3390         (print_screen_max_error): Likewise.
3391         (update_stats): Likewise.
3392         (print_function_ulps): Likewise.
3393         (print_complex_function_ulps): Likewise.
3394         (fpstack_test): Likewise.
3395         (print_max_error): Likewise.
3396         (print_complex_max_error): Likewise.
3397         (test_single_exception): Likewise.
3398         (test_exceptions): Likewise.
3399         (test_single_errno): Likewise.
3400         (test_errno): Likewise.
3401         (ULPDIFF): Likewise.
3402         (ulp): Likewise.
3403         (check_float_internal): Likewise.
3404         (check_float): Likewise.
3405         (check_complex): Likewise.
3406         (check_int): Likewise.
3407         (check_long): Likewise.
3408         (check_bool): Likewise.
3409         (check_longlong): Likewise.
3410         (check_intmax_t): Likewise.
3411         (check_uintmax_t): Likewise.
3412         (enable_test): Likewise.
3413         (struct test_f_f_data): Likewise.
3414         (struct test_ff_f_data): Likewise.
3415         (struct test_fj_f_data): Likewise.
3416         (struct test_fi_f_data): Likewise.
3417         (struct test_fl_f_data): Likewise.
3418         (struct test_if_f_data): Likewise.
3419         (struct test_fff_f_data): Likewise.
3420         (struct test_fiu_M_data): Likewise.
3421         (struct test_fiu_U_data): Likewise.
3422         (struct test_c_f_data): Likewise.
3423         (struct test_f_f1_data): Likewise.
3424         (struct test_fF_f1_data): Likewise.
3425         (struct test_ffI_f1_data): Likewise.
3426         (struct test_c_c_data): Likewise.
3427         (struct test_cc_c_data): Likewise.
3428         (struct test_f_i_data): Likewise.
3429         (struct test_ff_i_data): Likewise.
3430         (struct test_f_l_data): Likewise.
3431         (struct test_f_L_data): Likewise.
3432         (struct test_fFF_11_data): Likewise.
3433         (struct test_Ff_b1_data): Likewise.
3434         (IF_ROUND_INIT_): Likewise.
3435         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3436         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3437         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3438         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3439         (ROUND_RESTORE_): Likewise.
3440         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3441         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3442         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3443         (ROUND_RESTORE_FE_UPWARD): Likewise.
3444         (RM_): Likewise.
3445         (RM_FE_DOWNWARD): Likewise.
3446         (RM_FE_TONEAREST): Likewise.
3447         (RM_FE_TOWARDZERO): Likewise.
3448         (RM_FE_UPWARD): Likewise.
3449         (COMMON_TEST_SETUP): Likewise.
3450         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3451         (COMMON_TEST_CLEANUP): Likewise.
3452         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3453         (RUN_TEST_f_f): Likewise.
3454         (RUN_TEST_LOOP_f_f): Likewise.
3455         (RUN_TEST_fp_f): Likewise.
3456         (RUN_TEST_LOOP_fp_f): Likewise.
3457         (RUN_TEST_2_f): Likewise.
3458         (RUN_TEST_LOOP_2_f): Likewise.
3459         (RUN_TEST_ff_f): Likewise.
3460         (RUN_TEST_LOOP_ff_f): Likewise.
3461         (RUN_TEST_LOOP_fj_f): Likewise.
3462         (RUN_TEST_fi_f): Likewise.
3463         (RUN_TEST_LOOP_fi_f): Likewise.
3464         (RUN_TEST_fl_f): Likewise.
3465         (RUN_TEST_LOOP_fl_f): Likewise.
3466         (RUN_TEST_if_f): Likewise.
3467         (RUN_TEST_LOOP_if_f): Likewise.
3468         (RUN_TEST_fff_f): Likewise.
3469         (RUN_TEST_LOOP_fff_f): Likewise.
3470         (RUN_TEST_fiu_M): Likewise.
3471         (RUN_TEST_LOOP_fiu_M): Likewise.
3472         (RUN_TEST_fiu_U): Likewise.
3473         (RUN_TEST_LOOP_fiu_U): Likewise.
3474         (RUN_TEST_c_f): Likewise.
3475         (RUN_TEST_LOOP_c_f): Likewise.
3476         (RUN_TEST_f_f1): Likewise.
3477         (RUN_TEST_LOOP_f_f1): Likewise.
3478         (RUN_TEST_fF_f1): Likewise.
3479         (RUN_TEST_LOOP_fF_f1): Likewise.
3480         (RUN_TEST_fI_f1): Likewise.
3481         (RUN_TEST_LOOP_fI_f1): Likewise.
3482         (RUN_TEST_ffI_f1_mod8): Likewise.
3483         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3484         (RUN_TEST_Ff_b1): Likewise.
3485         (RUN_TEST_LOOP_Ff_b1): Likewise.
3486         (RUN_TEST_Ffp_b1): Likewise.
3487         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3488         (RUN_TEST_c_c): Likewise.
3489         (RUN_TEST_LOOP_c_c): Likewise.
3490         (RUN_TEST_cc_c): Likewise.
3491         (RUN_TEST_LOOP_cc_c): Likewise.
3492         (RUN_TEST_f_i): Likewise.
3493         (RUN_TEST_LOOP_f_i): Likewise.
3494         (RUN_TEST_f_i_tg): Likewise.
3495         (RUN_TEST_LOOP_f_i_tg): Likewise.
3496         (RUN_TEST_ff_b): Likewise.
3497         (RUN_TEST_LOOP_ff_b): Likewise.
3498         (RUN_TEST_ff_i_tg): Likewise.
3499         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3500         (RUN_TEST_f_b): Likewise.
3501         (RUN_TEST_LOOP_f_b): Likewise.
3502         (RUN_TEST_f_b_tg): Likewise.
3503         (RUN_TEST_LOOP_f_b_tg): Likewise.
3504         (RUN_TEST_f_l): Likewise.
3505         (RUN_TEST_LOOP_f_l): Likewise.
3506         (RUN_TEST_f_L): Likewise.
3507         (RUN_TEST_LOOP_f_L): Likewise.
3508         (RUN_TEST_fFF_11): Likewise.
3509         (RUN_TEST_LOOP_fFF_11): Likewise.
3510         (VEC_SUFF): Likewise.
3511         (STR_CONCAT): Likewise.
3512         (STR_CON3): Likewise.
3513         (HAVE_VECTOR): Likewise.
3514         (START): Likewise.
3515         (END): Likewise.
3516         (END_COMPLEX): Likewise.
3517         (ALL_RM_TEST): Likewise.
3518         (matherr): Likewise.
3519         (initialize): Likewise.
3520         (options): Likewise.
3521         (doc): Likewise.
3522         (parse_opt): Likewise.
3523         (argp): Likewise.
3524         (check_ulp): Likewise.
3525         (main): Likewise.
3526         (do_test): New function.  Call tests of individual functions
3527         previously called from main.
3529         * math/libm-test.inc: Remove comment listing functions tested and
3530         not tested.
3532 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3534         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3535         (allocate_stack): Remove COLORING_INCREMENT usage.
3536         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3537         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3539 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3541         * manual/libm-err-tab.pl (@all_functions): Change to
3542         %all_functions.  Initialize as empty.
3543         (parse_ulps): Add to %all_functions based on functions found in
3544         ulps files.  Ignore results for non-default rounding modes and
3545         vector functions.
3546         (print_platforms): Use %all_platforms.
3547         * manual/math.texi (Errors in Math Functions): Document omissions
3548         from the table.
3550         * math/Makefile (before-compile): Remove.
3552 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3554         [BZ #21075]
3555         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3556         unused assignment.
3557         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3559 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3561         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3562         Add __glibc_unlikely hint.
3564 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3566         [BZ #16640]
3567         * sysdeps/i386/i686/strtok.S: Remove file.
3568         * sysdeps/i386/i686/strtok_r.S: Likewise.
3569         * sysdeps/i386/strtok.S: Likewise.
3570         * sysdeps/i386/strtok_r.S: Likewise.
3571         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3572         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3573         * sysdeps/x86_64/strtok.S: Likewise.
3574         * sysdeps/x86_64/strtok_r.S: Likewise.
3576         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3577         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3579         (__ASSUME_FADVISE64_AS_64_64): Define.
3580         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3581         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3582         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3583         __ALIGNMENT_ARG usage.
3584         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3585         __NR_fadvise64_64 if it is not defined.
3587 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3589         * version.h (RELEASE): Set to "development"
3590         (VERSION): Set to 2.25.90.
3591         * NEWS: Add 2.26 section.
3593         * version.h (RELEASE): Set to "stable"
3594         (VERSION): Set to 2.25.
3595         * include/features.h (__GLIBC_MINOR__): Set to 25.
3597         * manual/contrib.texi: Add more contributors from this release
3598         and past releases.
3600         * NEWS (2.25): Add list of bugs fixed.
3602         * NEWS: Add missing news items.
3604 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3606         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3607         parent if child exited in that manner.  Print WEXITSTATUS
3608         instead of the raw status.
3609         (do_test_prep): Rename to do_test.
3610         (do_test): Return the result of run_executable_sgid.
3611         (TEST_FUNCTION_ARGV): Adjust.
3613 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3614             Florian Weimer  <fweimer@redhat.com>
3615             Carlos O'Donell  <carlos@redhat.com>
3617         [BZ #20915]
3618         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3619         Do not initialize DTV.
3620         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3622 2017-02-03  David S. Miller  <davem@davemloft.net>
3624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3629         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3633         (libm-sysdep_routines): Update.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3639         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3640         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3641         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3642         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3644         Likewise.
3645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3647         Likewise.
3648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3650         Likewise.
3651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3653         Likewise.
3654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3656         (libm-sysdep_routines): Update.
3658 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3660         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3661         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3662         against unrelocated shared library.
3663         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3665 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3667         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3668         * elf/tst-env-setuid-tunables.c
3669         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3670         GLIBC_TUNABLES is removed in a setgid process.
3672         [BZ #21073]
3673         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3674         * elf/dl-tunables.c (tunables_strdup): Remove.
3675         (get_next_env): Also return the previous envp.
3676         (parse_tunables): Erase tunables of category
3677         TUNABLES_SECLEVEL_SXID_ERASE.
3678         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3679         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3680         (__tunables_init)[TUNABLES_FRONTEND ==
3681         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3682         after parsing.
3683         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3684         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3685         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3686         to security_level.
3687         * elf/dl-tunables.list: Add security_level annotations for all
3688         tunables.
3689         * scripts/gen-tunables.awk: Recognize and generate enum values
3690         for security_level.
3691         * elf/tst-env-setuid.c: New test case.
3692         * elf/tst-env-setuid-tunables: new test case.
3693         * elf/Makefile (tests-static): Add them.
3695 2017-02-01  Richard Henderson  <rth@twiddle.net>
3697         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3698         adjusting the byte count.
3700 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3702         * conform/Makefile (linknamespace-libs): Define.
3704         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3705         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3706         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3707         operands.
3709 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3711         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3713 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3715         [BZ #21081]
3716         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3717         (L(stosb)): Add VZEROUPPER before ret.
3719 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3720             Alexey Makhalov <amakhalov@vmware.com>
3721             Florian Weimer <fweimer@redhat.com>
3723         [BZ #20116]
3724         * nptl/pthread_create.c: Document concurrency notes.
3725         Enhance thread creation notes.
3726         (create_thread): Use bool *stopped_start.
3727         (START_THREAD_DEFN): Comment ownership of PD.
3728         (__pthread_create_2_1): Add local bool stopped_start and use
3729         that instead of pd->stopped_start where appropriate.
3730         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3731         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3732         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3733         * nptl/tst-create-detached.c: New file.
3734         * nptl/Makefile (tests): Add tst-create-detached.
3735         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3736         Reference the enhanced thread creation notes.
3737         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3738         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3739         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3740         (__pthread_current_priority): Likewise.
3741         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3742         xpthread_attr_init, xpthread_attr_setdetachstate, and
3743         xpthread_attr_setstacksize.
3744         * support/xpthread_attr_destroy.c: New file.
3745         * support/xpthread_attr_init.c: New file.
3746         * support/xpthread_attr_setdetachstate.c: New file.
3747         * support/xpthread_attr_setstacksize.c: New file.
3748         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3749         xpthread_attr_init, xpthread_attr_setdetachstate, and
3750         xpthread_attr_setstacksize.
3752 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3754         * nptl/Makefile (tests): Add tst-robust-fork.
3755         * nptl/tst-robust-fork.c: New file.
3756         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3757         xpthread_mutex_consistent, xpthread_mutex_destroy,
3758         xpthread_mutex_init, xpthread_mutexattr_destroy,
3759         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3760         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3761         xpthread_mutexattr_settype.
3762         * support/xmmap.c: New file.
3763         * support/xmunmap.c: Likewise.
3764         * support/xpthread_mutex_consistent.c: Likewise.
3765         * support/xpthread_mutex_destroy.c: Likewise.
3766         * support/xpthread_mutex_init.c: Likewise.
3767         * support/xpthread_mutexattr_destroy.c: Likewise.
3768         * support/xpthread_mutexattr_init.c: Likewise.
3769         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3770         * support/xpthread_mutexattr_setpshared.c: Likewise.
3771         * support/xpthread_mutexattr_setrobust.c: Likewise.
3772         * support/xpthread_mutexattr_settype.c: Likewise.
3773         * support/xthread.h (xpthread_mutexattr_destroy)
3774         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3775         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3776         (xpthread_mutexattr_settype, xpthread_mutex_init)
3777         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3778         * support/xunistd.h (xmmap, xmunmap): Likewise.
3780 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3782         * string/Makefile (xtests): Add comment.
3783         (LOCALES): Add en_GB.UTF-8.
3784         (tst-strcoll-overflow.out): Depend on generated locales.
3785         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3786         (SIZE, TIMEOUT): Update comments.
3787         (do_test): Define as static.  Fail test if setlocale fails.
3788         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3789         messages.
3790         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3791         TIMEOUT at 300 seconds should be enough to run this test
3792         successfully.
3794 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3796         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3797         /* FALLTHRU */ comments.
3799 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3801         [BZ #21053]
3802         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3803         constants instead of the old R* ones.
3804         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3805         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3806         (NGREG): ... to this, to fit in with other architectures.
3807         (gpregset_t): Use new NGREG macro.
3808         [__USE_GNU]: Remove condition; all architectures other than tile
3809         are unconditional.
3810         (R*): Rename to REG_R*.
3812 2017-01-20  DJ Delorie  <dj@redhat.com>
3814         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3815         (tunable_set_val_if_valid_range_signed) ... this, and ...
3816         (tunable_set_val_if_valid_range_unsigned) ... this.
3817         (tunable_initialize): Call the correct one of the above based on type.
3819 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3821         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3822         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3824         * sysdeps/microblaze/libm-test-ulps: Likewise.
3825         * sysdeps/sh/libm-test-ulps: Likewise.
3827         * math/README.libm-test: Update list of characters for input and
3828         output types.
3830 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3832         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3833         (__lll_unlock_elision): Fix adapt_count decrement.
3835 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3837         * README.pretty-printers (Known issues): Warn about printers not
3838         always covering everything.
3839         * nptl/nptl-printers.py (MutexPrinter): Change output.
3840         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3842 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3844         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3845         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3846         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3847         (__lll_lock_elision): Do not test futex before starting a
3848         transaction.  Use __glibc_likely instead of __builtin_expect.
3849         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3850         (__lll_trylock_elision): Do not test futex before starting a
3851         transaction.  Use __glibc_likely instead of __builtin_expect.
3853 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3855         * po/Makefile (update-translations): New target.
3857 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3859         [BZ #21061]
3860         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3862 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3864         * elf/dl-tunables (get_next_env): Always advance envp.
3865         * stdlib/tst-empty-env.c: New test case.
3866         * stdlib/Makefile (tests): Use it.
3868 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3870         [BZ #21047]
3871         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3872         name for instruction.
3873         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3875 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3877         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3878         for make install.
3880 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3882         * po/bg.po: Merge from Translation Project.
3883         * po/fr.po: Likewise.
3884         * po/ko.po: Likewise.
3885         * po/nl.po: Likewise.
3886         * po/sv.po: Likewise.
3888 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3890         * manual/install.texi (Tools for Compilation): Update GCC version
3891         known to work to build glibc.
3892         * INSTALL: Regenerated.
3894 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3896         [BZ #21006]
3897         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3899 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3901         [BZ #21045]
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3903         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3904         to __sigprocmask.
3906 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3908         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3909         wrap-around.
3910         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3912         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3914 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3916         * NEWS: Fix typo.
3918 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3920         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3921         barriers and comments.
3922         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3923         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3924         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3926 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3928         [BZ #19402]
3929         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3930         mutexes.
3932 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3934         [BZ #20985]
3935         * nptl/Makefile: Adapt.
3936         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3937         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3938         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3939         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3940         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3941         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3942         lll_robust* functions and adapt.
3943         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3944         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3945         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3946         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3947         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3948         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3950         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3951         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3952         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3953         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3954         * nptl/lowlevelrobustlock.c: Remove file.
3955         * nptl/lowlevelrobustlock.sym: Likewise.
3956         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3957         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3959 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3961         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3963 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3965         * po/cs.po: Merge translations from the Translation Project.
3966         * po/de.po: Likewise.
3967         * po/pl.po: Likewise.
3968         * po/ru.po: Likewise.
3969         * po/tr.po: Likewise.
3970         * po/uk.po: Likewise.
3971         * po/vi.po: Likewise.
3972         * po/zh_CN.po: Likewise.
3974 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3976         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3978         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3979         object.
3981 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3983         [BZ #16458]
3984         * bits/uintn-identity.h: New file.
3985         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3986         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3987         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3988         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3989         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3990         * string/endian.h: Include <bits/uintn-identity.h>.
3991         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3992         __uint16_identity.
3993         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3994         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3995         __uint32_identity.
3996         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3997         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3998         __uint64_identity.
3999         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4000         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4001         __uint16_identity.
4002         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4003         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4004         __uint32_identity.
4005         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4006         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4007         __uint64_identity.
4008         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4009         * string/Makefile (headers): Add bits/uintn-identity.h.
4010         (tests): Add test-endian-types.
4011         * string/test-endian-types.c: New file.
4012         * inet/Makefile (tests): Add test-hnto-types.
4013         * inet/test-hnto-types.c: New file.
4015 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4017         * po/be.po: Update from Translation Project.
4018         * po/bg.po: Likewise.
4019         * po/ca.po: Likewise.
4020         * po/cs.po: Likewise.
4021         * po/da.po: Likewise.
4022         * po/de.po: Likewise.
4023         * po/el.po: Likewise.
4024         * po/eo.po: Likewise.
4025         * po/es.po: Likewise.
4026         * po/fi.po: Likewise.
4027         * po/fr.po: Likewise.
4028         * po/gl.po: Likewise.
4029         * po/hr.po: Likewise.
4030         * po/hu.po: Likewise.
4031         * po/ia.po: Likewise.
4032         * po/id.po: Likewise.
4033         * po/it.po: Likewise.
4034         * po/ja.po: Likewise.
4035         * po/ko.po: Likewise.
4036         * po/lt.po: Likewise.
4037         * po/nb.po: Likewise.
4038         * po/nl.po: Likewise.
4039         * po/pl.po: Likewise.
4040         * po/pt_BR.po: Likewise.
4041         * po/ru.po: Likewise.
4042         * po/rw.po: Likewise.
4043         * po/sk.po: Likewise.
4044         * po/sl.po: Likewise.
4045         * po/sv.po: Likewise.
4046         * po/tr.po: Likewise.
4047         * po/uk.po: Likewise.
4048         * po/vi.po: Likewise.
4049         * po/zh_CN.po: Likewise.
4050         * po/zh_TW.po: Likewise.
4052 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4054         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4055         -Wformat-truncation instead of -Wformat-length.
4056         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4057         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4058         GCC 7.
4059         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4060         (do_test): Ignore -Wformat-truncation for GCC 7.
4062         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4063         buffer used to print long int value.
4065         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4066         one byte.  Print it with %ld, cast to long int.
4068 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4070         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4071         (re.fullmatch, subprocess.run): Likewise.
4073 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4075         * po/libc.pot: Regenerate.
4077 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4079         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4080         (min_strlen): Likewise.
4081         (disable_tunable): Likewise.
4082         (maybe_disable_malloc_check): Rename to
4083         maybe_enable_malloc_check.
4084         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4085         if /etc/suid-debug file exists.
4086         (__tunables_init): Update caller.
4087         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4088         secure.
4090 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4092         * nptl/DESIGN-rwlock.txt: Remove.
4093         * nptl/lowlevelrwlock.sym: Remove.
4094         * nptl/Makefile: Add new tests.
4095         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4096         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4097         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4098         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4099         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4100         PTHREAD_RWLOCK_FUTEX_USED): New.
4101         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4102         implementation.
4103         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4104         (__pthread_rwlock_rdlock): Adapt.
4105         * nptl/pthread_rwlock_timedrdlock.c
4106         (pthread_rwlock_timedrdlock): Adapt.
4107         * nptl/pthread_rwlock_timedwrlock.c
4108         (pthread_rwlock_timedwrlock): Adapt.
4109         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4110         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4111         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4112         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4113         (__pthread_rwlock_wrlock): Adapt.
4114         * nptl/tst-rwlock10.c: Adapt.
4115         * nptl/tst-rwlock11.c: Adapt.
4116         * nptl/tst-rwlock17.c: New file.
4117         * nptl/tst-rwlock18.c: New file.
4118         * nptl/tst-rwlock19.c: New file.
4119         * nptl/tst-rwlock2b.c: New file.
4120         * nptl/tst-rwlock8.c: Adapt.
4121         * nptl/tst-rwlock9.c: Adapt.
4122         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4123         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4124         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4125         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4126         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4127         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4128         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4129         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4130         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4131         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4132         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4133         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4134         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4135         (pthread_rwlock_t): Adapt.
4136         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4137         (pthread_rwlock_t): Adapt.
4138         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4139         * nptl/nptl-printers.py (): Adapt.
4140         * nptl/nptl_lock_constants.pysym: Adapt.
4141         * nptl/test-rwlock-printers.py: Adapt.
4142         * nptl/test-rwlockattr-printers.c: Adapt.
4143         * nptl/test-rwlockattr-printers.py: Adapt.
4145 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4147         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4148         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4149         (fma_test_data): Likewise.
4150         (hypot_test_data): Likewise.
4151         (log1p_test_data): Likewise.
4152         (modf_test_data): Likewise.
4153         (pow_test_data): Likewise.
4154         (remainder_test_data): Likewise.
4155         (remquo_test_data): Likewise.
4156         (scalb_test_data): Likewise.
4157         (scalbn_test_data): Likewise.
4158         (scalbln_test_data): Likewise.
4159         * math/gen-libm-test.pl (parse_args): Transform
4160         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4161         on the rounding mode.
4163 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4165         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4166         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4167         and those that can underflow to zero.
4168         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4169         add others.
4170         * math/auto-libm-test-out: Regenerated.
4172         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4173         supported.
4174         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4175         modes support if not supported.
4177         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4178         Add libc.so PLT entry.
4179         (__tls_get_addr): Make ld.so PLT entry optional.
4181 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4183         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4184         * string/bits/string3.h: ... here.
4186 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4188         [BZ #21028]
4189         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4190         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4191         if EXCEPTION_TESTS returns false.
4193 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4195         [BZ #20558]
4196         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4197         strings_fortified.h.
4198         [__USE_MISC] (bzero): Likewise.
4199         [__USE_MISC] (explicit_bzero): Likewise.
4200         * string/strings.h: Include strings_fortified.h.
4201         * string/Makefile (headers): Add strings_fortified.h.
4202         * string/bits/strings_fortified.h: New file.
4203         * include/bits/strings_fortified.h: Likewise.
4205 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4207         * elf/tst-tls13.c (TIMEOUT): Remove.
4208         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4209         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4210         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4211         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4212         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4214         [BZ #21026]
4215         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4216         (readahead): New syscall entry.
4218 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4220         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4221         around tests of strncat with large sizes.
4223         * malloc/tst-malloc.c: Include <libc-internal.h>.
4224         (do_test): Disable -Walloc-size-larger-than= around tests of
4225         malloc with negative sizes.
4226         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4227         (do_test): Disable -Walloc-size-larger-than= around tests of
4228         malloc and realloc with negative sizes.
4229         * malloc/tst-realloc.c: Include <libc-internal.h>.
4230         (do_test): Disable -Walloc-size-larger-than= around tests of
4231         realloc with negative sizes.
4233         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4234         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4235         allowed to 16 ulps.
4236         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4237         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4238         * math/auto-libm-test-out: Regenerated.
4240 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4242         * math/Makefile (libm-calls): Move wrappers...
4243         (libm-compat-call-auto): Here.
4244         (libm-routines): Add items in libm-compat-calls-auto.
4245         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4246         the filenames of the wrappers that have been renamed.
4247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4250         * math/w_acos.c: Add _compat suffix to filename.
4251         * math/w_acosf.c: Likewise.
4252         * math/w_acosh.c: Likewise.
4253         * math/w_acoshf.c: Likewise.
4254         * math/w_acoshl.c: Likewise.
4255         * math/w_acosl.c: Likewise.
4256         * math/w_asin.c: Likewise.
4257         * math/w_asinf.c: Likewise.
4258         * math/w_asinl.c: Likewise.
4259         * math/w_atan2.c: Likewise.
4260         * math/w_atan2f.c: Likewise.
4261         * math/w_atan2l.c: Likewise.
4262         * math/w_atanh.c: Likewise.
4263         * math/w_atanhf.c: Likewise.
4264         * math/w_atanhl.c: Likewise.
4265         * math/w_cosh.c: Likewise.
4266         * math/w_coshf.c: Likewise.
4267         * math/w_coshl.c: Likewise.
4268         * math/w_exp10.c: Likewise.
4269         * math/w_exp10f.c: Likewise.
4270         * math/w_exp10l.c: Likewise.
4271         * math/w_exp2.c: Likewise.
4272         * math/w_exp2f.c: Likewise.
4273         * math/w_exp2l.c: Likewise.
4274         * math/w_fmod.c: Likewise.
4275         * math/w_fmodf.c: Likewise.
4276         * math/w_fmodl.c: Likewise.
4277         * math/w_hypot.c: Likewise.
4278         * math/w_hypotf.c: Likewise.
4279         * math/w_hypotl.c: Likewise.
4280         * math/w_j0.c: Likewise.
4281         * math/w_j0f.c: Likewise.
4282         * math/w_j0l.c: Likewise.
4283         * math/w_j1.c: Likewise.
4284         * math/w_j1f.c: Likewise.
4285         * math/w_j1l.c: Likewise.
4286         * math/w_jn.c: Likewise.
4287         * math/w_jnf.c: Likewise.
4288         * math/w_jnl.c: Likewise.
4289         * math/w_log10.c: Likewise.
4290         * math/w_log10f.c: Likewise.
4291         * math/w_log10l.c: Likewise.
4292         * math/w_log2.c: Likewise.
4293         * math/w_log2f.c: Likewise.
4294         * math/w_log2l.c: Likewise.
4295         * math/w_log.c: Likewise.
4296         * math/w_logf.c: Likewise.
4297         * math/w_logl.c: Likewise.
4298         * math/w_pow.c: Likewise.
4299         * math/w_powf.c: Likewise.
4300         * math/w_powl.c: Likewise.
4301         * math/w_remainder.c: Likewise.
4302         * math/w_remainderf.c: Likewise.
4303         * math/w_remainderl.c: Likewise.
4304         * math/w_scalb.c: Likewise.
4305         * math/w_scalbf.c: Likewise.
4306         * math/w_scalbl.c: Likewise.
4307         * math/w_sinh.c: Likewise.
4308         * math/w_sinhf.c: Likewise.
4309         * math/w_sinhl.c: Likewise.
4310         * math/w_sqrt.c: Likewise.
4311         * math/w_sqrtf.c: Likewise.
4312         * math/w_sqrtl.c: Likewise.
4313         * math/w_tgamma.c: Likewise.
4314         * math/w_tgammaf.c: Likewise.
4315         * math/w_tgammal.c: Likewise.
4317         * math/w_acos_compat.c: New file copied from above and
4318         adjusted for new #includes path
4319         * math/w_acosf_compat.c: Likewise.
4320         * math/w_acosh_compat.c: Likewise.
4321         * math/w_acoshf_compat.c: Likewise.
4322         * math/w_acoshl_compat.c: Likewise.
4323         * math/w_acosl_compat.c: Likewise.
4324         * math/w_asin_compat.c: Likewise.
4325         * math/w_asinf_compat.c: Likewise.
4326         * math/w_asinl_compat.c: Likewise.
4327         * math/w_atan2_compat.c: Likewise.
4328         * math/w_atan2f_compat.c: Likewise.
4329         * math/w_atan2l_compat.c: Likewise.
4330         * math/w_atanh_compat.c: Likewise.
4331         * math/w_atanhf_compat.c: Likewise.
4332         * math/w_atanhl_compat.c: Likewise.
4333         * math/w_cosh_compat.c: Likewise.
4334         * math/w_coshf_compat.c: Likewise.
4335         * math/w_coshl_compat.c: Likewise.
4336         * math/w_exp10_compat.c: Likewise.
4337         * math/w_exp10f_compat.c: Likewise.
4338         * math/w_exp10l_compat.c: Likewise.
4339         * math/w_exp2_compat.c: Likewise.
4340         * math/w_exp2f_compat.c: Likewise.
4341         * math/w_exp2l_compat.c: Likewise.
4342         * math/w_fmod_compat.c: Likewise.
4343         * math/w_fmodf_compat.c: Likewise.
4344         * math/w_fmodl_compat.c: Likewise.
4345         * math/w_hypot_compat.c: Likewise.
4346         * math/w_hypotf_compat.c: Likewise.
4347         * math/w_hypotl_compat.c: Likewise.
4348         * math/w_j0_compat.c: Likewise.
4349         * math/w_j0f_compat.c: Likewise.
4350         * math/w_j0l_compat.c: Likewise.
4351         * math/w_j1_compat.c: Likewise.
4352         * math/w_j1f_compat.c: Likewise.
4353         * math/w_j1l_compat.c: Likewise.
4354         * math/w_jn_compat.c: Likewise.
4355         * math/w_jnf_compat.c: Likewise.
4356         * math/w_jnl_compat.c: Likewise.
4357         * math/w_log10_compat.c: Likewise.
4358         * math/w_log10f_compat.c: Likewise.
4359         * math/w_log10l_compat.c: Likewise.
4360         * math/w_log2_compat.c: Likewise.
4361         * math/w_log2f_compat.c: Likewise.
4362         * math/w_log2l_compat.c: Likewise.
4363         * math/w_log_compat.c: Likewise.
4364         * math/w_logf_compat.c: Likewise.
4365         * math/w_logl_compat.c: Likewise.
4366         * math/w_pow_compat.c: Likewise.
4367         * math/w_powf_compat.c: Likewise.
4368         * math/w_powl_compat.c: Likewise.
4369         * math/w_remainder_compat.c: Likewise.
4370         * math/w_remainderf_compat.c: Likewise.
4371         * math/w_remainderl_compat.c: Likewise.
4372         * math/w_scalb_compat.c: Likewise.
4373         * math/w_scalbf_compat.c: Likewise.
4374         * math/w_scalbl_compat.c: Likewise.
4375         * math/w_sinh_compat.c: Likewise.
4376         * math/w_sinhf_compat.c: Likewise.
4377         * math/w_sinhl_compat.c: Likewise.
4378         * math/w_sqrt_compat.c: Likewise.
4379         * math/w_sqrtf_compat.c: Likewise.
4380         * math/w_sqrtl_compat.c: Likewise.
4381         * math/w_tgamma_compat.c: Likewise.
4382         * math/w_tgammaf_compat.c: Likewise.
4383         * math/w_tgammal_compat.c: Likewise.
4385         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4386         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4387         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4388         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4389         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4390         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4391         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4392         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4393         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4394         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4395         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4396         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4397         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4398         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4399         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4400         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4401         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4402         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4403         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4404         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4405         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4406         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4407         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4408         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4409         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4410         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4411         * sysdeps/ia64/fpu/w_log.c: Likewise.
4412         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4413         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4414         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4415         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4416         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4417         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4418         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4419         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4420         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4421         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4422         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4423         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4424         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4425         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4426         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4427         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4428         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4429         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4430         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4431         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4432         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4433         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4434         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4435         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4436         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4437         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4438         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4439         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4440         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4441         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4442         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4443         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4444         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4445         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4450         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4451         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4452         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4454         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4456         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4457         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4458         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4460         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4461         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4462         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4463         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4464         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4465         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4466         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4467         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4468         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4469         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4470         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4471         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4472         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4473         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4474         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4475         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4476         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4477         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4478         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4479         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4480         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4481         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4482         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4483         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4484         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4486         Likewise.
4487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4488         Likewise.
4489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4491         Likewise.
4492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4493         Likewise.
4494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4495         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4497         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4499         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4500         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4507         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4508         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4510         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4511         and adjusted for new #includes path
4512         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4513         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4514         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4515         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4516         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4517         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4518         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4519         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4520         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4521         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4522         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4523         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4524         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4525         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4526         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4527         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4528         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4529         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4530         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4531         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4532         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4533         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4534         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4535         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4536         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4537         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4538         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4539         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4540         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4541         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4542         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4543         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4544         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4545         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4546         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4547         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4548         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4549         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4550         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4551         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4552         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4553         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4554         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4555         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4556         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4557         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4558         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4559         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4560         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4561         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4562         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4563         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4564         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4565         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4566         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4567         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4568         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4569         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4570         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4571         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4572         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4573         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4574         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4575         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4576         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4577         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4578         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4579         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4580         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4581         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4582         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4583         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4584         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4585         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4586         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4587         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4588         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4589         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4590         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4591         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4592         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4593         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4594         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4595         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4596         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4597         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4598         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4599         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4600         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4601         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4602         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4603         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4604         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4605         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4606         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4607         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4608         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4609         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4610         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4612         Likewise.
4613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4614         Likewise.
4615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4616         Likewise.
4617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4618         Likewise.
4619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4620         Likewise.
4621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4622         Likewise.
4623         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4624         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4626         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4627         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4628         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4630         Likewise.
4631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4632         Likewise.
4633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4634         Likewise.
4635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4636         Likewise.
4637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4639         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4640         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4642 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4644         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4645         __jmp_buf_internal_tag.
4647         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4648         preserve NaN payload if [__mips_nan2008].
4649         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4651         [BZ #21022]
4652         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4654 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4656         * sysdeps/i386/fpu/libm-test-ulps: Update.
4658 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4660         * sysdeps/ia64/strcat.c: Remove file.
4661         * sysdeps/powerpc/strcat.c: Likewise.
4662         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4663         C implementation.
4664         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4665         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4667 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4668             Steven Munroe  <sjmunroe@us.ibm.com>
4669             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4671         [BZ #20822]
4672         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4673         (__lll_lock_elision): Access adapt_count via C11 atomics.
4674         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4675         (__lll_trylock_elision): Likewise.
4676         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4677         (__lll_unlock_elision):  Update adapt_count variable inside the
4678         critical section using C11 atomics.
4680 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4682         * math/test-fenvinline.c (do_test): Disable tests of raised
4683         exceptions if !EXCEPTION_TESTS (FLOAT).
4685 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4687         [BZ #19390]
4688         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4689         maximum string size.
4690         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4691         in pointer addition.
4692         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4693         Likewise.
4695 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4697         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4698         passed to tst-ldconfig-X.sh.
4700 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4702         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4704 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4706         [BZ #21019]
4707         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4708         New syscall entry.
4709         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4710         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4711         lseek.
4713         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4714         power4 glibc for powerpc-linux-gnu.
4716 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4718         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4719         semctl.
4721 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4723         * math/test-nearbyint-except.c: Include <stdbool.h>.
4724         (any_supported): New variable.
4725         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4726         set any_supported.
4727         (do_test): Return 77 if no floating-point type supported
4728         exceptions.
4730         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4731         condition on [__mips_hard_float].
4733 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4735         [BZ #21014]
4736         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4737         in pointer addition.
4738         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4740 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4742         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4743         new condvar.
4745 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4747         * scripts/build-many-glibcs.py (Context.checkout): Default
4748         binutils version to 2.28 branch.
4750 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4752         * support/support_format_netent.c (support_format_netent): Work
4753         around alpha struct netent definition difference.
4755 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4757         * support/xwrite.c (xwrite): Use %td for pointer difference.
4759 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4761         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4762         have-tunables only.
4763         (tests-static): Add tst-malloc-usable-static-tunables for
4764         have-tunables only.
4766 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4768         * scripts/config.guess: Update to version 2017-01-01.
4769         * scripts/config.sub: Update to version 2017-01-01.
4771         * NEWS: Update copyright dates.
4772         * catgets/gencat.c (print_version): Likewise.
4773         * csu/version.c (banner): Likewise.
4774         * debug/catchsegv.sh: Likewise.
4775         * debug/pcprofiledump.c (print_version): Likewise.
4776         * debug/xtrace.sh (do_version): Likewise.
4777         * elf/ldconfig.c (print_version): Likewise.
4778         * elf/ldd.bash.in: Likewise.
4779         * elf/pldd.c (print_version): Likewise.
4780         * elf/sotruss.sh: Likewise.
4781         * elf/sprof.c (print_version): Likewise.
4782         * iconv/iconv_prog.c (print_version): Likewise.
4783         * iconv/iconvconfig.c (print_version): Likewise.
4784         * locale/programs/locale.c (print_version): Likewise.
4785         * locale/programs/localedef.c (print_version): Likewise.
4786         * login/programs/pt_chown.c (print_version): Likewise.
4787         * malloc/memusage.sh (do_version): Likewise.
4788         * malloc/memusagestat.c (print_version): Likewise.
4789         * malloc/mtrace.pl: Likewise.
4790         * manual/libc.texinfo: Likewise.
4791         * nptl/version.c (banner): Likewise.
4792         * nscd/nscd.c (print_version): Likewise.
4793         * nss/getent.c (print_version): Likewise.
4794         * nss/makedb.c (print_version): Likewise.
4795         * posix/getconf.c (main): Likewise.
4796         * scripts/test-installation.pl: Likewise.
4797         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4799         * All files with FSF copyright notices: Update copyright dates
4800         using scripts/update-copyrights.
4801         * intl/plural.c: Regenerated.
4802         * locale/programs/charmap-kw.h: Likewise.
4803         * locale/programs/locfile-kw.h: Likewise.
4805 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4807         [BZ #20593]
4808         Update DNS RR type definitions.
4809         * scripts/gen-rrtypes.py: New file.
4810         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4811         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4812         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4813         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4814         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4815         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4816         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4817         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4818         ns_t_ta, ns_t_dlv.
4819         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4820         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4821         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4822         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4823         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4824         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4825         Define.
4826         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4827         entry for ns_t_zxfr.
4829 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4831         [BZ #18784]
4832         CVE-2015-5180
4833         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4834         T_UNSPEC.  Adjust value.
4835         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4836         * resolv/res_query.c (__libc_res_nquery): Likewise.
4837         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4838         QTYPEs.
4839         * resolv/tst-resolv-qtypes.c: New file.
4840         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4841         (tst-resolv-qtypes): Link against libresolv and libpthread.
4843 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4845         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4847 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4849         * manual/tunables.texi: New chapter.
4850         * manual/Makefile (chapters): Add it.
4851         * manual/probes.texi (@node): Point to the Tunables chapter.
4853         * Makeconfig (have-tunables): Check for non-negative instead
4854         of positive.
4855         * configure.ac: Add 'valstring' as a valid value for
4856         --enable-tunables.
4857         * configure: Regenerate.
4858         * elf/Makefile (have-tunables): Check for non-negative instead
4859         of positive.
4860         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4861         dl-tunables.c.
4862         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4863         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4864         (tunables_strdup): Likewise.
4865         (disable_tunables): Likewise.
4866         (parse_tunables): Likewise.
4867         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4868         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4869         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4870         (TUNABLES_FRONTEND_yes): New macro, define as
4871         TUNABLES_FRONTEND_valstring by default.
4872         * manual/install.texi: Document new acceptable values for
4873         --enable-tunables.
4874         * INSTALL: Regenerate.
4876         * config.make.in (have-loop-to-function): Define.
4877         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4878         -fno-tree-loop-distribute-patterns.
4879         * elf/dl-tunables.c: Include libc-internals.h.
4880         (GLIBC_TUNABLES): New macro.
4881         (tunables_strdup): New function.
4882         (parse_tunables): New function.
4883         (min_strlen): New function.
4884         (__tunables_init): Use the new functions and macro.
4885         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4886         * malloc/tst-malloc-usable-tunables.c: New test case.
4887         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4888         * malloc/Makefile (tests, tests-static): Add tests.
4890         * manual/install.texi: Add --enable-tunables option.
4891         * INSTALL: Regenerate.
4892         * README.tunables: New file.
4893         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4894         (before-compile): Generate dl-tunable-list.h early.
4895         * config.h.in: Add HAVE_TUNABLES.
4896         * config.make.in: Add have-tunables.
4897         * configure.ac: Add --enable-tunables option.
4898         * configure: Regenerate.
4899         * csu/init-first.c (__libc_init_first): Move
4900         __libc_init_secure earlier...
4901         * csu/init-first.c (LIBC_START_MAIN):... to here.
4902         Include dl-tunables.h, libc-internal.h.
4903         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4904         binaries.
4905         * elf/Makefile (dl-routines): Add dl-tunables.
4906         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4907         namespace.
4908         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4909         only when !HAVE_TUNABLES.
4910         * elf/rtld.c (process_envvars): Likewise.
4911         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4912         (_dl_sysdep_start): Call __tunables_init.
4913         * elf/dl-tunable-types.h: New file.
4914         * elf/dl-tunables.c: New file.
4915         * elf/dl-tunables.h: New file.
4916         * elf/dl-tunables.list: New file.
4917         * malloc/tst-malloc-usable-static.c: New test case.
4918         * malloc/Makefile (tests-static): Add it.
4919         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4920         Define TUNABLE_NAMESPACE.
4921         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4922         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4923         callback functions.
4924         (ptmalloc_init): Set tunable values.
4925         * scripts/gen-tunables.awk: New file.
4926         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4927         (_dl_sysdep_start): Call __tunables_init.
4929 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4931         * resolv/resolv.h (RES_BLAST): Deprecate.
4932         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4933         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4934         to RES_BLAST.
4936 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4938         [BZ #19582]
4939         Deprecate RES_USE_INET6.
4940         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4941         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4942         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4943         RES_USE_INET6.
4944         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4945         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4946         (_nss_nisplus_gethostbyaddr_r): Likewise.
4947         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4948         of res_use_inet6.
4949         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4950         instead of RES_USE_INET6.
4951         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4952         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4953         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4954         Likewise.
4955         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4956         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4957         Likewise.
4958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4959         (_nss_dns_gethostbyname_r): Likewise.
4960         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4961         alternate RES_USE_INET6 handling.
4962         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4963         instead of RES_USE_INET6.
4964         * resolv/res_init.c (res_setoptions): Likewise.
4965         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4966         * resolv/resolv-internal.h: New file.
4967         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4968         make the deprecation warning non-fatal.
4969         * resolv/README (Using the resolver in multi-threaded code): Drop
4970         reference to RES_USE_INET6.
4971         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4972         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4974 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4976         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4977         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4978         tst-resolv-search.
4979         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4980         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4981         with libresolv and libpthread.
4982         * resolv/tst-bug18665.c: New file.
4983         * resolv/tst-bug18665-tcp: Likewise.
4984         * resolv/tst-res_use_inet6: Likewise.
4985         * resolv/tst-resolv-basic: Likewise.
4986         * resolv/tst-resolv-network: Likewise.
4987         * resolv/tst-resolv-search: Likewise.
4988         * support/Makefile (libsupport-routines): Add check_addrinfo,
4989         check_dns_packet, check_hostent, check_netent, resolv_test,
4990         support_format_address_family, support_format_addrinfo,
4991         support_format_dns_packet, support_format_herrno,
4992         support_format_hostent, support_format_netent, support_run_diff,
4993         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4994         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4995         xstrdup, xwrite.
4996         * support/check_addrinfo.c: New file.
4997         * support/check_dns_packet.c: Likewise.
4998         * support/check_hostent.c: Likewise.
4999         * support/check_netent.c: Likewise.
5000         * support/check_nss.h: Likewise.
5001         * support/format_nss.h: Likewise.
5002         * support/resolv_test.c: Likewise.
5003         * support/resolv_test.h: Likewise.
5004         * support/run_diff.h: Likewise.
5005         * support/support_format_address_family.c: Likewise.
5006         * support/support_format_addrinfo.c: Likewise.
5007         * support/support_format_dns_packet.c: Likewise.
5008         * support/support_format_herrno.c: Likewise.
5009         * support/support_format_hostent.c: Likewise.
5010         * support/support_format_netent.c: Likewise.
5011         * support/support_run_diff.c: Likewise.
5012         * support/xaccept.c: Likewise.
5013         * support/xbind.c: Likewise.
5014         * support/xconnect.c: Likewise.
5015         * support/xfclose.c: Likewise.
5016         * support/xfopen.c: Likewise.
5017         * support/xgetsockname.c: Likewise.
5018         * support/xlisten.c: Likewise.
5019         * support/xmemstream.c: Likewise.
5020         * support/xmemstream.h: Likewise.
5021         * support/xpoll.c: Likewise.
5022         * support/xpthread_once.c: Likewise.
5023         * support/xrecvfrom.c: Likewise.
5024         * support/xsendto.c: Likewise.
5025         * support/xsetsockopt.c: Likewise.
5026         * support/xstdio.h: Likewise.
5027         * support/xstrdup.c: Likewise.
5028         * support/support.h (xstrdup): Declare.
5029         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5030         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5031         * support/xthread.h (xpthread_once): Likwise.
5032         * support/xunistd.h (xwrite): Declare.
5034 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5036         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5037         (test_verbose): Declare.
5038         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5039         * support/support_test_main.c (default_options): Likewise.
5040         (usage, support_test_main): Handle 'v'.
5041         (test_verbose): Define.
5042         * support/tst-support_record_failure.c (do_test): Use
5043         test_verbose.
5044         * support/tst-support_record_failure-2.sh (different_status): Add
5045         --verbose test.
5047 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5049         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5050         test failures are recorded.
5051         * support/check.c (support_print_failure_impl): Call
5052         support_record_failure.
5053         (support_exit_failure_impl): Call support_record_failure if status
5054         indicates failure.
5055         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5056         * support/xasprintf.c (xasprintf): Likewise.
5057         * support/xfork.c (xfork): Likewise.
5058         * support/xpthread_check_return.c (xpthread_check_return):
5059         Likewise.
5060         * support/xsocket.c (xsocket): Likeweise.
5061         * support/xwaitpid.c (xwaitpid): Likewise.
5062         * support/support_record_failure.c (struct test_failures): Adjust
5063         to coding style.
5064         * support/support_test_verify_impl.c (support_test_verify_impl):
5065         Adjust error messages.
5066         * support/tst-support_record_failure-2.sh (different_status):
5067         Adjust error messages.
5069 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5071         * support/namespace.h: New file.
5072         * support/support_become_root.c: Likewise.
5073         * support/support_enter_network_namespace.c: Likewise.
5074         * support/tst-support-namespace.c: Likewise.
5075         * support/xsocket.c: Likewise.
5076         * support/xsocket.h: Likewise.
5077         * support/Makefile (libsupport-routines): Add support_become_root,
5078         support_enter_network_namespace, xsocket.
5079         (tests): Add tst-support-namespace.
5081 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5083         [BZ #17252]
5084         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5085         __USE_GNU.
5087 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5089         [BZ #13165]
5090         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5091         use new algorithm.
5092         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5093         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5094         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5095         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5096         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5097         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5098         __condvar_cleanup_waiting, __condvar_dec_grefs,
5099         __pthread_cond_wait_common): New.
5100         (__condvar_cleanup): Remove.
5101         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5102         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5103         Likewise.
5104         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5105         Likewise.
5106         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5107         * nptl/tst-cond1.c: Add comment.
5108         * nptl/tst-cond20.c (do_test): Adapt.
5109         * nptl/tst-cond22.c (do_test): Likewise.
5110         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5111         structure.
5112         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5113         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5114         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5115         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5116         Likewise.
5117         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5118         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5119         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5120         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5121         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5122         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5123         Likewise.
5124         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5125         Likewise.
5126         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5127         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5128         (COND_CLOCK_BITS): Adapt.
5129         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5130         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5131         __PTHREAD_COND_SHARED_MASK): New.
5132         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5133         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5134         * nptl/nptl_lock_constants.pysym: Adapt.
5135         * nptl/test-cond-printers.py: Adapt.
5136         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5137         cond_compat_check_and_clear): Adapt.
5138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5139         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5140         (__pthread_cond_timedwait): ... and move here.
5141         * nptl/DESIGN-condvar.txt: Remove file.
5142         * nptl/lowlevelcond.sym: Likewise.
5143         * nptl/pthread_cond_timedwait.c: Likewise.
5144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5145         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5150         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5151         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5152         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5154         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5155         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5156         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5159         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5161 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5163         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5164         (fromfp): New declaration.
5165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5168         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5173         * math/math.h: Include <bits/types.h>.
5174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5175         constant and macro.
5176         (FP_INT_DOWNWARD): Likewise.
5177         (FP_INT_TOWARDZERO): Likewise.
5178         (FP_INT_TONEARESTFROMZERO): Likewise.
5179         (FP_INT_TONEAREST): Likewise.
5180         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5181         (fromfpf): Likewise.
5182         (fromfpl): Likewise.
5183         (ufromfp): Likewise.
5184         (ufromfpf): Likewise.
5185         (ufromfpl): Likewise.
5186         (fromfpx): Likewise.
5187         (fromfpxf): Likewise.
5188         (fromfpxl): Likewise.
5189         (ufromfpx): Likewise.
5190         (ufromfpxf): Likewise.
5191         (ufromfpxl): Likewise.
5192         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5193         s_fromfpxF and s_ufromfpxF.
5194         * math/gen-fromfp-tests.py: New file.
5195         * math/gen-fromfp-tests-inputs: Likewise.
5196         * math/libm-test.inc: Include <stdint.h>
5197         (check_intmax_t): New function.
5198         (check_uintmax_t): Likewise.
5199         (struct test_fiu_M_data): New type.
5200         (struct test_fiu_U_data): Likewise.
5201         (RUN_TEST_fiu_M): New macro.
5202         (RUN_TEST_LOOP_fiu_M): Likewise.
5203         (RUN_TEST_fiu_U): Likewise.
5204         (RUN_TEST_LOOP_fiu_U): Likewise.
5205         (fromfp_test_data): New array.
5206         (fromfp_test): New function.
5207         (fromfpx_test_data): New array.
5208         (fromfpx_test): New function.
5209         (ufromfp_test_data): New array.
5210         (ufromfp_test): New function.
5211         (ufromfpx_test_data): New array.
5212         (ufromfpx_test): New function.
5213         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5214         ufromfpx_test.
5215         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5216         characters.
5217         * math/test-tgmath-ret.c: Include <stdint.h>.
5218         (rm): New variable.
5219         (width): Likewise.
5220         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5221         called function.
5222         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5223         CHECK_RET_CONST_TYPE.
5224         (CHECK_RET_CONST_DOUBLE): Likewise.
5225         (CHECK_RET_CONST_LDOUBLE): Likewise.
5226         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5227         macros.
5228         (fromfp): New CHECK_RET_CONST call.
5229         (ufromfp): Likewise.
5230         (fromfpx): Likewise.
5231         (ufromfpx): Likewise.
5232         (do_test): Call check_return_fromfp, check_return_ufromfp,
5233         check_return_fromfpx and check_return_ufromfpx.
5234         * math/test-tgmath.c: Include <stdint.h>
5235         (NCALLS): Increase to 138.
5236         (F(compile_test)): Initialize i.  Call fromfp functions.
5237         (F(fromfp)): New function.
5238         (F(fromfpx)): Likewise.
5239         (F(ufromfp)): Likewise.
5240         (F(ufromfpx)): Likewise.
5241         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5242         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5243         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5244         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5245         ufromfpxl.
5246         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5247         ufromfp and ufromfpx.
5248         * math/fromfp.h: New file.
5249         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5250         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5251         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5252         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5253         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5254         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5255         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5256         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5257         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5258         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5259         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5260         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5261         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5262         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5263         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5264         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5265         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5266         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5267         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5268         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5269         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5270         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5271         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5272         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5273         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5274         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5275         ufromfp, fromfpx and ufromfpx.
5276         (CFLAGS-nldbl-fromfp.c): New variable.
5277         (CFLAGS-nldbl-fromfpx.c): Likewise.
5278         (CFLAGS-nldbl-ufromfp.c): Likewise.
5279         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5281         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5282         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5283         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5284         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5285         * sysdeps/nacl/libm.abilist: Update.
5286         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5287         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5288         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5289         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5290         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5291         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5292         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5293         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5294         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5295         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5296         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5297         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5299         Likewise.
5300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5301         Likewise.
5302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5303         Likewise.
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5305         Likewise.
5306         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5307         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5308         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5309         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5310         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5312         Likewise.
5313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5314         Likewise.
5315         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5317         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5319 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5321         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5322         compat-gethnamaddr.
5323         (CPPFLAGS): Remove.
5324         * resolv/gethnamaddr.c: Rename ...
5325         * resolv/compat-gethnamaddr.c: ... to this file.
5326         (_endhtent): Make static.
5327         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5328         symbol.
5329         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5330         compat symbol.
5331         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5332         symbol.
5333         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5334         Turn into compat symbol.
5335         * include/resolv.h (_endhtent): Remove declaration.
5337 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5339         * bits/types.h (__intmax_t): New typedef.
5340         (__uintmax_t): Likewise.
5341         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5342         (intmax_t): Define using __intmax_t.
5343         (uintmax_t): Define using __uintmax_t.
5345         * support/Makefile (tests-special): Make definition conditional on
5346         [$(run-built-tests) = yes].
5347         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5348         on [$(run-built-tests) = yes].
5350 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5352         * Rules (tests): Add tests-printers-programs to tests to be
5353         built.
5355 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5357         * sysvipc/Makefile (tests): Add test-sysvshm.
5358         * sysvipc/test-sysvshm.c: New file.
5360         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5361         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5362         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5363         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5364         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5365         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5366         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5369         Likewise.
5370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5371         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5372         is defined.
5374         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5375         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5376         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5377         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5378         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5379         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5380         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5383         Likewise.
5384         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5385         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5386         defined.
5388         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5389         oldshmctl.
5390         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5391         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5392         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5393         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5394         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5395         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5396         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5397         Likewise.
5398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5399         Likewise.
5400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5401         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5402         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5403         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5404         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5405         implementation.
5406         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5407         if it is defined.
5409         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5410         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5411         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5412         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5413         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5414         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5415         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5416         Likewise.
5417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5418         Likewise.
5419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5420         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5421         Define to __NR_osf_shmat.
5422         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5423         defined.
5425         * sysvipc/Makefile (tests): Add test-sysvsem.
5426         * sysvipc/test-sysvsem.c: New file.
5428         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5429         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5430         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5439         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5440         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5441         add a comment about s390 syscall difference from default one.
5442         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5443         syscall if it is defined.
5445         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5446         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5447         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5448         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5449         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5450         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5451         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5454         Likewise.
5455         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5456         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5457         defined.
5459         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5460         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5461         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5462         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5463         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5464         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5465         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5468         Likewise.
5469         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5470         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5471         if it is defined.
5473         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5474         oldsemctl.
5475         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5476         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5477         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5478         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5479         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5480         implementation.
5481         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5482         syscall if it is defined.
5483         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5484         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5485         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5486         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5487         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5488         Likewise.
5489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5491         * sysvipc/Makefile (tests): Add test-sysvmsg.
5492         * sysvipc/test-sysvmsg.c: New file.
5493         * support/check.h (FAIL_UNSUPPORTED): New define.
5495         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5496         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5497         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5498         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5499         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5500         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5501         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5502         Likewise.
5503         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5504         Likewise.
5505         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5506         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5507         define.
5509         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5510         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5511         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5512         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5513         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5514         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5515         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5516         Likewise.
5517         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5518         Likewise.
5519         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5520         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5521         if defined.
5523         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5524         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5525         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5526         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5527         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5528         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5529         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5530         Likewise.
5531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5532         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5533         Likewise.
5534         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5535         if defined.
5536         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5538         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5539         oldmsgctl.
5540         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5541         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5542         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5543         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5544         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5545         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5546         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5547         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5548         Likewise.
5549         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5550         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5551         implementation.
5552         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5553         if defined.
5555         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5556         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5557         definition and define its own.
5558         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5559         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5560         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5561         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5562         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5563         definitions to common header.
5564         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5565         operation from ipc_ops.h.
5567         * sysdeps/unix/sysv/linux/kernel-features.h
5568         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5569         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5570         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5572         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5573         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5574         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5575         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5576         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5577         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5578         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5579         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5580         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5581         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5582         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5584 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5586         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5587         overflow in pointer addition.
5589 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5591         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5592         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5594         (strchr): Add __strchr_power8 to list of strchr functions.
5595         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5596         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5598         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5599         (strchr): Add __strchr_power8 to ifunc list.
5600         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5601         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5602         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5603         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5605 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5607         * support/Makefile (libsupport-routines): Add
5608         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5609         (tests): Add tst-support_record_failure.
5610         (tests-special): tst-support_record_failure-2.
5611         (tst-support_record_failure-2.out): Depend on
5612         tst-support_record_failure-2.sh and tst-support_record_failure.
5613         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5614         (support_test_verify_impl, support_record_failure)
5615         (support_report_failure, support_report_failure_reset): Declare.
5616         * support/support_test_main.c (adjust_exit_status): New function.
5617         (support_test_main): Call it to incorporate record test failures.
5618         * support/support_test_verify_impl.c: New file.
5619         * support/support_record_failure.c: Likewise.
5620         * support/tst-support_record_failure.c: Likewise.
5621         * support/tst-support_record_failure-2.sh: Likewise.
5622         * support/xunistd.h: Likewise.
5623         * support/xfork.c: Likewise.
5624         * support/xwaitpid.c: Likewise.
5626 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5628         * scripts/check-c++-types.sh: Add comments.
5630 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5632         [BZ #19514]
5633         * resolv/res_send.c: Fix typo in comment.
5634         * sysdeps/i386/i386-mcount.S: Likewise.
5635         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5636         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5637         * sysdeps/sparc/sparc-mcount.S: Likewise.
5639 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5641         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5642         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5643         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5644         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5645         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5646         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5647         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5648         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5650 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5652         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5654 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5656         [BZ #17252]
5657         * posix/unistd.h (getentropy): Declare.
5659 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5661         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5662         Remove.
5663         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5664         (cmd): Remove spoof, nospoof, spoofalert.
5665         (parse_line): Ignore spoof-related lines.
5666         (do_init): Do not process RESOLV_SPOOF_CHECK.
5668 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5670         [BZ #20964]
5671         sunrpc: Always obtain AF_INET addresses from NSS.
5672         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5673         * sunrpc/rpc_gethostbyname.c: New file.
5674         * sunrpc/Makefile (routines): Add it.
5675         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5676         * sunrpc/clnt_simp.c (callrpc): Likewise.
5677         * sunrpc/getrpcport.c (getrpcport): Likewise.
5679 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5681         * sunrpc/rpcinfo.c: Remove.
5682         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5684 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5686         [BZ #19387]
5687         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5688         addition.
5689         * string/test-memchr.c (do_test): Remove alignment limitation.
5690         (test_main): Add test that trigger BZ #19387.
5692 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5694         [BZ #7065]
5695         Enable stack protectore if requested by ./configure.
5696         * Makeconfig (+stack-protector): New variable.
5697         (+cflags): Use it.
5699 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5701         [BZ #7065]
5702         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5703         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5704         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5705         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5706         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5708 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5710         [BZ #7065]
5711         * login/Makefile (pt_chown-cflags): Remove.
5712         * nscd/Makefile (CFLAGS-nscd): Likewise.
5713         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5715 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5717         [BZ #7065]
5718         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5719         non-libc-linking testcase.
5721 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5722             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5723             Florian Weimer  <fweimer@redhat.com>
5725         [BZ #7065]
5726         PLT avoidance for __stack_chk_fail*.
5727         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5728         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5729         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5730         __stack_chk_fail_local alias.
5731         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5732         (__stack_chk_fail): Turn into hidden reference to
5733         __stack_chk_fail_local.
5735 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5737         [BZ #7065]
5738         * configure.ac: Add check for unsupported stack-protection level.
5739         (libc_cv_predef_stack_protector): Remove.
5740         (no_ssp): New variable.
5741         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5742         (stack_protector): Set to -fno-stack-protector similarly.
5743         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5744         (libc_cv_asm_set_directive): Likewise.
5745         (libc_cv_protected_data): Likewise.
5746         (libc_cv_z_combreloc): Likewise.
5747         (libc_cv_hashstyle): Likewise.
5748         (libc_cv_has_glob_dat): Likewise.
5749         (libc_cv_output_format): Likewise.
5750         (libc_cv_output_format): Likewise.
5751         (libc_cv_ehdr_start): Likewise.
5752         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5753         (LIBC_LINKER_FEATURE): Likewise.
5754         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5756 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5758         [BZ #7065]
5759         * elf/Makefile (dummy-stack-chk-fail): New.
5760         (librtld.map): Use it.
5762 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5764         [BZ #7065]
5765         Compile the dynamic linker without stack protection.
5766         * elf/Makefile (elide-stack-protector): New.
5767         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5768         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5769         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5770         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5772 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5774         [BZ #7065]
5775         * config.make.in (have-ssp, no-stack-protector): New.
5776         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5777         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5778         (CFLAGS-sbrk.op): Likewise.
5779         (CFLAGS-brk.o): Likewise.
5780         (CFLAGS-brk.op): Likewise.
5781         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5782         (CFLAGS-wordcopy.c): Likewise.
5784 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5786         [BZ #7065]
5787         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5788         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5789         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5790         (__ifunc_resolver): Use it.
5791         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5792         inhibit_stack_protector.
5793         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5794         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5795         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5796         (foo_protected_ifunc): Likewise.
5797         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5798         (foo_protected_ifunc): Likewise.
5799         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5800         * sysdeps/nacl/nacl_interface_query.c
5801         (nacl_interface_query_ifunc): Likewise.
5802         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5803         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5804         Likewise.
5805         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5806         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5807         the generated vDSO syscall resolver.
5809 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5810             Florian Weimer  <fweimer@redhat.com>
5812         [BZ #7065]
5813         Initialize the stack guard earlier when linking statically.
5814         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5815         (__pthread_initialize_minimal): Declare.
5816         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5817         declaration.
5818         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5819         stack canary and apply_irel initialization up.  Call
5820         __pthread_initialize_minimal only if linked in.
5821         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5822         constant values.
5823         (__pthread_initialize_minimal): Remove.
5824         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5825         (__pthread_initialize_minimal_internal): Do not call
5826         __libc_setup_tls.
5828 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5830         [BZ #7065]
5831         * configure.ac (libc_cv_ssp): Move up.
5832         (libc_cv_ssp_strong): Likewise.
5833         (libc_cv_ssp_all): New.
5834         (stack_protector): Augment, adding -fstack-protector-all.
5835         (no_stack_protector): New.
5836         (STACK_PROTECTOR_LEVEL): New.
5837         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5838         * manual/install.texi (--enable-stack-protector): Document it.
5839         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5841 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5843         * README.pretty-printers: Must specify CPPFLAGS-* also.
5844         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5845         (CPPFLAGS-test-mutex-printers.c): Define.
5846         (CPPFLAGS-test-condattr-printers.c): Define.
5847         (CPPFLAGS-test-cond-printers.c): Define.
5848         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5849         (CPPFLAGS-test-rwlock-printers.c): Define.
5851         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5852         (tests): Add tst-cancel-getpwuid_r.
5853         * nss/tst-cancel-getpwuid_r.c: New file.
5855         [BZ #11941]
5856         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5857         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5858         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5859         tst-nodelete-dlclose.
5860         (modules-names): Add tst-nodelete-dlclose-dso and
5861         tst-nodelete-dlclose-plugin.
5862         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5863         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5864         ($(objpfx)tst-nodelete-dlclose): Define.
5865         ($(objpfx)tst-nodelete-dlclose.out): Define.
5867 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5869         * scripts/test_printers_common.py: Log GDB output in case of
5870         Python detection failure.
5872 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5874         * configure.ac: Check for python3 or python.
5875         * configure: Regenerated.
5876         * config.make.in (PYTHON): New variable.
5877         * benchtests/Makefile: Don't define PYTHON.
5878         (bench): Define target only if PYTHON was defined.
5879         * Rules: Don't define PYTHON.
5880         Define pretty printer targets only if PYTHON was defined.
5881         (tests-printers): Add to tests-unsupported if PYTHON is not
5882         found.
5883         (python-flags, python-invoke): Remove.
5884         (tests-printers-out): Use PYTHON instead of python-invoke.
5886 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5888         [BZ #20978]
5889         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5890         Compare name == NULL, not name != NULL.
5892         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5893         trailing whitespace removed.
5894         * scripts/config.guess: Update to version 2016-10-02.
5895         * scripts/config.sub: Update to version 2016-11-19.
5896         * scripts/install-sh: Update to version 2016-01-11.22.
5897         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5898         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5900 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5902         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5903         (do_one_test) Restore original string so iteration works.
5904         * string/string-inlines.c (do_test): Create better input strings.
5905         (test_main) Reduce number of testruns.
5906         * string/string-inlines.c (__old_strsep_1c): New function.
5907         (__old_strsep_2c): Likewise.
5908         (__old_strsep_3c): Likewise.
5909         * string/strsep.c (__strsep): Remove case of small delim string.
5910         Call strcspn directly rather than strpbrk.
5911         * string/bits/string2.h (__strsep): Remove define.
5912         (__strsep_1c): Remove.
5913         (__strsep_2c): Remove.
5914         (__strsep_3c): Remove.
5915         (strsep): Remove.
5916         * sysdeps/unix/sysv/linux/internal_statvfs.c
5917         (__statvfs_getflags): Rename to __strsep.
5919 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5921         * csu/libc-tls.c (_dl_tls_setup): Remove.
5922         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5923         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5924         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5926 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5928         [BZ #7065]
5929         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5930         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5932 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5933             Florian Weimer  <fweimer@redhat.com>
5935         [BZ #7065]
5936         * csu/Makefile (tests): Empty assignment and document it.
5937         (tests-static): Remove.
5938         * csu/tst-empty.c: Move to...
5939         * misc/tst-empty.c: ... here.  Switch to new test driver.
5940         * csu/tst-atomic.c: Move to...
5941         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5942         * csu/tst-atomic-long.c: Move to...
5943         * misc/tst-atomic-long.c: ... here.
5944         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5945         tst-atomic-long.
5946         (tests-static): Add tst-empty.
5948 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5950         * manual/nss.texi: Change incorrect @vtable to @table.
5951         * manual/arith.texi: Convert @tables of variables to @vtables
5952         and remove unnecessary indexing.
5953         * manual/filesys.texi: Likewise.
5954         * manual/llio.texi: Likewise.
5955         * manual/memory.texi: Likewise.
5956         * manual/process.texi: Likewise.
5957         * manual/resource.texi: Likewise.
5958         * manual/search.texi: Likewise.
5959         * manual/signal.texi: Likewise.
5960         * manual/socket.texi: Likewise.
5961         * manual/stdio.texi: Likewise.
5962         * manual/sysinfo.texi: Likewise.
5963         * manual/syslog.texi: Likewise.
5964         * manual/terminal.texi: Likewise.
5965         * manual/time.texi: Likewise.
5966         * manual/users.texi: Likewise.
5968 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5970         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5971         (roundeven): New declaration.
5972         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5973         macro.
5974         * math/Versions (roundeven): New libm symbol at version
5975         GLIBC_2.25.
5976         (roundevenf): Likewise.
5977         (roundevenl): Likewise.
5978         * math/Makefile (libm-calls): Add s_roundevenF.
5979         * math/libm-test.inc (roundeven_test_data): New array.
5980         (roundeven_test): New function.
5981         (main): Call roundeven_test.
5982         * math/test-tgmath.c (NCALLS): Increase to 134.
5983         (F(compile_test)): Call roundeven.
5984         (F(roundeven)): New function.
5985         * manual/arith.texi (Rounding Functions): Document roundeven,
5986         roundevenf and roundevenl.
5987         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5988         * include/math.h (roundeven): Use libm_hidden_proto.
5989         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5990         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5991         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5992         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5993         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5994         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5995         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5996         roundeven.
5997         (CFLAGS-nldbl-roundeven.c): New variable.
5998         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5999         * sysdeps/nacl/libm.abilist: Update.
6000         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6003         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6004         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6006         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6008         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6009         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6010         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6011         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6013         Likewise.
6014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6015         Likewise.
6016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6017         Likewise.
6018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6019         Likewise.
6020         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6024         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6028         Likewise.
6029         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6030         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6033 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6035         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6036         preprocessor indentation inside #if.
6038 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6040         * math/libm-test.inc (fmt_ftostr): New function.
6041         (print_float, check_float_internal): Replace some uses of
6042         FTOSTR with uses of fmt_ftostr.
6043         (print_max_error, print_complex_max_error, print_function_ulps)
6044         (print_complex_function_ulps): Remove uses of the macros
6045         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6046         * math/test-double.h (FTOSTR): Define to strfromd.
6047         (PRINTF_EXPR): Delete.
6048         (PRINTF_XEXPR): Likewise.
6049         (PRINTF_NEXPR): Likewise.
6050         * math/test-float.h (FTOSTR): Define to strfromf.
6051         (PRINTF_EXPR): Delete.
6052         (PRINTF_XEXPR): Likewise.
6053         (PRINTF_NEXPR): Likewise.
6054         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6055         (PRINTF_EXPR): Delete.
6056         (PRINTF_XEXPR): Likewise.
6057         (PRINTF_NEXPR): Likewise.
6059 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6061         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6062         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6063         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6064         (__lll_lock_elision): Decrement adapt_count while unlocking
6065         instead of before locking.
6066         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6067         (__lll_trylock_elision): Likewise.
6068         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6069         (__lll_unlock_elision): Likewise.
6071 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6073         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6074         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6075         Use __libc_tbegin_retry macro.
6077 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6079         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6080         Add -msoft-float.
6081         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6082         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6083         Use __libc_t* transaction macros instead of __builtin_t*.
6084         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6085         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6087 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6089         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6090         (__lll_lock_elision): Use atomics to load / store adapt_count.
6091         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6092         (__lll_trylock_elision): Likewise.
6094 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6096         Do not require memset elimination in explicit_bzero test.
6097         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6098         (enum test_expectation): Add NO_EXPECTATIONS.
6099         (subtests): NO_EXPECTATIONS for ordinary clear.
6100         (check_test_buffer): Handle NO_EXPECTATIONS.
6101         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6103 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6105         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6106         (fmaxmag): New declaration.
6107         (fminmag): Likewise.
6108         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6109         macro.
6110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6111         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6112         (fmaxmagf): Likewise.
6113         (fmaxmagl): Likewise.
6114         (fminmag): Likewise.
6115         (fminmagf): Likewise.
6116         (fminmagl): Likewise.
6117         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6118         * math/s_fmaxmag_template.c: New file.
6119         * math/s_fminmag_template.c: Likewise.
6120         * math/libm-test.inc (fmaxmag_test_data): New array.
6121         (fmaxmag_test): New function.
6122         (fminmag_test_data): New array.
6123         (fminmag_test): New function.
6124         (main): Call fmaxmag_test and fminmag_test.
6125         * math/test-tgmath.c (NCALLS): Increase to 132.
6126         (F(compile_test)): Call fmaxmag and fminmag.
6127         (F(fminmag)): New function.
6128         (F(fmaxmag)): Likewise.
6129         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6130         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6131         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6132         fminmag.
6133         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6134         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6135         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6136         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6137         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6138         and fminmag.
6139         (CFLAGS-nldbl-fmaxmag.c): New variable.
6140         (CFLAGS-nldbl-fminmag.c): Likewise.
6141         * sysdeps/nacl/libm.abilist: Update.
6142         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6143         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6144         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6145         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6146         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6147         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6148         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6149         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6150         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6151         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6152         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6153         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6155         Likewise.
6156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6157         Likewise.
6158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6159         Likewise.
6160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6161         Likewise.
6162         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6163         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6164         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6165         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6166         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6168         Likewise.
6169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6170         Likewise.
6171         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6172         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6173         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6175 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6177         [BZ #20973]
6178         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6179         wake-up in robust mutexes.
6180         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6182 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6184         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6185         (CFLAGS-bench-fmaxf.c): New rule.
6186         (CFLAGS-bench-fminf.c): Likewise.
6187         * benchtests/fmaxf-inputs: New file.
6188         * benchtests/fminf-inputs: Likewise.
6190         * benchtests/Makefile (bench-math): Add fmin and fmax.
6191         (CFLAGS-bench-fmax.c): New rule.
6192         (CFLAGS-bench-fmin.c): Likewise.
6193         * benchtests/fmax-inputs: New file.
6194         * benchtests/fmin-inputs: Likewise.
6196         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6197         parenthesis.
6198         (CMDLINE_PROCESS): Define using function instead of macro.
6199         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6200         of test-skeleton.
6201         * benchtests/bench-memchr.c: Likewise.
6202         * benchtests/bench-memcmp.c: Likewise.
6203         * benchtests/bench-memcpy-large.c: Likewise.
6204         * benchtests/bench-memcpy.c: Likewise.
6205         * benchtests/bench-memmem.c: Likewise.
6206         * benchtests/bench-memmove-large.c: Likewise.
6207         * benchtests/bench-memmove.c: Likewise.
6208         * benchtests/bench-memset-large.c: Likewise.
6209         * benchtests/bench-memset.c: Likewise.
6210         * benchtests/bench-rawmemchr.c: Likewise.
6211         * benchtests/bench-strcasecmp.c: Likewise.
6212         * benchtests/bench-strcasestr.c: Likewise.
6213         * benchtests/bench-strcat.c: Likewise.
6214         * benchtests/bench-strchr.c: Likewise.
6215         * benchtests/bench-strcmp.c: Likewise.
6216         * benchtests/bench-strcpy.c: Likewise.
6217         * benchtests/bench-strcpy_chk.c: Likewise.
6218         * benchtests/bench-strlen.c: Likewise.
6219         * benchtests/bench-strncasecmp.c: Likewise.
6220         * benchtests/bench-strncmp.c: Likewise.
6221         * benchtests/bench-strncpy.c: Likewise.
6222         * benchtests/bench-strnlen.c: Likewise.
6223         * benchtests/bench-strpbrk.c: Likewise.
6224         * benchtests/bench-strrchr.c: Likewise.
6225         * benchtests/bench-strsep.c: Likewise.
6226         * benchtests/bench-strspn.c: Likewise.
6227         * benchtests/bench-strstr.c: Likewise.
6228         * benchtests/bench-strtok.c: Likewise.
6230 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6232         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6233         stepping identification.
6234         (init_cpu_features): Add handle of Haswell.
6236 2016-11-25  Jim Meyering  <meyering@fb.com>
6238         [BZ #20386]
6239         Let gcc detect assert(a = 1) errors.
6240         * assert/assert.h (assert): Rewrite, retaining the old definintion
6241         when required, but otherwise putting the expression as-is in an "if"
6242         expression (hence, with no added parentheses) within a statement
6243         expression.
6245 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6247         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6248         DSO.
6250 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6252         * Rules (python-flags, python-invoke): New.
6253         ($(test-printers-out)): Use $(python-flags).
6255 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6257         * manual/arith.texi (Math Error Reporting): Document that sNaN
6258         arguments are not considered domain errors.
6260 2016-12-16  Zack Weinberg <zackw@panix.com>
6261             Florian Weimer <fweimer@redhat.com>
6262             Nick Mathewson <nickm@torproject.org>
6264         * string/explicit_bzero.c: New routine.
6265         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6266         * string/Makefile (routines, strop-tests, tests): Add them.
6267         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6268         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6270         * debug/explicit_bzero_chk.c: New routine.
6271         * debug/Makefile (routines): Add it.
6272         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6273         * string/bits/string3.h: Fortify explicit_bzero.
6275         * manual/string.texi: Document explicit_bzero.
6276         * NEWS: Mention addition of explicit_bzero.
6278         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6279         data before returning, using explicit_bzero.
6280         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6281         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6282         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6284         * include/string.h: Redirect internal uses of explicit_bzero
6285         to __explicit_bzero_chk[_internal].
6286         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6287         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6288         * sysdeps/arm/nacl/libc.abilist
6289         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6290         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6291         * sysdeps/unix/sysv/linux/arm/libc.abilist
6292         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6293         * sysdeps/unix/sysv/linux/i386/libc.abilist
6294         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6296         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6298         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6301         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6302         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6309         * sysdeps/unix/sysv/linux/sh/libc.abilist
6310         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6311         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6314         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6315         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6317         Add entries for explicit_bzero and __explicit_bzero_chk.
6319 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6321         * math/fenv.h
6322         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6323         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6324         * math/test-fe-snans-always-signal.c: New file.
6325         * math/Makefile (tests): Add test-fe-snans-always-signal.
6326         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6327         * manual/arith.texi (Infinity and NaN): Document
6328         FE_SNANS_ALWAYS_SIGNAL.
6330 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6332         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6333         bracket.
6335 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6337         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6338         before calling execv.
6340 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6342         [BZ #20971]
6343         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6344         overflow in pointer addition.
6345         * string/test-memchr.c (do_test): Add an argument to pass as
6346         the size on memchr.
6347         (test_main): Add check for SIZE_MAX.
6349 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6351         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6352         (libm-calls): Add w_scalblnF.
6353         * math/w_scalbln.c: Remove.
6354         * math/w_scalblnf.c: Likewise.
6355         * math/w_scalblnl.c: Likewise.
6356         * math/w_scalbln_template.c: New file with type-generic
6357         implementation based on math/w_scalbln.c.
6358         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6359         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6361 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6363         [BZ #20947]
6364         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6365         either is a signaling NaN.
6366         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6367         follow fmaxl more closely.
6368         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6369         when either is a signaling NaN.
6370         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6371         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6372         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6373         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6374         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6375         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6376         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6377         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6378         (fmin_test_data): Likewise.
6380 2016-12-15  Andreas Schwab  <schwab@suse.de>
6382         * support/support_test_main.c (support_test_main): Don't shadow
6383         file-local variable test_pid.
6385 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6387         [BZ #20947]
6388         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6389         either is a signaling NaN.
6390         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6392 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6394         [BZ #20947]
6395         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6396         when either is a signaling NaN.
6397         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6399         * bits/long-double.h: New file.
6400         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6401         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6402         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6403         * sysdeps/mips/bits/long-double.h: Likewise.
6404         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6405         * math/Makefile (headers): Add bits/long-double.h.
6406         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6407         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6408         <bits/wordsize.h>.
6409         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6410         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6411         * math/math.h: Do not include <bits/mathdef.h>.
6412         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6413         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6414         inclusion.
6415         * sysdeps/ia64/bits/mathdef.h: Remove file.
6416         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6417         * sysdeps/mips/bits/mathdef.h: Likewise.
6418         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6419         * sysdeps/s390/bits/mathdef.h: Likewise.
6420         * sysdeps/sparc/bits/mathdef.h: Likewise.
6421         * sysdeps/x86/bits/mathdef.h: Likewise.
6422         * sysdeps/s390/s390-32/bits/wordsize.h
6423         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6424         conditional code.
6425         * sysdeps/s390/s390-64/bits/wordsize.h
6426         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6427         Likewise.
6428         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6429         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6430         Likewise.
6431         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6432         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6433         Likewise.
6434         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6435         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6436         Likewise.
6438         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6439         <linux/falloc.h>.
6440         (FALLOC_FL_KEEP_SIZE): Remove.
6441         (FALLOC_FL_PUNCH_HOLE): Likewise.
6442         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6443         (FALLOC_FL_ZERO_RANGE): Likewise.
6445 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6447         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6449 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6451         * sysdeps/unix/sysv/linux/renameat.c: New file.
6452         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6454         * sysdeps/unix/sysv/linux/rename.c: New file.
6455         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6457 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6459         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6460         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6461         * string/strtok_r.c (__strtok_r): Optimize for performance.
6462         * string/string-inlines.c (__old_strtok_r_1c): New function.
6463         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6465 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6467         * math/Makefile (gen-libm-calls): Add w_log1pF.
6468         (libm-calls): Remove w_log1pF.
6469         * math/w_log1p.c: Remove.
6470         * math/w_log1pf.c: Likewise.
6471         * math/w_log1pl.c: Likewise.
6472         * math/w_log1p_template.c: New file with type-generic
6473         implementation based on math/w_log1p.c.
6474         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6475         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6477 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6479         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6481 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6483         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6484         kernel version to 4.9.
6486 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6488         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6489         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6491 2016-12-13  Andreas Schwab  <schwab@suse.de>
6493         * sysdeps/powerpc/dl-procinfo.c: Don't define
6494         _dl_powerpc_platforms.
6495         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6496         constants instead of referencing _dl_powerpc_platforms.
6497         (_dl_platform_string): Remove.
6499 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6501         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6503 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6505         * Rules (binaries-shared-tests, binaries-pie-tests)
6506         (binaries-static-tests): Link with $(link-extra-libs-tests).
6507         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6508         Remove $(link-extra-libs-tests).
6510 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6512         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6513         (sysdep_routines): Add strncmp_power9.
6514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6515         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6517         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6518         (strncmp): Add __strncmp_power9 to ifunc list.
6519         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6521 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6523         [BZ #17252]
6524         Add getentropy, getrandom.
6525         * stdlib/sys/random.h: New file.
6526         (headers): Add it.
6527         * stdlib/Makefile (routines): Add getentropy, getrandom.
6528         (tests): Add tst-getrandom.
6529         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6530         * stdlib/getentropy.c: New file.
6531         * stdlib/getrandom.c: Likewise.
6532         * stdlib/tst-getrandom.c: Likewise.
6533         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6534         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6535         * manual/crypt.texi (Unpredictable Bytes): New section.
6536         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6537         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6551         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6553         Likewise.
6554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6555         Likewise.
6556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6559         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6560         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6561         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6565         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6566         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6569 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6571         [BZ #20956]
6572         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6573         as additional compiler barriers.
6574         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6575         (fn2, do_test): Declare with external linkage.
6576         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6577         (do_test): Declare with external linkage.
6578         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6579         (do_test): Declare with external linkage.
6580         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6581         (do_test): Declare with external linkage.
6583 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6585         * support/support_test_main.c (support_test_main): Use correct
6586         timeout.
6588 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6589             Florian Weimer  <fweimer@redhat.com>
6591         [BZ #16421]
6592         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6593         and __u6_addr32 members.
6594         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6595         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6596         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6597         Use __u6_addr32.
6598         * inet/tst-checks.c: Use <support/test-driver.c>
6599         * inet/tst-checks-posix.c: New file.
6600         * inet/Makefile (tests): Add it.
6601         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6603 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6605         New subdirectory support for build and test infrastructure.
6606         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6607         setting install-lib.
6608         * Makeconfig (link-extra-libs-tests): Define.
6609         (+link-pie-tests, +link-static-tests, +link-tests): Use
6610         link-extra-libs-tests.
6611         (rpath-dirs, all-subdirs): Add support.
6612         (built-modules): Add libsupport.
6613         (libsupport): Define.
6614         * support: New directory.
6615         * support/Makefile: New file.
6616         * support/check.c: Likewise.
6617         * support/check.h: Likewise.
6618         * support/delayed_exit.c: Likewise.
6619         * support/ignore_stderr.c: Likewise.
6620         * support/oom_error.c: Likewise.
6621         * support/set_fortify_handler.c: Likewise.
6622         * support/support.h: Likewise.
6623         * support/temp_file-internal.h: Likewise.
6624         * support/temp_file.c: Likewise.
6625         * support/test-driver.c: Likewise.
6626         * support/test-driver.h: Likewise.
6627         * support/test_main.c: Likewise.
6628         * support/write_message.c: Likewise.
6629         * support/xasprintf.c: Likewise.
6630         * support/xcalloc.c: Likewise.
6631         * support/xmalloc.c: Likewise.
6632         * support/xpthread_barrier_destroy.c: Likewise.
6633         * support/xpthread_barrier_init.c: Likewise.
6634         * support/xpthread_barrier_wait.c: Likewise.
6635         * support/xpthread_cancel.c: Likewise.
6636         * support/xpthread_check_return.c: Likewise.
6637         * support/xpthread_cond_wait.c: Likewise.
6638         * support/xpthread_create.c: Likewise.
6639         * support/xpthread_detach.c: Likewise.
6640         * support/xpthread_join.c: Likewise.
6641         * support/xpthread_mutex_lock.c: Likewise.
6642         * support/xpthread_mutex_unlock.c: Likewise.
6643         * support/xpthread_sigmask.c: Likewise.
6644         * support/xpthread_spin_lock.c: Likewise.
6645         * support/xpthread_spin_unlock.c: Likewise.
6646         * support/xrealloc.c: Likewise.
6647         * support/xsignal.h: Likewise.
6648         * support/xthread.h: Likewise.
6649         * support_tempfile.h: Likewise.
6650         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6651         (TEST_DATA_LIMIT): Remove unused macro.
6652         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6653         <support/check.h>.
6654         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6655         (ignore_stderr, set_fortify_handler): Remove.  Now in
6656         <support/support.h>.
6657         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6658         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6659         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6660         (xpthread_join): Remove.  Now in <support/xthread.h>.
6661         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6662         Introduce legacy wrappers.
6663         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6664         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6665         (write_message): Remove.
6666         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6667         test-skeleton.c.
6668         * io/test-open-tmpfile: Likewise.
6669         * io/tst-posix_fallocate-common.c: Likewise.
6670         * libio/tst-fseek.c: Likewise.
6671         * malloc/tst-malloc-backtrace.c: Likewise.
6672         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6673         * malloc/tst-malloc-thread-exit.c: Likewise.
6674         * nptl/tst-cancel7.c: Likewise.
6675         * nptl/tst-cleanup0.c: Likewise.
6676         * posix/tst-posix_fadvise-common.c: Likewise.
6677         * rt/tst-shm.c: Likewise.
6678         * time/bug-getdate1.c: Likewise.
6679         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6680         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6681         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6683 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6685         * Rules [$(run-built-tests) != no] (tests-expected): Add
6686         $(tests-printers).
6687         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6689 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6691         [BZ #20539]
6692         * math/Makefile (install-lib-ldscripts): Add libm.a.
6693         (install_subdir): Remove.
6694         (install-others): Add.
6695         ($(inst_libdir)/libm.a): Add rule for installation as
6696         linker script.
6697         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6699 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6701         * INSTALL: Regenerated.
6702         * Makeconfig: Add comments and whitespace to make the control flow
6703         clearer.
6704         (+link-printers-tests, +link-pie-printers-tests,
6705         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6706         built-rtld-LDFLAGS, link-libc-rpath,
6707         link-libc-tests-after-rpath-link,
6708         link-libc-printers-tests): New.
6709         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6710         link-libc-tests): Use the new variables as required.
6711         * Makerules ($(py-const)): New rule.
6712         generated: Add $(py-const).
6713         * README.pretty-printers: New file.
6714         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6715         (others): Depend on $(py-const).
6716         (tests): Depend on $(tests-printers-programs) or
6717         $(tests-printers-out),
6718         as required.  Pass $(tests-printers) to merge-test-results.sh.
6719         * manual/install.texi: Add requirements for testing the pretty
6720         printers.
6721         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6722         tests-printers, CFLAGS-test-mutexattr-printers.c
6723         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6724         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6725         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6726         * nptl/nptl-printers.py: New file.
6727         * nptl/nptl_lock_constants.pysym: Likewise.
6728         * nptl/test-cond-printers.c: Likewise.
6729         * nptl/test-cond-printers.py: Likewise.
6730         * nptl/test-condattr-printers.c: Likewise.
6731         * nptl/test-condattr-printers.py: Likewise.
6732         * nptl/test-mutex-printers.c: Likewise.
6733         * nptl/test-mutex-printers.py: Likewise.
6734         * nptl/test-mutexattr-printers.c: Likewise.
6735         * nptl/test-mutexattr-printers.py: Likewise.
6736         * nptl/test-rwlock-printers.c: Likewise.
6737         * nptl/test-rwlock-printers.py: Likewise.
6738         * nptl/test-rwlockattr-printers.c: Likewise.
6739         * nptl/test-rwlockattr-printers.py: Likewise.
6740         * scripts/gen-py-const.awk: Likewise.
6741         * scripts/test_printers_common.py: Likewise.
6742         * scripts/test_printers_exceptions.py: Likewise.
6744 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6746         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6747         argument.
6748         (Glibc.build_glibc): Strip installed shared libraries if
6749         requested.
6750         (get_parser): Add --strip option.
6751         (main): Update Context call.
6753 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6754             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6756         [BZ #20847]
6757         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6758         array bounds for else branch.
6759         (__execvpe): Style fixes.
6760         * posix/tst-vfork3.c (run_script): New function.
6761         (create_script): Likewise.
6762         (do_test): Use run_script internal function.
6763         (do_prepare): Use create_script internal function.
6765 2016-12-07  Andreas Schwab  <schwab@suse.de>
6767         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6768         (__elision_available): Don't declare.
6769         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6770         (__elision_available): Don't define.
6771         (elision_init): Don't set __elision_available.
6773 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #20940]
6776         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6777         return Inf for arguments Inf and sNaN.
6778         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6779         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6780         Likewise.
6781         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6782         Likewise.
6783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6784         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6785         for arguments Inf and sNaN.  When returning a NaN, compute it by
6786         arithmetic on the arguments.
6787         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6788         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6789         arguments.
6791 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6793         [BZ #20916]
6794         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6795         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6796         to compute result.
6797         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6798         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6800 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6802         * include/atomic.h (__atomic_check_size_ls): New.
6803         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6804         atomic_store_release): Use it.
6805         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6806         (elision_adapt, ELIDE_LOCK): Use atomics.
6807         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6808         atomics and improve code comments.
6809         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6810         (__lll_trylock_elision): Likewise.
6812 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6814         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6815         programs.
6817 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6819         [BZ #20916]
6820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6821         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6822         arguments to compute result.
6823         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6824         1 for arguments (sNaN, 0) or (1, sNaN).
6825         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6826         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6828         [BZ #20919]
6829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6830         NaN first argument when raised to power 0.
6831         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6832         raising to power zero.
6833         * math/w_powf.c (__powf): Likewise.
6834         * math/w_powl.c (__powl): Likewise.
6835         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6836         pow (0, 0) or pow (NaN, 0).
6838 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6840         [BZ #20918]
6841         * configure.ac: Test for static NSS cryptographic libraries and set
6842         libc_cv_static_nss_crypt.
6843         * configure: Regenerate.
6844         * config.make.in (static-nss-crypt): Define.
6845         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6846         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6847         (CFLAGS-tst-linkall-static.c): Define.
6848         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6849         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6850         ($(objpfx)tst-linkall-static): Define.
6851         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6852         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6854 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6856         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6857         (one-hundred, tst-tls-many-dynamic-modules): Define.
6858         (modules-names): Add $(tst-tls-many-dynamic-modules).
6859         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6860         macros.
6861         (tst-tls-manydynamic): Link against libdl, libpthread.
6862         (tst-tls-manydynamic.out): The test needs the test modules at run
6863         time.
6864         * elf/tst-tls-manydynamic.c: New file.
6865         * elf/tst-tls-manydynamic.h: Likewise.
6866         * elf/tst-tls-manydynamicmod.c: Likewise.
6868 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6870         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6871         (TLS_DTV_UNALLOCATED): Add.
6872         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6873         offsets.
6875 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6877         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6879 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6881         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6882         Add -fno-optimize-sibling-calls.
6884 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6886         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6887         New declaration.
6888         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6889         macro.
6890         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6891         New macro.
6892         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6893         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6894         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6895         (llogbf): Likewise.
6896         (llogbl): Likewise.
6897         * math/Makefile (gen-libm-calls): Add w_llogbF.
6898         (tests): Add test-fp-llogb-constants.
6899         * math/w_llogb_template.c: New file.  Based on
6900         math/w_ilogb_template.c.
6901         * math/libm-test.inc (llogb_test_data): New array.
6902         (llogb_test): New function.
6903         (main): Call llogb_test.
6904         * math/test-fp-llogb-constants.c: New file.  Based on
6905         math/test-fp-ilogb-constants.c.
6906         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6907         (do_test): Call check_return_llogb.
6908         * math/test-tgmath.c (NCALLS): Increase to 126.
6909         (F(compile_test)): Call llogb.
6910         (F(llogb)): New function.
6911         * manual/math.texi (Exponents and Logarithms): Document llogb,
6912         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6913         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6914         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6915         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6916         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6917         (CFLAGS-nldbl-llogb.c): New variable.
6918         * sysdeps/nacl/libm.abilist: Update.
6919         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6932         Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6938         Likewise.
6939         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6952 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6954         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6955         _Float128 instead of long double.
6956         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6958         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6959         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6960         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6961         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6962         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6963         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6964         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6965         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6966         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6967         Likewise.
6969 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6971         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6972         Remove redirection to __strrchr_ppc.
6974 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6976         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6977         (sysdep_routines): Add strcmp_power9.
6978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6979         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6980         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6981         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6982         (strcmp): Add __strcmp_power9 to ifunc list.
6983         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6985 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6987         * bits/fp-logb.h: New file.
6988         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6989         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6990         * sysdeps/x86/bits/fp-logb.h: Likewise.
6991         * math/Makefile (headers): Add bits/fp-logb.h.
6992         * math/math.h: Include <bits/fp-logb.h>.
6993         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6994         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6995         * bits/mathdef.h (FP_ILOGB0): Remove.
6996         (FP_ILOGBNAN): Likewise.
6997         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6998         (FP_ILOGBNAN): Likewise.
6999         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7000         (FP_ILOGBNAN): Likewise.
7001         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7002         (FP_ILOGBNAN): Likewise.
7003         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7004         (FP_ILOGBNAN): Likewise.
7005         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7006         (FP_ILOGBNAN): Likewise.
7007         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7008         (FP_ILOGBNAN): Likewise.
7009         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7010         (FP_ILOGBNAN): Likewise.
7011         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7012         (FP_ILOGBNAN): Likewise.
7013         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7014         (FP_ILOGBNAN): Likewise.
7016         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7017         time module.
7018         (Context.__init__): Initialize self.logsdir_old.
7019         (Context.run_builds): Handle bot action.
7020         (Context.bot_cycle): Copy logs directory before running builds.
7021         (Context.bot_run_self): Take argument for whether to check
7022         subprocess result.  Flush stdout before running subprocess.
7023         (Context.bot): New function.
7024         (get_parser): Allow bot action.
7026 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7028         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7029         Import email.mime.text, email.utils and smtplib modules.
7030         (Context.__init__): Initialize self.bot_config_json.
7031         (Context.run_builds): Handle bot-cycle action.
7032         (Context.load_bot_config_json): New function.
7033         (Context.part_build_old): Likewise.
7034         (Context.bot_cycle): Likewise.
7035         (Context.bot_build_mail): Likewise.
7036         (Context.bot_run_self): Likewise.
7037         (get_parser): Allow bot-cycle action.
7039 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7042         Remove redirection to __stpcpy_ppc.
7044 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7046         Remove __libc_memalign from ld.so because it is unused.
7047         * elf/dl-minimal.c: Update comment on the malloc implementation.
7048         (malloc): Renamed from __libc_memalign, replacing the original
7049         malloc implementation.  Replace the align parameter with
7050         MALLOC_ALIGNMENT.
7051         * elf/Versions (ld): Update comment and remove __libc_memalign.
7052         * sysdeps/nacl/ld.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7056         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7079         * sysdeps/generic/localplt.data (ld.so): Likewise.
7080         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7081         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7082         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7083         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7084         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7085         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7086         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7087         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7088         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7090         (ld.so): Likewise.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7092         (ld.so): Likewise.
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7094         Likewise.
7095         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7096         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7097         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7098         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7099         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7101 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7103         [BZ #16628]
7104         Implement _dl_catch_error, _dl_signal_error in libc.so.
7105         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7106         (catch_hook): Define as thread-local or regular variable,
7107         depending on DL_ERROR_BOOTSTRAP.
7108         (CATCH_HOOK): Remove.
7109         (dl_signal_error, _dl_catch_error): Use
7110         catch_hook.  Add hidden definition for libc.
7111         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7112         for DL_ERROR_BOOTSTRAP only.
7113         * elf/dl-error.c: New file.
7114         * elf/dl-error-minimal.c: Likewise.
7115         * elf/tst-latepthread.c: Likewise.
7116         * elf/tst-latepthreadmod.c: Likewise.
7117         * elf/Makefile (routines): Add dl-error.
7118         (dl-routines): Remove dl-error.
7119         (rtld-routines): Add dl-error-minimal.
7120         [build-shared] (tests): Add tst-latepthread.
7121         (module-names): Add tst-latepthreadmod.
7122         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7123         symbol.
7124         (tst-latepthreadmod.so): Link against libpthread.
7125         (tst-latepthread): Link against libdbl.
7126         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7127         _dl_catch_error.
7128         [ld] (GLIBC_PRIVATE): Likewise.
7129         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7130         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7131         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7132         directly.
7133         * elf/dl-tsd.c: Remove file.
7134         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7135         _dl_catch_error, _dl_signal_error.
7136         (_dl_initial_error_catch_tsd): Remove definition.
7137         (do_preload): Remove initialization of dl_error_catch_tsd.
7138         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7139         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7140         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7141         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7142         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7143         set dl_error_catch_tsd.
7144         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7145         _dl_error_catch_tsd member.
7146         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7147         members.
7148         (_dl_initial_error_catch_tsd): Remove declaration.
7149         (_dl_dprintf): Provide definition for use outside of ld.so.
7150         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7151         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7152         prototype for libc.
7153         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7154         _dl_catch_error.
7155         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7156         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7157         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7158         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7159         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7160         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7161         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7162         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7163         Likewise.
7164         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7166         (ld.so): Likewise.
7167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7168         (ld.so): Likewise.
7169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7170         Likewise.
7171         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7172         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7173         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7174         Likewise.
7175         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7176         Likewise.
7177         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7179 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7181         [BZ #4099]
7182         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7183         _IO_BUFSIZ (8192).
7185 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7187         * PROJECTS: Remove file.
7189 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7191         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7193 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7194             Steve Ellcey  <sellcey@caviumnetworks.com>
7196         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7197         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7198         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7199         fxstatat.
7200         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7201         lxstat.
7202         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7203         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7204         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7205         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7206         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7207         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7208         __xstat.
7210 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7212         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7213         Define.
7214         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7215         definition.
7217 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7219         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7220         version and turn into strong alias.  Remove compat symbol.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7223         (__longjmp): Remove.
7225 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7227         * bits/fp-fast.h: New file.
7228         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7229         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7230         * math/Makefile (headers): Add bits/fp-fast.h.
7231         * math/math.h: Include <bits/fp-fast.h>.
7232         * bits/mathdef.h (FP_FAST_FMA): Remove.
7233         (FP_FAST_FMAF): Likewise.
7234         (FP_FAST_FMAL): Likewise.
7235         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7236         (FP_FAST_FMAF): Likewise.
7237         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7238         (FP_FAST_FMAF): Likewise.
7239         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7240         (FP_FAST_FMAF): Likewise.
7241         (FP_FAST_FMAL): Likewise.
7242         * sysdeps/arm/bits/mathdef.h: Remove file.
7243         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7244         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7245         * sysdeps/tile/bits/mathdef.h: Likewise.
7247 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7249         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7250         * math/w_ilogb.c: Remove.
7251         * math/w_ilogbf.c: Likewise.
7252         * math/w_ilogbl.c: Likewise.
7253         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7254         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7255         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7256         (libm-calls): Remove w_ilogbF.
7257         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7258         (LDOUBLE_ilogbl_libm_version): New macro.
7260         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7262         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7263         [!__STRICT_ANSI__ && !__cplusplus].
7265 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7267         [BZ #20750]
7268         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7269         of PIC.
7271 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7272             Yury Norov  <ynorov@caviumnetworks.com>
7273             Steve Ellcey  <sellcey@caviumnetworks.com>
7275         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7276         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7277         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7278         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7279         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7280         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7281         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7282         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7283         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7284         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7285         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7286         to get correct reg name for ILP32.
7287         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7288         (RELA_SIZE): New Macro.
7289         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7290         to support ILP32.
7291         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7292         cast for ILP32 mode.
7293         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7294         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7295         * sysdeps/aarch64/memset.S (__memset): Ditto.
7296         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7297         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7298         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7299         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7300         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7301         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7302         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7303         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7304         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7305         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7306         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7307         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7308         change PTR_MANGLE call to use register numbers instead of names.
7309         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7310         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7311         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7312         * sysdeps/aarch64/start.S (_start): Ditto.
7313         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7314         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7315         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7316         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7317         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7318         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7319         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7320         Make defined values dependent on __ILP32__.
7321         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7322         (sem_t): Change __align type.
7323         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7324         PTR_SIZE): New Macros.
7325         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7326         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7327         Set when in ILP32 mode.
7328         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7329         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7330         Set elf flags for ILP32.
7331         (add_system_dir): Set ILP32 library directories.
7332         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7333         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7334         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7335         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7336         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7337         New Macros.
7338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7340 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7342         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7343         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7344         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7346 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7348         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7349         <asm/cachectl.h>.
7351 2016-11-27  Zack Weinberg  <zackw@panix.com>
7353         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7354         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7356 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7358         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7359         error_t to fix usage in C++ programs.
7361 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7363         * scripts/build-many-glibcs.py: Import datetime module.
7364         (Context.__init__): Load JSON build state.  Initialize list of
7365         status logs.
7366         (Context.run_builds): Update saved build state.
7367         (Context.add_makefile_cmdlist): Update list of status logs.
7368         (Context.load_build_state_json): New function.
7369         (Context.store_build_state_json): Likewise.
7370         (Context.clear_last_build_state): Likewise.
7371         (Context.update_build_state): Likewise.
7372         (CommandList.status_logs): Likewise.
7374 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7376         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7377         script being executed.
7378         (Context.get_script_text): New function.
7379         (Context.exec_self): Likewise.
7380         (Context.checkout): Re-exec script if changed by checkout process.
7382 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7384         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7385         (setpayloadsig): New declaration.
7386         * math/Versions (setpayloadsig): New libm symbol at version
7387         GLIBC_2.25.
7388         (setpayloadsigf): Likewise.
7389         (setpayloadsigl): Likewise.
7390         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7391         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7392         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7393         (setpayloadsig_test_data): New array.
7394         (setpayloadsig_test): New function.
7395         (main): Call setpayloadsig_test.
7396         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7397         setpayloadsigf and setpayloadsigl.
7398         * manual/libm-err-tab.pl: Update comment on interfaces without
7399         ulps tabulated.
7400         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7401         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7402         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7403         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7405         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7406         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7407         setpayloadsig.
7408         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7409         * sysdeps/nacl/libm.abilist: Update.
7410         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7412         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7414         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7419         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7420         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7423         Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7425         Likewise.
7426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7427         Likewise.
7428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7429         Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7436         Likewise.
7437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7443         * scripts/build-many-glibcs.py: Import json module.
7444         (Context.__init__): Take replace_sources argument.  Load
7445         versions.json.
7446         (Context.load_versions_json): New function.
7447         (Context.store_json): Likewise.
7448         (Context.store_versions_json): Likewise.
7449         (Context.set_component_version): Likewise.
7450         (Context.checkout): Update versions.json.  Check for and handle
7451         changes of version.  Prefer previously explicitly specified
7452         version to default version.
7453         (Context.checkout_vcs): Return a revision identifier.
7454         (Context.git_checkout): Likewise.
7455         (Context.gcc_checkout): Likewise.
7456         (get_parser): Add --replace-sources option.
7457         (main): Pass replace_sources argument to Context call.
7459 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7461         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7462         * nptl/allocatestack.c (allocate_stack): Likewise.
7463         (__reclaim_stacks): Likewise.
7464         (setxid_signal_thread): Obtain pid through syscall.
7465         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7466         (sighandle_setxid): Likewise.
7467         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7468         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7469         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7472         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7473         comment.
7474         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7475         * nptl/descr.h (struct pthread): Change comment about pid value.
7476         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7477         pid assert.
7478         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7479         Do not set pid value.
7480         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7481         pid cache check.
7482         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7483         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7484         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7485         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7486         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7487         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7488         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7489         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7490         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7491         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7492         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7493         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7494         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7495         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7496         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7497         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7498         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7499         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7500         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7501         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7502         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7503         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7504         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7505         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7506         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7509         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7510         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7511         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7512         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7513         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7514         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7515         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7516         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7517         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7518         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7519         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7520         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7521         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7522         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7523         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7524         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7527         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7528         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7529         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7530         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7531         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7532         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7533         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7534         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7535         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7536         struct access.
7537         (clone_test): Remove function.
7538         (do_test): Rewrite to take in consideration pid is not cached anymore.
7540 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7542         * bits/flt-eval-method.h: New file.
7543         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7544         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7545         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7546         * math/Makefile (headers): Add bits/flt-eval-method.h.
7547         * math/math.h: Include <bits/flt-eval-method.h>.
7548         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7549         [__USE_ISOC99] (double_t): Likewise.
7550         * bits/mathdef.h (float_t): Remove.
7551         (double_t): Likewise.
7552         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7553         (double_t): Likewise.
7554         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7555         (double_t): Likewise.
7556         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7557         (double_t): Likewise.
7558         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7559         (double_t): Likewise.
7560         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7561         (double_t): Likewise.
7562         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7563         (double_t): Likewise.
7564         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7565         (double_t): Likewise.
7566         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7567         (double_t): Likewise.
7568         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7569         (double_t): Likewise.
7570         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7571         (double_t): Likewise.
7572         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7573         (double_t): Likewise.
7574         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7575         (double_t): Likewise.
7576         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7577         (double_t): Likewise.
7579 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7581         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7582         instead of PIC.
7584 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #20859]
7587         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7588         (-0x7fffffff) instead of 0x80000001.
7589         * math/test-fp-ilogb-constants.c: New file.
7590         * math/Makefile (tests): Add test-fp-ilogb-constants.
7592 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7594         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7595         (_init): Use it in place of hardcoded R_MIPS_JALR.
7596         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7597         (_init): Use it in place of hardcoded R_MIPS_JALR.
7598         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7599         (_init): Use it in place of hardcoded R_MIPS_JALR.
7601 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7603         [BZ #20787]
7604         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7605         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7606         (double_t): Do not define to double if [__x86_64__] when
7607         __FLT_EVAL_METHOD__ is nonzero.
7608         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7609         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7611         test-flt-eval-method-387 and test-flt-eval-method-sse.
7612         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7613         variable.
7614         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7616 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7618         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7619         use of -fno-isolate-erroneous-paths options for tilepro.
7621 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7623         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7624         structure initialization is no longer needed.
7626 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7628         [BZ #20855]
7629         * bits/mathdef.h (float_t): Define to float.
7630         * math/test-flt-eval-method.c: New file.
7631         * math/Makefile (tests): Add test-flt-eval-method.
7632         (CFLAGS-test-flt-eval-method.c): New variable.
7634 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7636         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7637         and __fstatfs.  Make them aliases of __fstatfs64 if
7638         STATFS_IS_STATFS64 is set to non-zero.
7639         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7640         and __statfs64.
7641         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7642         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7643         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7644         for __statfs and statfs.
7645         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7646         to 0.
7647         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7648         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7649         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7650         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7651         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7652         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7655         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7656         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7657         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7658         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7660 2016-11-22  Andreas Schwab  <schwab@suse.de>
7662         * misc/mkstemp.c: Include <fcntl.h>.
7663         * misc/mkstemps.c: Likewise.
7664         * misc/mkostemp.c: Likewise.
7665         * misc/mkostemps.c: Likewise.
7667 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7669         [BZ #20847]
7670         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7671         array bounds.
7672         (__execvpe): Likewise.
7674 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7676         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7677         -fno-isolate-erroneous-paths options for tilepro.
7679 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7681         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7682         to 0 when in 32 bit mode.
7683         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7684         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7685         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7686         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7688         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7689         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7690         XSTAT_IS_XSTAT64 test.
7691         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7692         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7693         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7694         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7695         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7696         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7697         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7698         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7699         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7700         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7701         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7703 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7705         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7706         (setpayload): New declaration.
7707         * math/Versions (setpayload): New libm symbol at version
7708         GLIBC_2.25.
7709         (setpayloadf): Likewise.
7710         (setpayloadl): Likewise.
7711         * math/Makefile (libm-calls): Add s_setpayloadF.
7712         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7713         test_Ff_b1_data.
7714         (RUN_TEST_Ff_b1): New macro.
7715         (RUN_TEST_LOOP_Ff_b1): Likewise.
7716         (canonicalize_test_data): Update type.
7717         (setpayload_test_data): New array.
7718         (setpayload_test): New function.
7719         (main): Call setpayload_test.
7720         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7721         setpayloadf and setpayloadl.
7722         * manual/libm-err-tab.pl: Update comment on interfaces without
7723         ulps tabulated.
7724         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7725         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7726         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7727         Likewise.
7728         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7729         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7730         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7731         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7732         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7733         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7734         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7735         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7736         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7737         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7738         setpayload.
7739         (CFLAGS-nldbl-setpayload.c): New variable.
7740         * sysdeps/nacl/libm.abilist: Update.
7741         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7747         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7748         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7749         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7750         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7751         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7754         Likewise.
7755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7756         Likewise.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7758         Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7762         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7763         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7764         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7765         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7769         Likewise.
7770         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7774 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7776         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7777         * include/unistd.h: Extend comment about __access_noerrno return
7778         semantics.
7779         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7780         (access_common): Correct typo for EACCES.
7782 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7784         * sysdeps/tile/math-tests.h: New file.
7786         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7787         (__old_set_dataplane): Rename from set_dataplane and make a
7788         compatibility symbol.
7789         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7790         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7791         sys/dataplane.h.
7793 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7795         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7796         script quote words in command output to log suitably for input to
7797         the shell.
7799 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7800             Maciej W. Rozycki  <macro@imgtec.com>
7802         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7803         `.Lno_weak_fn' label.
7804         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7805         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7807 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7808             Yury Norov  <ynorov@caviumnetworks.com>
7810         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7811         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7812         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7813         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7814         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7816         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7817         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7818         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7819         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7820         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7821         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7822         (sysdep_routines): Remove oldgetrlimit64.
7823         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7824         (sysdep_routines): Likewise.
7825         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7826         (sysdep_routines): Likewise.
7827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7828         [$(subdir) = resource] (sysdep_routines): Likewise.
7829         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7830         [$(subdir) = resource] (sysdep_routines): Likewise.
7831         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7832         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7833         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7834         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7835         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7836         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7837         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7838         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7839         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7840         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7841         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7842         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7843         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7844         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7845         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7846         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7847         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7848         setrlimit and getrlimit.
7849         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7850         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7851         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7855         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7856         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7858         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7859         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7860         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7861         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7862         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7863         (__old_getrlimit64): Add compatibility symbol.
7864         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7866 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7868         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7869         newly built gmp, mpfr and mpc.
7871         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7873 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7875         * conform/Makefile (linknamespace-libs): Rename to
7876         linknamespace-libs-thr.
7877         (linknamespace-libs-posix): New variable.
7878         (linknamespace-libs-xsi): Likewise.
7879         (linknamespace-libs-XPG3): Include libcrypt.a.
7880         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7881         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7882         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7883         (linknamespace-libs-XOPEN2K): Likewise.
7884         (linknamespace-libs-XOPEN2K8): Likewise.
7885         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7887         [BZ #20829]
7888         * stdio-common/Versions (__snprintf): Add to version
7889         GLIBC_PRIVATE.
7890         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7891         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7892         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7893         of snprintf.
7894         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7896 2016-11-16  Zack Weinberg  <zackw@panix.com>
7898         * string/string.h: Remove obsolete comment stating that
7899         strcoll_l and strxfrm_l have not yet been standardized.
7901 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7903         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7904         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7905         __access_noerrno.
7906         * io/access.c (__access_noerrno): New function.
7907         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7908         (hurd_fail_seterrno): Likewise.
7909         (access_common): Likewise.
7910         (__access_noerrno): Likewise.
7911         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7912         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7913         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7914         macro.
7916 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7918         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7919         Only declare fpregs if [__SH_FPU_ANY__].
7921 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7923         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7924         Make code unconditional.
7925         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7927 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7929         * manual/sysinfo.texi (S_APPEND): Delete.
7930         (S_IMMUTABLE): Likewise.
7932 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7933             Magnus Granberg  <zorry@gentoo.org>
7934             Mike Frysinger  <vapier@gentoo.org>
7936         [BZ #20662]
7937         * configure.ac (libc_cv_predef_stack_protector): Also check for
7938         __stack_chk_fail_local symbols.
7939         * configure: Regenerated.
7941 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7943         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7944         (libc_hidden_def): Remove redefinition.
7945         (__sigsetjmp): Add hidden definition.
7946         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7947         (libc_hidden_def): Remove redefinition.
7948         (__sigsetjmp): Add hidden definition.
7950 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7952         * scripts/build-many-glibcs.py (os.path): Do not import.
7953         (Context): Inherit explicitly from object.  Remove blank line
7954         between class and docstring.
7955         (Config): Likewise.
7956         (Glibc): Likewise.
7957         (Command): Likewise.
7958         (CommandList): Likewise.
7959         (Context.write_files): Store chmod mode in a variable.
7961         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7962         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7963         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7965 2016-11-14  Zack Weinberg  <zackw@panix.com>
7967         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7968         creating or re-creating it.
7970         * string/bits/string2.h: Fix typo in comment.
7972 2016-11-14  Zack Weinberg  <zackw@panix.com>
7974         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7975         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7976         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7977         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7978         of redirected function names.
7980         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7981         as well.  Document that MESSAGE must be a single string literal.
7983 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7985         * scripts/build-many-glibcs.py: New file.
7987         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7988         (do_test): Disable -Wmaybe-uninitialized around uses of
7989         except_mask.
7991         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7993 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7995         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7996         (atomic_store_release): Provide tilepro-specific implementations.
7998 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8000         * math/math.h (__MATH_TG): New macro.
8001         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8002         [__USE_ISOC99] (signbit): Likewise.
8003         [__USE_ISOC99] (isfinite): Likewise.
8004         [__USE_ISOC99] (isnan): Likewise.
8005         [__USE_ISOC99] (isinf): Likewise.
8006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8009         __MATH_TG and __MATH_EVAL_FMT2.
8010         * sysdeps/generic/math_private.h (fabs_tg): Define using
8011         __MATH_TG.
8012         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8013         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8014         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8015         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8016         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8017         macro.
8018         (__iscanonical): Likewise.
8019         (iscanonical): Define using __MATH_TG.
8021 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8023         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8024         guards.
8026         * sysdeps/unix/sysv/linux/access.c: New file.
8027         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8029 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8031         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8032         and __WORDSIZE32_PTRDIFF_LONG.
8034 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8036         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8038 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8040         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8041         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8042         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8043         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8044         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8046         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8047         * sysdeps/unix/sysv/linux/truncate.c: New file.
8048         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8049         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8050         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8051         Remove.
8052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8053         Likewise.
8055         * posix/tst-truncate-common.c: New file.
8056         * posix/tst-truncate.c: Use tst-truncate-common.c.
8057         * posix/tst-truncate64.c: Likewise and add LFS tests.
8058         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8059         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8060         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8061         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8062         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8064         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8065         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8066         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8067         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8068         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8069         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8070         Remove.
8071         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8072         Likewise.
8074 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8076         [BZ #20790]
8077         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8078         to MAXLINESIZE.
8079         * sunrpc/bug20790.x: New file.
8080         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8081         variable.
8082         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8083         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8085         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8087         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8089         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8090         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8091         calloc, realloc, free, memalign and __libc_memalign rather than
8092         making them optional.
8094         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8095         for libc.so.
8097 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8099         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8100         ptw-lseek64.
8101         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8102         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8105         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8106         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8107         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8108         * sysdeps/unix/sysv/linux/lseek.c: New file.
8109         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8110         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8111         __libc_lseek64 from auto-generation.
8112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8113         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8115 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8117         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8118         * nptl/tst-cleanup1.c (do_test): Likewise.
8119         * nptl/tst-cleanup3.c (do_test): Likewise.
8120         * nptl/tst-key1.c (do_test): Likewise.
8121         * nptl/tst-key2.c (tf, do_test): Likewise.
8122         * nptl/tst-key3.c (tf, do_test): Likewise.
8123         * nptl/tst-stdio1.c (do_test): Likewise.
8124         * nptl/tst-stdio2.c (do_test): Likewise.
8126         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8127         * nptl/tst-kill6.c (handler): Likewise.
8128         * nptl/tst-tls2.c (CB): Likewise.
8129         * nptl/tst-tls3.c (CB): Likewise.
8131 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8133         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8135 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8136             Steve Ellcey  <sellcey@caviumnetworks.com>
8138         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8139           __ASSUME_ST_INO_64_BIT as 0
8140         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8141         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8142           over the code where __ASSUME_ST_INO_64_BIT is used.
8143         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8144         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8145         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8147 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8149         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8150         Document ABI exposure of the __kind offset.
8151         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8152         Mention reason for the __kind offset exposure in the ABI.
8153         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8154         Likewise.
8155         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8156         Likewise.
8157         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8158         Likewise.
8159         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8160         (struct __pthread_mutex_s): Likewise.
8161         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8162         Likewise.
8163         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8164         Likewise.
8165         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8166         Likewise.
8167         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8168         Likewise.
8169         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8170         Likewise.
8171         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8174         (struct __pthread_mutex_s): Likewise.
8175         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8176         (struct __pthread_mutex_s): Likewise.
8177         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8178         Likewise.
8180 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8182         * test-skeleton.c: Document do_test usage.
8184 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8186         * iconv/gconv.h (__gconv_info): Define __data element using a
8187         zero-length array.
8189 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8191         * math/test-tgmath2.c: Split up test function.
8193 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8195         * Rules (tests-expected): New variable, depending on
8196         $(run-built-tests).
8197         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8198         $(tests).
8200         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8201         $(tests-unsupported).
8203 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8205         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8206         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8208 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8210         [BZ #20768]
8211         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8212         __fegetenv instead of fegetenv.
8214         [BZ #14139]
8215         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8216         (find_files): Obtain platform name from libm-test-ulps-name and
8217         store in %pplatforms.
8218         (canonicalize_platform): Remove.
8219         (print_platforms): Use $pplatforms directly.
8220         (by_platforms): Do not allow for platforms missing from
8221         %pplatforms.
8222         * sysdeps/aarch64/libm-test-ulps-name: New file.
8223         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8224         * sysdeps/arm/libm-test-ulps-name: Likewise.
8225         * sysdeps/generic/libm-test-ulps-name: Likewise.
8226         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8227         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8228         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8229         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8230         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8231         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8232         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8233         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8234         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8235         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8236         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8237         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8238         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8239         * sysdeps/sh/libm-test-ulps-name: Likewise.
8240         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8241         * sysdeps/tile/libm-test-ulps-name: Likewise.
8242         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8244         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8246         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8247         (test-xfail-check-execstack): New variable.
8249         * sysdeps/mips/localplt.data: New file.
8251 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8252             Steve Ellcey  <sellcey@caviumnetworks.com>
8254         * bits/wordsize.h: Add documentation.
8255         * sysdeps/aarch64/bits/wordsize.h : New file
8256         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8257         definitions.
8258         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8259         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8260         with #if instead of #ifdef.
8261         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8262         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8263         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8264         Add or change defines.
8265         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8266         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8267         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8268         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8269         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8270         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8271         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8272         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8273         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8274         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8275         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8276         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8277         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8278         * sysdeps/x86/bits/wordsize.h: Likewise.
8280 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8281             Kevin Petit  <kevin.petit@arm.com>
8283         * sysdeps/aarch64/memchr.S (__memchr): New file.
8285 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8287         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8289 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8291         [BZ #19398]
8292         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8293         $(linknamespace-symlists-tests).
8295 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8297         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8299 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8300             Carlos O'Donell  <carlos@redhat.com>
8302         [Bug #20729]
8303         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8304         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8305         for -Os related change.
8307 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8309         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8311 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8313         [BZ #19673]
8314         * manual/math.texi (Exponents and Logarithms): Correct description
8315         of clog10.
8317 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8319         [Bz #20729]
8320         * locale/weight.h: Include libc-internal.h.
8321         * locale/weightwc.h: Likewise.
8322         * nptl/nptl_dbP.h: Likewise.
8324 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8326         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8327         when it is MACH_PORT_NULL.
8329 2016-10-31  Andreas Schwab  <schwab@suse.de>
8331         [BZ #20707]
8332         * posix/glob.c (glob): Initialize pglob before checking for
8333         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8334         valid brace expression despite GLOB_BRACE.
8335         * posix/globtest.sh: Test it.
8337 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8339         [BZ #20729]
8340         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8341         Define.
8342         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8343         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8344         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8345         for seq2.back_us and seq1.back_us only for -Os compiles.
8346         * locale/weightwc.h (findix): Likewise.
8347         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8348         DB_GET_FIELD_ADDRESS only for -Os compiles.
8349         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8350         for slen only for -Os compiles.
8351         * string/strcoll_l.c (get_next_seq): Ignore
8352         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8353         for -Os compiles.
8355         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8356         * include/crypt.h: New file.
8358 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8360         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8361         from test-skeleton.c.
8362         (statclass): Replace calls to write with calls to write_message.
8364 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8366         * math/math.h
8367         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8368         New macro.
8369         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8370         Likewise.
8371         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8372         Likewise.
8373         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8374         SNANL.
8375         * math/test-double.h (snan_value_MACRO): New macro.
8376         * math/test-float.h (snan_value_MACRO): Likewise.
8377         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8378         * math/libm-test.inc (issignaling_test_data): Add tests of
8379         snan_value_MACRO.
8381 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8383         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8384         behavior when eliding a lock not held by the current thread.
8385         * sysdeps/powerpc/nptl/elide.h: Likewise.
8387 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8389         [BZ #20728]
8390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8391         branch to _exit() by a function call.
8393 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8395         * malloc/malloc.c: Update chunk layout comments.
8396         (chunk_main_arena): Update comment.
8398 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8400         * crypt/sha256.c, crypt/sha256-block.c,
8401         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8402         sha256_process_block to __sha256_process_block.
8403         * crypt/sha512.c, crypt/sha512-block.c,
8404         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8405         sha512_process_block to __sha512_process_block.
8407 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8409         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8411         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8413 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8415         [BZ #20019]
8416         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8417         definition in unrelocated shared library.
8418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8420 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8422         [BZ #20729]
8423         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8424         * sysdeps/unix/sysv/linux/i386/Makefile
8425         (uses-6-syscall-arguments): Define.
8426         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8427         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8428         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8429         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8430         Likewise.
8431         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8432         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8433         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8434         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8435         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8436         (CFLAGS-fallocate64.os): Likewise.
8437         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8438         (CFLAGS-pthread_rwlock_timedrdlock.os)
8439         (CFLAGS-pthread_rwlock_timedwrlock.o)
8440         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8441         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8442         (CFLAGS-sem_timedwait.os): Likewise.
8444 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8446         * elf/tst-linkall-static.c: New file.
8447         * elf/Makefile (tests-static): Add tst-linkall-static.
8448         (tst-linkall-static): Link against static libraries.
8450 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8452         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8453         mmaped chunks.
8455 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8457         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8458         members to mchunk_prev_size, mchunk_size.
8459         (chunk_main_arena): Reverse sense and rename from
8460         chunk_non_main_arena.
8461         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8462         mchunk_size instead of size.
8463         (set_non_main_arena): Define.
8464         (chunksize): Use chunksize_nomask instead of direct member access.
8465         (chunksize_nomask): Define.
8466         (next_chunk): Use chunksize instead of direct member access.
8467         (prev_size, set_prev_size): Define.
8468         (prev_chunk): Use prev_size instead of direct member access.
8469         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8470         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8471         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8472         (mchunk_prev_size, mchunk_size): Poison tokens.
8473         (unlink): Use chunksize_nomask, prev_size accessors.
8474         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8475         (do_check_free_chunk): Use prev_size accessor.
8476         (sysmalloc): Use set_prev_size, set_head accessors.
8477         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8478         (__libc_free): Use chunksize_nomask accessor.
8479         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8480         chunk_main_arena accessors.
8481         (_int_free): Use chunksize_nomask, prev_size accessors.
8482         (malloc_consolidate): Use chunksize, prev_size accessors.
8483         (_int_realloc): Use chunksize_nomask accessor.
8484         (_int_memalign): Use set_prev_size accessor.
8485         (__malloc_info): Use chunksize_nomask accessor.
8486         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8487         accessors.
8488         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8489         (heap_trim): Use chunksize_nomask, prev_size accessors.
8491 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8493         [BZ #19380]
8494         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8495         for inexact results.
8496         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8497         of inexact result where mpfr_subnormalize is the only inexact
8498         step.
8499         * stdlib/tst-strtod-round-data.h: Regenerated.
8500         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8501         Define to 0.
8502         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8504 2016-10-27  David S. Miller  <davem@davemloft.net>
8506         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8508 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8510         * malloc/malloc.c (do_set_mallopt_check): New function.
8511         (do_set_mmap_threshold): Likewise.
8512         (do_set_mmaps_max): Likewise.
8513         (do_set_top_pad): Likewise.
8514         (do_set_perturb_byte): Likewise.
8515         (do_set_trim_threshold): Likewise.
8516         (do_set_arena_max): Likewise.
8517         (do_set_arena_test): Likewise.
8518         (__libc_mallopt): Use them.
8520 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8522         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8523         (canonicalize): New declaration.
8524         * math/Versions (canonicalize): New libm symbol at version
8525         GLIBC_2.25.
8526         (canonicalizef): Likewise.
8527         (canonicalizel): Likewise.
8528         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8529         * math/s_canonicalize_template.c: New file.
8530         * math/libm-test.inc: Update comment on functions tested and
8531         testing of NaN payloads.
8532         (TEST_NAN_PAYLOAD): New macro.
8533         (NO_TEST_INLINE): Update value.
8534         (XFAIL_TEST): Likewise.
8535         (ERRNO_UNCHANGED): Likewise.
8536         (ERRNO_EDOM): Likewise.
8537         (ERRNO_ERANGE): Likewise.
8538         (IGNORE_RESULT): Likewise.
8539         (NON_FINITE): Likewise.
8540         (TEST_SNAN): Likewise.
8541         (NO_TEST_MATHVEC): Likewise.
8542         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8543         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8544         (struct test_Ffp_b1_data): New type.
8545         (RUN_TEST_Ffp_b1): New macro.
8546         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8547         (canonicalize_test_data): New array.
8548         (canonicalize_test): New function.
8549         (main): Call canonicalize_test.
8550         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8551         canonicalizef and canonicalizel.
8552         * manual/libm-err-tab.pl: Update comment on interfaces without
8553         ulps tabulated.
8554         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8555         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8556         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8557         canonicalize.
8558         (CFLAGS-nldbl-canonicalize.c): New variable.
8559         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8560         to ...
8561         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8562         ... here.
8563         (do_test): Also test canonicalizel.
8564         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8565         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8566         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8567         file.
8568         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8569         Use libm_hidden_def.
8570         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8571         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8572         (do_test): Also test canonicalizel.
8573         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8574         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8575         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8576         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8577         libm_hidden_def.
8578         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8579         macro.
8580         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8581         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8582         * sysdeps/nacl/libm.abilist: Update.
8583         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8584         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8585         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8586         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8587         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8588         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8589         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8590         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8592         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8593         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8594         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8596         Likewise.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8598         Likewise.
8599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8600         Likewise.
8601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8602         Likewise.
8603         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8604         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8611         Likewise.
8612         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8616         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8617         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8618         getpayload.
8619         (CFLAGS-nldbl-getpayload.c): New variable.
8621 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8623         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8624         integer from the format string.
8626 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8628         [BZ #19473]
8629         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8630         declarations.
8631         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8632         weak aliases.
8633         * malloc/hooks.c (__malloc_get_state): Remove definition.
8634         (malloc_get_state): New stub implementation as
8635         compatibility symbol.
8636         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8637         compat symbol.
8638         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8639         malloc_set_state.
8640         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8642 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8644         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8645         (names): Turn into concatenation of strings.
8646         (gconv_init): Adapt iteration over names.
8648 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8650         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8651         make const.
8652         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8653         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8654         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8655         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8656         character in sbconv.
8657         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8658         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8659         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8661 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8663         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8665         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8666         (M_TRIM_THRESHOLD): Likewise.
8668         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8669         (M_ARENA_MAX): Likewise.
8670         * malloc/malloc.c: Remove obsolete comment.
8672         * manual/memory.texi: Add environment variable alternatives to
8673         setting mallopt parameters.
8675 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8677         * include/atomic.h
8678         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8679         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8681 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8683         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8684         * stdlib/tst-strfrom.h: New file.
8685         * stdlib/tst-strfrom.c: New file.
8686         * stdlib/tst-strfrom-locale.c: New file.
8688         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8689         * stdlib/bug-strtod2.c: Likewise.
8690         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8691         * stdlib/tst-strtod6.c: Likewise.
8692         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8694 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8696         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8697         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8698         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8699         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8700         * stdlib/stdlib.h (strfromd): New declaration.
8701         (strfromf): Likewise.
8702         (strfroml): Likewise.
8703         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8704         strfrom.
8705         * stdlib/strfromd.c: New file.
8706         * stdlib/strfromf.c: Likewise.
8707         * stdlib/strfroml.c: Likewise.
8708         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8709         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8710         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8711         * sysdeps/arm/nacl/libc.abilist: Update.
8712         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8713         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8714         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8715         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8716         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8717         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8718         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8719         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8720         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8724         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8725         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8732         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8733         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8734         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8737         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8738         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8739         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8741 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8743         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8744         instead of cmpli.
8745         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8746         instead of cmpli.
8748 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8750         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8751         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8752         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8753         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8754         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8755         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8757 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8759         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8760         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8761         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8762         SYSCALL_LL64_PRW.
8763         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8764         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8765         __ASSUME_PRW_DUMMY_ARG.
8766         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8767         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8768         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8769         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8770         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8771         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8773 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8775         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8777 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8779         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8780         "C++", to override a potential extern "C" directive around the
8781         header file inclusion.
8783 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8785         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8787 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8789         * sysdeps/powerpc/fpu/fenv_private.h:
8790         (_FPU_MASK_ALL): Rename to...
8791         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8792         XE FPSCR bits.
8794         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8796         (_FPU_MASK_ROUNDING): Rename to...
8797         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8798         NI bits.
8800         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8801         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8802         bits and rounding bits.
8804         (__libc_feholdbits_ppc): New inline function to mask, set,
8805         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8806         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8807         (libc_feholdexcept_setround_ppc): Likewise.
8809         (__libc_femergeenv_ppc): New function to dynamically mask both
8810         old and new FP environments and merge.
8811         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8812         (libc_feresetround_ppc): Likewise.
8813         (libc_feupdateenv_test_ppc): Likewise.
8814         (libc_feupdateenv_ppc): Likewise.
8816         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8817         of ISA RN bits, and update macro names.
8818         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8819         effectively the same as the previously mentioned function.
8821         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8822         usage with fe_resetround_ppc.
8824         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8825         to be used.
8826         (libc_feholdexcept_setround_ctxf): Likewise.
8827         (libc_feholdexcept_setround_ctxl): Likewise.
8829 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8831         [BZ #20715]
8832         * math/math.h [__cplusplus] (iszero): Define as function template.
8833         * math/Makefile [CXX] (tests): Add test-math-iszero.
8834         (CFLAGS-test-math-iszero.cc): Set.
8835         * math/test-math-iszero.cc: New file.
8837 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8839         [BZ #20660]
8840         * sysdeps/arm/e_sqrt.c: New file.
8841         * sysdeps/arm/e_sqrtf.c: Likewise.
8843 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8845         [BZ #20718]
8846         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8847         not use floating-point comparisons to test sign.
8848         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8849         Likewise.
8851         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8852         (getpayload): New declaration.
8853         * math/Versions (getpayload): New libm symbol at version
8854         GLIBC_2.25.
8855         (getpayloadf): Likewise.
8856         (getpayloadl): Likewise.
8857         * math/Makefile (libm-calls): Add s_getpayloadF.
8858         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8859         (struct test_f_f_data): Add comment.
8860         (RUN_TEST_fp_f): New macro.
8861         (RUN_TEST_LOOP_fp_f): Likewise.
8862         (getpayload_test_data): New array.
8863         (getpayload_test): New function.
8864         (main): Call getpayload_test.
8865         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8866         descriptor.
8867         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8868         getpayloadf and getpayloadl.
8869         * manual/libm-err-tab.pl: Update comment on interfaces without
8870         ulps tabulated.
8871         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8872         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8873         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8874         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8875         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8876         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8877         * sysdeps/nacl/libm.abilist: Update.
8878         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8879         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8881         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8882         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8883         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8884         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8887         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8888         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8889         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8891         Likewise.
8892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8895         Likewise.
8896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8900         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8901         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8902         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8904         Likewise.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8906         Likewise.
8907         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8909         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8911 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8913         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8914         tst-fallocate{64}.
8915         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8916         on syscall return.
8918 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8920         [BZ #20689]
8921         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8922         usable.
8924 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8926         * sysdeps/generic/nan-high-order-bit.h: New file.
8927         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8928         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8929         * sysdeps/hppa/math_private.h: Remove file.
8930         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8931         not define here.
8932         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8933         <nan-high-order-bit.h>.
8934         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8935         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8936         <nan-high-order-bit.h>.
8937         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8938         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8939         <nan-high-order-bit.h>.
8940         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8941         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8942         <nan-high-order-bit.h>.
8943         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8944         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8945         <nan-high-order-bit.h>.
8946         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8947         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8948         <nan-high-order-bit.h>.
8949         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8950         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8951         <nan-high-order-bit.h>.
8952         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8953         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8954         <nan-high-order-bit.h>.
8955         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8956         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8957         <nan-high-order-bit.h>.
8958         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8959         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8960         <nan-high-order-bit.h>.
8961         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8962         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8963         <nan-high-order-bit.h>.
8964         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8965         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8966         <nan-high-order-bit.h>.
8967         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8968         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8969         <nan-high-order-bit.h>.
8970         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8971         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8972         <nan-high-order-bit.h>.
8973         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8974         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8975         <nan-high-order-bit.h>.
8976         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8977         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8978         <nan-high-order-bit.h>.
8979         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8980         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8981         <nan-high-order-bit.h>.
8982         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8983         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8984         <nan-high-order-bit.h>.
8985         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8987 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8989         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8991 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8993         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8994         abort-instr.h.
8995         (EFAULT): Remove conditional define.
8996         (ENOSYS): Likewise.
8997         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8998         instead of conditional branch instructions.
9000 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9002         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9003         (totalordermag): New declaration.
9004         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9005         New macro.
9006         * math/Versions (totalordermag): New libm symbol at version
9007         GLIBC_2.25.
9008         (totalordermagf): Likewise.
9009         (totalordermagl): Likewise.
9010         * math/Makefile (libm-calls): Add s_totalordermagF.
9011         * math/libm-test.inc (totalordermag_test_data): New array.
9012         (totalordermag_test): New function.
9013         (main): Call totalordermag_test.
9014         * math/test-tgmath.c (NCALLS): Increase to 125.
9015         (F(compile_test)): Call totalordermag.
9016         (F(totalordermag)): New function.
9017         * manual/arith.texi (FP Comparison Functions): Document
9018         totalordermag, totalordermagf and totalordermagl.
9019         * manual/libm-err-tab.pl: Update comment on interfaces without
9020         ulps tabulated.
9021         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9022         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9023         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9024         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9025         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9026         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9027         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9028         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9029         totalordermag.
9030         (CFLAGS-nldbl-totalordermag.c): New variable.
9031         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9032         (do_test): Also test totalordermagl.
9033         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9034         Likewise.
9035         * sysdeps/nacl/libm.abilist: Update.
9036         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9044         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9045         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9046         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9047         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9049         Likewise.
9050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9051         Likewise.
9052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9053         Likewise.
9054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9055         Likewise.
9056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9058         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9062         Likewise.
9063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9064         Likewise.
9065         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9066         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9067         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9069 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9071         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9072         boolean.
9074 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9076         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9077         raising FE_INVALID with feraisexcept in case where part of
9078         argument is infinite, subtract that part of argument from itself.
9079         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9080         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9081         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9083 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9085         * math/libm-test.inc (totalorder_test_data): Add more tests.
9087 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9089         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9090         Undefine weak_alias and add a comment why mips64 require
9091         versioning.
9093 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9095         [BZ #20647]
9096         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9097         maximum CPUID level is less than 2.
9099 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9101         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9102         (totalorder): New declaration.
9103         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9104         New macro.
9105         * math/Versions (totalorder): New libm symbol at version
9106         GLIBC_2.25.
9107         (totalorderf): Likewise.
9108         (totalorderl): Likewise.
9109         * math/Makefile (libm-calls): Add s_totalorderF.
9110         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9111         string.
9112         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9113         (qnan_value_pl): Likewise.
9114         (snan_value_pl): Likewise.
9115         (qnan_value): Define using qnan_value_pl.
9116         (snan_value): Define using snan_value_pl.
9117         (struct test_ff_i_data): Add comment about which tests use this
9118         structure.
9119         (RUN_TEST_ff_b): New macro.
9120         (RUN_TEST_LOOP_ff_b): Likewise.
9121         (totalorder_test_data): New array.
9122         (totalorder_test): New function.
9123         (main): Call totalorder_test.
9124         * math/test-tgmath.c (NCALLS): Increase to 122.
9125         (F(compile_test)): Call totalorder.
9126         (F(totalorder)): New function.
9127         * manual/arith.texi (FP Comparison Functions): Document
9128         totalorder, totalorderf and totalorderl.
9129         * manual/libm-err-tab.pl: Update comment on interfaces without
9130         ulps tabulated.
9131         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9132         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9133         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9134         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9135         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9136         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9137         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9138         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9139         totalorder.
9140         (CFLAGS-nldbl-totalorder.c): New variable.
9141         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9142         file.
9143         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9144         Add test-totalorderl-ldbl-128ibm.
9145         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9146         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9147         test-totalorderl-ldbl-96.
9148         * sysdeps/nacl/libm.abilist: Update.
9149         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9152         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9153         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9164         Likewise.
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9166         Likewise.
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9168         Likewise.
9169         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9177         Likewise.
9178         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9180         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9182 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9184         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9185         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9186         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9187         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9188         remove ENOSYS implementation.
9189         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9190         Consolidate all Linux implementations.
9192 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9194         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9195         * resolv/herror.c (herror): Cast away const-ness.
9196         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9197         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9199 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9201         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9202         instead of M_NAN + M_NAN.
9203         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9205 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9207         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9208         unused variable 'p'.
9210 2016-10-09  Alan Modra  <amodra@gmail.com>
9211             Andreas Schwab  <schwab@linux-m68k.org>
9213         [BZ #20554]
9214         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9215         [PIC && !SHARED]: Set up PIC register for PLT call.
9217 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9219         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9220         conditional on value of [__FLT_EVAL_METHOD__].
9221         * math/test-iseqsig-excess-precision.c: New file.
9222         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9224 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9226         * math/s_iseqsig_template.c: Include math-private.h.
9228         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9229         * posix/tst-posix_fadvise.c: New file.
9230         * posix/tst-posix_fadvise64.c: Likewise.
9231         * posix/tst-posix_fadvise-common.c: Likewise.
9232         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9233         (__ASSUME_FADVISE64_64_6ARG): Define.
9234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9235         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9236         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9237         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9238         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9239         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9240         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9241         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9242         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9243         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9244         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9245         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9248         Likewise.
9249         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9251         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9252         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9253         Alias to __posix_fadvise64_l32.
9254         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9255         Add compat definition to posix_fadvise64.
9256         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9257         Add versioned definition to posix_fadvise64.
9258         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9259         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9260         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9261         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9262         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9264         * io/Makefile (tests): Add tst-posix_fallocate and
9265         tst-posix_fallocate64.
9266         * io/tst-posix_fallocate-common.c: New file.
9267         * io/tst-posix_fallocate.c: Likewise.
9268         * io/tst-posix_fallocate64.c: Likewise.
9269         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9270         file.
9271         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9272         Likewise.
9273         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9274         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9277         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9278         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9279         SYSCALL_LL to pass both offset and len arguments.
9280         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9283         __libc_pwrite64 alias used by posix_fallocate64.
9285         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9286         tst-fallocate64.
9287         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9288         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9289         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9290         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9291         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9292         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9293         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9294         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9295         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9296         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9297         macro on offset argument.
9298         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9299         SYSCALL_LL64 on offset argument.
9301         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9302         tst-fallocate64.
9303         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9304         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9305         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9306         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9307         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9308         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9309         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9310         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9311         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9312         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9313         macro on offset argument.
9314         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9315         SYSCALL_LL64 on offset argument.
9316         * test-skeleton.c (FAIL_RET): Add macro.
9317         (FAIL_EXIT): Likewise.
9318         (FAIL_EXIT1): Likewise.
9319         (_FAIL): Likewise.
9321 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9323         [BZ #20629]
9324         resolv: Remove RES_USEBSTRING and its implementation.
9325         * resolv/resolv.h (RES_USEBSTRING): Remove.
9326         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9327         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9328         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9329         (labellen): Remove extended label types support.
9330         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9331         * resolv/res_init.c (res_setoptions): Likewise.
9332         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9334 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9336         resolv: Remove RES_NOIP6DOTINT and its implementation.
9337         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9338         (RES_NOIP6DOTINT): Remove.
9339         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9340         handling.
9341         * resolv/res_debug.c (p_option): Likewise.
9342         * resolv/res_init.c (res_setoptions): Likewise.
9343         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9345 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9347         resolv: Deprecate unimplemented flags.
9348         * misc/sys/cdefs.h (__glibc_macro_warning1)
9349         (__glibc_macro_warning): Define.
9350         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9351         (RES_KEEPTSIG): Mark as deprecated.
9352         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9353         RES_NOCHECKNAME, RES_KEEPTSIG.
9354         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9356 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9358         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9359         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9360         Use strong_alias to create symbols for glibc verison 2.19.
9362 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9364         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9366 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9368         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9370 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9372         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9374 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9377         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9378         in header for using it as type for ifunc function because __GI_* symbols
9379         for ppc32 do not target the ifunc symbols.
9380         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9382 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9384         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9385         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9386         libc_ifunc_hidden_def.
9387         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9388         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9389         Redirect ifunced function in header for using it as type of ifunc'ed
9390         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9391         function for __GI_* symbol.
9392         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9393         * include/libc-symbols.h
9394         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9396 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9398         [BZ #20478]
9399         * sysdeps/s390/multiarch/ifunc-resolve.h
9400         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9401         to create ifunc symbols.
9402         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9403         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9404         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9405         for using it as type for ifunc function.
9406         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9407         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9408         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9409         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9410         * sysdeps/s390/multiarch/strcat.c: Likewise.
9411         * sysdeps/s390/multiarch/strchr.c: Likewise.
9412         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9413         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9414         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9415         * sysdeps/s390/multiarch/strlen.c: Likewise.
9416         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9417         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9418         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9419         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9420         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9421         * sysdeps/s390/multiarch/strspn.c: Likewise.
9422         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9423         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9424         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9425         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9426         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9427         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9428         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9429         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9430         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9431         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9432         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9433         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9435 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9437         * include/libc-symbols.h (__ifunc_resolver):
9438         New macro is used by __ifunc* macros.
9439         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9440         depending on HAVE_GCC_IFUNC.
9441         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9442         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9444         Redirect ifunced function in header for using as type for ifunc function.
9445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9450         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9451         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9452         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9453         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9454         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9456         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9458         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9464         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9465         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9466         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9468         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9469         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9470         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9471         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9472         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9473         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9474         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9475         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9476         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9477         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9479         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9480         instead of libc_ifunc() macro.
9481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9484 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9486         * config.h.in (HAVE_GCC_IFUNC): New undef.
9487         * configure.ac: Add check if gcc supports attribute ifunc feature.
9488         * configure: Regenerated.
9489         * manual/install.texi: Add recommendation for gcc with
9490         indirect-function support.
9491         * INSTALL: Regenerated.
9493 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9495         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9496         macro.
9497         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9498         (__iseqsig): New declaration.
9499         * math/s_iseqsig_template.c: New file.
9500         * math/Versions (__iseqsigf): New libm symbol at version
9501         GLIBC_2.25.
9502         (__iseqsig): Likewise.
9503         (__iseqsigl): Likewise.
9504         * math/libm-test.inc (iseqsig_test_data): New array.
9505         (iseqsig_test): New function.
9506         (main): Call iseqsig_test.
9507         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9508         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9509         * manual/libm-err-tab.pl: Update comment on interfaces without
9510         ulps tabulated.
9511         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9512         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9513         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9514         * sysdeps/nacl/libm.abilist: Update.
9515         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9528         Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9548 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9550         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9551         do_sincos_2, sloww, sloww1): Update comments.
9553         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9554         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9556         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9557         K boolean and rename it.
9558         (__sin): Adjust.
9559         (__cos): Adjust.
9561 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9562             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9564         * manual/nss.texi: Fix typos in the manual.
9566 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9568         * manual/contrib.texi: Fix typos in the manual.
9570         * manual/maint.texi: Fix typos in the manual.
9572         * manual/install.texi: Fix typos in the manual.
9573         * INSTALL: Regenerated.
9575         * manual/lang.texi: Fix typos in the manual.
9577         * manual/probes.texi: Fix typos in the manual.
9579         * manual/threads.texi: Fix typos in the manual.
9581         * manual/debug.texi: Fix typos in the manual.
9583         * manual/crypt.texi: Fix typos in the manual.
9585         * manual/conf.texi: Fix typos in the manual.
9587         * manual/sysinfo.texi: Fix typos in the manual.
9589         * manual/users.texi: Fix typos in the manual.
9591         * manual/job.texi: Fix typos in the manual.
9593         * manual/process.texi: Fix typos in the manual.
9595         * manual/argp.texi: Fix typos in the manual.
9596         * manual/getopt.texi: Likewise.
9597         * manual/startup.texi: Likewise.
9599         * manual/signal.texi: Fix typos in the manual.
9601         * manual/setjmp.texi: Fix typos in the manual.
9603         * manual/resource.texi: Fix typos in the manual.
9605         * manual/time.texi: Fix typos in the manual.
9607         * manual/arith.texi: Fix typos in the manual.
9609         * manual/math.texi: Fix typos in the manual.
9611         * manual/syslog.texi: Fix typos in the manual.
9613         * manual/terminal.texi: Fix typos in the manual.
9615         * manual/socket.texi: Fix typos in the manual.
9617         * manual/filesys.texi: Fix typos in the manual.
9619         * manual/llio.texi: Fix typos in the manual.
9621         * manual/stdio.text: Fix typos in the manual.
9623 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9625         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9626         instead of K1.
9628         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9629         SHIFT_QUADRANT and make it bool.
9630         (do_sincos_2): Likewise.
9631         (sloww): Likewise.
9632         (sloww1): Likewise.
9633         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9634         (__cos): Likewise.
9636 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9638         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9640 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9642         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9643         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9644         0x7fffffffL].
9645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9647 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9649         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9650         inline by __inline__.
9651         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9652         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9653         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9654         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9655         sigset_t from signal.h.
9656         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9657         which is already required.
9659 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9661         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9663 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9665         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9666         (struct tcp_repair_window): New type.
9668 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9670         * libio/tst-memstream3.c: Include string.h.
9672 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9674         [BZ #18241]
9675         [BZ #20181]
9676         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9677         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9678         write position is at the end the buffer.
9679         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9680         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9681         (_IO_str_seekoff): Set correct offset from negative displacement and
9682         set EINVAL for invalid ones.
9683         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9684         buffer length.
9685         (_IO_wstr_switch_to_get_mode): New function.
9686         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9687         set EINVAL for invalid ones.
9688         * libio/tst-memstream3.c: New file.
9689         * libio/tst-wmemstream3.c: Likewise.
9690         * manual/examples/memstrm.c: Remove warning when priting size_t.
9692 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9694         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9695         macro to use __builtin_fma.
9696         * sysdeps/x86_64/fpu/dla.h: Remove file.
9698         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9699         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9700         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9702 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9704         [BZ #20292]
9705         * elf/Makefile (routines): Add dl-addr-obj.
9706         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9707         tst-_dl_addr_inside_object.
9708         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9709         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9710         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9711         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9712         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9713         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9714         * elf/dl-open.c: Likewise.
9715         * elf/dl-addr-obj.c: New file.
9716         * elf/tst-_dl_addr_inside_object.c: New file.
9718 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9720         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9721         <bits/iscanonical.h>.
9722         * bits/iscanonical.h: New file.
9723         * math/s_iscanonicall.c: Likewise.
9724         * math/Versions (__iscanonicall): New libm symbol at version
9725         GLIBC_2.25.
9726         * math/libm-test.inc (iscanonical_test_data): New array.
9727         (iscanonical_test): New function.
9728         (main): Call iscanonical_test.
9729         * math/Makefile (headers): Add bits/iscanonical.h.
9730         (type-ldouble-routines): Add s_iscanonicall.
9731         * manual/arith.texi (Floating Point Classes): Document
9732         iscanonical.
9733         * manual/libm-err-tab.pl: Update comment on interfaces without
9734         ulps tabulated.
9735         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9736         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9737         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9738         Likewise.
9739         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9740         test-iscanonical-ldbl-128ibm.
9741         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9742         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9743         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9744         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9745         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9746         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9747         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9751         Likewise.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9757         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9759 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9761         * string/bits/string3.h: Remove C++ style comments.
9763 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9765         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9766         instead of ternary condition.
9767         (do_sincos_2): Likewise.
9768         (__sin): Likewise.
9769         (__cos): Likewise.
9770         (slow): Likewise.
9771         (sloww): Likewise.
9772         (sloww1): Likewise.
9773         (bsloww): Likewise.
9774         (bsloww1): Likewise.
9776         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9777         instead of ternary condition.
9778         (do_sin_slow): Likewise.
9779         (do_sincos_1): Likewise.
9780         (do_sincos_2): Likewise.
9781         (__cos): Likewise.
9782         (sloww): Likewise.
9783         (sloww1): Likewise.
9784         (sloww2): Likewise.
9785         (bsloww): Likewise.
9786         (bsloww1): Likewise.
9787         (bsloww2): Likewise.
9789         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9790         check from here...
9791         (slow2): ... and here...
9792         (__sin): ... to here.
9794 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9796         * math/math.h
9797         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9798         Cast argument to its own type.
9799         * math/test-iszero-excess-precision.c: New file.
9800         * math/Makefile (tests): Add test-iszero-excess-precision.
9801         (CFLAGS-test-iszero-excess-precision.c): New variable.
9803 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9805         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9806         field, add err field.
9807         (__spawni_child): Report error through err member instead of pipe.
9808         (__spawnix): Likewise.
9810 2016-09-28  Zack Weinberg  <zackw@panix.com>
9812         * scripts/check-installed-headers.sh: Generalize treatment of
9813         sys/elf.h to all target architectures.
9815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9816         deleted typedef ucontext_t.
9818 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9820         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9821         (__INTERNAL_SYSCALL1): Likewise.
9822         (__INTERNAL_SYSCALL2): Likewise.
9823         (__INTERNAL_SYSCALL3): Likewise.
9824         (__INTERNAL_SYSCALL4): Likewise.
9825         (__INTERNAL_SYSCALL5): Likewise.
9826         (__INTERNAL_SYSCALL6): Likewise.
9827         (__INTERNAL_SYSCALL7): Likewise.
9828         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9829         (__INTERNAL_SYSCALL_NARGS): Likewise.
9830         (__INTERNAL_SYSCALL_DISP): Likewise.
9831         (INTERNAL_SYSCALL_CALL): Likewise.
9832         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9833         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9834         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9835         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9836         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9837         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9838         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9839         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9840         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9841         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9842         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9843         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9844         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9846 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9848         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9849         macro.
9850         * math/libm-test.inc (iszero_test_data): New array.
9851         (iszero_test): New function.
9852         (main): Call iszero_test.
9853         * manual/arith.texi (Floating Point Classes): Document iszero.
9854         * manual/libm-err-tab.pl: Update comment on interfaces without
9855         ulps tabulated.
9857 2016-09-23  Zack Weinberg  <zackw@panix.com>
9859         * scripts/check-installed-headers.sh: New script.
9860         * Rules: In each directory that defines header files to be installed,
9861         run check-installed-headers.sh on them as a special test.
9862         * Makefile: Likewise for the headers installed at top level.
9864         * include/aliases.h, include/alloca.h, include/argz.h
9865         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9866         * include/elf.h, include/envz.h, include/err.h
9867         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9868         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9869         * include/link.h, include/malloc.h, include/mcheck.h
9870         * include/mntent.h, include/netinet/ether.h
9871         * include/nss.h, include/obstack.h, include/printf.h
9872         * include/pty.h, include/resolv.h, include/rpc/auth.h
9873         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9874         * include/rpc/clnt.h, include/rpc/des_crypt.h
9875         * include/rpc/key_prot.h, include/rpc/netdb.h
9876         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9877         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9878         * include/rpc/rpc_msg.h, include/rpc/svc.h
9879         * include/rpc/svc_auth.h, include/rpc/xdr.h
9880         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9881         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9882         * include/rpcsvc/ypupd.h, include/shadow.h
9883         * include/stdio_ext.h, include/sys/epoll.h
9884         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9885         * include/sys/prctl.h, include/sys/profil.h
9886         * include/sys/statfs.h, include/sys/sysctl.h
9887         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9888         * sysdeps/arm/nacl/include/bits/setjmp.h
9889         * sysdeps/mips/include/sys/asm.h
9890         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9891         * sysdeps/unix/sysv/linux/include/sys/timex.h
9892         * sysdeps/x86/fpu/include/bits/fenv.h:
9893         Add #ifndef _ISOMAC guard around internal declarations.
9894         Add multiple-inclusion guard if not already present.
9896 2016-09-23  Zack Weinberg  <zackw@panix.com>
9898         * sysdeps/generic/sys/ucontext.h
9899         * sysdeps/arm/sys/ucontext.h
9900         * sysdeps/i386/sys/ucontext.h
9901         * sysdeps/m68k/sys/ucontext.h
9902         * sysdeps/mips/sys/ucontext.h
9903         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9904         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9905         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9906         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9907         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9908         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9909         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9910         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9911         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9912         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9913         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9914         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9915         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9916         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9917         Include both bits/sigcontext.h and bits/sigstack.h.
9918         Fix grammar error in comment, if present.
9920         * bits/sigstack.h
9921         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9922         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9923         * sysdeps/unix/sysv/linux/bits/sigstack.h
9924         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9925         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9926         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9927         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9928         * bits/sigcontext.h
9929         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9930         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9931         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9932         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9933         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9934         as well as signal.h, if this was not already allowed.  Request
9935         definition of size_t if necessary.  Minimize semantically-null
9936         differences across files.
9938 2016-09-23  Zack Weinberg  <zackw@panix.com>
9940         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9941         Remove all logic conditional on __need macros.  Move all the
9942         conditionally defined types to their own headers...
9943         * time/bits/types/clock_t.h: Define clock_t here.
9944         * time/bits/types/clockid_t.h: Define clockid_t here.
9945         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9946         * time/bits/types/struct_timespec.h: Define struct timespec here.
9947         * time/bits/types/struct_timeval.h: Define struct timeval here.
9948         * time/bits/types/struct_tm.h: Define struct tm here.
9949         * time/bits/types/time_t.h: Define time_t here.
9950         * time/bits/types/timer_t.h: Define timer_t here.
9951         * time/Makefile: Install the new headers.
9953         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9954         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9955         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9956         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9957         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9958         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9959         * sysdeps/unix/sysv/linux/bits/resource.h
9960         * sysdeps/unix/sysv/linux/bits/timex.h
9961         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9962         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9963         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9964         * sysdeps/unix/sysv/linux/sys/acct.h
9965         * sysdeps/unix/sysv/linux/sys/timerfd.h
9966         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9967         * time/sys/time.h, time/sys/timeb.h
9968         Use the new bits/types headers.
9970         * include/time.h: Remove __need logic.
9971         * include/bits/time.h
9972         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9973         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9974         * include/bits/types/struct_itimerspec.h
9975         * include/bits/types/struct_timespec.h
9976         * include/bits/types/struct_timeval.h
9977         * include/bits/types/struct_tm.h:
9978         New wrapper headers.
9980 2016-09-23  Zack Weinberg  <zackw@panix.com>
9982         * sysdeps/mach/hurd/net/if_ppp.h
9983         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9984         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9985         if __USE_MISC is defined, to ensure struct ifreq is declared.
9987         * inet/netinet/ether.h: Condition all function prototypes
9988         on __USE_MISC, to ensure struct ether_addr is declared.
9990         * socket/bits/types/struct_osockaddr.h: New header.
9991         * include/bits/types/struct_osockaddr.h: New wrapper.
9992         * socket/Makefile: Install the new header.
9993         * socket/sys/socket.h, inet/protocols/talkd.h:
9994         Refer to bits/types/struct_osockaddr.h for the definition of
9995         struct osockaddr.
9997 2016-09-23  Zack Weinberg  <zackw@panix.com>
9999         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10000         * inet/protocols/routed.h, inet/protocols/talkd.h
10001         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10002         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10003         * sysdeps/generic/netinet/if_ether.h
10004         * sysdeps/generic/netinet/in_systm.h
10005         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10006         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10007         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10008         * sysdeps/mach/hurd/net/if_arp.h
10009         * sysdeps/mach/hurd/net/if_ppp.h
10010         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10011         * sysdeps/unix/sysv/linux/bits/in.h
10012         * sysdeps/unix/sysv/linux/net/ethernet.h
10013         * sysdeps/unix/sysv/linux/net/if_arp.h
10014         * sysdeps/unix/sysv/linux/net/if_ppp.h
10015         * sysdeps/unix/sysv/linux/net/if_shaper.h
10016         * sysdeps/unix/sysv/linux/net/route.h
10017         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10018         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10019         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10020         * sysdeps/unix/sysv/linux/netipx/ipx.h
10021         * sysdeps/unix/sysv/linux/sys/acct.h
10022         * include/arpa/nameser.h, include/resolv.h:
10023         Change all uses of u_char to unsigned char,
10024         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10025         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10026         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10027         and u_int64_t and u_quad_t to uint64_t.
10029         * mach/sys/reboot.h: Remove two casts of integer literals
10030         to the types they already have.
10032         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10033         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10034         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10035         from referring to 'unsigned char' to 'uint8_t' for consistency with
10036         the macro definition below.
10038         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10039         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10040         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10041         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10042         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10043         * sysdeps/unix/sysv/linux/sys/acct.h
10044         * include/arpa/nameser.h, include/resolv.h:
10045         Fix indentation disrupted by mechanical edits.
10047         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10048         * sysdeps/generic/netinet/in_systm.h
10049         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10050         * sysdeps/gnu/netinet/udp.h
10051         * sysdeps/unix/sysv/linux/net/ethernet.h
10052         * sysdeps/unix/sysv/linux/net/if_arp.h
10053         * sysdeps/unix/sysv/linux/net/if_ppp.h
10054         * sysdeps/unix/sysv/linux/net/if_shaper.h
10055         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10056         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10057         * sysdeps/unix/sysv/linux/netipx/ipx.h
10058         * sysdeps/unix/sysv/linux/sys/acct.h
10059         Include stdint.h for uintNN_t definitions.
10060         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10062 2016-09-23  Zack Weinberg  <zackw@panix.com>
10064         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10065         * sysdeps/unix/sysv/linux/netrose/rose.h:
10066         Include sys/socket.h and netax25/ax25.h.
10068         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10069         * resolv/arpa/nameser_compat.h:
10070         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10072         * sysdeps/unix/sysv/linux/sys/quota.h:
10073         Use __caddr_t instead of caddr_t.
10074         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10075         Use __clockid_t instead of clockid_t.
10077         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10079         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10080         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10081         expanding it.
10083         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10084         Define __glibc_c99_flexarr_available to 1 when the compiler
10085         supports C99-compatible flexible array members, 0 otherwise.
10086         * sysdeps/unix/sysv/linux/bits/socket.h
10087         * sysdeps/mach/hurd/bits/socket.h
10088         * bits/socket.h: Use __glibc_c99_flexarr_available in
10089         definitions of struct cmsghdr and CMSG_DATA.
10091 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10093         * manual/nss.texi (NSS Modules Interface): Adjust function return
10094         type to enum nss_status.  Document errnop argument.  Clarify
10095         h_errnop semantics.  Fix cross-reference formatting.
10096         (NSS Module Function Internals): Mention that *errnop needs to be
10097         set on failure, but not to zero.
10099 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10101         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10102         (get_random_name): New functions.
10103         (check_wrapper_flags_mode): Use linkat to give the new file a name
10104         determined by get_random_name.
10105         (do_test): Add calls to test open64 and openat64.
10107 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10109         * test-skeleton.c: Remove #include <stdarg.h>.
10111 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10113         [BZ #19826]
10114         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10115         initialization of static TLS entries.
10116         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10117         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10119 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10121         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10122         _hurd_malloc_fork_prepare.
10123         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10124         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10125         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10126         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10127         (_hurd_fork_child_hook): Drop malloc_fork_child.
10128         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10129         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10130         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10131         after locking locks (notably hurd_dtable_lock). Call
10132         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10133         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10134         __malloc_fork_unlock_child.
10135         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10137 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10139         * soft-fp/extendhftf2.c: New.
10140         * soft-fp/fixhfti.c: Likewise.
10141         * soft-fp/fixunshfti.c: Likewise.
10142         * soft-fp/floattihf.c: Likewise.
10143         * soft-fp/floatuntihf.c: Likewise.
10144         * soft-fp/half.h: Likewise.
10145         * soft-fp/trunctfhf2.c: Likewise.
10147 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10149         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10150         macro.
10151         * math/libm-test.inc (issubnormal_test_data): New array.
10152         (issubnormal_test): New function.
10153         * manual/arith.texi (Floating Point Classes): Document
10154         issubnormal.
10155         * manual/libm-err-tab.pl: Update comment on interfaces without
10156         ulps tabulated.
10158         * sysdeps/generic/stdint.h: Define
10159         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10160         <bits/libc-header-start.h> instead of including <features.h>.
10161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10194         * manual/arith.texi (Integers): Document these macros for types
10195         specified by width properties.
10196         * manual/lang.texi (Width of Type): Document these macros for
10197         other standard typedefs.
10198         * stdlib/tst-width-stdint.c: New file.
10199         * stdlib/Makefile (tests): Add tst-width-stdint.
10201 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10203         [BZ #20016]
10204         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10205         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10206         Move ...
10207         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10208         ... here, as compatibility symbols in a new file.
10209         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10210         * resolv/res_init.c (__res_vinit): Adjust member names.
10211         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10212         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10213         (res_send_rhook): Remove.
10214         (struct __res_state): Rename qhook, rhook members.
10216 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10218         malloc: Use __libc_lock wrappers.
10219         * malloc/arena.c (list_lock, free_list_lock): Define using
10220         __libc_lock_define_initialized.
10221         (arena_lock): Adjust formatting.
10222         * malloc/malloc.c (struct malloc_state): Define mutex using
10223         __libc_lock_define.
10224         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10225         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10226         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10227         (mutex_unlock, mutex_trylock): Remove.
10228         (__pthread_initialize): Remove unused macro.
10229         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10230         (mutex_unlock, mutex_trylock): Remove.
10232 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10234         [BZ #20592]
10235         Remove RR type classification macros.
10236         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10237         (ns_t_udp_p, ns_t_xfr_p): Remove.
10239 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10241         Remove misleading version information.
10242         * resolv/arpa/nameser.h (__NAMESER): Remove.
10243         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10245 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10247         Remove the always-defined BIND_4_COMPAT macro.
10248         * resolv/arpa/nameser.h: Unconditionally include
10249         <arpa/nameser_compat.h>.
10250         (BIND_4_COMPAT): Remove.
10251         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10253 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10255         [BZ #20591]
10256         Remove obsolete DNSSEC support.
10257         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10258         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10259         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10260         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10261         (ns_cert_types): Add comment.
10262         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10263         separately.
10264         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10265         (dst_s_dns_key_id): Remove.
10266         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10267         variables.
10269 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10271         [BZ #20524]
10272         * manual/string.texi (String/Array Comparison): Clarify the
10273         strverscmp behavior.
10275 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10277         * test-skeleton.c (xasprintf): Add function.
10278         * io/tst-open-tmpfile.c: New test.
10279         * io/Makefile (tests): Add it.
10281 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10283         Avoid running $(CXX) during build to obtain header file paths.
10284         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10285         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10286         * Makerules (cstdlib, cmath): Remove variables.  Use
10287         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10288         * configure: Regenerate.
10290 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10292         * Makeconfig (all-object-suffixes): Include .op only if
10293         $(build-profile).
10295 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10297         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10298         conditionals.  Do not define PATH_MAX.
10300 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10302         * posix/Makefile (tests): Add tst-spawn3.
10303         * posix/tst-spawn3.c: New file.
10304         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10305         if it is already opened for open action.
10307         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10308         all signals when executing the clone vfork child.
10309         (SIGALL_SET): Remove macro.
10311         * nptl/Makefile (tests): Add tst-exec5.
10312         * nptl/tst-exec5.c: New file.
10313         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10314         asynchronous cancellation.
10316 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10318         * hurd/exc2signal.c: #include <hurd/signal.h>
10319         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10320         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10321         accordingly.
10322         * mach/mach_error.c (mach_error): Fix old-style function definition.
10323         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10325 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10327         * math/Makefile (libm-calls): Remove s_nanF.
10328         (gen-libm-calls): Add s_nanF.
10330         * math/s_nan.c: Refactor into ...
10331         * math/s_nan_template.c: New file.
10333         * math/s_nanf.c: Removed.
10334         * math/s_nanl.c: Removed.
10335         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10336         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10338         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10339         (LDOUBLE_nanl_libm_version): New macro.
10341         * sysdeps/generic/math-type-macros-double.h:
10342         (M_STRTO_NAN): New macro.
10343         * sysdeps/generic/math-type-macros-float.h: Likewise.
10344         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10346         * sysdeps/generic/math-type-macros.h: Document
10347         M_STRTO_NAN.
10349 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10351         * math/s_nanf.c: Remove __nanf undef.
10352         * math/s_nan.c: Remove __nan undef.
10353         * math/s_nanl.c: Remove __nanl undef.
10355         * sysdeps/generic/math_private.h (__nan): Remove macro
10356         override.
10357         (__nanf): Likewise.
10358         (__nanl): Likewise.
10360 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10362         * math/Makefile (gen-all-calls): New variable.
10363         (generated): Replace gen-libm-calls with gen-all-calls.
10364         (gen-libm-templates.stmp): Likewise.  Also, ensure
10365         the output directory exists or is created and add
10366         dependency on the Makefile.
10367         (calls): Move s_ldexpF into gen-calls.
10368         (gen-calls): New variable.
10370         * math/s_ldexpf.c: Removed.
10371         * math/s_ldexpl.c: Removed.
10372         * math/s_ldexp.c: Refactored into ...
10373         * math/s_ldexp_template.c: New file.
10375         * sysdeps/generic/math-type-macros-double.h: Remove
10376         redundant fall-through definition of declare_mgen_alias.
10377         (declare_mgen_alias_2): New macro.
10379         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10380         New macro for function aliased to two exported symbols.
10382         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10383         new template file.
10384         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10386 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10388         * Makeconfig (all-object-suffixes): Remove .og.
10389         * Makerules (elide-routines.og): Remove.
10390         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10391         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10392         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10394 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10396         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10397         .os objects.
10399 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10401         [BZ #20615]
10402         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10403         fpu directory by non-fpu.
10404         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10405         on non-fpu directory from a fpu directory.
10407 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10409         * include/limits.h: Define
10410         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10411         <bits/libc-header-start.h> instead of including <features.h>.
10412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10423         * manual/lang.texi (Width of Type): Document these macros.
10424         * stdlib/tst-width.c: New file.
10425         * stdlib/Makefile (tests): Add tst-width.
10427 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10429         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10430         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10432 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10434         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10435         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10436         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10438 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10440         [BZ #18243]
10441         * rt/Makefile (test): Add tst-shm-cancel.
10442         * rt/tst-shm-cancel.c: New file.
10443         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10445         [BZ #18243]
10446         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10447         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10448         definition.
10449         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10450         uncontended case.
10451         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10452         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10453         (tf): Fix check for uncontended case.
10454         (do_test): Likewise.
10455         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10456         (tf): Fix check for uncontended case.
10457         (do_test): Likewise.
10458         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10459         (tf): Fix check for uncontended case.
10460         (do_test): Likewise.
10461         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10462         (tf): Fix check for uncontended case.
10463         (do_test): Likewise.
10465         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10466         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10468         [BZ #15765]
10469         * nptl/Makefile (tests): Add tst-sem16.
10470         * nptl/tst-sem16.c: New file.
10471         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10473         * nptl/sem_open.c (sem_open): Init pad value to 0.
10474         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10475         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10477 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10479         [BZ #20611]
10480         * inet/Makefile (routines): Add inet6_scopeid_pton.
10481         (tests): Add tst-inet6_scopeid_pton.
10482         * inet/inet6_scopeid_pton.c: New file.
10483         * inet/net-internal.h: Likewise.
10484         * inet/tst-inet6_scopeid_pton.c: New test.
10485         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10486         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10489 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10491         Remove support for compiling wrappers with PTW.
10492         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10493         * nptl/Makefile (pthread-compat-wrappers): Define.
10494         (libpthread-routines): Use pthread-compat-wrappers.
10495         * sysdeps/unix/sysv/linux/alpha/Makefile
10496         (libpthread-routines, libpthread-shared-only-routines): Remove
10497         ptw- prefix.
10498         * sysdeps/s390/nptl/Makefile
10499         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10500         * sysdeps/ia64/nptl/Makefile
10501         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10502         * sysdeps/nacl/Makefile (libpthread-routines): Use
10503         pthread-compat-wrappers to filter the routines list instead of the
10504         ptw- prefix.
10506 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10508         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10509         with L() and remove explicit suffix, convert real literals
10510         which can be equivalentally substituted with integers, and
10511         transform -L(x) to L(-x).
10513         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10518         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10521         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10523         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10526         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10527         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10528         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10529         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10534         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10535         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10537         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10538         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10539         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10540         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10541         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10543         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10544         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10545         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10546         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10547         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10548         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10549         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10550         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10552         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10553         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10554         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10555         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10556         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10557         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10558         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10559         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10560         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10561         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10562         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10564 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10566         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10568 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10570         * malloc/Makefile (tests): Remove individual static test names
10571         and just add all of tests-static.
10573         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10575 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10577         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10578         file.
10580         * sysdeps/sparc/fpu/fegetmode.c: New file.
10581         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10583         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10584         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10586         * sysdeps/s390/fpu/fegetmode.c: New file.
10587         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10589         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10590         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10591         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10592         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10594         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10596         * sysdeps/mips/fpu/fegetmode.c: New file.
10597         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10599         * sysdeps/m68k/fpu/fegetmode.c: New file.
10600         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10602         * sysdeps/ia64/fpu/fegetmode.c: New file.
10603         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10605         * sysdeps/hppa/fpu/fegetmode.c: New file.
10606         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10608         * sysdeps/arm/fegetmode.c: New file.
10609         * sysdeps/arm/fesetmode.c: Likewise.
10611         * sysdeps/alpha/fpu/fegetmode.c: New file.
10612         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10614         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10615         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10617         * math/fegetmode.c: New file.
10618         * math/fesetmode.c: Likewise.
10619         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10620         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10621         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10622         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10623         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10625         declaration.
10626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10627         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10628         typedef.
10629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10630         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10631         (femode_t): New typedef.
10632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10633         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10634         (femode_t): New typedef.
10635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10636         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10637         (femode_t): New typedef.
10638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10639         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10640         (femode_t): New typedef.
10641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10642         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10643         (femode_t): New typedef.
10644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10645         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10646         (femode_t): New typedef.
10647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10648         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10649         (femode_t): New typedef.
10650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10651         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10652         (femode_t): New typedef.
10653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10654         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10655         (femode_t): New typedef.
10656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10657         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10658         (femode_t): New typedef.
10659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10660         declaration.
10661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10662         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10663         (femode_t): New typedef.
10664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10665         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10666         (femode_t): New typedef.
10667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10668         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10669         (femode_t): New typedef.
10670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10671         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10672         (femode_t): New typedef.
10673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10674         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10675         (femode_t): New typedef.
10676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10677         * manual/arith.texi (FE_DFL_MODE): Document macro.
10678         (fegetmode): Document function.
10679         (fesetmode): Likewise.
10680         * math/Versions (fegetmode): New libm symbol at version
10681         GLIBC_2.25.
10682         (fesetmode): Likewise.
10683         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10684         (tests): Add test-femode and test-femode-traps.
10685         * math/test-femode-traps.c: New file.
10686         * math/test-femode.c: Likewise.
10687         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10688         alias for __fe_dfl_env.
10689         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10690         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10691         (__fe_dfl_mode): Likewise.
10692         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10693         version GLIBC_2.25.
10694         * sysdeps/nacl/libm.abilist: Update.
10695         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10701         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10708         Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10710         Likewise.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10712         Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10728 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10730         [BZ #20495]
10731         [BZ #20508]
10732         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10733         processors, set Use_dl_runtime_resolve_slow and set
10734         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10735         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10736         New.
10737         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10738         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10739         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10740         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10741         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10742         if Use_dl_runtime_resolve_opt is set.  Use
10743         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10744         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10745         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10746         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10747         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10748         New.
10749         (_dl_runtime_resolve_opt): Likewise.
10750         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10751         defined.
10753 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10755         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10756         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10758 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10760         Convert malloc to __libc_lock.  Automated part, using this Perl
10761         s/// command:
10762           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10763             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10764         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10765         conversion.
10767 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10769         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10770         (linknamespace-symlists-tests): Likewise.
10771         (linknamespace-header-tests): Likewise.
10773 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10775         [BZ #19810]
10776         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10777         * elf/tst-noload.c: New test case.
10778         * elf/Makefile (tests): Add tst-noload.
10780 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10782         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10784         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10785         not any more.
10787         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10789 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10791         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10792         (do_cos_slow): Likewise.
10793         (do_sin): Likewise.
10794         (do_sin_slow): Likewise.
10795         (slow): Likewise.
10796         (slow1): Likewise.
10797         (slow2): Likewise.
10798         (sloww): Likewise.
10799         (sloww1): Likewise.
10800         (sloww2): Likewise.
10801         (bsloww): Likewise.
10802         (bsloww1): Likewise.
10803         (bsloww2): Likewise.
10804         (cslow2): Likewise.
10806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10808         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10809         arguments.  Consolidate input partitioning from callers here.
10810         (do_cos_slow): Likewise.
10811         (do_sin): Likewise.
10812         (do_sin_slow): Likewise.
10813         (do_sincos_1): Remove the no longer necessary input partitioning.
10814         (do_sincos_2): Likewise.
10815         (__sin): Likewise.
10816         (__cos): Likewise.
10817         (slow1): Likewise.
10818         (slow2): Likewise.
10819         (sloww1): Likewise.
10820         (sloww2): Likewise.
10821         (bsloww1): Likewise.
10822         (bsloww2): Likewise.
10823         (cslow2): Likewise.
10825 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10827         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10828         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10829         outside of allocated array.
10831 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10833         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10834         instead of MB_CUR_MAX to avoid variable-length array.
10836 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10838         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10839         (type-double-routines): Add k_rem_pio2.
10840         (type-float-routines): Add k_rem_pio2f.
10842         * sysdeps/generic/math_private.h:
10843         (__kernel_rem_pio2l): Removed.
10845         * math/k_rem_pio2l.c: Removed.
10846         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10847         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10848         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10849         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10851 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10853         * math/Makefile (gen-libm-calls): Add s_fmin
10854         (libm-calls): Remove above.
10856         * math/s_fmin.c: Refactor into ...
10857         * math/s_fmin_template.c: New file.
10859         * math/s_fminf.c: Removed.
10860         * math/s_fminl.c: Removed.
10861         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10862         (LDOUBLE_fmin_libm_version): New macro.
10864         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10865         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10867 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10869         * math/Makefile: (gen-libm-calls): Add s_fmax.
10870         (libm-calls): Remove above.
10872         * math/s_fmax.c: Refactor into ...
10873         * math/s_fmax_template.c: New file.
10874         * math/s_fmaxf.c: Removed.
10875         * math/s_fmaxl.c: Removed.
10877         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10878         (LDOUBLE_fmaxl_libm_version): New macro.
10880         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10881         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10883         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10884         s_fmin.c to pick the aarch64 version of the file.
10885         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10886         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10888 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10890         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10891         (libm-calls): Remove above.
10893         * math/s_nextdown.c: Refactor into ...
10894         * math/s_nextdown_template.c: New file.
10895         * math/s_nextdownf.c: Removed.
10896         * math/s_nextdownl.c: Removed.
10898         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10900 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10902         * math/Makefile (gen-libm-calls): Add s_fdim.
10903         (libm-calls): Move to above.
10905         * math/s_fdim.c: Renamed and refactored into to ...
10906         * math/s_fdim_template.c: New file.
10907         * math/s_fdiml.c: Removed.
10908         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10909         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10911         * sysdeps/generic/math-type-macros-double.h:
10912         (declare_mgen_alias): Don't declare if already declared.
10913         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10914         Likewise.
10916         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10917         (declare_mgen_alias): Don't declare if already declared.
10918         (M_LIBM_NEED_COMPAT): Likewise.
10919         (declare_mgen_libm_compat): Likewise.
10920         (LDOUBLE_fdiml_libm_version): New macro.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10923         Include math/s_fdim.c now that ldbl-opt version is not needed.
10924         (declare_mgen_alias): New macro to disable aliasing.
10926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10927         (declare_mgen_alias): Likewise.
10928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10929         (declare_mgen_alias): Likewise.
10930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10931         (declare_mgen_alias): Likewise.
10932         (M_LIBM_NEED_COMPAT): Likewise.
10934 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10936         [BZ #20525]
10937         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10938         Include <linux/quota.h>.
10939         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10940         and btodb.
10941         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10942         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10943         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10944         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10945         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10946         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10947         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10948         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10949         types.
10950         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10951         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10953 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10955         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10956         (gammal_positive): Fix spacing.
10957         (__ieee754_gammal_r): Likewise.
10959 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10961         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10962         (_Float128): Define as long double, always.
10963         (L): Apply long double type suffix, always.
10965         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10966         _Float128, excepting comments.
10968         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10969         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10970         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10971         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10972         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10973         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10974         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10975         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10976         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10977         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10978         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10981         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10982         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10983         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10984         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10985         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10986         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10987         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10988         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10996         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10997         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10998         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10999         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11000         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11001         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11003         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11004         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11005         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11006         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11007         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11010         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11011         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11012         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11013         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11014         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11016         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11017         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11018         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11019         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11020         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11023         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11024         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11025         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11026         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11027         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11028         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11030         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11034         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11038         _Float128, and include math_private.h.
11039         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11042         long double semantics.
11043         (_Float128): Likewise.
11044         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11049 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11051         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11052         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11053         * sysdeps/s390/configure: Regenerated.
11054         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11055         instruction for raising over-/underflow if z196 zarch is supported
11056         by default.
11057         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11059 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11061         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11062         it point to a dumb buffer for RPC to fill it.
11064 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11066         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11067         instead of if/else.
11068         (do_sin_slow): Likewise.
11069         (do_sincos_1): Use fabs instead of if/else.
11070         (do_sincos_2): Likewise.
11071         (__sin): Likewise.
11072         (__cos): Likewise.
11073         (slow2): Likewise.
11074         (sloww): Likewise.
11075         (sloww1): Likewise.  Drop argument M.
11076         (sloww2): Use fabs instead of if/else.
11077         (bsloww): Likewise.
11078         (bsloww1): Likewise.
11079         (bsloww2): Likewise.
11081         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11082         fall through comment.
11083         (do_sincos_1): Likewise.
11085         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11086         Consolidate switch cases 0 and 2.
11088 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11090         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11091         (libm-calls): Remove the above.
11093         * math/s_cexp_template.c: Update using type-generic macros.
11094         * math/s_clog10_template.c: Likewise.
11095         * math/s_cpow_template.c: Likewise.
11096         * math/s_clog_template.c: Likewise.
11097         * math/s_cproj_template.c: Likewise.
11098         * math/s_csqrt_template.c: Likewise.
11100         * math/s_cexp.c: Removed.
11101         * math/s_cexpf.c: Removed.
11102         * math/s_cexpl.c: Removed.
11103         * math/s_clog10.c: Removed.
11104         * math/s_clog10f.c: Removed.
11105         * math/s_clog10l.c: Removed.
11106         * math/s_cpow.c: Removed.
11107         * math/s_cpowf.c: Removed.
11108         * math/s_cpowl.c: Removed.
11109         * math/s_clog.c: Removed.
11110         * math/s_clogf.c: Removed.
11111         * math/s_clogl.c: Removed.
11112         * math/s_cproj.c: Removed.
11113         * math/s_cprojf.c: Removed.
11114         * math/s_cprojl.c: Removed.
11115         * math/s_csqrt.c: Removed.
11116         * math/s_csqrtf.c: Removed.
11117         * math/s_csqrtl.c: Removed.
11119         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11120         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11121         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11122         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11123         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11124         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11126         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11127         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11128         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11129         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11130         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11131         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11132         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11133         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11134         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11135         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11136         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11138         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11139         version.
11141         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11142         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11143         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11144         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11146 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11148         * s_cexp_template.c: Copy of s_cexp.c.
11149         * s_clog_template.c: Copy of s_clog.c.
11150         * s_clog10_template.c: Copy of s_clog10.c.
11151         * s_cpow_template.c: Copy of s_cpow.c.
11152         * s_cproj_template.c: Copy of s_cproj.c.
11153         * s_csqrt_template.c: Copy of s_csqrt.c.
11155 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11157         [BZ #20517]
11158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11159         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11160         exported.
11162 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11164         * math/fetestexceptflag.c: New file.
11165         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11166         Stefan Liebler.
11167         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11168         (fetestexceptflag): New function declaration.
11169         * manual/arith.texi (fetestexceptflag): Document function.
11170         * math/Versions (fetestexceptflag): New libm symbol at version
11171         GLIBC_2.25.
11172         * math/Makefile (libm-support): Add fetestexceptflag.
11173         (tests): Add test-fetestexceptflag.
11174         * math/test-fetestexceptflag.c: New file.
11175         * sysdeps/nacl/libm.abilist: Update.
11176         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11181         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11189         Likewise.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11191         Likewise.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11193         Likewise.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11195         Likewise.
11196         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11202         Likewise.
11203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11204         Likewise.
11205         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11209 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11211         [BZ #20432]
11212         Avoid strong references to malloc-internal symbols when linking
11213         statically, to support statically interposed mallocs.
11214         * include/libc-symbols.h (call_function_static_weak): New macro.
11215         * malloc/Makefile (tests): Add tst-interpose-nothread,
11216         tst-interpose-thread, tst-interpose-static-nothread,
11217         tst-interpose-static-thread.
11218         (tests-static): Add tst-interpose-static-nothread,
11219         tst-interpose-static-thread.
11220         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11221         tst-interpose-aux-thread.o.
11222         (test-extras): Add tst-interpose-aux-nothread,
11223         tst-interpose-aux-thread.
11224         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11225         tst-interpose-aux-nothread.o.
11226         (tst-interpose-thread, tst-interpose-static-thread): Link with
11227         tst-interpose-aux-thread.o and libthread.
11228         * malloc/tst-interpose-aux-nothread.c: New file.
11229         * malloc/tst-interpose-aux-thread.c: Likewise.
11230         * malloc/tst-interpose-aux.c: Likewise.
11231         * malloc/tst-interpose-aux.h: Likewise.
11232         * malloc/tst-interpose-nothread.c: Likewise.
11233         * malloc/tst-interpose-skeleton.c: Likewise.
11234         * malloc/tst-interpose-static-nothread.c: Likewise.
11235         * malloc/tst-interpose-static-thread.c: Likewise.
11236         * malloc/tst-interpose-thread.c: Likewise.
11237         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11238         * sysdeps/mach/hurd/fork.c (__fork): Only call
11239         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11240         __malloc_fork_unlock_child if defined.
11241         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11243 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11245         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11246         timespec C99 designated initialization.
11248 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11250         [BZ #19946]
11251         Avoid expected SIGALRM signals.
11252         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11253         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11254         (xpthread_create, xpthread_detach, xpthread_join)
11255         (delayed_exit_thread, delayed_exit): New functions.
11256         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11257         (tf): Use xpthread_cond_wait.
11258         (do_test): Likewise.  Replace alarm with delayed_exit.
11259         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11260         (do_test): Call delayed_exit.  Report failure.
11261         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11262         (do_test): Call delayed_exit.
11263         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11264         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11265         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11266         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11267         error.
11268         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11269         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11270         error.
11271         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11272         (do_test): Call delayed_exit.
11273         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11274         (do_test): Call delayed_exit.
11275         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11276         (do_test): Call delayed_exit instead of alarm.  Use
11277         xpthread_mutex_lock.
11278         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11279         (do_test): Call delayed_exit instead of alarm.  Use
11280         xpthread_mutex_lock.
11281         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11282         (do_test): Call delayed_exit instead of alarm.
11283         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11284         (do_test): Call delayed_exit instead of alarm.  Use
11285         xpthread_spin_lock.
11286         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11287         (do_test): Call delayed_exit instead of alarm.  Use
11288         xpthread_join.
11290 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11292         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11293         adjust CFA when allocating register save area on re-aligned
11294         stack.
11296 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11298         * string/tst-cmp.c: New test.
11299         * string/Makefile (tests): Add it.
11301 2016-08-25  Mark Wielaard  <mark@klomp.org>
11303         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11304         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11305         (check_tree_recurse): Use newly defined accessors.
11306         (check_tree): Likewise.
11307         (maybe_split_for_insert): Likewise.
11308         (__tfind): Likewise.
11309         (__tdelete): Likewise.
11310         (trecurse): Likewise.
11311         (tdestroy_recurse): Likewise.
11312         (__tsearch): Likewise. And add asserts for malloc alignment.
11313         (__twalk): Cast root to node in case CHECK_TREE is defined.
11315 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11317         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11319 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11321         * math/Makefile (libm-gen-calls): Add
11322         catan, catanh, ctan, ctanh.
11323         (libm-calls): Remove the above.
11325         * math/s_catan_template.c: Update using type-generic macros.
11326         * math/s_catanh_template.c: Likewise.
11327         * math/s_ctan_template.c: Likewise.
11328         * math/s_ctanh_template.c: Likewise.
11330         * math/s_catanf.c: Removed.
11331         * math/s_catan.c: Removed.
11332         * math/s_catanl.c: Removed.
11333         * math/s_catanhf.c: Removed.
11334         * math/s_catanh.c: Removed.
11335         * math/s_catanhl.c: Removed.
11336         * math/s_ctanf.c: Removed.
11337         * math/s_ctan.c: Removed.
11338         * math/s_ctanl.c: Removed.
11339         * math/s_ctanhf.c: Removed.
11340         * math/s_ctanh.c: Removed.
11341         * math/s_ctanhl.c: Removed.
11343         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11344         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11345         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11346         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11347         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11348         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11350         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11351         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11352         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11353         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11355 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11357         * s_catan_template.c: Copy of s_catan.c.
11358         * s_catanh_template.c: Copy of s_catanh.c.
11359         * s_ctan_template.c: Copy of s_ctan.c.
11360         * s_ctanh_template.c: Copy of s_ctanh.c.
11362 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11364         * math/Makefile (gen-libm-calls): Move
11365         casin, casinh, csin, csinh here.
11366         (libm-calls): Remove the above.
11368         * math/s_casin_template.c: Update using type-generic macros.
11369         * math/s_casinh_template.c: Likewise.
11370         * math/s_csin_template.c: Likewise.
11371         * math/s_csinh_template.c: Likewise.
11372         * math/k_casinh_template.c: Likewise.
11374         * math/s_casinf.c: Removed.
11375         * math/s_casin.c: Removed.
11376         * math/s_casinl.c: Removed.
11377         * math/s_casinh.c: Removed.
11378         * math/s_casinhf.c: Removed.
11379         * math/s_casinhl.c: Removed.
11380         * math/s_csin.c: Removed.
11381         * math/s_csinf.c: Removed.
11382         * math/s_csinl.c: Removed.
11383         * math/s_csinh.c: Removed.
11384         * math/s_csinhf.c: Removed.
11385         * math/s_csinhl.c: Removed.
11386         * math/k_casinh.c: Removed.
11387         * math/k_casinhf.c: Removed.
11388         * math/k_casinhl.c: Removed.
11390         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11391         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11392         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11393         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11395         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11396         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11397         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11398         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11399         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11400         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11401         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11402         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11404         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11405         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11406         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11407         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11409         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11410         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11411         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11412         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11414 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11416         * s_casin_template.c: Copy of s_casin.c.
11417         * s_casinh_template.c: Copy of s_casinh.c.
11418         * s_csin_template.c: Copy of s_csin.c.
11419         * s_csinh_template.c: Copy of s_csinh.c.
11420         * k_casinh_template.c: Copy of k_casinh.c.
11422 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11424         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11426 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11428         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11429         (mul_split) Remove, rename as mul_splitl, remove
11430         redundant float.h include, and include via mul_splitl.h
11432         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11433         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11434         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11435         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11436         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11438         * math/mul_splitl.h: New file.
11440         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11441         Move into mul_split.h, and remove redundant float.h include.
11443         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11444         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11445         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11446         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11448         * math/mul_split.h: New file.
11450 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11452         * math/Makefile (libm-gen-calls): Move
11453         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11454         (libm-calls): Remove above.
11456         * math/s_cacos_template.c: Update using type-generic macros.
11457         * math/s_cacosh_template.c: Likewise.
11458         * math/s_ccos_template.c: Likewise.
11459         * math/s_ccosh_template.c: Likewise.
11461         * math/s_cacosf.c: Removed.
11462         * math/s_cacos.c: Removed.
11463         * math/s_cacosl.c: Removed.
11464         * math/s_cacoshf.c: Removed.
11465         * math/s_cacosh.c: Removed.
11466         * math/s_cacoshl.c: Removed.
11467         * math/s_ccosf.c: Removed.
11468         * math/s_ccos.c: Removed.
11469         * math/s_ccosl.c: Removed.
11470         * math/s_ccoshf.c: Removed.
11471         * math/s_ccosh.c: Removed.
11472         * math/s_ccoshl.c: Removed.
11474         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11475         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11476         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11477         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11478         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11479         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11481         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11482         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11483         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11484         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11486         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11487         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11488         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11489         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11491 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11493         * s_cacos_template.c: Copy of s_cacos.c.
11494         * s_cacosh_template.c: Copy of s_cacosh.c.
11495         * s_ccos_template.c: Copy of s_ccos.c.
11496         * s_ccosh_template.c: Copy of s_ccosh.c.
11498 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11500         * stdlib/tst-strtod-round-skeleton.c:
11501         Refactored from tst-strtod-round.c.
11503         (L_): New macro to apply literal modifier.
11504         (FNPFX): New macro to select str or wcs prefix.
11505         (CHAR): New macro to choose wchar_t or char.
11506         (STRM): New macro to choose printf for tested character type.
11508         (STRTO): New macro to choose appropriate string -> real function.
11509         (FNPFXS): Stringitized version of FNPFX.
11510         (STR): Support for above macro.
11511         (STRX): Likewise.
11513         (TEST): Update with above macros.
11514         (test): Likewise.
11515         (GEN_ONE_TEST): Likewise.
11516         (test_in_one_mode): Likewise.
11518         * stdlib/tst-strtod-round.c: New file.
11519         * wcsmbs/tst-wcstod-round.c: New file.
11521         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11522         (tst-wcstod-round): Add libm depencency for fesetround.
11524 2016-08-19  Zack Weinberg  <zackw@panix.com>
11526         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11528 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11530         [BZ #20477]
11531         * resolv/res_hconf.c (do_init): Use atomic access.
11532         * resolv/res_hconf.h: Add comments.
11533         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11534         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11537 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11539         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11540         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11542         Likewise.
11544 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11546         [BZ #16907]
11547         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11548         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11549         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11550         (__attribute__): Remove definition.
11552 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11554         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11555         Remove unused sqrtl declaration.
11557 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11559         * math/Makefile: (gen-libm-templates.stmp): New rule.
11560         (libm-calls): Move carg conj cimag and cabs into ...
11561         (gen-libm-calls): New variable.
11562         (generated): Inform Make objects from gen-libm-calls
11563         may be generated.
11565         * sysdeps/generic/math-type-macros.h: New file.
11566         * sysdeps/generic/math-type-macros-float.h: Likewise.
11567         * sysdeps/generic/math-type-macros-double.h: Likewise.
11568         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11569         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11570         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11572         * math/cabs.c: Refactor into
11573         * math/cabs_template.c: new file.
11574         * math/cabsf.c: Removed.
11575         * math/cabsl.c: Removed.
11576         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11577         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11579         * math/carg.c: Refactor into
11580         * math/carg_template.c: new file.
11581         * math/cargf.c: Removed.
11582         * math/cargl.c: Removed.
11583         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11584         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11586         * math/conj.c: Refactor into
11587         * math/conj_template.c: new file.
11588         * math/conjf.c: Removed.
11589         * math/conjl.c: Removed.
11590         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11591         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11593         * math/cimag.c: Refactor into
11594         * math/cimag_template.c: new file.
11595         * math/cimagf.c: Removed.
11596         * math/cimagl.c: Removed.
11597         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11598         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11600         * math/cimag.c: Refactor into
11601         * math/cimag_template.c: new file.
11602         * math/cimagf.c: Removed.
11603         * math/cimagl.c: Removed.
11604         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11605         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11607 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11609         Reduce time to expected nptl/tst-once5 failure.
11610         * nptl/tst-once5.cc (TIMEOUT): Define.
11612 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11614         [BZ #20452]
11615         Avoid additional copies of objects in libc.a in static libraries.
11616         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11617         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11618         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11619         rt-sysdep.
11620         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11621         Add nptl-sysdep.
11622         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11623         Add ptw-sysdep.
11624         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11625         rt-sysdep.
11626         * sysdeps/unix/sysv/linux/alpha/Makefile
11627         (libpthread-shared-only-routines): Add ptw-sysdep,
11628         ptw-sigprocmask, ptw-rt_sigaction.
11629         * sysdeps/unix/sysv/linux/ia64/Makefile
11630         (librt-shared-only-routines): Add rt-sysdep.
11631         * sysdeps/unix/sysv/linux/i386/Makefile
11632         (libpthread-shared-only-routines): Add libc-do-syscall.
11633         * sysdeps/unix/sysv/linux/microblaze/Makefile
11634         (libpthread-shared-only-routines): Add sysdep.
11635         * sysdeps/unix/sysv/linux/powerpc/Makefile
11636         (librt-shared-only-routines): Add rt-sysdep.
11637         (libpthread-shared-only-routines): Add sysdep.
11638         * sysdeps/unix/sysv/linux/s390/Makefile
11639         (librt-shared-only-routines): Add rt-sysdep.
11640         * sysdeps/unix/sysv/linux/sparc/Makefile
11641         (librt-shared-only-routines): Add rt-sysdep.
11642         (libpthread-shared-only-routines): Add sysdep.
11643         * sysdeps/unix/sysv/linux/tile/Makefile
11644         (libpthread-shared-only-routines): Likewise.
11646 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11648         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11649         Mask implicit bit out of unpacked value.
11650         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11654         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11656         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11658         * sysdeps/s390/fpu/fesetexcept.c: New file.
11660         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11661         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11662         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11664         * sysdeps/mips/fpu/fesetexcept.c: New file.
11666         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11668         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11670         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11672         * sysdeps/arm/fesetexcept.c: New file.
11674         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11676         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11678         * math/fesetexcept.c: New file.
11679         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11680         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11681         * math/fenv.h: Define
11682         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11683         <bits/libc-header-start.h> instead of including <features.h>.
11684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11685         declaration.
11686         * manual/arith.texi (fesetexcept): Document function.
11687         * math/Versions (fesetexcept): New libm symbol at version
11688         GLIBC_2.25.
11689         * math/Makefile (libm-support): Add fesetexcept.
11690         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11691         * math/test-fesetexcept.c: New file.
11692         * math/test-fesetexcept-traps.c: Likewise.
11693         * sysdeps/nacl/libm.abilist: Update.
11694         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11695         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11698         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11699         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11700         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11703         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11704         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11705         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11707         Likewise.
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11709         Likewise.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11711         Likewise.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11713         Likewise.
11714         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11720         Likewise.
11721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11722         Likewise.
11723         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11725         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11727 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11729         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11730         New.
11731         (do_test): Apply default_stack_size_in_mb if not set.
11732         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11734 2016-08-15  Andreas Schwab  <schwab@suse.de>
11736         [BZ #20435]
11737         CVE-2016-6323
11738         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11739         as .cantunwind.
11741 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11743         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11744         comment from fraiseexcpt.c.
11746         * math/test-fexcept.c (feraiseexcept_exact): New function.
11747         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11748         (test_except): Likewise.
11750 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11752         [BZ #20455]
11753         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11754         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11755         to be restored.
11757         * math/test-fexcept-traps.c: New file.
11758         * math/test-fexcept.c: Likewise.
11759         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11760         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11761         macro.
11762         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11763         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11765 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11767         * include/atomic.h (atomic_fetch_and_relaxed,
11768         atomic_fetch_and_release, atomic_fetch_or_release,
11769         atomic_fetch_xor_release): New.
11771 2016-08-06  Christian Seiler  <christian@iwakd.de>
11773         [BZ #20444]
11774         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11775         MACH_PORT_NULL.
11777 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11779         * math/s_fdim.c: Avoid alias renamed.
11780         * math/s_fdimf.c: Likewise.
11781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11782         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11783         Add s_fdimf-vis3, s_fdim-vis3.
11784         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11785         (CFLAGS-s_fdim-vis3.c): Likewise.
11786         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11787         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11789 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11792         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11793         Remove s_fdimf-vis3, s_fdim-vis3.
11794         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11795         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11802         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11803         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11805 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11807         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11808         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11809         -Wa,-Av9a -mvis.
11811 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11813         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11814         LIT() to individual constants in simple expressions
11815         after splitting on spaces.
11816         (_apply_lit): Rename replaced version, and use it to
11817         apply to what appears to be a token.
11819         * math/libm-test.inc: Fix many, many issues with
11820         spacing.
11822 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11824         * math/math.h: Move comment about <bits/mathdef.h> definitions
11825         above inclusion of <bits/mathdef.h>.  Do not mention
11826         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11828 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11830         * include/atomic.h (atomic_exchange_relaxed): New.
11832 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11834         * math/e_scalb.c: Do not include <fenv.h>.
11835         (invalid_fn): Do calculation resulting in NaN instead of raising
11836         FE_INVALID and returning a NaN explicitly.
11837         * math/e_scalbf.c: Do not include <fenv.h>.
11838         (invalid_fn): Do calculation resulting in NaN instead of raising
11839         FE_INVALID and returning a NaN explicitly.
11840         * math/e_scalbl.c: Do not include <fenv.h>.
11841         (invalid_fn): Do calculation resulting in NaN instead of raising
11842         FE_INVALID and returning a NaN explicitly.
11844 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11846         * po/de.po: Updated from Translation Project.
11847         * po/fi.po: Likewise.
11848         * po/sv.po: Likewise.
11850 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11852         [BZ #20452]
11853         Use sysdep.o from libc.a in static libraries.
11854         * sysdeps/unix/sysv/linux/i386/Makefile
11855         (libpthread-shared-only-routines): Add sysdep.
11856         (librt-shared-only-routines): Likewise.
11858 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11860         * math/tgmath.h (nextdown): Define if
11861         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11862         (nextup): Likewise.
11864         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11865         macro.
11866         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11867         Document.
11868         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11869         Document macro.
11870         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11871         (exp10f): Likewise.
11872         (exp10l): Likewise.
11873         * math/bits/mathcalls.h (exp10): Declare if
11874         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11876         * manual/arith.texi (nextup): Fix typo in last change.
11878 2016-08-03  Zack Weinberg  <zackw@panix.com>
11880         [BZ #19239]
11881         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11882         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11883         define major, minor, and makedev to issue deprecation warnings on use.
11884         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11885         previously-activated deprecation warnings for these macros and prevent
11886         subsequent inclusions of this header from having any effect.
11887         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11888         including <sys/sysmacros.h>, and undefine it again afterward.
11890 2016-08-03  Zack Weinberg  <zackw@panix.com>
11892         * sysdeps/generic/sys/sysmacros.h: Delete file.
11893         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11894         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11895         * bits/sysmacros.h: ... here; this encoding is now the generic
11896         encoding.  Now defines only the following macros:
11897         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11898         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11899         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11901         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11902         bits/sysmacros.h and the above new macros to generate the
11903         public implementations of major, minor, and makedev.
11904         * misc/tst-makedev.c: New test.
11905         * include/sys/sysmacros.h: New wrapper.
11907         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11908         (routines): Add makedev.
11909         (tests): Add tst-makedev.
11910         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11911         gnu_dev_makedev.
11912         * posix/Makefile (headers): Remove sys/sysmacros.h.
11913         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11915         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11916         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11917         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11918         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11919         * sysdeps/unix/sysv/linux/arm/libc.abilist
11920         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11921         * sysdeps/unix/sysv/linux/i386/libc.abilist
11922         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11923         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11924         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11925         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11926         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11927         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11928         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11929         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11930         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11935         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11936         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11937         * sysdeps/unix/sysv/linux/sh/libc.abilist
11938         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11939         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11942         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11943         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11944         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11945         Add GLIBC_2.25.
11947         * include/features.h (__glibc_clang_prereq): New macro.
11948         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11949         (__attribute_deprecated_msg__): New macros.
11951 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11953         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11954         macro.
11955         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11956         * manual/arith.texi (issignaling): Document as ISO from TS
11957         18661-1:2014.
11958         (nextup): Likewise.
11959         (nextupf): Likewise.
11960         (nextupl): Likewise.
11961         (nextdown): Likewise.
11962         (nextdownf): Likewise.
11963         (nextdownl): Likewise.
11964         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11965         macro.
11966         * math/math.h: Define
11967         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11968         <bits/libc-header-start.h> instead of including <features.h>.
11969         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11970         [__USE_GNU].
11971         * math/bits/mathcalls.h (nextdown): Declare if
11972         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11973         (nextup): Likewise.
11974         (__issignaling): Likewise.
11976 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11978         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11979         check, and remove __glibc_likely hint
11980         from FP_INFINITE check.
11981         * s_csinhf.c (__csinhf): Likewise.
11983         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11984         hint from FP_INFINITE check.
11985         * s_csinhl.c (__csinhl): Likewise.
11987 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11989         * math/Makefile (libm-calls): Insert F placeholder into
11990         object names.  Move w_lgamma_compat* routines into
11991         (libm-compat-calls): New variable.
11992         (libm-compat-calls-ldouble-yes): New variable.
11993         (calls): Insert F placeholder.
11994         (generated): Redefine using new type-foreach macro call.
11995         (routines): Likewise.
11997         (types): New variable to hold a list of symbolic names
11998         for each type supported by the target machine.
11999         (libm-routines): Redefine using new types variable.
12000         (type-foreach): macro to replace fooF with the
12001         appropriately suffixed foo for each types.
12003         (type-ldouble-suffix): New variable.
12004         (type-ldouble-routines): Likewise.
12005         (type-ldouble-yes): Likewise.
12006         (type-double-suffix): Likewise.
12007         (type-double-routines): Likewise.
12008         (type-float-suffix): Likewise.
12009         (type-float-routines): Likewise.
12011         (dbl-only-routines): Remove.
12012         (long-c-yes): Likewise.
12013         (long-m-routines): Likewise.
12014         (long-m-support): Likewise.
12015         (long-m-yes): Likewise.
12016         (test-longdouble-yes): Likewise.
12018         (test-float.o): Simplify by increasing the scope of the
12019         recipe which adds libm-test.stmp to the vector types.
12020         (test-ifloat.o): Likewise.
12021         (test-float-finite.o): Likewise.
12022         (test-double.o): Likewise
12023         (test-idouble.o): Likewise.
12024         (test-double-finite.o): Likewise.
12025         (test-ldouble.o): Likewise
12026         (test-ildoubl.o): Likewise.
12027         (test-ldouble-finite.o): Likewise.
12029         (libm-tests): Redefine type tests using foreach and the
12030         list of types in types.
12032         (CPPFLAGS-test-ildoubl.c): Rename to
12033         (CPPFLAGS-test-ildouble.c): New variable
12035         * math/test-ildoubl.c: Rename to
12036         * math/test-ildouble.c: New file.
12038 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12040         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12041         Use fabsl instead of fabs.
12042         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12043         Likewise.
12044         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12045         Add long double suffix to constant to ensure proper
12046         promotion to long double.
12048 2016-08-03  Tom Tromey  <tom@tromey.com>
12050         [BZ #20311]
12051         * nptl_db/Makefile (headers): Add proc_service.h.
12052         * nptl_db/proc_service.h: Add include guard.  Use
12053         __BEGIN/__END_DECLS.
12054         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12055         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12056         arguments.
12059 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12061         [BZ #17730]
12062         Avoid using memalign for TCB allocations.
12063         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12064         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12065         Avoid alignment gap in the TLS_DTV_AT_TP case.
12066         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12067         determine the pointer to free.
12068         * nptl/tst-tls3-malloc.c: New test.
12069         * nptl/Makefile (tests): Add it.
12070         (tst-tls3-malloc): Link with libdl, libpthread.
12071         (LDFLAGS-tst-tls3-malloc): Set.
12072         (tst-tls3-malloc.out): Depend on DSO used in test.
12074 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12076         [BZ #17730]
12077         Avoid using memalign for TLS allocations.
12078         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12079         is_static member with to_free member.
12080         (union dtv): Use struct dtv_pointer.
12081         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12082         dtv_pointer instead of is_static.
12083         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12084         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12085         instead of val.
12086         (allocate_dtv_entry): New function.
12087         (allocate_and_init): Return struct dtv_pointer.  Call
12088         allocate_dtv_entry instead of __libc_memalign.
12089         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12090         instead of val.
12091         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12092         instead of is_static.  Adjust call to allocate_and_init.
12093         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12094         struct dtv_pointer instead of val.
12096 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12098         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12099         (MALLOC_ALIGN_MASK): Move ...
12100         * malloc/malloc-internal.h: ... to here.
12101         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12103 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12105         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12106         (UDP_ENCAP_GTP1U): Likewise.
12108         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12109         (PF_MAX): Update value.
12110         (AF_QIPCRTR): New macro.
12112 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12114         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12115         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12116         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12117         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12118         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12119         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12120         s_truncf-vis3, s_trunc-vis3.
12121         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12122         (CFLAGS-s_ceil-vis3.c): Likewise.
12123         (CFLAGS-s_floorf-vis3.c): Likewise.
12124         (CFLAGS-s_floor-vis3.c): Likewise.
12125         (CFLAGS-s_truncf-vis3.c): Likewise.
12126         (CFLAGS-s_trunc-vis3.c): Likewise.
12127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12135         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12136         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12137         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12138         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12140 2016-08-02  David S. Miller  <davem@davemloft.net>
12142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12143         (__nearbyint_vis3): Don't check for sNaN before float register is
12144         loaded with the incoming argument.
12145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12146         (__nearbyintf_vis3): Likewise.
12147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12148         Likewise.
12149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12150         Likewise.
12152         * string/test-strncmp.c (do_test_limit): Make sure the test data
12153         stream is aligned as required for the type "CHAR".
12154         (do_test): Likewise.
12156 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12158         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12159         by beq instructions jumping to the end of the function.
12160         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12161         clobber list. Use "i" constraint instead of "X".
12162         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12163         of "X".
12165 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12167         * bits/libc-header-start.h: New file.
12168         * Makefile (headers): Add bits/libc-header-start.h.
12169         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12170         (__GLIBC_USE): New macro.
12171         * libio/stdio.h: Define
12172         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12173         <bits/libc-header-start.h> instead of including <features.h>.
12174         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12175         (open_memstream): Likewise.
12176         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12177         (__asprintf): Likewise.
12178         (asprintf): Likewise.
12179         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12180         (getdelim): Likewise.
12181         (getline): Likewise.
12182         * string/string.h: Define
12183         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12184         <bits/libc-header-start.h> instead of including <features.h>.
12185         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12186         (strndup): Likewise.
12187         * wcsmbs/wchar.h: Define
12188         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12189         <bits/libc-header-start.h> instead of including <features.h>.
12190         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12191         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12193 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12195         Support linking against compatibility symbols, for use in tests.
12196         * include/libc-symbols.h (symbol_version_reference): New macro.
12197         (symbol_version): Use it.
12198         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12199         (compat_symbol): Use compat_symbol_reference.
12200         (compat_symbol_1, compat_symbol_2): Remove.
12201         (compat_symbol_reference, compat_symbol_reference_1)
12202         (compat_symbol_reference_2): New macro.  Use
12203         symbol_version_reference.
12205 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12207         [BZ #19469]
12208         * malloc/Makefile (CPPFLAGS): Compile tests with
12209         -DTEST_NO_MALLOPT.
12210         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12212 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12214         [BZ #20033]
12215         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12216         finite version.
12217         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12218         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12219         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12220         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12221         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12223         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12224         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12229         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12230         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12231         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12232         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12234         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12235         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12236         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12237         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12238         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12239         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12240         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12241         in zero power.
12243 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12245         [BZ #20370]
12246         * malloc/arena.c (get_free_list): Update comment.  Assert that
12247         arenas on the free list have no attached threads.
12248         (remove_from_free_list): New function.
12249         (reused_arena): Call it.
12251 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12253         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12254         when it is a NaN.
12255         [_IEEE_FP_INEXACT] Remove.
12256         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12257         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12258         when it is a NaN.
12259         [_IEEE_FP_INEXACT] Remove.
12260         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12261         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12262         when it is a NaN.
12263         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12264         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12265         when its absolute value is greater than 0x1.0p52.
12266         [_IEEE_FP_INEXACT] Remove.
12267         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12268         when its absolute value is greater than 0x1.0p23.
12269         [_IEEE_FP_INEXACT] Remove.
12271 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12273         * version.h (RELEASE): Set to "development"
12274         (VERSION): Set to 2.24.90.
12275         * NEWS: Add 2.25 section.
12277         * version.h (RELEASE): Set to "stable"
12278         (VERSION): Set to 2.24.
12279         * include/features.h (__GLIBC_MINOR__): Set to 24.
12281         * NEWS: Add 2.24 fixed bugs.
12282         * po/libc.pot: Regenerate.
12284 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12287         [$(subdir) = math] (libm-sysdep_routines): Remove.
12288         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12289         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12290         s_truncf-vis3, s_trunc-vis3.
12291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12293         file.
12294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12327         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12328         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12329         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12330         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12331         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12332         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12333         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12334         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12335         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12336         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12338 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12340         [BZ #20384]
12341         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12342         test-double-libmvec-sincos-avx-main.o,
12343         test-double-libmvec-sincos-avx2-main.o,
12344         test-double-libmvec-sincos-main.o,
12345         test-float-libmvec-sincosf-avx-main.o,
12346         test-float-libmvec-sincosf-avx2-main.o and
12347         test-float-libmvec-sincosf-main.o.
12348         test-float-libmvec-sincosf-avx512-main.o.
12349         ($(objpfx)test-double-libmvec-sincos): Also link with
12350         $(objpfx)test-double-libmvec-sincos-main.o.
12351         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12352         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12353         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12354         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12355         ($(objpfx)test-float-libmvec-sincosf): Also link with
12356         $(objpfx)test-float-libmvec-sincosf-main.o.
12357         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12358         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12359         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12360         test-double-libmvec-sincos-avx512-main.o and
12361         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12362         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12363         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12364         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12365         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12366         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12367         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12368         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12369         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12370         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12371         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12372         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12373         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12374         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12375         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12376         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12377         -DREQUIRE_AVX2.
12378         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12379         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12380         -DREQUIRE_AVX512F.
12381         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12382         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12383         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12384         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12385         file.
12386         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12387         Likewise.
12388         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12389         Likewise.
12390         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12391         Likewise.
12392         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12393         Likewise.
12394         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12395         Likewise.
12396         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12397         Likewise.
12398         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12399         Likewise.
12401 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12403         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12405 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12408         and typo in a comment about AT_HWCAP entry.
12410 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12412         * sysdeps/aarch64/libm-test-ulps: Updated.
12414 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12416         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12417         of r13 as it is not restored in mvcle case.
12419 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12421         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12422         Rename "ret" to "__ret".
12423         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12424         inline_syscall5, inline_syscall6): Likewise.
12426 2016-07-19   Will Newton  <will.newton@gmail.com>
12428         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12429         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12430         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12431         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12432         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12434 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12436         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12437         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12438         -mfpmath=387 with $(rtld-CFLAGS).
12439         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12440         $(rtld-CFLAGS).
12442 2016-07-18   Ross Burton  <ross.burton@intel.com>
12443              Khem Raj  <raj.khem@gmail.com>
12445         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12446         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12447         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12448         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12449         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12450         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12451         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12452         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12453         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12454         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12455         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12456         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12457         R_METAG_TLS_DTPOFF): New.
12459 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12460             Matt Clay  <mclay@lycos.com>
12462         [BZ #20357]
12463         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12464         to call __mpsin/__mpcos and to negate values.
12465         * math/auto-libm-test-in: Add test.
12466         * math/auto-libm-test-out: Regenerate.
12468 2016-07-18  Zack Weinberg  <zackw@panix.com>
12470         * grp/Makefile: Don't install the internal header grp-merge.h.
12472 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12474         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12476 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12478         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12480 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12482         [BZ #15368]
12483         * sysdeps/unix/sysv/linux/nptl-signals.h
12484         (__nptl_clear_internal_signals): New function.
12485         (__libc_signal_block_all): Likewise.
12486         (__libc_signal_block_app): Likewise.
12487         (__libc_signal_restore_set): Likewise.
12488         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12489         implementation.
12490         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12491         the cached pid/tid value in pthread structure.
12493 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12495         [BZ #20347]
12496         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12498 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12500         [BZ #20348]
12501         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12502         preadv64, pwrite64 and pwritev64.
12504 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12506         [BZ #20350]
12507         * posix/tst-preadwrite.c: Renamed to ...
12508         * posix/tst-preadwrite-common.c: This.
12509         (PREAD): Removed.
12510         (PWRITE): Likewise.
12511         (STRINGIFY): Likewise.
12512         (STRINGIFY2): Likewise.
12513         (do_prepare): Make it static and remove function arguments.
12514         (do_test): Likewise.
12515         (PREPARE): Updated.
12516         (TEST_FUNCTION): New.
12517         (name): Make it static.
12518         (fd): Likewise.
12519         (do_prepare): Use create_temp_file.
12520         (do_test): Renamed to ...
12521         (do_test_with_offset): This.  Make it static and accept offset.
12522         Properly check return value of PWRITE and PREAD.  Return bytes
12523         read.  Don't close fd nor unlink name.
12524         * posix/tst-preadwrite.c: Rewrite.
12525         * posix/tst-preadwrite64.c: Likewise.
12527 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12529         [BZ #20309]
12530         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12531         -mtls-dialect=gnu2 works.
12532         * configure: Regenerated.
12533         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12534         (tests): Add tst-gnu2-tls1.
12535         (modules-names): Add tst-gnu2-tls1mod.
12536         ($(objpfx)tst-gnu2-tls1): New.
12537         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12538         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12539         * elf/tst-gnu2-tls1.c: New file.
12540         * elf/tst-gnu2-tls1mod.c: Likewise.
12541         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12542         bytes for push in the PLT entry to align the stack.
12544 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12546         [BZ #20349]
12547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12549 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12551         [BZ #18707]
12552         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12553         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12555 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12557         * sysdeps/unix/sysv/linux/sysdep.h
12558         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12559         guards.
12560         * misc/tst-preadvwritev-common.c: New file.
12561         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12562         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12563         a check for files larger than 2GB.
12565         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12566         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12567         * sysdeps/unix/sysv/linux/pread.c
12568         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12569         __OFF_T_MATCHES_OFF64_T.
12570         * sysdeps/unix/sysv/linux/pread64.c
12571         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12572         * sysdeps/unix/sysv/linux/preadv.c
12573         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12574         * sysdeps/unix/sysv/linux/preadv64.c
12575         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12576         * sysdeps/unix/sysv/linux/pwrite.c
12577         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12578         * sysdeps/unix/sysv/linux/pwrite64.c
12579         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12580         * sysdeps/unix/sysv/linux/pwritev.c
12581         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12582         * sysdeps/unix/sysv/linux/pwritev64.c
12583         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12585 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12587         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12588         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12590 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12592         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12594 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12596         [BZ #20240]
12597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12598         (CFLAGS-s_modf-ppc32.c): New variable.
12599         (CFLAGS-s_modff-ppc32.c): Likewise.
12600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12601         (CFLAGS-s_modf-ppc64.c): Likewise.
12602         (CFLAGS-s_modff-ppc64.c): Likewise.
12604 2016-07-07  Andreas Schwab  <schwab@suse.de>
12606         [BZ #20263]
12607         * nptl/tst-robust10.c: New test.
12608         * nptl/Makefile (tests): Add tst-robust10.
12610 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12612         [BZ #20263]
12613         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12615 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12617         * sysdeps/s390/linkmap.h (struct link_map_machine):
12618         Remove member gotplt and add member jmprel.
12619         * sysdeps/s390/s390-32/dl-machine.h
12620         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12621         instead of gotplt with &got[3].
12622         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12623         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12625 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12627         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12629 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12631         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12632         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12633         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12634         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12635         * libio/vtables.c (_IO_vtable_check)
12636         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12637         * libio/libioP.h (IO_set_accept_foreign_vtables)
12638         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12640 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12642         [BZ #20314]
12643         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12644         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12645         $(common-objpfx)cmath.
12646         ($(common-objpfx)cstdlib): New target.
12647         ($(common-objpfx)cmath): Likewise.
12649 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12651         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12653 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12655         [BZ #20327]
12656         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12657         are not part of the string.
12659 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12661         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12662         * nptl/tst-cancel4-common.h (fifoname): New variable.
12663         (fifofd): Likewise.
12664         (cl_fifo): New function.
12665         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12666         SIGINT.
12667         (tf_open): Add early cancel test.
12669 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12671         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12673 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12675         * sysdeps/generic/ldsodefs.h
12676         (dl_symbol_visibility_binds_local_p): New inline function.
12677         * elf/dl-addr.c (determine_info): Treat hidden and internal
12678         symbols as local.
12679         * elf/dl-lookup.c (do_lookup_x): Likewise.
12680         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12682 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12684         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12685         invalid exception for a sNaN input.
12686         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12687         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12688         (__nearbyint_vis3): Likewise
12689         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12690         (__nearbyintf_vis3): Likewise
12691         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12692         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12693         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12694         Likewise.
12695         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12696         Likewise.
12698 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12700         [BZ #20139]
12701         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12702         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12703         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12704         2.24 or above.
12705         (HAVE_AVX512_ASM_SUPPORT): Removed.
12706         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12707         * sysdeps/x86_64/configure: Regenerated.
12708         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12709         check unconditional.
12710         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12711         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12713         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12714         Likewise.
12715         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12716         Likewise.
12717         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12718         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12719         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12720         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12721         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12722         Likewise.
12723         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12724         Likewise.
12725         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12728         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12729         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12730         Likewise.
12731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12732         Likewise.
12733         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12734         Likewise.
12735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12736         Likewise.
12737         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12738         Likewise.
12739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12740         Likewise.
12741         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12742         Likewise.
12743         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12744         Likewise.
12745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12746         Likewise.
12747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12748         Likewise.
12749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12750         Likewise.
12752 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12754         [BZ #20024]
12755         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12757         of this implementation of vector function.
12758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12761         Likewise.
12762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12764         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12765         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12766         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12767         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12768         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12769         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12770         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12771         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12772         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12773         for testing vector sincos with fixed ABI.
12774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12776         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12777         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12778         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12779         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12780         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12781         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12782         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12783         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12784         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12785         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12786         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12787         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12788         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12789         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12791 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12793         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12795 2016-06-30  Anton Blanchard  <anton@samba.org>
12797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12798         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12799         s_sinf-ppc64.
12800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12803         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12805 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12809         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12810         e_expf-ppc64.
12811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12814         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12816 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12818         [BZ #20277]
12819         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12820         when SHARED is defined.
12822 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12824         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12825         (index_arch_Prefer_ERMS): Likewise.
12826         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12827         __memcpy_erms for Prefer_ERMS.
12828         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12829         (__memmove_erms): Enabled for libc.a.
12830         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12831         __memmove_erms or Prefer_ERMS.
12832         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12833         __mempcpy_erms for Prefer_ERMS.
12834         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12835         __memset_erms for Prefer_ERMS.
12837 2016-06-30  Andreas Schwab  <schwab@suse.de>
12839         [BZ #20262]
12840         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12841         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12842         of memory.
12844 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12846         [BZ #18645]
12847         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12848         (test-extras): Add tst-cleanupx4aux.
12849         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12850         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12851         tst-cleanupx4aux.o.
12852         * nptl/tst-cleanupx4aux.c: New file.
12854 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12856         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12858 2016-06-29  Andreas Schwab  <schwab@suse.de>
12860         [BZ #20260]
12861         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12862         address before the beginning of the string as an integer to avoid
12863         array-bounds warning.
12865 2016-06-28  Richard Henderson  <rth@redhat.com>
12867         * elf/elf.h (EM_BPF): New.
12868         (EM_NUM): Update.
12869         (R_BPF_NONE, R_BPF_MAP_FD): New.
12871         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12872         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12873         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12874         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12875         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12876         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12877         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12878         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12879         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12880         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12881         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12882         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12883         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12884         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12885         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12886         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12887         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12888         (EM_NUM): Update.
12890 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12892         [BZ #18960]
12893         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12894         Set _nl_current_LC_CATEGORY_used to two instead of one.
12896 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12898         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12899         (do_test): ... this.
12900         (TEST_FUNCTION): New macro.
12901          Include test-skeleton.c.
12902         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12903         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12905 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12907         [BZ #15479]
12908         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12909         floating-point environment rather than just control word.
12910         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12911         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12912         floating-point environment, with "invalid" exceptions merged in,
12913         rather than just control word.
12914         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12915         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12916         "inexact" exceptions.
12918         [BZ #15479]
12919         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12920         floating-point environment rather than just control word.
12921         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12922         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12923         floating-point environment, with "invalid" exceptions merged in,
12924         rather than just control word.
12925         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12926         * math/libm-test.inc (floor_test_data): Do not allow spurious
12927         "inexact" exceptions.
12929         [BZ #15479]
12930         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12931         floating-point environment rather than just control word.
12932         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12933         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12934         floating-point environment, with "invalid" exceptions merged in,
12935         rather than just control word.
12936         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12937         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12938         "inexact" exceptions.
12940 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12942         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12943         __libc_vfork.
12944         (__vfork) [IS_IN (libc)]: Remove alias.
12945         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12946         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12947         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12949 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12951         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12952         of atomic_compare_and_exchange_bool_rel.
12953         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12954         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12955         catomic_compare_and_exchange_bool_rel): Remove.
12956         * sysdeps/aarch64/atomic-machine.h
12957         (atomic_compare_and_exchange_bool_rel): Likewise.
12958         * sysdeps/alpha/atomic-machine.h
12959         (atomic_compare_and_exchange_bool_rel): Likewise.
12960         * sysdeps/arm/atomic-machine.h
12961         (atomic_compare_and_exchange_bool_rel): Likewise.
12962         * sysdeps/mips/atomic-machine.h
12963         (atomic_compare_and_exchange_bool_rel): Likewise.
12964         * sysdeps/microblaze/atomic-machine.h
12965         ( __arch_compare_and_exchange_bool_8_rel,
12966         __arch_compare_and_exchange_bool_16_rel): Likewise.
12967         * sysdeps/powerpc/atomic-machine.h
12968         ( __arch_compare_and_exchange_bool_8_rel,
12969         __arch_compare_and_exchange_bool_16_rel): Likewise.
12970         * sysdeps/powerpc/powerpc32/atomic-machine.h
12971         ( __arch_compare_and_exchange_bool_32_rel,
12972         __arch_compare_and_exchange_bool_64_rel): Likewise.
12973         * sysdeps/powerpc/powerpc64/atomic-machine.h
12974         ( __arch_compare_and_exchange_bool_32_rel,
12975         __arch_compare_and_exchange_bool_64_rel): Likewise.
12976         * sysdeps/tile/atomic-machine.h
12977         (atomic_compare_and_exchange_bool_rel): Likewise.
12979 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12981         [BZ #20296]
12982         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12983         when either argument is a NaN.
12984         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12985         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12987         * math/libm-test.inc (snan_value_ld): New macro.
12988         (isgreater_test_data): Add sNaN tests.
12989         (isgreaterequal_test_data): Likewise.
12990         (isless_test_data): Likewise.
12991         (islessequal_test_data): Likewise.
12992         (islessgreater_test_data): Likewise.
12993         (isunordered_test_data): Likewise.
12994         (nextafter_test_data): Likewise.
12995         (nexttoward_test_data): Likewise.
12996         (remainder_test_data): Likewise.
12997         (remquo_test_data): Likewise.
12998         (significand_test_data): Likewise.
12999         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13001 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13003         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13004         environment macros are defined.
13005         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13007 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13009         [BZ #20191]
13010         Implement vtable verification in libio.
13011         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13012         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13013         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13014         _IO_new_file_init_internal instead of _IO_file_init.
13015         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13016         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13017         * libio/Makefile (routines): Add vtables.
13018         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13019         (_IO_init): Remove, not for internal use.
13020         (_IO_init_internal): Declare, internal replacement for _IO_init.
13021         (_IO_file_init): Remove, not for internal use.
13022         (_IO_new_file_init): Remove, not for internal use.
13023         (_IO_new_file_init_internal): Declare, internal replacement for
13024         _IO_new_file_init.
13025         (_IO_old_file_init): Remove, not for internal use.
13026         (_IO_old_file_init_internal): Declare, internal replacement for
13027         _IO_old_file_init.
13028         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13029         internal use.
13030         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13031         Declare.
13032         (libio_vtable): New macro.
13033         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13034         functions.
13035         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13036         _IO_new_file_init.
13037         (_IO_new_file_init): New externally visible wrapper which disables
13038         vtable verification.
13039         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13040         Define as vtables.
13041         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13042         (_IO_init): New externally visible wrapper which disables
13043         vtable verification.
13044         * libio/iofdopen.c (_IO_new_fdopen): Call
13045         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13046         comment.
13047         * libio/iofopen.c (__fopen_internal): Call
13048         _IO_new_file_init_internal instead of _IO_file_init.
13049         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13050         Define as vtables.
13051         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13052         _IO_new_file_init_internal instead of _IO_file_init.
13053         * libio/iopopen.c (_IO_new_popen): Likewise.
13054         (_IO_proc_jumps): Define as vtable.
13055         * libio/iovdprintf.c (_IO_vdprintf): Call
13056         _IO_new_file_init_internal instead of _IO_file_init.
13057         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13058         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13059         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13060         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13061         _IO_old_file_init.
13062         (_IO_old_file_init): New externally visible wrapper which disables
13063         vtable verification.
13064         (_IO_old_file_jumps): Define as vtable.
13065         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13066         _IO_old_file_init_internal instead of _IO_old_file_init.
13067         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13068         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13069         (_IO_old_proc_jumps): Define as vtable.
13070         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13071         Define as vtables.
13072         * libio/vtables.c: New file.
13073         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13074         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13075         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13076         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13077         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13078         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13079         instead of _IO_init.
13081 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13083         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13085 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13087         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13088         potentially unused.
13090 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13092         * test-skeleton.c (write_message): New function.
13093         * malloc/tst-mallocfork2.c (write_message): Remove.
13094         * debug/tst-longjmp_chk2.c (write_indented): New function.
13095         (write_message): Remove.
13096         (stackoverflow_handler): Call write_indented.
13098 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13100         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13101         "inexact" exceptions after fnstenv.
13102         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13103         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13104         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13106 2015-06-22  Zack Weinberg  <zackw@panix.com>
13108         * sysdeps/generic/bits/hwcap.h: Moved to ...
13109         * bits/hwcap.h: Here.
13111 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13113         * sysdeps/aarch64/memcpy.S (memcpy):
13114         Further tuning for performance.
13116 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13118         [BZ #20284]
13119         * malloc/arena.c (reused_arena): Do not return NULL if we start
13120         out with a non-corrupted arena.
13122 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13124         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13125         * misc/tst-preadvwritev.c: New file.
13126         * misc/tst-preadvwritev64.c: Likewise.
13127         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13128         usage.
13129         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13130         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13131         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13132         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13134 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13136         [BZ #19654]
13137         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13138         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13139         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13140         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13141         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13142         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13143         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13144         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13145         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13146         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13147         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13148         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13149         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13150         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13151         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13152         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13153         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13154         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13155         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13156         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13157         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13158         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13159         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13160         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13161         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13162         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13164 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13166         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13167         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13169 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13171         * sysdeps/aarch64/memcpy.S (memcpy):
13172         Rewrite of optimized memcpy and memmove.
13173         * sysdeps/aarch64/memmove.S (memmove): Remove
13174         memmove code (merged into memcpy.S).
13176 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13178         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13179         * sysdeps/generic/dl-dtv.h: New file.
13180         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13181         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13182         (dtv_t): Remove.
13183         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13184         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13185         (dtv_t): Remove.
13186         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13187         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13188         (dtv_t): Remove.
13189         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13190         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13191         (dtv_t): Remove.
13192         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13193         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13194         (dtv_t): Remove.
13195         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13196         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13197         (dtv_t): Remove.
13198         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13199         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13200         (dtv_t): Remove.
13201         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13202         (dtv_t): Remove.
13203         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13204         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13205         (dtv_t): Remove.
13206         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13207         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13208         (dtv_t): Remove.
13209         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13210         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13211         (dtv_t): Remove.
13212         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13213         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13214         (dtv_t): Remove.
13215         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13216         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13217         (dtv_t): Remove.
13218         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13219         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13220         (dtv_t): Remove.
13221         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13222         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13223         (dtv_t): Remove.
13224         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13225         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13226         (dtv_t): Remove.
13228 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13230         Revert symbol poisoning of  __malloc_initialize_hook.
13231         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13232         poisoning.
13233         * malloc/Makefile: Remove un-poisoning.
13234         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13235         instead of old__malloc_initialize_hook.
13236         * malloc/malloc-hooks.h: Likewise.
13237         * malloc/malloc.c: Likewise.
13238         * malloc/mcheck-init.c: Likewise.
13240 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13242         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13244 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13246         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13247         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13248         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13249         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13251 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13253         * NEWS: Mention addition of nextup and nextdown.
13254         * manual/arith.texi: Document nextup and nextdown.
13255         * manual/libm-err-tab.pl: Add nextup and nextdown.
13256         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13257         * math/Versions (libm): Add GLIBC_2.24.
13258         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13259         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13260         Add new test.
13261         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13262         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13263         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13264         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13265         (nextup_test_data): Likewise.
13266         (nextdown_test_data): Likewise.
13267         * math/s_nextdown.c: New file.
13268         * math/s_nextdownf.c: Likewise.
13269         * math/s_nextdownl.c: Likewise.
13270         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13271         F(nextup): New function.
13272         F(nextdown): Likewise.
13273         * math/tgmath.h: Add nextup and nextdown.
13274         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13275         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13276         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13277         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13278         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13279         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13280         Add nextup and nextdown.
13281         (CFLAGS-nldbl-nextup.c): New variable.
13282         (CFLAGS-nldbl-nextdown.c): Likewise.
13283         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13284         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13285         * sysdeps/nacl/libm.abilist: Update.
13286         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13287         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13288         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13289         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13290         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13291         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13292         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13293         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13294         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13295         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13296         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13297         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13300         Likewise.
13301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13303         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13304         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13306         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13307         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13310         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13311         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13312         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13313         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13315 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13317         * manual/pattern.texi: Fix typos & grammar errors.
13319 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13321         * manual/search.texi: Fix typos & grammar errors.
13323 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13325         * manual/message.texi: Fix typos & grammar errors.
13327 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13329         * manual/contrib.texi: Fix spelling typos.
13330         * manual/crypt.texi: Likewise.
13331         * manual/filesys.texi: Likewise.
13332         * manual/locale.texi: Likewise.
13333         * manual/message.texi: Likewise.
13334         * manual/nss.texi: Likewise.
13335         * manual/string.texi: Likewise.
13337 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13339         * manual/locale.texi: Fix typos & grammar errors.
13341 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13343         * manual/charset.texi: Fix typos & grammar errors.
13345 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13347         * manual/string.texi: Fix typos.
13349 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13351         * manual/ctype.texi: Fix typos.
13353 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13355         * manual/memory.texi: Fix various typos & grammar errors.
13357 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13359         [BZ #20255]
13360         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13361         * math/libm-test.inc (fdim_test_data): Add another test.
13363         [BZ #6796]
13364         [BZ #20255]
13365         [BZ #20256]
13366         * math/s_fdim.c: Include <math_private.h>.
13367         (__fdim): Use math_narrow_eval on result.
13368         * math/s_fdimf.c: Include <math_private.h>.
13369         (__fdimf): Use math_narrow_eval on result.
13370         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13371         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13372         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13373         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13374         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13375         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13376         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13377         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13378         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13379         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13380         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13381         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13382         overflow.  Add sNaN tests.
13384         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13385         fpclassify.
13386         * math/s_fdimf.c (__fdimf): Likewise.
13387         * math/s_fdiml.c (__fdiml): Likewise.
13389 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13391         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13392         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13394         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13395         ifunc'ed strcasecmp/strncasecmp.
13396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13397         [EALIGN]: Removed.
13398         [END]: Likewise.
13399         [__strcasecmp]: Define instead of the above to control symbol name.
13400         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13401         for __strcasecmp_power8.
13402         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13403         for __strncasecmp_power8.
13404         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13406         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13407         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13408         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13409         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13411 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13413         [BZ #20252]
13414         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13415         arguments when second argument is a NaN.
13416         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13417         qNaN tests.
13419         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13420         (conj_test_data): Likewise.
13421         (copysign_test_data): Likewise.
13422         (creal_test_data): Likewise.
13423         (fma_test_data): Likewise.
13424         (fmod_test_data): Likewise.
13426         [BZ #20250]
13427         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13428         itself.
13429         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13430         zero input to itself.
13431         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13432         Likewise.
13433         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13434         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13435         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13436         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13437         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13439 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13441         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13442         * nptl/tst-cancel4-common.c: New file.
13443         * nptl/tst-cancel4-common.h: Likewise.
13444         * nptl/tst-cancel4.c: Move common definitions to
13445         tst-cancel4-common.{c,h} file.
13446         * nptl/tst-cancel4_1.c: New test.
13447         * nptl/tst-cancel4_2.c: New test.
13449 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13451         [BZ #20248]
13452         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13453         (write_message): New function.
13454         (stackoverflow_handler): Call it instead of printf, to avoid
13455         excessive stack usage by printf.
13456         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13458 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13460         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13461         (prio_inherit_missing): Remove define.
13462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13463         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13465         Likewise.
13466         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13467         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13469         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13470         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13471         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13473 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13475         [BZ #19670]
13476         [BZ #19672]
13478         * io/test-lfs.c (do_prepare): Use xmalloc.
13479         * io/tst-fcntl.c (do_prepare): Likewise.
13480         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13481         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13482         * login/tst-utmp.c (do_prepare): Likewise.
13483         * posix/tst-exec.c (do_prepare): Likewise.
13484         * posix/tst-pathconf.c (prepare): Likewise.
13485         * posix/tst-spawn.c (do_prepare): Likewise.
13486         * posix/tst-truncate.c (do_prepare): Likewise.
13487         * rt/tst-aio.c (do_prepare): Likewise.
13488         * rt/tst-aio64.c (do_prepare): Likewise.
13490 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13492         [BZ #20237]
13493         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13494         (get*ent): Set entidx to NULL during initialization.  If entidx is
13495         NULL, start iteration from the beginning.
13497 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13499         * malloc/malloc.c (musable): Return correct size for dumped fake
13500         mmapped chunk.
13502 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13504         [BZ #20222]
13505         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13506         (_IO_cookie_write): Likewise.
13507         (_IO_cookie_seek): Likewise.
13508         (_IO_cookie_close): Likewise.
13509         (_IO_old_cookie_seek): Likewise.
13510         (set_callbacks): New function.
13511         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13513 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13515         * locale/programs/localedef.c (oldstyle_tables): Remove.
13516         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13518 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13520         [BZ #20240]
13521         * math/Makefile (CFLAGS-s_modf.c): New variable.
13522         (CFLAGS-s_modff.c): Likewise.
13523         (CFLAGS-s_modfl.c): Likewise.
13524         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13526 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13528         [BZ #20215]
13529         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13530         [!__GNUC_PREREQ (3,2)]: Likewise.
13532 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13534         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13535         (msghdr.msg_controllen): Likewise.
13536         (cmsghdr.cmsg_len): Likewise.
13537         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13538         ptw-oldsendmsg.
13539         (CFLAGS-oldrecvmsg.c): Remove rule.
13540         (CFLAGS-oldsendmsg.c): Likewise.
13541         (CFLAGS-recvmsg.c): Add rule.
13542         (CFLAGS-sendmsg.c): Likewise.
13543         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13544         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13545         (CFLAGS-recvmsg.c): Remove rule.
13546         (CFLAGS-sendmsg.c): Likewise.
13547         (CFLAGS-oldrecvmsg.c): Likewise.
13548         (CFLAGS-oldsendmsg.c): Likewise.
13549         (CFLAGS-recvmmsg.c): Likewise.
13550         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13551         to kernel defined interfaces.
13552         (msghdr.msg_controllen): Likewise.
13553         (cmsghdr.cmsg_len): Likewise.
13554         (msghdr.__glibc_reserved1): Remove member.
13555         (msghdr.__glibc_reserved2): Likewise.
13556         (cmsghdr.__glibc_reserved1): Likewise.
13557         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13558         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13559         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13560         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13561         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13562         version.
13563         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13564         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13565         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13566         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13567         Remove recvmsg and sendmsg.
13568         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13569         Likewise.
13570         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13571         Likewise.
13572         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13573         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13574         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13575         Likewise.
13576         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13577         Likewise.
13578         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13579         [libc] (GLIBC_2.24): Likewise.
13580         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13581         Likewise.
13582         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13583         Likewise.
13584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13585         [libc] (GLIBC_2.24): Likewise.
13586         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13587         Likewise.
13588         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13589         Likewise.
13590         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13591         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13598         Likewise.
13599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13600         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13601         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13602         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13603         version for {recv,send,recm,sendm}msg.
13604         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13605         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13606         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13607         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13608         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13609         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13610         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13611         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13612         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13613         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13614         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13615         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13617         Likewise.
13618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13619         Likewise.
13620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13622         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13623         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13624         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13634 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13636         [BZ #19564]
13637         Remove __malloc_initialize_hook from the API.
13638         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13639         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13640         #pragma GCC poison.
13641         * malloc/malloc-hooks.h: New file.
13642         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13643         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13644         (old__malloc_initialize_hook): Rename from
13645         __malloc_initialize_hook to evade poisoning.  Turn into compat
13646         symbol.
13647         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13648         __malloc_initialize_hook.
13649         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13650         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13651         * manual/memory.texi (Hooks for Malloc): Remove
13652         __malloc_initialize_hook.  Adjust hook example.
13654 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13656         [BZ #20235]
13657         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13658         itself.
13659         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13660         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13662         [BZ #20234]
13663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13664         infinity or NaN input to itself.
13666         [BZ #20233]
13667         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13668         to itself.
13670         [BZ #20232]
13671         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13672         itself.
13674 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13676         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13677         __libc_start_main via GOT.
13679 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13681         * sysdeps/x86_64/memcopy.h: New file.
13682         * sysdeps/x86_64/wordcopy.c: Likewise.
13684 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13686         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13687         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13688         <cstdlib>.
13689         (optimization_barrier): New.
13690         (do_test): Use it.  Call quick_exit in the global namespace.
13691         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13692         instead of <cstdlib>, <thread>.
13693         (optimization_barrier): New.
13694         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13695         Call quick_exit in the global namespace.
13696         (do_test): Call optimization_barrier.  Use pthread_create,
13697         pthread_join instead of std::thread.
13699 2016-06-09  Andreas Schwab  <schwab@suse.de>
13701         [BZ #19755]
13702         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13703         new entries in auto-propagate mode.
13704         * nscd/grpcache.c (cache_addgr): Likewise.
13706 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13708         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13709         New functions.
13710         (add_temp_file): Use them.
13712 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13714         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13716 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13718         [BZ #20229]
13719         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13720         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13721         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13723         [BZ #20228]
13724         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13725         itself.
13726         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13727         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13729         [BZ #20227]
13730         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13731         itself.
13732         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13733         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13734         * math/libm-test.inc (log_test_data): Add sNaN tests.
13736         [BZ #20226]
13737         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13738         itself.
13739         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13740         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13741         (exp10_test_data): Likewise.
13742         (expm1_test_data): Likewise.
13744         [BZ #20225]
13745         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13746         itself.
13747         * math/s_ldexpf.c (__ldexpf): Likewise.
13748         * math/s_ldexpl.c (__ldexpl): Likewise.
13749         * math/w_scalbln.c (__w_scalbln): Likewise.
13750         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13751         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13752         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13753         (scalbln_test_data): Likewise.
13755         [BZ #20224]
13756         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13757         argument to itself.
13758         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13760 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13762         [BZ #19776]
13763         * sysdeps/x86_64/memcpy.S: Make it dummy.
13764         * sysdeps/x86_64/mempcpy.S: Likewise.
13765         * sysdeps/x86_64/memmove.S: New file.
13766         * sysdeps/x86_64/memmove_chk.S: Likewise.
13767         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13768         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13769         * sysdeps/x86_64/memmove.c: Removed.
13770         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13771         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13772         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13773         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13774         Likewise.
13775         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13776         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13778         memcpy-sse2-unaligned, memmove-avx-unaligned,
13779         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13780         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13781         (__libc_ifunc_impl_list): Replace
13782         __memmove_chk_avx512_unaligned_2 with
13783         __memmove_chk_avx512_unaligned.  Remove
13784         __memmove_chk_avx_unaligned_2.  Replace
13785         __memmove_chk_sse2_unaligned_2 with
13786         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13787         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13788         with __memmove_avx512_unaligned.  Replace
13789         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13790         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13791         with __memcpy_chk_avx512_unaligned.  Remove
13792         __memcpy_chk_avx_unaligned_2.  Replace
13793         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13794         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13795         Replace __memcpy_avx512_unaligned_2 with
13796         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13797         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13798         with __mempcpy_chk_avx512_unaligned.  Remove
13799         __mempcpy_chk_avx_unaligned_2.  Replace
13800         __mempcpy_chk_sse2_unaligned_2 with
13801         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13802         Replace __mempcpy_avx512_unaligned_2 with
13803         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13804         Replace __mempcpy_sse2_unaligned_2 with
13805         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13806         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13807         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13808         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13809         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13810         (ENTRY): Removed.
13811         (END): Likewise.
13812         (ENTRY_CHK): Likewise.
13813         (libc_hidden_builtin_def): Likewise.
13814         Don't include ../memcpy.S.
13815         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13816         __memcpy_chk_avx512_unaligned_erms and
13817         __memcpy_chk_avx512_unaligned.  Use
13818         __memcpy_chk_avx_unaligned_erms and
13819         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13820         Default to __memcpy_chk_sse2_unaligned.
13821         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13822         Change function suffix from unaligned_2 to unaligned.
13823         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13824         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13825         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13826         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13827         (ENTRY): Removed.
13828         (END): Likewise.
13829         (ENTRY_CHK): Likewise.
13830         (libc_hidden_builtin_def): Likewise.
13831         Don't include ../mempcpy.S.
13832         (mempcpy): New.  Add a weak alias.
13833         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13834         __mempcpy_chk_avx512_unaligned_erms and
13835         __mempcpy_chk_avx512_unaligned.  Use
13836         __mempcpy_chk_avx_unaligned_erms and
13837         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13838         Default to __mempcpy_chk_sse2_unaligned.
13840 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13842         [BZ #19881]
13843         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13844         into ...
13845         * sysdeps/x86_64/memset.S: This.
13846         (__bzero): Removed.
13847         (__memset_tail): Likewise.
13848         (__memset_chk): Likewise.
13849         (memset): Likewise.
13850         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13851         defined.
13852         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13853         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13854         (__memset_zero_constant_len_parameter): Check SHARED instead of
13855         PIC.
13856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13857         memset-avx2 and memset-sse2-unaligned-erms.
13858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13859         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13860         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13861         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13862         (__bzero): Enabled.
13863         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13864         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13865         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13866         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13867         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13868         (memset): Removed.
13869         (__memset_chk): Likewise.
13870         (MEMSET_SYMBOL): New.
13871         (libc_hidden_builtin_def): Replace __memset_sse2 with
13872         __memset_sse2_unaligned.
13873         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13874         __memset_chk_sse2 and __memset_chk_avx2 with
13875         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13876         Use __memset_chk_sse2_unaligned_erms or
13877         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13878         __memset_chk_avx512_unaligned_erms and
13879         __memset_chk_avx512_unaligned.
13881 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13883         * math/gen-auto-libm-test.c (fp_format_desc): remove
13884         suffix member.
13885         (output_generic_value): Remove usage of suffix member,
13886         and the resulting unuse of the fp_format argument.
13887         (output_for_one_input_case): Remove unused fp_format
13888         parameter.
13890         * math/auto-libm-test-out: Regenerate.
13892         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13893         usage with TEST_COND_ibm128.
13894         (TEST_COND_flt_32): Remove.
13895         (TEST_COND_dbl_64): Remove.
13896         (TEST_COND_ldbl_96_intel): Remove.
13897         (TEST_COND_ldbl_96_m68k): Remove.
13898         (TEST_COND_ldbl_128): Remove.
13900 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13902         * auto-libm-test-in:
13903         Replace flt-32 usage with binary32.
13904         Replace dbl-64 usage with binary64.
13905         Replace ldbl-intel-96 usage with intel96.
13906         Replace ldbl-m68k-96 usage with m68k96.
13907         Replace ldbl-128ibm usage with ibm128.
13908         Replace ldbl-128 usage with binary128.
13910         * auto-libm-test-out: Regenerate.
13912 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13914         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13915         (parse_ulps): Dynamically generate type name matching
13916         string from all_floats.
13917         (get_ulps): Generate the ulps as an array instead.
13918         (output_ulps): Dynamically compose the type based
13919         on the number of supported formats, and print
13920         the indices as type specific helper macros.
13922         * math/libm-test.inc: Remove comment about CHOOSE.
13923         (ulp_data): Generate the type in libm-test-ulps.h.
13924         (ULP_IDX): New macro.
13925         (find_ulps): Update usage of max_ulp.
13927         * math/test-double-vlen2.h (CHOOSE): Remove.
13928         * math/test-double-vlen4.h (CHOOSE): Likewise.
13929         * math/test-double-vlen8.h (CHOOSE): Likewise.
13930         * math/test-float.c (CHOOSE): Likewise.
13931         * math/test-float-finite.c (CHOOSE): Likewise.
13932         * math/test-double.c (CHOOSE): Likewise.
13933         * math/test-double-finite.c (CHOOSE): Likewise.
13934         * math/test-idouble.c (CHOOSE): Likewise.
13935         * math/test-ifloat.c (CHOOSE): Likewise.
13936         * math/test-ildoubl.c (CHOOSE): Likewise.
13937         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13938         * math/test-ldouble.c (CHOOSE): Likewise.
13940         * math/test-float.h (TEST_FLOAT): Remove.
13941         * math/test-double.h (TEST_DOUBLE): Likewise.
13942         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13944 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13946         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13947         (parse_args): Strip C suffix from floating point literals
13948         typed with 'f' and wrap them with LIT().
13950         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13951         (test_ff_f_data_nexttoward): Rename to
13952         (test_fj_f_data): New struct.
13953         (nexttoward_test_data): Relabel tests as
13954         TEST_fj_f instead of TEST_ff_f.
13956 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13958         Emacs bug 23726.
13959         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13960         (__libc_realloc): Correct size computation for dumped fake mmapped
13961         chunks.
13963 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13965         [BZ #20219]
13966         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13967         to itself.
13968         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13970         [BZ #20218]
13971         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13972         to itself.
13973         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13975 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13977         [BZ #20195]
13978         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13979         check to ...
13980         (init_cpu_features): Here.
13982 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13984         [BZ #20214]
13985         * sysdeps/unix/sysv/linux/bits/in.h
13986         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13987          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13988         Define to 1.
13989         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13990          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13991         Define to 0.
13992         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13993         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13995 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13997         [BZ #20198]
13998         * stdlib/Makefile (tests): Add tst-quick_exit, and
13999         tst-thread-quick_exit.
14000         [ifeq ($(have-cxx-thread_local),yes)]
14001         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14002         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14003         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14004         (LDLIBS-tst-thread-quick_exit): Likewise.
14005         [ifneq ($(have-cxx-thread_local),yes)]
14006         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14007         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14008         If run_dtors is true call __call_tls_dtors.
14009         (exit): Call __run_exit_handlers with run_dtors set to true.
14010         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14011         definition.
14012         * stdlib/quick_exit.c (quick_exit): Remove function.
14013         (__new_quick_exit): New function.
14014         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14015         function.
14016         * stdlib/tst-quick_exit.cc: New file.
14017         * stdlib/tst-thread-quick_exit.cc: New file.
14018         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14019         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14020         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14021         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14022         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14023         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14024         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14025         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14026         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14028         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14033         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14039         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14040         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14041         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14042         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14045         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14046         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14049 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14051         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14052         a typo in comments.
14054 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14056         [BZ #20213]
14057         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14058         argument to itself.
14059         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14061 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14063         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14064         required flags.
14065         (CFLAGS-pwritev64.c): Likewise.
14066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14068         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14069         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14070         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14071         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14072         syscall from auto-generation.
14073         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14074         [WORDSIZE == 64] (pwritev64): Remove macro.
14075         [!PWRITEV] (PWRITEV): Likewise.
14076         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14077         [!PWRITEV] (PWRITE): Likewise.
14078         [!PWRITEV] (OFF_T): Likewise.
14079         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14080         (LO_HI_LONG): Remove macro.
14081         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14082         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14083         (PWRITEV): Remove macro.
14084         (PWRITEV_REPLACEMENTE): Likewise.
14085         (PWRITE): Likewise.
14086         (OFF_T): Likewise.
14087         (pwritev64): New function.
14088         * nptl/tst-cancel4.c (tf_writev): Add test.
14090         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14091         required flags.
14092         (CFLAGS-preadv64.c): Likewise.
14093         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14094         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14095         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14096         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14097         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14098         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14099         syscall from auto-generation.
14100         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14101         [WORDSIZE == 64] (preadv64): Remove macro.
14102         [!PREADV] (PREADV): Likewise.
14103         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14104         [!PREADV] (PREAD): Likewise.
14105         [!PREADV] (OFF_T): Likewise.
14106         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14107         (LO_HI_LONG): Remove macro.
14108         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14109         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14110         (PREADV): Remove macro.
14111         (PREADV_REPLACEMENTE): Likewise.
14112         (PREAD): Likewise.
14113         (OFF_T): Likewise.
14114         (preadv64): New function.
14115         * nptl/tst-cancel4.c (tf_preadv): Add test.
14117 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14119         [BZ #20212]
14120         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14121         argument to itself.
14122         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14124 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14126         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14127         New symbol defined as libc_hidden_def.
14128         (strcasestr): Became a weak alias to __strcasestr.
14129         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14130         according to multi-arch support.  Move __stpncpy hidden
14131         definition from here to...
14132         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14133         symbol stpncpy.
14134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14135         libc_hidden_builtin_def.
14136         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14137         memset symbol to use when multi-arch support is available.
14139 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14141         * dlfcn/tst-rec-dlopen.c: Include string.h.
14143 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14145         * manual/install.texi: Remove mention of --without-tls
14146         * INSTALL: Regenerate.
14148 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14150         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14151         Remove.
14152         (call_function, interposed_malloc_called): New variables.
14153         (malloc): New function.
14154         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14155         and clear call_function as needed.
14157 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14159         * include/wchar.h (__wmemset): Use __typeof.
14161 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14163         * include/wchar.h (__wmemset): Declare function without typeof.
14165 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14167         [BZ #20205]
14168         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14169         exponent when incrementing negative subnormal with low mantissa
14170         word zero.
14171         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14172         Add another test.
14174 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14176         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14177         __wmemset instead of wmemset.
14179 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14181         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14182         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14183         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14184         __USE_KERNEL_IPV6_DEFS to 0.
14185         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14186         Update comment.
14188 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14190         [BZ #19861]
14191         Do not use IFUNC resolver with potentially unrelocated symbol.
14192         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14193         (DEFINE_FORK): Remove macro and inline definition.
14194         (fork_alias): Renamed from fork_ifunc.
14195         (__fork_alias): Renamed from __fork_ifunc.
14197 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14199         [BZ 19653]
14200         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14201         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14203 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14205         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14206         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14207         i386-linux-gnu).
14208         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14209         Set to no.
14210         * sysdeps/mach/hurd/configure: Refresh.
14212 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14214         [BZ #20178]
14215         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14216         on failure instead of exit.
14218 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14220         [BZ #3629]
14221         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14222         of POSIX.1-2008.
14224 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14226         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14227           Use PLT entry for calling _hurd_self_sigstate.
14229 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14231         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14232         available logical processors with SMT level type sharing L2
14233         cache for Intel processors.
14235 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #20160]
14238         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14239         argument to itself before returning the result.
14240         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14241         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14242         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14243         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14244         Likewise.
14245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14246         Likewise.
14247         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14248         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14249         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14250         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14251         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14252         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14254         [BZ #20160]
14255         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14256         argument to itself before returning the result.
14257         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14258         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14259         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14260         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14261         Likewise.
14262         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14263         Likewise.
14264         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14265         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14266         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14267         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14268         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14269         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14271 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14273         * libm-test.inc: Replace usage of M_El with
14274         (lit_e): New macro.
14276 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14278         * libm-test.inc: Replace usage of M_PI_4l with
14279         (lit_pi_4_d): New macro.
14281 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14283         * libm-test.inc: Replace usage of M_PIl with
14284         (lit_pi): New macro.
14286 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14288         * libm-test.inc: Replace usage of M_PI2l with
14289         (lit_pi_2_d): New macro.
14291         * math/test-double.h (LITM): New macro.
14292         * math/test-float.h (LITM): Likewise.
14293         * math/test-ldouble.h (LITM): Likewise.
14295 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14297         * libm-test.inc (M_PI_34l): Rename to
14298         (lit_pi_3_m_4_d): New Macro.
14299         (M_PI_34_LOG10El): Rename to
14300         (lit_pi_3_m_4_ln10_m_d): New Macro.
14301         (M_PI2_LOG10El): Rename to
14302         (lit_pi_2_ln10_m_d):  New Macro.
14303         (M_PI4_LOG10El): Rename to
14304         (lit_pi_4_ln10_m_d):  New Macro.
14305         (M_PI_LOG10El): Rename to
14306         (lit_pi_ln10_d):  New Macro.
14308 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14310         [BZ #20157]
14311         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14312         determine whether to negate low half if [_ARCH_PPCGR], and integer
14313         comparison otherwise.
14314         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14315         determine whether to negate low half.
14317         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14318         (NO_TEST_INLINE_DOUBLE): Likewise.
14319         (TEST_COND_x86_64): Likewise.
14320         (TEST_COND_x86): Likewise.
14321         (M_PI_6l): Likewise.
14323 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14325         * math/libm-test.inc:
14326         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14327         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14328         (TEST_LDOUBLE): Update usage to evaluate as true if
14329         the guarded tests match the property being tested.
14330         (LDBL_MAX_EXP): Change to MAX_EXP.
14331         (LDBL_MIN_EXP): Change to MIN_EXP.
14332         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14333         nexttoward tests.
14335 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14337         * math/libm-test.inc:
14338         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14339         (TYPE_MIN): Likewise.
14340         (TYPE_TRUE_MIN): Likewise.
14341         (TYPE_MAX): Likewise.
14342         (MIN_EXP): Likewise.
14343         (MAX_EXP): Likewise.
14344         (MANT_DIG): Likewise.
14346         (FSTR_MAX): New macro.
14347         (__CONCATX): Likewise.
14348         (QTYPE_STR): Likewise.
14349         (TEST_COND_binary32): Likewise.
14350         (TEST_COND_binary64): Likewise.
14351         (TEST_COND_binary128): Likewise.
14352         (TEST_COND_ibm128): Likewise.
14353         (TEST_COND_intel96): Likewise.
14354         (TEST_COND_m68k96): Likewise.
14356         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14357         (TEST_COND_dbl_64): Likewise.
14358         (TEST_COND_ldbl_96_intel): Likewise.
14359         (TEST_COND_ldbl_96_m68k): Likewise.
14360         (TEST_COND_ldbl_128): Likewise.
14361         (TEST_COND_ldbl_128ibm): Likewise.
14363         (plus_zero): Redefine using LIT macro.
14364         (minus_zero): Likewise.
14365         (plus_infty): Redefine as (INF).
14366         (minux_infty): Redefine as (-INF).
14367         (max_value): Redefine as TYPE_MAX.
14368         (min_value): Redefine as TYPE_MIN.
14369         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14371         (print_float): Refactor to use snprintf to convert FLOAT values
14372         to string. This brings it closer to dropin replacement of strtof
14373         for the TS 18661 defined types.
14374         (update_stats): Likewise.
14375         (print_complex_function_ulps): Likewise.
14376         (print_max_error): Likewise.
14377         (print_complex_max_error): Likewise.
14378         (check_float_internal): Likewise.
14380         * math/test-float.h (PREFIX): New macro.
14381         (LIT): Likewise.
14382         (TYPE_STR): Likewise.
14383         (FTOSTR): Likewise.
14385         * math/test-double.h (PREFIX): New macro.
14386         (LIT): Likewise.
14387         (TYPE_STR): Likewise.
14388         (FTOSTR): Likewise.
14390         * math/test-ldouble.h (PREFIX): New macro.
14391         (LIT): Likewise.
14392         (TYPE_STR): Likewise.
14393         (FTOSTR): Likewise.
14395 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14397         [BZ #20156]
14398         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14399         to itself when zero or not finite.
14400         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14401         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14402         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14405 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14407         [BZ #20153]
14408         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14409         x * x + x for infinities and NaNs.
14411         [BZ #20151]
14412         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14413         argument to itself before returning result.
14414         (__ieee754_y0l): Likewise.
14415         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14416         (__ieee754_y1l).
14418         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14419         (atan_test_data): Likewise.
14420         (ceil_test_data): Likewise.
14421         (cos_test_data): Likewise.
14422         (cosh_test_data): Likewise.
14423         (erf_test_data): Likewise.
14424         (exp2_test_data): Likewise.
14425         (fabs_test_data): Likewise.
14426         (floor_test_data): Likewise.
14427         (ilogb_test_data): Likewise.
14428         (j0_test_data): Likewise.
14429         (j1_test_data): Likewise.
14430         (jn_test_data): Likewise.
14431         (lgamma_test_data): Likewise.
14432         (lrint_test_data): Likewise.
14433         (llrint_test_data): Likewise.
14434         (logb_test_data): Likewise.
14435         (lround_test_data): Likewise.
14436         (llround_test_data): Likewise.
14437         (nearbyint_test_data): Likewise.
14438         (rint_test_data): Likewise.
14439         (round_test_data): Likewise.
14440         (sin_test_data): Likewise.
14441         (sincos_test_data): Likewise.
14442         (sinh_test_data): Likewise.
14443         (sqrt_test_data): Likewise.
14444         (tan_test_data): Likewise.
14445         (tanh_test_data): Likewise.
14446         (tgamma_test_data): Likewise.
14447         (trunc_test_data): Likewise.
14448         (y0_test_data): Likewise.
14449         (y1_test_data): Likewise.
14450         (yn_test_data): Likewise.
14452         * math/libm-test.inc: Update comment about NaN testing.
14453         (TEST_SNAN): New macro.
14454         (snan_value): Likewise.
14455         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14456         (fpclassify_test_data): Add sNaN tests.
14457         (isfinite_test_data): Likewise.
14458         (isinf_test_data): Likewise.
14459         (isnan_test_data): Likewise.
14460         (isnormal_test_data): Likewise.
14461         (issignaling_test_data): Likewise.
14462         (signbit_test_data): Likewise.
14463         * math/gen-libm-test.pl (%beautify): Add snan_value.
14464         (show_exceptions): Add argument $test_snan.
14465         (parse_args): Handle snan_value as non-finite.  Update call to
14466         show_exceptions.
14467         * math/Makefile (libm-test-no-inline-cflags): Add
14468         -fsignaling-nans.
14470 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14472         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14473         (CFLAGS-oldsendmsg.c): Add rule.
14474         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14475         Correct recvmsg symbol name.
14476         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14477         Likewise.
14479 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14481         * sysdeps/unix/sysv/linux/Makefile
14482         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14483         oldsendmmsg.
14484         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14485         sendmmsg.
14486         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14487         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14488         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14489         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14492         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14494         Likewise.
14495         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14496         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14497         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14498         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14499         iovlen and controllen fields to adjust to POSIX specification.
14500         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14502         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14503         and change to correct expected type.
14504         (msghdr.msg_controllen): Likewise.
14505         (cmsghdr.cmsg_len): Likewise.
14506         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14507         expected POSIX assumption about the size.
14508         (msghdr.msg_controllen): Likewise.
14509         (msghdr.__glibc_reserved1): Likewise.
14510         (msghdr.__glibc_reserved2): Likewise.
14511         (cmsghdr.cmsg_len): Likewise.
14512         (cmsghdr.__glibc_reserved1): Likewise.
14513         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14514         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14515         (CFLAGS-sendmsg.c): Remove rule.
14516         (CFLAGS-recvmsg.c): Likewise.
14517         (CFLAGS-oldsendmsg.c): Add rule.
14518         (CFLAGS-oldrecvmsg.c): Likewise.
14519         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14520         recvmsg and sendmsg.
14521         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14522         Likewise.
14523         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14524         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14525         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14526         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14527         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14528         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14529         Likewise.
14530         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14531         Likewise.
14532         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14533         Likewise.
14534         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14537         Likewise.
14538         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14539         Likewise.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14541         (GLIBC_2.24): Likewise.
14542         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14547         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14548         Likewise.
14549         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14550         Likewise.
14551         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14552         Likewise.
14553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14554         (GLIBC_2.24): Likewise.
14555         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14556         Likewise.
14557         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14558         Likewise.
14559         * sysdeps/unix/sysv/linux/Makefile
14560         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14561         (CFLAGS-sendmsg.c): Add rule.
14562         (CFLAGS-recvmsg.c): Likewise.
14563         (CFLAGS-oldsendmsg.c): Likewise.
14564         (CFLAGS-oldrecvmsg.c): Likewise.
14565         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14566         initialization.
14567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14568         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14569         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14570         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14571         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14572         iovlen and controllen fields to adjust to POSIX specification.
14573         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14574         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14575         added recvmsg and sendmsg.
14576         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14577         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14589         Likewise.
14590         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14592         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14593         Likewise.
14594         Likewise.
14595         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14596         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14597         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14598         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14599         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14600         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14602         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14604         Likewise.
14605         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14608         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14609         from auto-generation.
14610         (sendmsg): Likewise.
14611         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14612         (sendmsg): Likewise.
14613         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14614         (sendmsg): Likewise.
14615         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14616         (sendmsg): Likewise.
14617         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14618         (sendmsg): Likewise.
14619         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14620         (sendmsg): Likewise.
14621         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14622         Likewise.
14623         (sendmsg): Likewise.
14624         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14625         (sendmsg): Likewise.
14626         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14628         Remove.
14629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14630         Likewise.
14631         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14632         Undefine.
14633         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14634         Likewise.
14635         * sysdeps/unix/sysv/linux/kernel-features.h
14636         (__ASSUME_SENDMSG_SYSCALL): Define.
14637         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14638         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14639         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14640         Remove.
14641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14642         Likewise.
14643         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14644         Undefine.
14645         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14646         Likewise.
14647         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14649         Remove.
14650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14651         Likewise.
14652         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14653         Undefine.
14654         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14655         Likewise.
14656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14657         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14658         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14659         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14660         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14661         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14662         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14663         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14664         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14666 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14668         * stdlib/gen-tst-strtod-round.c: Add backslash to
14669         compile command in comment.
14670         (printfp): Remove the literal suffix, and define an infinite
14671         value as INF to avoid expansion clash with INFINITY.
14672         (round_str): Remove the literal suffix.
14673         (round_for_all): Likewise, remove the now duplicate ldbl-64
14674         entry, and remove some magic constants.
14676         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14677         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14678         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14679         (_CONCAT): New macro.
14680         (CONCAT): Likewise.
14681         (CHOOSE_ld): Likewise.
14682         (CHOOSE_f): Likewise.
14683         (CHOOSE_d): Likewise.
14684         (FTYPE_MEMBER): Likewise.
14685         (BOOL_MEMBER): Likewise.
14686         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14687         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14688         (_XNTRY): Likewise.
14689         (XNTRY): Likewise.
14690         (_ENTRY): Likewise.
14691         (ENTRY): Likewise.
14692         (test_exactness): Generate members via macro.
14693         (test_results): Likewise.
14694         (test): Update members.
14695         (TEST): Redefine using new macros.
14696         (INF): New macro.
14697         (fetestmodes): New structure.
14698         (do_test): Refactor to be type generic.
14699         (test_in_one_mode): Refactor duplicate code into
14700         (GEN_ONE_TEST): New macro.
14702         * stdlib/tst-strtod-round-data.h: Regenerate.
14704         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14705         Extend to pass additional arbitrary parameters to
14706         generators.
14708 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14710         [BZ #15479]
14711         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14712         floating-point state after first floating-point operation on
14713         input.  Restore full floating-point state instead of just rounding
14714         mode.
14715         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14716         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14717         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14718         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14719         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14721         [BZ #15479]
14722         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14723         floating-point state after first floating-point operation on
14724         input.  Restore full floating-point state instead of just rounding
14725         mode.
14726         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14727         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14728         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14729         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14730         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14732 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14734         [BZ #19727]
14735         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14736         valid high surrogate.
14737         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14738         of an utf16 surrogate.
14739         * iconv/gconv_simple.c (BODY): Likewise.
14740         * iconvdata/bug-iconv12.c: New file.
14741         * iconvdata/Makefile (tests): Add bug-iconv12.
14743 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14745         [BZ #19726]
14746         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14747         outptrp in case of an illegal input.
14748         * iconv/tst-iconv6.c: New file.
14749         * iconv/Makefile (tests): Add tst-iconv6.
14751 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14753         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14754         an error in case of a value in range of an utf16 low surrogate.
14756 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14758         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14759         an error in case of a value in range of an utf16 low surrogate.
14761 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14763         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14764         Move to ...
14765         * sysdeps/s390/Makefile: ... here.
14766         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14767         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14768         (BRANCH_ON_COUNT): New define.
14769         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14770         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14771         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14772         run on s390-32, too.
14773         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14774         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14775         run on s390-32, too.
14776         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14777         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14778         run on s390-32, too.
14780 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14782         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14783         etf3eh or new vector loop-variant.
14785 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14787         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14788         etf3eh or new vector loop-variant.
14790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14792         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14793         or new vector loop-variant.
14795 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14797         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14798         Rename to TR_LOOP and usage of tr instead of troo instruction.
14800 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14802         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14805 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14807         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14808         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14809         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14810         New override define.
14811         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14813 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14815         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14816         * sysdeps/s390/configure.ac: Add test for S390 vector register
14817         support in gcc.
14818         * sysdeps/s390/configure: Regenerated.
14820 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14822         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14823         Install file from $(objpfx)gconv-modules.
14824         ($(objpfx)gconv-modules): Concatenate architecture specific file
14825         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14826         * sysdeps/s390/gconv-modules: New file.
14827         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14828         Deleted.
14829         ($(objpfx)gconv-modules-s390): Deleted.
14830         (sysdeps-gconv-modules): New variable.
14832 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14834         [BZ #15479]
14835         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14836         of immediate operand to rounding instruction.
14837         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14838         Likewise.
14839         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14840         Likewise.
14841         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14842         Likewise.
14844 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14846         * math/libm-test.inc (MIN_EXP): Directly define as
14847         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14849 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14851         * math/libm-test.inc (MANT_DIG): Directly define as
14852         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14854 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14856         * stdlib/gen-tst-strtod-round.c (main):
14857           Change usage to more closely match the generated
14858           output.  Add usage and compilation instructions.
14859           (string_to_fp): Add and use FILE* parameter as
14860           output target.
14861           (print_fp): Likewise.
14862           (round_str): Likewise.
14863           (round_for_all): Likewise.
14864         * stdlib/tst-strtod-round.c (tests): Move into
14865         * stdlib/tst-strtod-round-data.h: New file.
14867 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14869         [BZ #15479]
14870         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14871         (__round): Do not force "inexact" exception.
14872         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14873         variable.
14874         (__round): Do not force "inexact" exception.
14875         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14876         (__roundf): Do not force "inexact" exception.
14877         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14878         (__roundl): Do not force "inexact" exception.
14879         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14880         (__roundl): Do not force "inexact" exception.
14881         * math/libm-test.inc (round_test_data): Do not allow spurious
14882         "inexact" exceptions.
14884         [BZ #15479]
14885         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14886         exception in comment.
14887         (huge): Remove variable.
14888         (__floor): Do not force "inexact" exception.
14889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14890         "inexact" exception in comment.
14891         (huge): Remove variable.
14892         (__floor): Do not force "inexact" exception.
14893         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14894         exception in comment.
14895         (huge): Remove variable.
14896         (__floorf): Do not force "inexact" exception.
14897         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14898         exception in comment.
14899         (huge): Remove variable.
14900         (__floorl): Do not force "inexact" exception.
14902         [BZ #15479]
14903         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14904         exception in comment.
14905         (huge): Remove variable.
14906         (__ceil): Do not force "inexact" exception.
14907         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14908         "inexact" exception in comment.
14909         (huge): Remove variable.
14910         (__ceil): Do not force "inexact" exception.
14911         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14912         (__ceilf): Do not force "inexact" exception.
14913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14914         exception in comment.
14915         (huge): Remove variable.
14916         (__ceill): Do not force "inexact" exception.
14918 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14920         * config.h.in (BIND_NOW): New.
14921         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14922         * configure: Regenerated.
14923         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14924         indirect branch via the GOT slot.
14926 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14928         [BZ #19765]
14929         * sysdeps/s390/mempcpy.S: New File.
14930         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14931         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14932         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14933         Add mempcpy variants.
14934         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14935         (memcpy): Adjust to be usable from mempcpy entry point.
14936         (__memcpy_mvcle): Likewise.
14937         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14938         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14939         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14940         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14941         (__memcpy_z10): Likewise.
14942         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14944 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14946         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14947         Remove __GI_ symbol.
14948         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14949         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14950         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14951         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14952         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14953         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14955 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14957         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14958         Use cghi instead of chi to compare 64bit value.
14960 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14962         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14963         Jump to 1MB check before executing mvc-loop.
14965 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14967         [BZ #6527]
14968         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14969         unconditionally.
14970         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14972 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14974         * stdlib/tst-strtod6.c (do_test): Use new type generic
14975         invocation of the test function.
14976         (test): Refactor into ...
14977         (TEST_STRTOD): New macro base function.
14979 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14981         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14982         (TEST_STRTOD): New macro.
14983         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14985 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14987         * stdlib/tst-strtod6.c (do_test): Use new type generic
14988         invocation of the test function.
14989         (test): Refactor into ...
14990         (TEST_STRTOD): New macro base function.
14992 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14994         CVE-2016-4429
14995         [BZ #20112]
14996         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14997         payload.
14999 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15001         [BZ #20111]
15002         * bits/sockaddr.h (_SS_SIZE): Define.
15003         * bits/socket.h (_SS_SIZE): Remove.
15004         (_SS_PADSIZE): Adjust to account for all padding.
15005         (struct sockaddr_storage): Update comment.  Avoid implicit
15006         padding.
15007         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15008         (_SS_PADSIZE): Adjust to account for all padding.
15009         (struct sockaddr_storage): Update comment.  Avoid implicit
15010         padding.
15011         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15012         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15013         (_SS_PADSIZE): Adjust to account for all padding.
15014         (struct sockaddr_storage): Update comment.  Avoid implicit
15015         padding.
15016         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15017         __SS_SIZE is 126 in this version.
15018         * inet/tst-sockaddr.c: New file.
15019         * inet/Makefile (tests): Add tst-sockaddr.c
15020         (tst-sockaddr.c): Compile with non-strict aliasing.
15022 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15024         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15025         [XPG3 || XPG4].
15026         (NL_ARGMAX): Also expect for [XPG3].
15027         (NL_LANGMAX): Likewise.
15028         (NL_MSGMAX): Likewise.
15029         (NL_NMAX): Likewise.
15030         (NL_SETMAX): Likewise.
15031         (NL_TEXTMAX): Likewise.
15032         (NZERO): Likewise.
15033         (TMP_MAX): Likewise.
15034         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15035         variable.
15037         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15038         (PF_MAX): Update value.
15039         (AF_KCM): New macro.
15040         (SOL_NETBEUI): Likewise.
15041         (SOL_LLC): Likewise.
15042         (SOL_DCCP): Likewise.
15043         (SOL_NETLINK): Likewise.
15044         (SOL_TIPC): Likewise.
15045         (SOL_RXRPC): Likewise.
15046         (SOL_PPPOL2TP): Likewise.
15047         (SOL_BLUETOOTH): Likewise.
15048         (SOL_PNPIPE): Likewise.
15049         (SOL_RDS): Likewise.
15050         (SOL_IUCV): Likewise.
15051         (SOL_CAIF): Likewise.
15052         (SOL_ALG): Likewise.
15053         (SOL_NFC): Likewise.
15054         (SOL_KCM): Likewise.
15055         (MSG_BATCH): New enum value and macro.
15057 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15059         [BZ #18185]
15060         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15061         sharing L2 cache to 2 for Knights Landing.
15063 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15065         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15066         (FTW_DP): Do not expect for [XPG3 || XPG4].
15067         (FTW_SL): Do not expect for [XPG3].
15068         (FTW_SLN): Likewise.
15069         (FTW_PHYS): Likewise.
15070         (FTW_MOUNT): Likewise.
15071         (FTW_DEPTH): Likewise.
15072         (FTW_CHDIR): Likewise.
15073         (nftw): Likewise.
15074         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15075         variable.
15077 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15079         * manual/errno.texi: Fix various typos & grammar errors.
15081 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15083         * manual/intro.texi: Fix duplicated typo.
15085 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15087         [BZ #13304]
15088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15089         <float.h>, <math_private.h> and <stdlib.h>.
15090         (add_split): New function.
15091         (mul_split): Likewise.
15092         (ext_val): New typedef.
15093         (store_ext_val): New function.
15094         (mul_ext_val): New function.
15095         (compare): New function.
15096         (add_split_ext): New function.
15097         (__fmal): After checking for Inf, NaN and zero, compute result as
15098         an exact sum of scaled double values in round-to-nearest before
15099         adding those up and adjusting for other rounding modes.
15100         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15101         tests of fma.
15102         * math/auto-libm-test-out: Regenerated.
15104 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15106         [BZ #20119]
15107         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15108         processor level type mask for CPUID with EAX == 11.
15110 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15112         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15113         logical threads if the HTT bit is 0.
15114         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15115         (index_cpu_HTT): Likewise.
15116         (reg_HTT): Likewise.
15118 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15120         [BZ #20115]
15121         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15122         Remove alignments on jump targets.
15124 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15126         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15127         (getpwent): Likewise.
15128         (setpwent): Likewise.
15129         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15130         variable.
15132         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15133         (remque): Likewise.
15134         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15135         variable.
15137 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15139         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15140         not being tested.
15142 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15144         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15145         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15146         call.
15147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15148         (__condvar_cleanup1): Likewise.
15150 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15152         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15153         New
15154         (__pthread_unwind): Renamed to ...
15155         (PTHREAD_UNWIND): This.
15156         (__pthread_enable_asynccancel): Replace
15157         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15159 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15161         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15162         (CLONE_NEWCGROUP): New macro.
15164         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15165         (Q_GETNEXTQUOTA): New macro.
15167 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15169         [BZ #19907]
15170         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15171         buffer updated by the previous run.
15172         * string/test-memcpy.c (do_one_test): Likewise.
15173         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15174         * string/test-memmove.c (do_one_test): Likewise.
15176 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15178         [BZ #20094]
15179         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15180         not [__USE_XOPEN].
15181         (unlockpt): Likewise.
15182         (ptsname): Likewise.
15183         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15184         variable.
15186         [BZ #20076]
15187         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15188         instead of [__USE_UNIX98].
15189         (S_ISSOCK): Likewise.
15190         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15191         variable.
15193         [BZ #20074]
15194         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15195         [__USE_POSIX].
15196         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15197         variable.
15199         [BZ #20051]
15200         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15201         (ttyslot): Do not declare.
15202         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15203         (ttyslot): New prototype.
15204         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15205         variable.
15206         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15208 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15210         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15212 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15214         Fix race condition in tst-mallocfork2, use fewer resources.
15215         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15216         to current process group.
15217         (signal_sender): Yield in the non-sleeping case.
15219 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15221         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15222         (ecvt): Likewise.
15223         (fcvt): Likewise.
15224         (gcvt): Likewise.
15225         (getsubopt): Likewise.
15226         (grantpt): Likewise.
15227         (initstate): Likewise.
15228         (l64a): Likewise.
15229         (mktemp): Likewise.
15230         (mkstemp): Likewise.
15231         (ptsname): Likewise.
15232         (random): Likewise.
15233         (realpath): Likewise.
15234         (setstate): Likewise.
15235         (srandom): Likewise.
15236         (ttyslot): Likewise.
15237         (unlockpt): Likewise.
15238         (valloc): Likewise.
15240         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15241         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15242         variable.
15244 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15246         [BZ #20072]
15247         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15248         init_cpu_features only if SHARED is defined.
15249         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15251 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15253         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15254         non-inclusive caches on Intel processors.
15256 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15258         * malloc/malloc.c (dumped_main_arena_start)
15259         (dumped_main_arena_end): New variables.
15260         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15261         (do_check_chunk): Skip dumped fake mmapped chunks.
15262         (munmap_chunk): Likewise.
15263         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15264         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15265         mmapped chunks.
15266         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15267         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15268         and dumped_main_arena_end to cover the dumped heap.
15270 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15272         * conform/data/time.h-data (getdate_err): Do not expect for
15273         [XPG3].
15274         (getdate): Likewise.
15275         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15276         variable.
15278         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15279         (F_ULOCK): Likewise.
15280         (F_TEST): Likewise.
15281         (F_TLOCK): Likewise.
15282         (useconds_t): Likewise.
15283         (intptr_t): Do not expect for [XPG3] or [XPG4].
15284         (brk): Do not expect for [XPG3]
15285         (fchown): Likewise.
15286         (fchdir): Likewise.
15287         (ftruncate): Likewise.
15288         (getdtablesize): Likewise.
15289         (gethostid): Likewise.
15290         (getpagesize): Likewise.
15291         (getpgid): Likewise.
15292         (getsid): Likewise.
15293         (getwd): Likewise.
15294         (lchown): Likewise.
15295         (lockf): Likewise.
15296         (readlink): Likewise.
15297         (sbrk): Likewise.
15298         (setpgrp): Likewise.
15299         (setregid): Likewise.
15300         (setreuid): Likewise.
15301         (symlink): Likewise.
15302         (sync): Likewise.
15303         (truncate): Likewise.
15304         (ualarm): Likewise.
15305         (usleep): Likewise.
15306         (vfork): Likewise.
15307         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15308         variable.
15310         [BZ #20054]
15311         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15312         not [__USE_UNIX98].
15313         * conform/data/unistd.h-data (gethostname): Do not expect for
15314         [XPG3].
15316         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15317         [!POSIX] (S_IFBLK): Likewise.
15318         [!POSIX] (S_IFCHR): Likewise.
15319         [!POSIX] (S_IFIFO): Likewise.
15320         [!POSIX] (S_IFREG): Likewise.
15321         [!POSIX] (S_IFDIR): Likewise.
15322         [!POSIX] (S_IFLNK): Likewise.
15323         [!POSIX] (S_IFSOCK): Likewise.
15324         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15325         variable.
15326         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15328 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15330         * sysdeps/aarch64/memset.S (__memset):
15331         Rewrite of optimized memset.
15333 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15335         [BZ #19703]
15336         Partially async-signal-safe fork for single-threaded processes.
15337         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15338         variable.  Do not acquire and reset/release malloc and libio locks
15339         in single-threaded processes.
15340         * malloc/tst-mallocfork2.c: New file.
15341         * malloc/Makefile (tests): Add it.
15343 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15345         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15346         argument.  Use scratch buffer instead of extend_alloca.
15347         (gethosts): Use scratch buffer instead of extend_alloca.
15348         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15349         extend_alloca.
15350         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15352 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15354         [BZ #20055]
15355         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15356         instead of [__USE_UNIX98].
15357         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15358         [__USE_UNIX98].
15359         * conform/data/termios.h-data (tcgetsid): Do not expect for
15360         [XPG3].
15361         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15362         variable.
15363         (test-xfail-XPG4/termios.h/conform): Likewise.
15365 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15367         Do not use mcheck in localedef.
15368         * locale/programs/localedef.c (turn_on_mcheck)
15369         (__malloc_initialize_hook): Remove.
15371 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15373         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15374         * sysdeps/s390/s390-64/Makefile: Likewise.
15376 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15378         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15379         Remove ifunc-defines.sym.
15380         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15381         Likewise.
15382         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15383         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15384         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15385         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15386         rtld-global-offsets.sym.
15387         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15388         * sysdeps/x86/cpu-features-offsets.sym: This.
15389         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15390         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15392 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15394         [BZ #20073]
15395         * io/sys/stat.h (fchmod): Declare for
15396         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15397         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15398         variable.
15400         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15401         [XPG3] (S_IFSOCK): Likewise.
15402         [XPG3] (S_ISVTX): Likewise.
15403         [XPG3] (S_ISLNK): Likewise.
15404         [XPG3] (S_ISSOCK): Likewise.
15405         [XPG3] (fchmod): Likewise.
15406         [XPG3] (lstat): Likewise.
15407         [XPG3] (mknod): Likewise.
15409         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15410         [XPG3].  Expect type long and XFAIL for [XPG4].
15411         (st_blocks): Likewise.
15413         [BZ #20044]
15414         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15415         (pthread_atfork): New prototype.
15416         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15417         variable.
15419         [BZ #20043]
15420         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15421         prototype.
15423 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15425         [BZ #20017]
15426         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15427         gmtime.
15429 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15431         [BZ #19994]
15432         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15433         flag in _res.options.
15435 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15437         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15438         [XPG3 || XPG4].
15439         (blksize_t): Likewise.
15440         (clockid_t): Likewise.
15441         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15442         variable.
15443         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15445 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15447         * sysdeps/unix/sysv/linux/s390/init-first.c:
15448         Add VDSO_SYMBOL(getcpu).
15449         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15450         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15451         Add VDSO_SYMBOL(getcpu).
15452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15453         New define HAVE_GETCPU_VSYSCALL.
15454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15456 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15458         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15459         instead of <sysdeps/x86_64/cacheinfo.c>.
15460         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15461         * sysdeps/x86/cacheinfo.c: Here.
15463 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15465         * malloc/malloc-internal.h: Adjust header file guard.
15467 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15469         [BZ #19787]
15470         * inet/getnameinfo.c (check_sprintf_result): New function.
15471         (CHECKED_SNPRINTF): New macro.
15472         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15473         to the host buffer.
15474         (gni_host_local): Use checked_copy to copy the host name.
15475         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15476         (gni_serv_local): Use checked_copy to copy the service name.
15477         (getnameinfo): Remove unnecessary truncation of result buffers.
15479 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15481         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15482         in case of inet_ntop failure.
15484 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15486         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15487         avoid long lines.
15488         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15489         variables.
15490         (gni_host_inet, gni_host_local): Add comment.
15491         (gni_host): Add comment.  Use temporary to avoid long lines.
15493 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15495         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15496         registers specifiers where general purpose registers specifiers should
15497         have been used.
15499 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15501         [BZ #19779]
15502         CVE-2016-1234
15503         Avoid copying names of directory entries.
15504         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15505         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15506         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15507         (struct readdir_result): New type.
15508         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15509         (GL_READDIR): New macros.
15510         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15511         (convert_dirent, convert_dirent64): New functions.
15512         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15513         convert_dirent64.  Adjust references to the readdir result.
15514         * sysdeps/unix/sysv/linux/i386/glob64.c:
15515         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15516         * posix/bug-glob2.c (LONG_NAME): Define.
15517         (filesystem): Add LONG_NAME.
15518         (my_DIR): Increase the size of room_for_dirent.
15520 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15522         [BZ #20041]
15523         * misc/sys/select.h (__need_timespec): Only define if
15524         [__USE_XOPEN2K].
15525         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15526         variable.
15527         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15528         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15529         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15531 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15532             Segher Boessenkool  <segher@gcc.gnu.org>
15534         [BZ #20004]
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15536         (__novec_swapcontext): Add missing load.
15538 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #20023]
15541         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15542         <time.h>.
15543         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15544         variable.
15545         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15547 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15550         flags CLONE_VM compare.
15552 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15554         [BZ #20031]
15555         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15556         completely empty.
15558 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15560         [BZ #19573]
15561         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15562         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15563         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15564         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15565         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15566         (hesiod_free_list): Mark as hidden.
15567         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15568         res_set, res_get.
15569         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15570         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15571         (hesiod_init): Remove obsolete res_ninit call.
15572         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15573         (hesiod_bind): Do not call init.
15574         (get_txt_records): Use res_mkquery, res_send instead of
15575         res_nmkquery, res_nsend.
15576         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15577         instead of _nss_hesiod_init.
15578         (_nss_hesiod_initgroups_dyn): Likewise.
15579         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15580         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15581         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15583 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15585         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15586         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15588 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15590         * hesiod/hesiod.h: Remove RCS keyword.
15591         * hesiod/hesiod_p.h: Likewise.
15593         * hesiod/hesiod.c: Likewise.
15595 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15597         [BZ #12450]
15598         * locale/iso-639.def: Add Samogitian/sgs.
15600 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15602         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15604         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15606 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15607             Carlos O'Donell  <carlos@redhat.com>
15609         [BZ #19072]
15610         * grp/Makefile (headers): Add grp-merge.h
15611         (routines): Add grp-merge.
15612         * grp/getgrgid_r.c: Include grp-merge.h.
15613         (DEEPCOPY_FN): Define.
15614         (MERGE_FN): Define.
15615         * grp/getgrname_r.c: Include grp-merge.h.
15616         (DEEPCOPY_FN): Define.
15617         (MERGE_FN): Define.
15618         * grp/grp-merge.c: New file.
15619         * grp/grp-merge.h: New file.
15620         * include/grp-merge.h: New file.
15621         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15622         __copy_grp@GLIBC_PRIVATE.
15623         * manual/nss.texi (Actions in the NSS configuration): Describe
15624         return, continue, and merge.
15625         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15626         (DEEPCOPY_FN): Define.
15627         (MERGE_FN): Define.
15628         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15629         (DEEPCOPY_FN): Define.
15630         (MERGE_FN): Define.
15631         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15632         [!MERGE_FN]: Define __merge_einval.
15633         (CHECK_MERGE): Define.
15634         (REENTRANT_NAME): Process merge if do_merge is true.
15635         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15636         (__nss_getent_r): Likewise.
15637         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15638         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15640 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15642         [BZ #20012]
15643         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15644         length to calculate the buffer to read.
15645         (fmemopen_write): Set the buffer position based on bytes written.
15646         (fmemopen_seek): Return EINVAL for invalid whence modes.
15648         [BZ #19957]
15649         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15650         tst-getpid2.
15651         (test): Add tst-clone2.
15652         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15653         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15654         pid/tid fields for CLONE_VM.
15655         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15656         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15657         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15658         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15659         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15660         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15661         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15662         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15664         Likewise.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15666         Likewise.
15667         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15668         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15669         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15670         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15671         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15672         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15673         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15674         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15676 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15678         [BZ #19642]
15679         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15680         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15681         (gni_serv_local, gni_serv): New functions extracted from
15682         getnameinfo.
15683         (getnameinfo): Call gni_host and gni_serv to perform the
15684         processing.  Always free scratch buffer.
15686 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15688         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15689         remaining bytes in the dest string, with zeros.
15691 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15693         [BZ #20010]
15694         CVE-2016-3706
15695         * sysdeps/posix/getaddrinfo.c
15696         (convert_hostent_to_gaih_addrtuple): New function.
15697         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15698         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15699         AF_INET data.
15701 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15703         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15704         callback function gl_readdir.
15705         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15706         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15707         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15708         memcpy to copy the name.
15709         * manual/pattern.texi (Calling Glob): Document requirements for
15710         implementations of the gl_readdir callback function.
15711         * manual/examples/mkdirent.c: New example.
15712         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15713         per the manual guidance.
15714         * posix/tst-gnuglob.c (my_readdir): Likewise.
15716 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15718         [BZ #20014]
15719         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15720         not [__USE_POSIX].
15721         (getchar_unlocked): Likewise.
15722         (putc_unlocked): Likewise.
15723         (putchar_unlocked): Likewise.
15724         (flockfile): Likewise.
15725         (ftrylockfile): Likewise.
15726         (funlockfile): Likewise.
15727         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15728         variable.
15729         (test-xfail-XPG4/stdio.h/conform): Likewise.
15731         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15732         Expect constant.
15733         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15734         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15735         variable.
15736         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15737         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15739         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15740         [__USE_LARGEFILE64] (off64_t): Likewise.
15741         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15742         variable.
15744 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15746         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15748 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15750         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15751         * resolv/res_init.c: Likewise.
15752         * resolv/res_mkquery.c: Likewise.
15754 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15756         * resolv/res_init.c (isascii): Do not define.  Use definition in
15757         <ctype.h>.
15758         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15759         (LOG_AUTH): Remove.
15760         (SPRINTF): Remove, adjust caller.
15761         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15763 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15765         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15766         SUNSECURITY conditional.
15767         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15769 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15771         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15772         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15773         Remove BSD-related preprocessor conditionals.
15774         * conf/portability.h: Remove.
15776 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15778         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15779         * resolv/res_data.c: Likewise.
15781 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15783         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15784         * resolv/res_data.c: Remove code conditional on ultrix.
15786 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15788         * resolv/res_init.c (RFC1535): Do not define.  Remove
15789         RFC1535 preprocessor conditionals.
15790         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15791         because there configuration options which make the resolver
15792         behavior different.
15794 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15796         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15797         RESOLVSORT preprocessor conditionals.
15798         * resolv/nss_dns/dns-host.c: Likewise.
15799         * resolv/res_init.c: Likewise.
15801 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15803         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15804         is never defined.
15806 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15808         * inet/inet_lnaof.c: Remove SCSS keyword.
15809         * inet/inet_mkadr.c: Likewise.
15810         * inet/inet_net.c: Likewise.
15811         * inet/inet_netof.c: Likewise.
15812         * inet/rcmd.c: Likewise.
15813         * inet/rexec.c: Likewise.
15814         * inet/ruserpass.c: Likewise.
15816 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15818         * resolv/inet_addr.c: Remove _LIBC conditionals.
15819         * resolv/res_data.c: Likewise.
15820         * resolv/res_init.c: Likewise.
15821         * resolv/res_mkquery.c: Likewise.
15822         * resolv/res_libc.c: Update comment.
15823         * resolv/README: Update.
15825 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15827         * resolv/gethnamaddr.c: Remove SCSS keyword.
15828         * resolv/herror.c: Likewise.
15829         * resolv/inet_addr.c: Likewise.
15830         * resolv/inet_net_ntop.c: Likewise.
15831         * resolv/inet_net_pton.c: Likewise.
15832         * resolv/inet_neta.c: Likewise.
15833         * resolv/inet_ntop.c: Likewise.
15834         * resolv/inet_pton.c: Likewise.
15835         * resolv/ns_date.c: Remove RCS keyword.
15836         * resolv/ns_name.c: Likewise.
15837         * resolv/ns_netint.c: Likewise.
15838         * resolv/ns_parse.c: Likewise.
15839         * resolv/ns_print.c: Likewise.
15840         * resolv/ns_samedomain.c: Likewise.
15841         * resolv/ns_ttl.c: Likewise.
15842         * resolv/nsap_addr.c: Likewise.
15843         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15844         * resolv/res_data.c: Remove RCS keyword.
15845         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15846         * resolv/res_init.c: Likewise.
15847         * resolv/res_mkquery.c: Likewise.
15848         * resolv/res_query.c: Likewise.
15849         * resolv/res_send.c: Likewise.
15851 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15853         * conform/data/stdio.h-data (fdopen): Expect also for
15854         [XPG3 || XPG4].
15856         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15857         (fseeko): Likewise.
15858         (ftello): Likewise.
15859         (ftrylockfile): Likewise.
15860         (funlockfile): Likewise.
15861         (getc_unlocked): Likewise.
15862         (getchar_unlocked): Likewise.
15863         (putc_unlocked): Likewise.
15864         (putchar_unlocked): Likewise.
15866 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15868         [BZ #19868]
15869         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15870         DNS packet syntax checks (which were not needed before).  Skip
15871         over non-PTR records.
15873 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15875         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15876         definition.  Include <stddef.h> instead.
15878 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15880         [BZ #19831]
15881         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15882         function.
15883         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15884         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15886 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15888         [BZ #19862]
15889         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15890         (getanswer_r): Do not call syslog.
15891         (gaih_getanswer_slice): Likewise.
15892         * resolv/gethnamaddr.c (AskedForGot): Remove.
15893         (getanswer): Do not call syslog.
15894         (gethostbyaddr): Likewise.
15896 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15898         * conform/data/signal.h-data (union sigval): Expect also if
15899         [XOPEN2K].
15900         (struct sigevent): Likewise.
15901         (SIGEV_NONE): Likewise.
15902         (SIGEV_SIGNAL): Likewise.
15903         (SIGEV_THREAD): Likewise.
15904         (SIGRTMIN): Likewise.
15905         (SIGRTMAX): Likewise.
15906         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15907         variable.
15908         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15910 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15912         [BZ #19830]
15913         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15914         (gaih_getanswer_slice): Likewise.
15915         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15916         Also check for availability of RR metadata.
15918 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15920         [BZ #19825]
15921         * resolv/res_send.c (send_vc): Remove early *resplen2
15922         initialization.  Set *resplen2 on socket error.  Call
15923         close_and_return_error for other errors.
15925 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15927         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15928         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15929         (SCM_IUCV_TRGCLS): New define.
15931 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15933         [BZ #20005]
15934         * libio/fmemopen.c (fmemopen_write): Update internal position after
15935         write.
15936         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15937         * stdio-common/tst-fmemopen4.c: New file..
15939 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #19996]
15942         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15943         not [__USE_XOPEN2K].
15944         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15945         variable.
15947         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15948         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15949         variable.
15951         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15952         [__USE_XOPEN2K8].
15953         [__USE_LARGEFILE64] (off64_t): Likewise.
15954         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15955         variable.
15957 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15959         [BZ #19989]
15960         * libio/stdio.h (cuserid): Do not declare if
15961         [__USE_XOPEN2K && !__USE_GNU].
15962         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15963         variable.
15965 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15967         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15968         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15970         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15971         ifunc'ed strcspn.
15972         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15973         [EALIGN]: Removed.
15974         [END]: Likewise
15975         [STRSPN]: Define instead of the above to control symbol name.
15976         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15977         New file.
15978         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15979         Likewise.
15980         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15981         Likewise.
15982         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15983         Likewise.
15984         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15985         [INITIAL_MASK]: New macro.
15986         [STRCSPN]: Likewise.
15987         [UPDATE_MASK]: Likewise.
15988         [USE_AS_STRCSPN]: Likewise.
15990 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15992         [BZ #19931]
15993         * stdio-common/tst-vfprintf-width-prec.c: New file.
15994         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15995         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15996         (generated): Add mtrace-related files.
15997         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15998         (tst-%-mem.out): New pattern rule, replaces
15999         tst-printf-bz18872-mem.out.
16000         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16001         specifier, deallocate any previously allocated work buffer.
16003 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16005         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16006         Add nop before __startcontext, add explaining comments.
16008 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16010         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16011         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16012         completely different API.
16014         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16015         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16016         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16017         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16018         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16019         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16020         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16021         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16022         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16023         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16025 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16027         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16029 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16031         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16032         when it is the default of 0.
16034 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16036         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16037         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16038         (sysdep_routines): Add new strcasestr targets.
16039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16040         (__libc_ifunc_impl_list): Likewise.
16041         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16042         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16043         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16044         * sysdeps/powerpc/powerpc64/power8/Makefile:
16045         New file to add strcasestr-ppc64 to sysdep_routines.
16046         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16047         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16049 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16051         * benchtests/Makefile (wcsmbs-benchset): Include only for
16052         native builds and runs.
16053         (LOCALES): Likewise.
16054         (bench-build): Build timing-type here instead of the bench
16055         target.  Generate locale only for native builds.
16056         * benchtests/README: Add note for cross-building.
16058         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16060         * benchtests/README: Update README to include instructions on
16061         using bench-build.
16063         * Makefile.in (bench-build): New target.
16064         * Rules (PHONY): Add bench-build target.
16065         * benchtests/Makefile (bench): Depend on bench-build.
16066         (bench-build): New target.
16068 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16070         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16071         profil_reply_port.
16072         (profile_waiter): Do not initialize profil_reply_port.
16073         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16074         frequency instead of tick length in us.
16076 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16078         [BZ #18712]
16079         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16080         (__old_mempcpy_small): Likewise.
16081         (__old_strcpy_small): Likewise.
16082         (__old_stpcpy_small): Likewise.
16083         (__old_strpbrk_c2): Fix compat symbol name.
16084         (__old_strpbrk_c3): Likewise.
16085         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16086         (__mempcpy_small): Remove.
16087         (__strcpy_small): Remove.
16088         (__stpcpy_small): Remove.
16090 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16092         [BZ #19400]
16093         * locale/iso-639.def: Add the Talossan/tzl language.
16095 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16097         [BZ #16983]
16098         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16099         comment.  Add "ln" to strchr check on postal_fmt.
16101 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16103         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16104         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16105         tel_dom_fmt.
16107 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16109         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16110         (sysdep_routines): Added __strlen_power8.
16111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16112         __strlen_power8 entry.
16113         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16114         Implementation for POWER8.
16115         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16116         for __strlen_power8.
16117         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16118         Implementation for POWER8.
16120 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16122         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16124 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16126         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16127         Goldmont and Airmont processors.
16129 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16131         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16132         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16133         (__STRING2_SMALL_GET32): Remove.
16134         (memset): Remove.
16135         (__memset_1): Remove.
16136         (__memset_gc): Remove.
16137         (__mempcpy): Remove.
16138         (mempcpy): Remove.
16139         (__mempcpy_args): Remove.
16140         (strchr): Remove.
16141         (strcpy): Remove.
16142         (strcpy_args): Remove.
16143         (__stpcpy_args): Remove.
16144         (__strcmp_cc): Remove.
16145         (__strcmp_gc): Remove.
16146         (strstr): Remove.
16148 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16150         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16151         * nis/nis_call.c (nis_server_cache_add): Likewise.
16153 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16155         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16157 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16159         * malloc/arena.c (__malloc_fork_lock_parent)
16160         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16161         internal_function attribute.
16163 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16165         * stdio-common/printf_fp.c (__printf_fp_l):
16166         Rename ___printf_fp_l to __printf_fp_l and
16167         remove strong alias. Use libc_hidden_def instead
16168         of ldbl_hidden_def macro.
16170 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16172         Remove malloc hooks from fork handler.  They are no longer needed
16173         because malloc runs right before fork, and no malloc calls from
16174         other fork handlers are not possible anymore.
16175         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16176         declarations.
16177         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16178         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16179         (atfork_recursive_cntr): Remove.
16180         (__malloc_fork_lock_parent): Do not override malloc hooks and
16181         thread_arena.
16182         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16183         thread_arena.
16184         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16185         thread_arena instead of save_arena.
16187 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16189         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16190         (thread_atfork, thread_atfork_static): Remove.
16191         * sysdeps/mach/hurd/malloc-machine.h:
16192         (thread_atfork, thread_atfork_static): Remove.
16194 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16196         [BZ #19431]
16197         Run the malloc fork handler as late as possible to avoid deadlocks.
16198         * malloc/malloc-internal.h: New file.
16199         * malloc/malloc.c: Include it.
16200         * malloc/arena.c (ATFORK_MEM): Remove.
16201         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16202         Update comment.
16203         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16204         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16205         Remove outdated comment.
16206         (ptmalloc_init): Do not call thread_atfork.  Remove
16207         thread_atfork_static.
16208         * malloc/tst-malloc-fork-deadlock.c: New file.
16209         * Makefile (tests): Add tst-malloc-fork-deadlock.
16210         (tst-malloc-fork-deadlock): Link against libpthread.
16211         * manual/memory.texi (Aligned Memory Blocks): Update safety
16212         annotation comments.
16213         * sysdeps/nptl/fork.c (__libc_fork): Call
16214         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16215         __malloc_fork_unlock_child.
16216         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16218 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16220         [BZ #19613]
16221         Remove union wait.
16222         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16223         (w_stopsig, w_stopval): Remove.
16224         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16225         stat_loc argument.
16226         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16227         (__WAIT_STATUS_DEFN): Remove.
16228         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16229         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16230         (wait, wait3, wait4): Use int * for the stat_loc argument.
16231         * posix/wait.c (__wait): Likewise.
16232         * posix/wait3.c (__wait3): Likewise.
16233         * posix/wait4.c (__wait4): Likewise.
16234         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16235         (__WAIT_STATUS_DEFN): Remove.
16236         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16237         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16238         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16239         argument.
16240         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16241         * sysdeps/posix/wait3.c (__wait3): Likewise.
16242         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16243         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16244         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16245         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16246         stat_loc argument.
16247         * manual/process.texi (BSD Wait Functions): Remove union wait.
16249 2016-04-13  Andreas Schwab  <schwab@suse.de>
16251         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16252         (test-extras): Add tst-tlsalign-vars.
16253         * math/Makefile: Wrap long lines.
16254         (libm-vec-test-wrappers): Define.
16255         (test-extras): Add $(libm-vec-test-wrappers).
16256         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16257         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16258         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16259         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16260         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16261         (extra-test-objs): Add corresponding objects.
16263 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16265         [BZ #19928]
16266         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16267         New.
16268         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16269         times of shared cache size.
16270         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16271         (VMOVNT): New.
16272         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16273         (VMOVNT): Likewise.
16274         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16275         (VMOVNT): Likewise.
16276         (VMOVU): Changed to movups for smaller code sizes.
16277         (VMOVA): Changed to movaps for smaller code sizes.
16278         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16279         comments.
16280         (PREFETCH): New.
16281         (PREFETCH_SIZE): Likewise.
16282         (PREFETCHED_LOAD_SIZE): Likewise.
16283         (PREFETCH_ONE_SET): Likewise.
16284         Rewrite to use forward and backward loops, which move 4 vector
16285         registers at a time, to support overlapping addresses and use
16286         non temporal store if size is above the threshold and there is
16287         no overlap between destination and source.
16289 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16291         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16292         Include dl-vdso.
16293         * sysdeps/unix/sysv/linux/mips/Versions: Add
16294         __vdso_clock_gettime.
16295         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16296         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16297         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16298         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16299         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16300         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16301         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16302         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16303         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16305 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16307         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16308         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16311         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16312         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16315         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16317         syscalls generation.
16318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16319         [__NR_pwrite64] (__NR_write): Remove define.
16320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16321         [__NR_pwrite64] (__NR_write): Remove define.
16322         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16323         Remove define.
16324         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16325         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16326         Remove define.
16327         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16328         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16329         Linux implementation as base.
16330         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16332         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16333         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16338         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16340         syscall generation.
16341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16342         [__NR_pread64] (__NR_pread): Remove define.
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16344         [__NR_pread64] (__NR_pread): Likewise.
16345         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16346         define.
16347         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16348         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16349         Remove define.
16350         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16351         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16352         Linux implementation as base.
16353         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16354         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16355         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16357         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16358         definition.
16359         (__ALIGNMENT_COUNT): Likewise.
16360         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16361         (__ALIGNMENT_COUNT): Likewise.
16362         (SYSCALL_LL): New define.
16363         (SYSCALL_LL64): Likewise.
16364         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16365         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16366         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16367         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16370         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16372         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16373         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16374         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16376 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16378         [BZ #19865]
16379         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16380         original buffer before retry.
16382 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16384         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16385         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16386         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16387         GLRO(dl_auxv) list.
16388         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16389         including <ldsodefs.h>.
16390         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16392 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16394         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16395         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16396         $(CPPFLAGS).
16398 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16400         [BZ #17950]
16401         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16402         Add -mfpmath=387.
16404 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16406         * sysdeps/i386/configure.ac: Change == to = when calling test.
16407         * sysdeps/x86_64/configure.ac: Likewise.
16408         * sysdeps/i386/configure: Regenerated.
16409         * sysdeps/x86_64/configure: Likewise.
16411 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16413         [BZ #16137]
16414         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16415         * benchtests/bench-strcoll.c (input_files): Likewise.
16416         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16417         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16418         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16420 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16422         [BZ #19929]
16423         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16424         [__USE_XOPEN2K8 && !__USE_GNU].
16425         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16426         variable.
16428         [BZ #19925]
16429         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16430         define if [!__USE_MISC && __USE_XOPEN2K].
16431         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16432         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16433         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16434         Likewise.
16435         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16436         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16437         variable.
16438         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16440 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16442         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16443         (sysdep_routines): Add new strspn targets.
16444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16445         (__libc_ifunc_impl_list): Add strspn.
16446         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16447         New file.
16448         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16449         Likewise.
16450         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16451         Likewise.
16452         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16453         Likewise.
16455 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16457         * misc/hsearch_r.c: Include <limits.h>.
16459 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16461         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16463 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16465         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16466         (MEMCPY_SYMBOL): New.
16467         (MEMPCPY_SYMBOL): Likewise.
16468         (MEMMOVE_CHK_SYMBOL): Likewise.
16469         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16470         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16471         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16472         Provide alias for memcpy in libc.a and ld.so.
16474 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16476         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16477         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16478         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16479         Disabled fro now.
16480         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16481         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16483 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16485         * benchtests/Makefile (string-benchset): Add memcpy-large,
16486         memmove-large and memset-large.
16487         * benchtests/bench-memcpy-large.c: New file.
16488         * benchtests/bench-memmove-large.c: Likewise.
16489         * benchtests/bench-memmove-large.c: Likewise.
16490         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16492 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16494         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16495         32-bit displacement to avoid long nop between instructions.
16497 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16499         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16500         a comment on VMOVU and VMOVA.
16502 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16504         [BZ #19633]
16505         Use specified locale for number formatting in strfmon_l.
16506         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16507         (__nl_lookup_word): New inline functions.
16508         * include/printf.h (__print_fp_l): Declare.
16509         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16510         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16511         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16512         (___printf_fp): New function.
16513         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16514         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16515         * stdlib/tst-strfmon_l.c (do_test): New test.
16516         * stdlib/Makefile (tests): Add kt.
16517         (LOCALES): Build additional locales.
16518         (tst-strfmon_l.out): Require locales.
16520 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16522         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16523         if not in libc.
16524         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16525         Likewise.
16526         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16527         Likewise.
16528         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16529         Likewise.
16531 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16533         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16534         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16535         with unaligned_erms.
16536         (__memmove_erms): Skip if source == destination.
16537         (__memmove_unaligned_erms): Don't check source == destination
16538         first.
16540 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16542         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16543         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16545 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16547         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16548         * string/strspn.c (strspn): Likewise.
16550 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16552         * benchtests/bench-memset.c (do_test): Support 64-byte
16553         alignment.
16554         (test_main): Test 64-byte alignment.
16556 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16558         * benchtests/bench-memmove.c (test_main): Test 64-byte
16559         alignment.
16561 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16563         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16565 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16567         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16568         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16569         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16571         * string/strpbrk.c (strpbrk): Rewrite function.
16572         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16573         (__strpbrk_c2): Likewise.
16574         (__strpbrk_c3): Likewise.
16575         * string/string-inlines.c
16576         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16577         Likewise.
16578         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16579         Likewise.
16581         * string/strspn.c (strcspn): Rewrite function.
16582         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16583         (__strspn_c1): Remove inline function.
16584         (__strspn_c2): Likewise.
16585         (__strspn_c3): Likewise.
16586         * string/string-inlines.c
16587         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16588         compatibility symbol.
16589         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16590         Likewise.
16591         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16592         Likewise.
16593         * string/string-inlines.c: Include generic version.
16595 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16596             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16598         * string/Version (libc): Add GLIBC_2.24.
16599         * string/strcspn.c (strcspn): Rewrite function.
16600         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16601         (__strcspn_c1): Remove inline function.
16602         (__strcspn_c2): Likewise.
16603         (__strcspn_c3): Likewise.
16604         * string/string-inline.c
16605         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16606         compatibility symbol.
16607         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16608         Likewise.
16609         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16610         Likewise.
16611         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16613 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16615         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16616         Use ahi instead of aghi to adjust stack pointer.
16618 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16620         [BZ #19853]
16621         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16622         TEST to take significant digits as second parameter.
16623         [TEST]: Redefine in terms of TEST_N taking 30
16624         significant digits.
16625         (do_test): Add test case to demonstrate precision
16626         failure in the ldbl-128ibm printf.
16627         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16628         (__mpn_extract_long_double): Carry 7 extra intermediate
16629         bits of precision to aide computing difference when
16630         signs differ.
16632 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16634         [BZ #19881]
16635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16636         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16637         memset-avx512-unaligned-erms.
16638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16639         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16640         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16641         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16642         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16643         __memset_sse2_unaligned_erms, __memset_erms,
16644         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16645         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16646         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16647         file.
16648         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16649         Likewise.
16650         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16651         Likewise.
16652         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16653         Likewise.
16655 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16657         [BZ #19776]
16658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16659         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16660         memmove-avx512-unaligned-erms.
16661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16662         (__libc_ifunc_impl_list): Test
16663         __memmove_chk_avx512_unaligned_2,
16664         __memmove_chk_avx512_unaligned_erms,
16665         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16666         __memmove_chk_sse2_unaligned_2,
16667         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16668         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16669         __memmove_avx512_unaligned_erms, __memmove_erms,
16670         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16671         __memcpy_chk_avx512_unaligned_2,
16672         __memcpy_chk_avx512_unaligned_erms,
16673         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16674         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16675         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16676         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16677         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16678         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16679         __mempcpy_chk_avx512_unaligned_erms,
16680         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16681         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16682         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16683         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16684         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16685         __mempcpy_erms.
16686         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16687         file.
16688         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16689         Likewise.
16690         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16691         Likewise.
16692         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16693         Likewise.
16695 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16697         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16698         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16699         (La_s390_64_regs): Likewise.
16700         (La_s390_32_retval): Append vector register lrv_v24.
16701         (La_s390_64_retval): Likeweise.
16702         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16703         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16704         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16705         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16707 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16709         [BZ #19916]
16710         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16711         to create a non-vector/vector version for _dl_runtime_resolve and
16712         _dl_runtime_profile. Move implementation to ...
16713         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16714         (_dl_runtime_resolve) Save and restore fpr/vrs.
16715         (_dl_runtime_profile) Save and restore vrs and fix some issues
16716         if _dl_call_pltexit is called.
16717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16718         Choose the correct resolver function if running on a machine with vx.
16719         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16720         to create a non-vector/vector version for _dl_runtime_resolve and
16721         _dl_runtime_profile. Move implementation to ...
16722         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16723         (_dl_runtime_resolve) Save and restore fpr/vrs.
16724         (_dl_runtime_profile) Save and restore vrs and fix some issues
16725         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16726         Choose the correct resolver function if running on a machine with vx.
16728 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16730         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16732 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16734         [BZ #19509]
16735         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16736         skip_map != NULL.
16737         * elf/tst-dlsym-error.c: New file.
16738         * elf/Makefile (tests): Add tst-dlsym-error.
16739         (tst-dlsym-error): Link against libdl.
16741 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16744         (__ASSUME_FUTIMESAT): Remove macro.
16745         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16747 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16749         [BZ #19879]
16750         CVE-2016-3075
16751         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16752         copy name.
16754 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16756         [BZ #19837]
16757         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16758         error if parse_line fails.
16760 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16762         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16763         (index_cpu_ERMS): Likewise.
16764         (reg_ERMS): Likewise.
16766 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16768         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16769         PER_LINUX_FDPIC): Add.
16771 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16774         memcpy-avx512-no-vzeroupper.
16775         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16776         to ...
16777         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16778         (MEMCPY): Don't define.
16779         (MEMCPY_CHK): Likewise.
16780         (MEMPCPY): Likewise.
16781         (MEMPCPY_CHK): Likewise.
16782         (MEMPCPY_CHK): Renamed to ...
16783         (__mempcpy_chk_avx512_no_vzeroupper): This.
16784         (MEMPCPY_CHK): Renamed to ...
16785         (__mempcpy_chk_avx512_no_vzeroupper): This.
16786         (MEMCPY_CHK): Renamed to ...
16787         (__memmove_chk_avx512_no_vzeroupper): This.
16788         (MEMCPY): Renamed to ...
16789         (__memmove_avx512_no_vzeroupper): This.
16790         (__memcpy_avx512_no_vzeroupper): New alias.
16791         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16793 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16795         [BZ #18858]
16796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16797         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16798         and mempcpy-avx512-no-vzeroupper.
16799         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16800         New.
16801         (MEMPCPY): Likewise.
16802         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16803         (MEMPCPY_CHK): New.
16804         (MEMPCPY): Likewise.
16805         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16806         (MEMPCPY): Likewise.
16807         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16808         (MEMPCPY): Likewise.
16809         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16810         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16811         Likewise.
16812         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16813         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16815 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16816              Amit Pawar  <Amit.Pawar@amd.com>
16818         [BZ #19583]
16819         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16820         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16821         processors.  Set Fast_Copy_Backward for AMD Excavator
16822         processors.
16823         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16824         New.
16825         (index_arch_Fast_Unaligned_Copy): Likewise.
16826         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16827         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16829 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16831         [BZ #19791]
16832         * resolv/res_send.c (close_and_return_error): New function.
16833         (send_dg): Initialize *resplen2 after reopen failure.  Call
16834         close_and_return_error for error returns.  On error paths without
16835         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16836         successful return.
16838 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16840         [BZ #19860]
16841         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16842         zero if the compiler does not provide the AVX512F bit.
16844 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16846         [BZ #19848]
16847         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16848         from 8 to 4.
16849         (__ieee754_powl): Compare integer exponent against 4 not 8.
16850         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16851         from 8 to 4.
16852         (__ieee754_powl): Compare integer exponent against 4 not 8.
16853         * math/auto-libm-test-in: Add more tests of pow.
16854         * math/auto-libm-test-out: Regenerated.
16855         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16858 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16860         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16861         Make code unconditional.
16862         [!__NR_utimensat]: Remove conditional code.
16863         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16864         Make code unconditional.
16865         [!__NR_utimensat]: Remove conditional code.
16866         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16867         Make code unconditional.
16868         [!__NR_utimensat]: Remove conditional code.
16870 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16872         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16873         Make code unconditional.
16875 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16877         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16878         call-clobbered %eax on retry path.
16879         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16881 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16883         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16884         Don't set %rcx twice before "rep movsb".
16886 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16888         [BZ #19583]
16889         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16890         inline.  Check family before setting family, model and
16891         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16892         bits here.
16893         (init_cpu_features): Replace HAS_CPU_FEATURE and
16894         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16895         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16896         for Intel processors with usable AVX2.  Call get_common_indeces
16897         for other processors with family == NULL.
16898         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16899         (CPU_FEATURES_ARCH_P): Likewise.
16900         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16901         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16903 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16905         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16906         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16907         $(shared-thread-library) instead of hardcoding the path to libpthread.
16909 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16911         * sysdeps/unix/sysv/linux/kernel-features.h
16912         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16913         * sysdeps/unix/sysv/linux/getdents.c
16914         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16915         [!have_no_getdents64_defined]: Likewise.
16916         (__GETDENTS): Remove __have_no_getdents64 conditional.
16918 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16920         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16921         Remove macro.
16922         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16923         <kernel-features.h>.
16924         (signalfd) [__NR_signalfd4]: Make code unconditional.
16925         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16927 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16929         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16930         style.
16932 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16934         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16935         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16936         __pthread_unwind.
16937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16938         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16940         (__condvar_cleanup1): Likewise.
16942 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16944         [BZ #19822]
16945         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16946         move it to the final $@ location.
16948 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16950         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16951         access where posix_spawn success and pid argument is null.
16952         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16953         success case.
16955 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16957         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16959         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16961         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16962         and __fcntl.
16963         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16964         __fcntl only.
16965         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16966         adding attribute_hidden to __open and __fcntl.
16968         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16969         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16970         depend on libc-modules.h,
16971         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16973 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16976         Remove macro.
16977         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16978         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16979         entry.
16981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16982         Remove macro.
16983         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16984         include <kernel-features.h>.
16985         [!__ASSUME_FALLOCATE]: Remove conditional code.
16986         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16988 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16991         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16993         (_ZGVdN4v_cos_avx2): Likewise.
16994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16995         (_ZGVdN4v_cos): Likewise.
16996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16997         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16998         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16999         (_ZGVdN4v_exp_avx2): Likewise.
17000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17001         (_ZGVdN4v_exp): Likewise.
17002         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17003         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17004         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17005         (_ZGVdN4v_log_avx2): Likewise.
17006         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17007         (_ZGVdN4v_log): Likewise.
17008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17009         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17011         (_ZGVdN4vv_pow_avx2): Likewise.
17012         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17013         (_ZGVdN4vv_pow): Likewise.
17014         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17015         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17017         (_ZGVdN4v_sin_avx2): Likewise.
17018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17019         (_ZGVdN4v_sin): Likewise.
17020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17021         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17022         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17023         (_ZGVdN4vvv_sincos_avx2): Likewise.
17024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17025         (_ZGVdN4vvv_sincos): Likewise.
17026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17027         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17029         (_ZGVbN4v_cosf_sse4): Likewise.
17030         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17031         (_ZGVdN8v_cosf_avx2): Likewise.
17032         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17033         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17034         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17035         (_ZGVbN4v_expf_sse4): Likewise.
17036         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17037         (_ZGVdN8v_expf_avx2): Likewise.
17038         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17039         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17040         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17041         (_ZGVbN4v_logf_sse4): Likewise.
17042         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17043         (_ZGVdN8v_logf_avx2): Likewise.
17044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17045         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17046         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17047         (_ZGVbN4vv_powf_sse4): Likewise.
17048         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17049         (_ZGVdN8vv_powf_avx2): Likewise.
17050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17051         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17052         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17053         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17054         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17055         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17056         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17057         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17059         (_ZGVbN4v_sinf_sse4): Likewise.
17060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17061         (_ZGVdN8v_sinf_avx2): Likewise.
17062         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17063         Use JUMPTARGET to call callee.
17064         (WRAPPER_IMPL_SSE2_ff): Likewise.
17065         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17066         (WRAPPER_IMPL_AVX): Likewise.
17067         (WRAPPER_IMPL_AVX_ff): Likewise.
17068         (WRAPPER_IMPL_AVX_fFF): Likewise.
17069         (WRAPPER_IMPL_AVX512): Likewise.
17070         (WRAPPER_IMPL_AVX512_ff): Likewise.
17071         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17072         Likewise.
17073         (WRAPPER_IMPL_SSE2_ff): Likewise.
17074         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17075         (WRAPPER_IMPL_AVX): Likewise.
17076         (WRAPPER_IMPL_AVX_ff): Likewise.
17077         (WRAPPER_IMPL_AVX_fFF): Likewise.
17078         (WRAPPER_IMPL_AVX512): Likewise.
17079         (WRAPPER_IMPL_AVX512_ff): Likewise.
17080         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17082 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17084         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17085         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17086         qualifier.
17087         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17088         internal_function qualifiers.
17090 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17092         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17093         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17094         * math/atest-exp.c (exp_mpn): Mark chk unused.
17095         * math/atest-exp2.c (exp_mpn): Likewise.
17096         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17097         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17099 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17102         Remove macro.
17103         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17104         <kernel-features.h>.
17105         [__NR_ppoll]: Make code unconditional.
17106         [!__ASSUME_PPOLL]: Remove conditional code.
17108         * sysdeps/unix/sysv/linux/kernel-features.h
17109         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17110         (__ASSUME_ACCEPT4): Likewise.
17111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17112         Define.
17113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17114         Likewise.
17115         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17116         Likewise.
17117         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17118         Likewise.
17119         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17120         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17121         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17122         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17123         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17124         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17127         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17130         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17131         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17133         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17134         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17135         Likewise.
17136         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17137         Likewise.
17138         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17139         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17140         0x040300].
17141         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17142         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17143         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17144         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17145         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17146         0x030300].
17147         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17149         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17150         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17151         0x040300].
17152         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17153         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17154         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17155         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17156         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17157         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17158         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17159         0x030300].
17160         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17161         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17162         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17163         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17165         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17166         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17168         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17169         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17170         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17171         0x040300].
17172         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17173         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17174         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17175         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17176         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17178         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17179         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17183         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17185         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17186         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17187         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17188         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17189         Likewise.
17190         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17191         Likewise.
17193 2016-03-15  Andreas Schwab  <schwab@suse.de>
17195         [BZ #19257]
17196         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17197         statp->_u._ext.nscount as loop count.
17199 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17201         * math/test-signgam-finite-c99.c: Also #undef
17202         __LIBC_INTERNAL_MATH_INLINES.
17203         * math/test-signgam-main.c: Likewise.
17205 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17207         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17208         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17209         (MADV_FREE): Likewise.
17210         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17211         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17212         EPOLLEXCLUSIVE.
17214 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17216         * timezone/README: Remove mention of checktab.awk. Mention wiki
17217         SharedSourceFiles.
17219 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17221         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17222         WUNTRACED.
17224 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17226         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17227         order to match the type of p when calling atomic_exchange_acq().
17229 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17231         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17232         cfi_offset calls.
17233         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17234         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17235         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17236         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17237         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17239 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17241         * timezone/checktab.awk: Removed.
17243 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17245         * manual/math.texi (Errors in Math Functions): Document relaxed
17246         accuracy goals for IBM long double.
17247         * math/libm-test.inc (test_exceptions): Always allow spurious
17248         "underflow" and "inexact" exceptions for IBM long double.
17250 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17252         [BZ #19762]
17253         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17254         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17255         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17256         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17257         (bit_arch_*): This for feature array.
17258         (bit_*): Renamed to ...
17259         (bit_cpu_*): This for cpu array.
17260         (index_*): Renamed to ...
17261         (index_arch_*): This for feature array.
17262         (index_*): Renamed to ...
17263         (index_cpu_*): This for cpu array.
17264         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17265         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17266         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17267         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17268         bit_##name with index_cpu_##name and bit_cpu_##name.
17269         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17270         bit_##name with index_arch_##name and bit_arch_##name.
17272 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17274         [BZ #19792]
17275         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17276         Terminate FDE before return label.
17278 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17280         [BZ #19790]
17281         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17282         (rintl): Define as macro.
17283         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17284         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17285         of fesetround.  Ensure results are evaluated before end of scope.
17286         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17287         USE_AS_NEARBYINTL and include s_rintl.c.
17288         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17289         Disable exception traps in new environment.
17290         (libc_feholdsetround_ppc_ctx): Likewise.
17292 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17294         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17295         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17296         (tst_audit10_aux) [__AVX512F__]: ... here.
17298 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17300         * include/sys/auxv.h: New file.
17302 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #19759]
17305         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17307 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17309         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17310         operand modifier.
17311         (feclearexcept): Likewise.
17313 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17316         to reflect the entire 32-bit HWCAP.
17317         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17318         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17320 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17322         [BZ #19783]
17323         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17324         $(test-via-rtld-prefix).
17325         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17327 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17329         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17330         union wait.  Report any non-zero exit status as error.
17332 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17334         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17335         configured with --enable-hardcoded-path-in-tests.
17337 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17339         [BZ #19677]
17340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17341         (__ieee754_remainderl): Put zero low parts in canonical form.
17342         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17343         file.  Based on
17344         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17345         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17346         with wrapper round test-fmodrem-ldbl-128ibm.c.
17347         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17348         file.
17349         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17350         Likewise.
17351         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17352         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17354 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17356         [BZ #19610]
17357         * elf/ldconfig.c (opt_link): Update comment.
17358         (options): Update help string for option -X.
17359         (search_dir): Unlink stale symbolic link only if updating symbolic
17360         links.
17361         * elf/tst-ldconfig-X.sh: New file.
17362         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17363         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17365 2016-03-07  Andreas Schwab  <schwab@suse.de>
17367         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17368         needed arguments.
17370 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17372         [BZ #15333]
17373         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17374         to lstat64.
17376 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17378         * libio/filedoalloc.c (isatty): Remove.
17379         (local_isatty): Add comment.  Call __isatty directly.
17380         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17381         * libio/wfiledoalloc.c (isatty): Remove.
17382         (_IO_wfile_doallocate): Update comment.
17384 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17386         [BZ #19269]
17387         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17388         tst-audit4-aux.o.
17389         (tst-audit10): Depend on tst-audit10-aux.o.
17390         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17391         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17392         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17393         instead of inline AVX code.
17394         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17395         instead of inline AVX512 code.
17396         * sysdeps/x86_64/tst-audit4-aux.c: New file
17397         * sysdeps/x86_64/tst-audit10-aux.c: New file
17399         [BZ #19648]
17400         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17402 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17404         [BZ #14750]
17405         [BZ #10354]
17406         [BZ #18433]
17407         * include/sched.h (__clone): Add hidden prototype.
17408         (__clone2): Likewise.
17409         * include/unistd.h (__dup): Likewise.
17410         * posix/Makefile (tests): Add tst-spawn2.
17411         * posix/tst-spawn2.c: New file.
17412         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17413         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17414         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17415         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17416         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17417         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17418         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17419         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17420         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17421         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17422         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17424         Likewise.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17426         Likewise.
17427         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17428         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17429         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17430         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17431         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17432         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17433         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17434         * sysdeps/unix/sysv/linux/nptl-signals.h
17435         (____nptl_is_internal_signal): New function.
17436         * sysdeps/unix/sysv/linux/spawni.c: New file.
17438         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17439         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17440         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17441         * posix/tst-execvp2.c (do_test): Likewise.
17442         * posix/tst-execvp3.c (do_test): Likewise.
17443         * posix/tst-execvp4.c (do_test): Likewise.
17444         * posix/tst-execvpe1.c: New file.
17445         * posix/tst-execvpe2.c: Likewise.
17446         * posix/tst-execvpe3.c: Likewise.
17447         * posix/tst-execvpe4.c: Likewise.
17448         * posix/tst-execvpe5.c: Likewise.
17449         * posix/tst-execvpe6.c: Likewise.
17451         [BZ #19534]
17452         * posix/execl.c (execl): Remove dynamic memory allocation.
17453         * posix/execle.c (execle): Likewise.
17454         * posix/execlp.c (execlp): Likewise.
17456 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17458         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17459         Replace .text with .text.avx512.
17460         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17461         Likewise.
17463 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17465         * sysdeps/generic/libnsl.abilist: New file.
17466         * sysdeps/generic/libutil.abilist: New file.
17468 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17470         [BZ #19762]
17471         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17472         HAS_ARCH_FEATURE with Fast_Rep_String.
17473         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17474         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17475         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17476         Likewise.
17477         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17478         Likewise.
17479         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17480         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17481         Likewise.
17482         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17483         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17484         Likewise.
17486 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17488         [BZ #19745]
17489         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17490         with *%rax in call.
17492 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17494         [BZ #19745]
17495         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17496         with *__libc_start_main@GOTPCREL(%rip) in call.
17498 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17500         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17501         inside conditional for nonempty $(CXX).
17503         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17504         nonempty.
17506         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17507         to test for empty $(CXX) rather than $(CXX) of "no".
17509 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17511         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17513 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17514             H.J. Lu  <hongjiu.lu@intel.com>
17516         [BZ #18880]
17517         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17518         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17519         enable __memcpy_ssse3_back.
17521 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17523         [BZ #19758]
17524         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17525         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17527 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17529         [BZ #19490]
17530         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17531         (__fentry__): Likewise.
17533 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17535         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17536         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17538 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17540         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17541         __mcount_internal directly.
17542         (C_LABEL(__fentry__)): Likewise.
17543         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17544         directly.
17546 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17548         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17549         (__start_context): Call __setcontext directly.
17551 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17553         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17554         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17555         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17556         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17558         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17559         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17560         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17562         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17563         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17564         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17565         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17566         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17567         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17569         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17571         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17572         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17573         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17574         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17575         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17576         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17577         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17578         Remove conditional code.
17579         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17580         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17581         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17582         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17583         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17584         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17585         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17586         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17587         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17588         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17589         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17590         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17592 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17594         * NEWS (2.23): Fix typo in bug 19048 text.
17596 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17598         [BZ #14259]
17599         * Makeconfig: Rename msgcatdir to localedir.
17600         Rename inst_msgcatdir to inst_localedir.
17601         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17602         * config.make.in: Add localedir.
17603         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17604         (ldd-rewrite): Likewise.
17605         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17606         (install-others): Use inst_localedir.
17607         (CPPFLAGS): Use localedir.
17608         * locale/Makefile (locale-CPPFLAGS): Likewise.
17609         * po/Makefile (mo-installed): Use inst_localedir.
17611         [BZ #19575]
17612         * localedata/charmaps/GB18030: Update comments regarding PAU to
17613         non-PUA mappings.
17615 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17617         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17618         test for header.
17619         * sysdeps/unix/sysv/linux/configure: Regenerated.
17620         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17621         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17622         Remove conditional code.
17623         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17625         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17626         Define to 3.2.0.
17627         (arch_minimum_kernel): Likewise.
17628         * sysdeps/unix/sysv/linux/configure: Regenerated.
17629         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17630         Define to 2.6.32.
17631         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17632         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17633         (arch_minimum_kernel): Define to 2.6.32.
17634         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17635         * README: Document Linux 3.2 requirement.
17636         * manual/install.texi (Linux): Document Linux 3.2 headers
17637         requirement.
17638         * INSTALL: Regenerated.
17640 2016-02-24  Andreas Schwab  <schwab@suse.de>
17642         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17643         if !NO_LONG_DOUBLE.
17645 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17647         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17648         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17650 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17652         [BZ #19512]
17653         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17655 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17657         * posix/tst-dir.c: Include libc-internal.h.
17659 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17661         [BZ #19056]
17662         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17663         * manual/filesys.texi (Reading/Closing Directory): Mention
17664         deprecaion.
17665         * posix/tst-dir.c (main): Disable deprecation warning in test.
17667 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17669         [BZ #19679]
17670         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17671         Renamed to ...
17672         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17673         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17674         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17675         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17676         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17677         * sysdeps/x86_64/dl-trampoline.h
17678         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17679         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17681 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17683         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17685 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17687         * elf/elf.h (R_386_GOT32X): New.
17688         (R_386_NUM): Update.
17689         (R_X86_64_GOTPCRELX: New.
17690         (R_X86_64_REX_GOTPCRELX): New.
17691         (R_X86_64_NUM): Update.
17693 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17695         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17697 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17699         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17700         assign attr->stackaddr to it, and adjust it down when
17701         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17702         [_STACK_GROWS_UP]: Delete assert.
17703         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17704         Implement stack grows up logic.
17705         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17706         stack grows up logic.
17708 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17710         * NEWS: Update with 2.24 template.
17712 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17714         [BZ #19678]
17715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17716         Ensure +0.0 is returned when taking the next value below the least
17717         positive value.
17719 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17721         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17722         available.  Do not define NO_THREADS.
17723         * malloc/malloc.c: Do not check NO_THREADS.
17724         * malloc/arena.c: Likewise.
17726 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17728         * malloc/malloc.c (__libc_mallinfo): Update comment.
17729         (struct malloc_par): Remove max_total_mem member, it was always 0.
17730         (int_mallinfo): Store 0 into usmblks (no functional change).
17731         * malloc/hooks.c (struct malloc_state): Document that
17732         max_total_mem is always 0.
17733         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17734         always 0.
17735         * manual/memory.texi (Statistics of Malloc): Likewise.
17737 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17739         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17740         * malloc/arena.c (arena_max): Remove.
17741         (heap_trim, _int_new_arena): Do not update arena_max.
17743 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17745         * resolv/res_init.c (res_ninit): Update comment.
17747 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17749         [BZ #19505]
17750         * posix/spawn_int.h: Add headers and include guard.
17751         (__spawn_valid_fd): New function.
17752         * posix/spawn_faction_addopen.c
17753         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17754         * posix/spawn_faction_addclose.c
17755         (posix_spawn_file_actions_addclose): Likewise.
17756         * posix/spawn_faction_adddup2.c
17757         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17758         second file descriptor.
17759         * posix/spawn_valid_fd.c: New file.
17760         * posix/tst-posix_spawn-fd.c: New file.
17761         * posix/Makefile (routines): Add spawn_valid_fd.
17762         (tests): Add tst-posix_spawn-fd.
17764 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17766         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17767         (do_test): Limit the number of arenas, so that we can use fewer
17768         outer threads.  Limit timeout to 3 seconds, in preparation for a
17769         larger TIMEOUT value.
17771 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17773         [BZ #19674]
17774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17775         sign in overflowing and underflowing results when overflow or
17776         underflow is detected early.  Include sign in result before rather
17777         than after scaling.
17779         [BZ #19603]
17780         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17781         (__ieee754_remainderl): Adjust sign of integer version of low part
17782         when taking absolute value of high part.
17783         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17784         * math/libm-test.inc (remainder_test_data): Add another test.
17785         (remquo_test_data): Likewise.
17787 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17789         [BZ #19602]
17790         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17791         equal high parts and both low parts zero specially.
17792         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17793         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17794         Add test-fmodl-ldbl-128ibm.
17796         [BZ #19595]
17797         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17798         common logic for all cases of shifting subnormal results.  Do not
17799         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17800         exponent to ldbl_insert_mantissa in subnormal case.
17802         [BZ #19594]
17803         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17804         on high and low parts then adjust result and use
17805         ldbl_canonicalize_int if needed.
17807         [BZ #19593]
17808         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17809         on high part and __floor or __ceil on low part then use
17810         ldbl_canonicalize_int if needed.
17812         [BZ #19592]
17813         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17814         high and low parts then use ldbl_canonicalize_int if needed.
17816         [BZ #17899]
17817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17818         New function.
17819         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17820         on high and low parts then use ldbl_canonicalize_int if needed.
17822 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17824         * configure: Regenerated.
17826         * po/libc.pot: Regenerated.
17828         * po/be.po: Updated translation.
17829         * po/bg.po: Likewise.
17830         * po/ca.po: Likewise.
17831         * po/cs.po: Likewise.
17832         * po/da.po: Likewise.
17833         * po/el.po: Likewise.
17834         * po/eo.po: Likewise.
17835         * po/es.po: Likewise.
17836         * po/fi.po: Likewise.
17837         * po/fr.po: Likewise.
17838         * po/gl.po: Likewise.
17839         * po/hr.po: Likewise.
17840         * po/hu.po: Likewise.
17841         * po/ia.po: Likewise.
17842         * po/id.po: Likewise.
17843         * po/it.po: Likewise.
17844         * po/ja.po: Likewise.
17845         * po/lt.po: Likewise.
17846         * po/nb.po: Likewise.
17847         * po/nl.po: Likewise.
17848         * po/pt_BR.po: Likewise.
17849         * po/rw.po: Likewise.
17850         * po/sk.po: Likewise.
17851         * po/sl.po: Likewise.
17852         * po/sv.po: Likewise.
17853         * po/tr.po: Likewise.
17854         * po/zh_CN.po: Likewise.
17855         * po/zh_TW.po: Likewise.
17857         * version.h (RELEAES): Set to "development".
17858         (VERSION): Set to 2.23.90.
17860         * version.h (RELEASE): Set to "stable".
17861         (VERSION): Set to 2.23.
17862         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17864         * NEWS: Updated fixed bugs.
17866 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17867             Wilco Dijkstra  <wdijkstr@arm.com>
17869         [BZ #19462]
17870         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17871         (_STRING_INLINE_unaligned): This.
17872         * include/string.h: Include <string_private.h>.
17873         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17874         _STRING_INLINE_unaligned.
17875         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17876         (_STRING_INLINE_unaligned): New.
17877         * sysdeps/aarch64/string_private.h: New file.
17878         * sysdeps/generic/string_private.h: Likewise.
17879         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17880         * sysdeps/s390/string_private.h: Likewise.
17881         * sysdeps/x86/string_private.h: Likewise.
17882         * sysdeps/m68k/m680x0/m68020/bits/string.h
17883         (_STRING_ARCH_unaligned): Renamed to ...
17884         (_STRING_INLINE_unaligned): This.
17885         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17886         to ...
17887         (_STRING_INLINE_unaligned): This.
17888         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17889         to ...
17890         (_STRING_INLINE_unaligned): This.
17891         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17892         to ...
17893         (_STRING_INLINE_unaligned): This.
17895 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17896             H.J. Lu  <hongjiu.lu@intel.com>
17898         [BZ #19590]
17899         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17900         relocation.
17902 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17904         [BZ #18665]
17905         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17906         *herrno_p.
17907         (gaih_getanswer): Document functional behviour. Return tryagain
17908         if any result is tryagain.
17909         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17910         when freed.
17911         * resolv/res_send.c: Add copyright text.
17912         (__libc_res_nsend): Document that MAXPACKET is expected.
17913         (send_vc): Document. Remove buffer reuse.
17914         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17915         size of the buffer. Add Dprint for truncated UDP buffer.
17917 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17919         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17920         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17921         * INSTALL: Regenerate.
17923 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17924             Jonathan Wakely  <jwakely@redhat.com>
17925             Carlos O'Donell  <carlos@redhat.com>
17927         [BZ 19439]
17928         * math/Makefile (tests): Add test-math-isinff.
17929         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17930         * math/bits/mathcalls.h [__USE_MISC]: Use
17931         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17932         functions not in C++11 and which don't conflict e.g. isinff,
17933         isinfl etc.
17934         * math/test-math-isinff.cc: New file.
17936 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17938         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17940 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17942         [BZ #19529]
17943         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17945 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17947         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17949 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17951         [BZ #19550]
17952         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17953         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17954         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17955         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17956         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17957         New syscall entry.
17958         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17959         New syscall entry.
17960         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17961         syscall entry.
17963 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17965         [BZ #18240]
17966         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17967         unsigned int wraparound.
17969 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17971         [BZ #18240]
17972         * misc/bug18240.c: New test.
17973         * misc/Makefile (tests): Add it.
17975 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17976             Joseph Myers  <joseph@codesourcery.com>
17978         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17979         load in branch delay slot when less than a word of input left.
17981 2016-01-27  Andreas Schwab  <schwab@suse.de>
17983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17984         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17985         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17986         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17988 2016-01-26  David S. Miller  <davem@davemloft.net>
17990         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17992 2016-01-25  David S. Miller  <davem@davemloft.net>
17994         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17995         __sqrtl_finite.
17996         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17997         instead using versioned_symbol.
17998         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17999         of entries.
18001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18002         __sqrtl_finite to GLIBC_2.23
18004 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18006         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18008 2016-01-25  Andreas Schwab  <schwab@suse.de>
18010         [BZ #17514]
18011         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18012         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18013         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18014         * nptl/tst-mutex-errorcheck.c: New file.
18016 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18018         [BZ #18560]
18019         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18020         (IPCOP_semop): Likewise.
18021         (IPCOP_semget): Likewise.
18022         (IPCOP_semctl): Likewise.
18023         (IPCOP_msgsnd): Likewise.
18024         (IPCOP_msgrcv): Likewise.
18025         (IPCOP_msgget): Likewise.
18026         (IPCOP_msgctl): Likewise.
18027         (IPCOP_shmat): Likewise.
18028         (IPCOP_shmdt): Likewise.
18029         (IPCOP_shmget): Likewise.
18030         (IPCOP_shmctl): Likewise.
18032 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18034         * string/tst-endian.c: Include <libc-internal.h>.
18035         (do_test): Ignore tautological-compare warnings around
18036         "htobeXX (beXXtoh (i)) != i" and
18037         "htoleXX (leXXtoh (i)) != i" if-statements.
18039 2016-01-24  David S. Miller  <davem@davemloft.net>
18041         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18042         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18043         alias.
18044         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18045         __sqrtl_finite.
18047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18049 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18051         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18052         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18053         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18055 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18057         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18058         (thread_func): Use new function to simplify barrier check.
18059         (do_test): Use new function to simplify checking barrier exit
18060         code, and actually join the child thread.
18062 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18064         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18065         semicolon.
18066         (__libc_tend): Likewise.
18067         (__libc_tabort): Likewise.
18069 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18071         * sysdeps/nios2/libm-test-ulps: Update.
18072         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18073         (__gtsf2): Likewise.
18074         (__unorddf2): Likewise.
18075         (__unordsf2): Likewise.
18076         (__ledf2): Likewise.
18078 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18080         * nis/nis_table.c (__follow_path): Disable diagnostic for
18081         uninitialized variable that is a false positive for gcc 4.7.
18082         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18084 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18086         * sysdeps/nacl/lowlevellock-futex.h
18087         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18088         Always evaluate PRIVATE argument.
18090 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18092         [BZ #19490]
18093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18094         (pthread_cond_broadcast): Use ENTRY/END
18095         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18096         (pthread_cond_signal): Likewise.
18097         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18098         Likewise.
18099         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18100         Likewise.
18101         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18102         Likewise.
18104 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18106         * sysdeps/ieee754/dbl-64/s_finite.c
18107         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18108         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18109         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18110         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18111         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18114         (__gtsf2): Add as optional for libc.so.
18115         (__unordsf2): Likewise.
18116         (__signbit): Remove for libc.so.
18117         (__signbitl): Likewise.
18119 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18121         * iconvdata/bug-iconv11.c (test_ibm93x):
18122         Use %zu printf format specifier for size_t argument.
18124 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18126         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18127         already-recorded ulps.
18128         * sysdeps/arm/libm-test-ulps: Regenerated.
18129         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18131         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18133 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18134             Paul Pluzhnikov  <ppluzhnikov@google.com>
18136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18137         assembler not supporting AVX-512.
18139 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18141         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18143 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18145         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18146         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18148         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18150         * sysdeps/arm/libm-test-ulps: Regenerated.
18152 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18154         [BZ #19451]
18155         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18157 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18159         [BZ #19486]
18160         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18161         * sysdeps/generic/fix-fp-int-convert-overflow.h
18162         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18163         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18164         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18165         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18166         Likewise.
18167         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18168         Avoid conversions to long int where inexact exceptions
18169         could be raised.
18170         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18171         Likewise.
18172         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18173         Avoid conversions to long long int where inexact exceptions
18174         could be raised.
18175         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18176         Likewise.
18178 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18180         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18181         * configure: Regenerated.
18183 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18185         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18187 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18189         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18190         outside of comment.
18192 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18194         * nptl/tst-barrier1.c: Add description on first line.
18195         * nptl/tst-barrier2.c: Likewise.
18196         * nptl/tst-barrier3.c: Likewise.
18197         * nptl/tst-barrier4.c: Likewise.
18198         * nptl/tst-barrier5.c: Likewise.
18200 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18202         [BZ #18868]
18203         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18205 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18209         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18210         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18211         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18212         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18213         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18214         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18215         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18216         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18217         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18219 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18221         [BZ #13065]
18222         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18223         new implementation.
18224         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18225         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18226         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18227         (BARRIER_IN_THRESHOLD): New macro.
18228         * nptl/pthread_barrierattr_setpshared.c
18229         (pthread_barrierattr_setpshared): Clean up.
18230         * nptl/tst-barrier4.c: Correct comment.
18231         * nptl/tst-barrier5.c: New file.
18232         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18233         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18234         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18235         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18236         * nptl/lowlevelbarrier.sym: Remove.
18237         * nptl/DESIGN-barrier.txt: Remove.
18238         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18239         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18240         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18241         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18242         error.
18243         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18244         implementation.
18246 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18248         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18249         (do_child): Mask SIGRTMIN while thr is running.
18251 2016-01-15  Martin Sebor  <msebor@redhat.com>
18253         [BZ #19432]
18254         * iconvdata/Makefile: Add bug-iconv11.
18255         * iconvdata/bug-iconv11.c: New test.
18256         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18257         * iconvdata/ibm933.c: Same.
18258         * iconvdata/ibm935.c: Same.
18259         * iconvdata/ibm937.c: Same.
18260         * iconvdata/ibm939.c: Same.
18262 2016-01-15  Martin Sebor  <msebor@redhat.com>
18264         [BZ #19443]
18265         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18266         [DEBUG] (_ufc_set_bits): Declare used.
18267         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18268         [DEBUG] (print_all): Declare used.
18269         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18270         operands of the ternary ?: expression to target type.
18271         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18272         calling the undeclared abort.
18273         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18275 2016-01-15  Martin Sebor  <msebor@redhat.com>
18277         [BZ #18755]
18278         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18279         warnings.
18280         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18281         (__gai_create_helper_thread): Same.
18282         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18283         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18284         to suppress -Wmaybe-uninitialized warnings.
18286 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18288         [BZ #19465]
18289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18290         inside if.
18291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18293         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18295 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18297         [BZ #19466]
18298         * time/tst-mktime2.c (time_t_max): Removed.
18299         (time_t_min): Likewise.
18300         (TYPE_SIGNED): New.
18301         (TYPE_MINIMUM): Likewise.
18302         (TYPE_MAXIMUM): Likewise.
18303         (TIME_T_MIN): Likewise.
18304         (TIME_T_MAX): Likewise.
18305         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18306         and TIME_T_MIN.
18307         (do_test): Likewise.
18309 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18311         [BZ #19467]
18312         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18313         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18315 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18317         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18319 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18321         * benchtests/Makefile (PYTHON): Define.
18322         (bench-func): Use $(PYTHON) to run python scripts.
18323         ($(objpfx)bench-%.c): Likewise.
18325 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18327         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18328         leading slash when `file_name' is "/".
18330 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18332         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18333         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18334         Likewise.
18335         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18336         Likewise.
18337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18338         Likewise.
18339         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18340         enum constant and macro.
18341         (PTRACE_SETSIGMASK): Likewise.
18342         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18343         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18344         (PTRACE_GETSIGMASK): Likewise.
18345         (PTRACE_SETSIGMASK): Likewise.
18346         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18347         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18348         Likewise.
18349         (PTRACE_SETSIGMASK): Likewise.
18350         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18352         (PTRACE_GETSIGMASK): Likewise.
18353         (PTRACE_SETSIGMASK): Likewise.
18354         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18355         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18356         Likewise.
18357         (PTRACE_SETSIGMASK): Likewise.
18358         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18360         Likewise.
18361         (PTRACE_SETSIGMASK): Likewise.
18362         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18363         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18364         Likewise.
18365         (PTRACE_SETSIGMASK): Likewise.
18366         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18368 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18369             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18371         [BZ #19439]
18372         * math/bits/mathcalls.h
18373         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18374         prototype.
18375         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18377 2016-01-11  Andreas Schwab  <schwab@suse.de>
18379         [BZ #19253]
18380         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18381         cache when TZDEFRULES was used.
18382         * time/tst-tzname.c: New file.
18383         * time/Makefile (test): Add tst-tzname.
18384         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18385         * timezone/Makefile (test-zones): Add $(posixrules-file).
18386         ($(testdata)/$(posixrules-file)): New rule.
18388 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18390         Fix doc quoting problems with Texinfo 5
18391         Without this change, in the info file output, Texinfo 5 quotes code
18392         in text with undirected single quotes 'like this' and generates
18393         code examples that with many PDF readers cannot be cut out of PDFs
18394         and pasted into code.
18395         * manual/libc.texinfo: Configure the libc manual like the GNU
18396         Emacs manual, by using @documentencoding and setting
18397         txicodequoteundirected and txicodequotebacktick.  This way,
18398         Texinfo 5 quotes code in text with directed single quotes ‘like
18399         this’ and produces examples that can be cut out of PDFs.  This
18400         change causes Texinfo 5 to generate info files that contain UTF-8
18401         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18402         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18404 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18406         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18407         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18408         barriers to their respective compiler built-ins.
18409         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18410         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18411         * sysdeps/powerpc/sysdep.h: Likewise.
18412         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18413         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18414         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18416 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18418         * scripts/config.guess: Revert previous shebang change.
18419         * scripts/config.sub: Likewise.
18420         * scripts/mkinstalldirs: Likewise.
18422 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18424         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18425         PPC_FEATURE2_HAS_IEEE128.
18426         * sysdeps/powerpc/dl-procinfo.c:
18427         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18429 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18431         [BZ #19415]
18432         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18433         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18434         (_dl_lookup_address): Rewrite using function resolver trampoline.
18435         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18436         two bits in address.
18438 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18440         * longlong.h: Change !__SHMEDIA__ to
18441         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18442         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18444 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18445             Joseph Myers  <joseph@codesourcery.com>
18446             Mark Shinwell  <shinwell@codesourcery.com>
18447             Andrew Stubbs  <ams@codesourcery.com>
18448             Rich Felker <dalias@libc.org>
18450         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18452 2016-01-07  Richard Henderson  <rth@redhat.com>
18454         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18456 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18458         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18459         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18460         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18461         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18462         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18464 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18465             Joseph Myers  <joseph@codesourcery.com>
18467         * timezone/private.h: Update from tzcode 2015g.
18468         * timezone/tzfile.h: Likewise.
18469         * timezone/tzselect.ksh: Likewise.
18470         * timezone/zdump.c: Likewise.
18471         * timezone/zic.c: Likewise.
18472         * timezone/ialloc.c: Remove file.
18473         * timezone/scheck.c: Likewise.
18474         * timezone/Makefile (extra-objs): Remove variable.
18475         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18476         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18477         -Wno-maybe-uninitialized.
18478         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18479         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18480         (CFLAGS-ialloc.c): Remove variable.
18481         (CFLAGS-scheck.c): Likewise.
18482         * timezone/README: Update list of files from tzcode.
18484 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18486         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18487         instead of __fxprintf when _LIBC is undefined.
18489 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18491         * catgets/test-gencat.sh: Remove space after shebang.
18492         * conform/GlibcConform.pm: Likewise.
18493         * conform/check-header-lists.sh: Likewise.
18494         * conform/conformtest.pl: Likewise.
18495         * conform/linknamespace.pl: Likewise.
18496         * conform/list-header-symbols.pl: Likewise.
18497         * debug/catchsegv.sh: Likewise.
18498         * elf/genrtldtbl.awk: Likewise.
18499         * elf/tst-pathopt.sh: Likewise.
18500         * elf/tst-rtld-load-self.sh: Likewise.
18501         * grp/tst_fgetgrent.sh: Likewise.
18502         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18503         * iconvdata/gen-8bit-gap.sh: Likewise.
18504         * iconvdata/gen-8bit.sh: Likewise.
18505         * iconvdata/run-iconv-test.sh: Likewise.
18506         * intl/tst-gettext.sh: Likewise.
18507         * intl/tst-gettext2.sh: Likewise.
18508         * intl/tst-gettext4.sh: Likewise.
18509         * intl/tst-gettext6.sh: Likewise.
18510         * intl/tst-translit.sh: Likewise.
18511         * io/ftwtest-sh: Likewise.
18512         * libio/test-freopen.sh: Likewise.
18513         * locale/gen-translit.pl: Likewise.
18514         * malloc/tst-mtrace.sh: Likewise.
18515         * manual/check-safety.sh: Likewise.
18516         * manual/libc-texinfo.sh: Likewise.
18517         * manual/tsort.awk: Likewise.
18518         * manual/xtract-typefun.awk: Likewise.
18519         * nptl/tst-cancel-wrappers.sh: Likewise.
18520         * nptl/tst-tls6.sh: Likewise.
18521         * posix/globtest.sh: Likewise.
18522         * posix/tst-getconf.sh: Likewise.
18523         * posix/wordexp-tst.sh: Likewise.
18524         * scripts/check-c++-types.sh: Likewise.
18525         * scripts/check-local-headers.sh: Likewise.
18526         * scripts/config.guess: Likewise.
18527         * scripts/config.sub: Likewise.
18528         * scripts/cpp: Likewise.
18529         * scripts/cross-test-ssh.sh: Likewise.
18530         * scripts/documented.sh: Likewise.
18531         * scripts/evaluate-test.sh: Likewise.
18532         * scripts/gen-libc-abis: Likewise.
18533         * scripts/gen-sorted.awk: Likewise.
18534         * scripts/list-fixed-bugs.py: Likewise.
18535         * scripts/merge-test-results.sh: Likewise.
18536         * scripts/mkinstalldirs: Likewise.
18537         * scripts/rellns-sh: Likewise.
18538         * scripts/test-installation.pl: Likewise.
18539         * scripts/update-copyrights: Likewise.
18540         * stdio-common/tst-printf.sh: Likewise.
18541         * stdio-common/tst-unbputc.sh: Likewise.
18542         * stdlib/tst-fmtmsg.sh: Likewise.
18543         * stdlib/tst-setcontext3.sh: Likewise.
18544         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18545         * sysdeps/unix/make-syscalls.sh: Likewise.
18547 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18549         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18550         asm stw with atomic_exchange_rel.  Add explanatory comment.
18551         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18552         Likewise.
18554 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18556         [BZ #19122]
18557         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18558         * sysdeps/generic/dl-unistd.h: New file.
18559         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18561 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18563          [BZ #19122]
18564          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18565          * sysdeps/generic/dl-mman.h: New file.
18566          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18568 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18570         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18571         trailing whitespace removed.
18572         * scripts/config.guess: Update to version 2016-01-01.
18573         * scripts/config.sub: Update to version 2016-01-01.
18574         * scripts/move-if-change: Update from gnulib.
18576 2016-01-04  Anton Blanchard  <anton@samba.org>
18578         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18579         for array indices.
18580         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18582 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18584         * NEWS: Update copyright dates.
18585         * catgets/gencat.c (print_version): Likewise.
18586         * csu/version.c (banner): Likewise.
18587         * debug/catchsegv.sh: Likewise.
18588         * debug/pcprofiledump.c (print_version): Likewise.
18589         * debug/xtrace.sh (do_version): Likewise.
18590         * elf/ldconfig.c (print_version): Likewise.
18591         * elf/ldd.bash.in: Likewise.
18592         * elf/pldd.c (print_version): Likewise.
18593         * elf/sotruss.sh: Likewise.
18594         * elf/sprof.c (print_version): Likewise.
18595         * iconv/iconv_prog.c (print_version): Likewise.
18596         * iconv/iconvconfig.c (print_version): Likewise.
18597         * locale/programs/locale.c (print_version): Likewise.
18598         * locale/programs/localedef.c (print_version): Likewise.
18599         * login/programs/pt_chown.c (print_version): Likewise.
18600         * malloc/memusage.sh (do_version): Likewise.
18601         * malloc/memusagestat.c (print_version): Likewise.
18602         * malloc/mtrace.pl: Likewise.
18603         * manual/libc.texinfo: Likewise.
18604         * nptl/version.c (banner): Likewise.
18605         * nscd/nscd.c (print_version): Likewise.
18606         * nss/getent.c (print_version): Likewise.
18607         * nss/makedb.c (print_version): Likewise.
18608         * posix/getconf.c (main): Likewise.
18609         * scripts/test-installation.pl: Likewise.
18610         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18612         * All files with FSF copyright notices: Update copyright dates
18613         using scripts/update-copyrights.
18614         * intl/plural.c: Regenerated.
18615         * locale/programs/charmap-kw.h: Likewise.
18616         * locale/programs/locfile-kw.h: Likewise.
18618 2016-01-02  Helge Deller  <deller@gmx.de>
18620         [BZ #19285]
18621         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18622         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18623         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18624         (MADV_xxK_PAGES): Remove.
18626 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18628         [BZ #15421]
18629         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18630         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18631         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18632         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18634 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18636         [BZ #19408]
18637         * sysdeps/unix/sysv/linux/personality.c: New file.
18638         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18639         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18640         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18641         (sysdep_routines): Add personality.
18642         (tests): Add tst-personality.
18643         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18645         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18646         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18647         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18648         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18649         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18650         Likewise.
18651         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18652         Likewise.
18653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18654         Likewise.
18655         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18656         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18657         Likewise.
18659 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18661         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18662         (PATH_ARM_SYSTYPE): Remove.
18663         (PATH_CPUINFO): Likewise.
18664         (IO_BASE_FOOTBRIDGE): Likewise.
18665         (IO_SHIFT_FOOTBRIDGE): Likewise.
18666         (struct platform): Likewise.
18667         (init_iosys): Remove compatibility code for 2.4 kernels.
18668         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18670 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18672         * malloc/tst-malloc-thread-fail.c: New file.
18673         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18674         (tst-malloc-thread-fail): Link against libpthread.
18676 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18678         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18679         (get_parser): New function.
18680         (main): New function.
18682 2015-12-29  Rob Wu  <rob@robwu.nl>
18684         [BZ #19369]
18685         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18687 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18689         [BZ #19270]
18690         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18692 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18694         [BZ #15421]
18695         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18697 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18699         [BZ #13690]
18700         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18701         after releasing it.
18702         (__lll_robust_unlock): Likewise.
18703         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18704         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18705         (lll_robust_unlock): Likewise.
18706         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18707         Prevent warnings in callers.
18709 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18711         * malloc/arena.c (list_lock): Update comment.
18713 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18715         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18716         __parse_hwcap_and_convert_at_platform to libc.a.
18718 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18720         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18721         platform and feature support for POWER9.
18722         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18723         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18724         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18725         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18726         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18727         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18728         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18729         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18731 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18733         Harmonize generic stdio-lock support with nptl
18735         This fixes build when _IO_funlockfile is a macro, fixes build where
18736         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18737         stack unwind.
18739         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18740         _IO_release_lock ): Use cleanup attribute on new
18741         _IO_acquire_lock_file variable instead of assuming that
18742         _IO_release_lock will be called.
18743         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18744         _IO_acquire_lock_needs_exceptions_enabled.
18745         (_IO_acquire_lock_clear_flags2): New macro.
18747 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18749         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18751 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18753         [BZ #19182]
18754         * malloc/arena.c (list_lock): Document lock ordering requirements.
18755         (free_list_lock): New lock.
18756         (ptmalloc_lock_all): Comment on free_list_lock.
18757         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18758         (detach_arena): Update comment.  free_list_lock is now needed.
18759         (_int_new_arena): Use free_list_lock around detach_arena call.
18760         Acquire arena lock after list_lock.  Add comment, including FIXME
18761         about incorrect synchronization.
18762         (get_free_list): Switch to free_list_lock.
18763         (reused_arena): Acquire free_list_lock around detach_arena call
18764         and attached threads counter update.  Add two FIXMEs about
18765         incorrect synchronization.
18766         (arena_thread_freeres): Switch to free_list_lock.
18767         * malloc/malloc.c (struct malloc_state): Update comments to
18768         mention free_list_lock.
18770 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18772         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18773         Remove functions.
18774         (sloww, sloww1): Accept argument to offset quadrant.
18775         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18776         quadrant.
18777         (__sin, __cos): Consolidate common code into new functions.
18778         (reduce_sincos_1, do_sincos_1): New functions.
18779         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18782         code to new functions.
18783         (reduce_sincos_2, do_sincos_2): New functions.
18784         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18787         common code for sincos.
18788         (__cos) [!IN_SINCOS]: Likewise.
18789         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18790         New function.
18791         (__sincos): Use it.
18793 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18795         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18796         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18797         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18799 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18801         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18804         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18805         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18806         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18807         index_Prefer_No_VZEROUPPER): New feature.
18808         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18809         Prefer_No_VZEROUPPER for Knights Landing.
18811 015-12-18  Torvald Riegel  <triegel@redhat.com>
18813         * math/atest-exp2.c (mp_exp_m1): Remove.
18815 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18817         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18818         syscalls.
18819         (__SYSCALL0): New macro.
18820         (__SYSCALL1): Likewise.
18821         (__SYSCALL2): Likewise.
18822         (__SYSCALL3): Likewise.
18823         (__SYSCALL4): Likewise.
18824         (__SYSCALL5): Likewise.
18825         (__SYSCALL6): Likewise.
18826         (__SYSCALL_CONCAT_X): Likewise.
18827         (__SYSCALL_CONCAT): Likewise.
18828         (__SYSCALL_DIST): Likewise.
18829         (__SYSCALL_CALL): Likewise.
18831 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18833         [BZ #19363]
18834         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18836 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18838         [BZ #19375]
18839         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18840         negative subnormals.
18842 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18845         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18846         (INTERNAL_SYSCALL_NCS): Use it.
18847         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18849 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18851         [BZ #19243]
18852         * malloc/arena.c (get_free_list): Remove assert and adjust
18853         reference count handling.  Add comment about reused_arena
18854         interaction.
18855         (reused_arena): Add comments abount get_free_list interaction.
18856         * malloc/tst-malloc-thread-exit.c: New file.
18857         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18858         (tst-malloc-thread-exit): Link against libpthread.
18860 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18862         [BZ #19367]
18863         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18864         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18866         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18867         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18869 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18871         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18872         Silvermont optimizations for Knights Landing.
18874 2015-12-15  Andreas Schwab  <schwab@suse.de>
18876         [BZ #17197]
18877         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18878         immediately after emitting SI.
18879         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18880         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18881         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18882         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18883         * iconvdata/bug-iconv10.c: New file.
18884         * iconvdata/Makefile (tests): Add bug-iconv10.
18885         ($(objpfx)bug-iconv10.out): New rule.
18887 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18889         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18890         aliasing violation.
18892 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #18472]
18895         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18896         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18897         conditionals for them.
18898         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18899         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18901         sys/kdaemon.h.
18902         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18903         compat-only syscall, obsoleted in glibc 2.23.
18904         (create_module): Likewise.
18905         (get_kernel_syms): Likewise.
18906         (query_module): Likewise.
18907         (uselib): Likewise.
18908         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18910 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18912         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18913         <linux/version.h>.
18914         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18915         conditional code.
18916         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18917         and ioshift_name initialization.
18919 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18921         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18922         Fix indentation.
18924 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18926         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18928 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18930         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18932 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18933             Jakub Wilk  <jwilk@debian.org>
18935         [BZ #19347]
18936         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18937         to change the group of the device to the tty group.
18939 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18941         Split large string section; add truncation advice
18942         * manual/examples/strncat.c: Remove.
18943         This example was misleading, as the code would have undefined
18944         behavior if "hello" was longer than SIZE.  Anyway, the manual
18945         shouldn't encourage strncpy+strncat for this sort of thing.
18946         * manual/string.texi (Copying Strings and Arrays): Split into
18947         three sections Copying Strings and Arrays, Concatenating Strings,
18948         and Truncating Strings, as this section was way too long.  All
18949         cross-referenced changed.  Add advice about string-truncation
18950         functions.  Remove misleading strncat example.
18952 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18954         * manual/nss.texi (NSS Modules Interface): Document
18955         NSS_STATUS_NOTFOUND and SUCCESS.
18957 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18959         [BZ 18568]
18960         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18961         201505L, for Unicode 8.
18963 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18965         * locale/C-translit.h: Regenerate.
18967 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18969         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18970         and U+0153.
18972 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18974         [BZ #19351]
18975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18976         expanding log(1+z), compare z rather than its square with epsilon
18977         to determine when to avoid evaluating the expansion.
18979         [BZ #19350]
18980         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18981         Increase overflow threshold.
18983         [BZ #19349]
18984         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18985         when small.
18987         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18989         New macro.
18990         [__LINUX_KERNEL_VERSION >= 0x040300]
18991         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18993         Likewise.
18994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18995         Likewise.
18996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18997         Likewise.
18998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18999         Likewise.
19000         [__LINUX_KERNEL_VERSION >= 0x040300]
19001         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19002         [__LINUX_KERNEL_VERSION >= 0x040300]
19003         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19004         [__LINUX_KERNEL_VERSION >= 0x040300]
19005         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19006         [__LINUX_KERNEL_VERSION >= 0x040300]
19007         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19008         [__LINUX_KERNEL_VERSION >= 0x040300]
19009         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19010         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19011         Likewise.
19012         [__LINUX_KERNEL_VERSION >= 0x040300]
19013         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19014         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19015         Likewise.
19016         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19017         Likewise.
19018         [__LINUX_KERNEL_VERSION >= 0x040300]
19019         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19020         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19021         Likewise.
19022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19023         Likewise.
19024         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19025         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19026         Likewise.
19027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19028         Likewise.
19029         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19030         Likewise.
19031         [__LINUX_KERNEL_VERSION >= 0x040300]
19032         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19033         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19034         Likewise.
19035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19036         Likewise.
19037         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19038         Likewise.
19039         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19040         Likewise.
19041         [__LINUX_KERNEL_VERSION >= 0x040300]
19042         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19043         [__LINUX_KERNEL_VERSION >= 0x040300]
19044         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19045         [__LINUX_KERNEL_VERSION >= 0x040300]
19046         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19047         [__LINUX_KERNEL_VERSION >= 0x040300]
19048         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19049         [__LINUX_KERNEL_VERSION >= 0x040300]
19050         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19051         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19052         Likewise.
19053         [__LINUX_KERNEL_VERSION >= 0x040300]
19054         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19055         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19056         Likewise.
19057         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19058         Likewise.
19059         [__LINUX_KERNEL_VERSION >= 0x040300]
19060         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19061         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19062         Likewise.
19063         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19064         Likewise.
19065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19066         (__ASSUME_SOCKET_SYSCALL): Likewise.
19067         (__ASSUME_BIND_SYSCALL): Likewise.
19068         (__ASSUME_CONNECT_SYSCALL): Likewise.
19069         (__ASSUME_LISTEN_SYSCALL): Likewise.
19070         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19071         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19072         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19073         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19074         (__ASSUME_SEND_SYSCALL): Likewise.
19075         (__ASSUME_SENDTO_SYSCALL): Likewise.
19076         (__ASSUME_RECV_SYSCALL): Likewise.
19077         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19078         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19079         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19080         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19081         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19082         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19083         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19084         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19085         Likewise.
19086         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19087         Likewise.
19088         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19089         Likewise.
19090         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19091         Likewise.
19092         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19093         Likewise.
19094         [__LINUX_KERNEL_VERSION >= 0x020625]
19095         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19096         [__LINUX_KERNEL_VERSION >= 0x020625]
19097         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19098         [__LINUX_KERNEL_VERSION >= 0x020625]
19099         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19100         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19101         Likewise.
19102         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19103         Likewise.
19104         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19105         Likewise.
19106         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19107         Likewise.
19108         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19109         Likewise.
19110         [__LINUX_KERNEL_VERSION >= 0x020625]
19111         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19112         [__LINUX_KERNEL_VERSION >= 0x020625]
19113         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19114         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19115         Likewise.
19116         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19117         Likewise.
19119 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19121         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19122         record the current if the current ABI and CPU support the FP64
19123         extension.
19124         (has-modd-spreg): Define to record the current if the current ABI and
19125         CPU support 32-bit floating point values in odd FPU registers.
19126         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19127         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19128         $(has-modd-spreg) equals yes.
19129         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19130         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19131         $(has-modd-spreg) equal yes.
19133 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19135         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19136         basename.
19138 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19140         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19141         (bench-string): ... here.
19142         (bench): Add bench-string.
19143         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19144         to *-benchset to reflect what they are.
19145         (benchset): Adjust.
19147         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19148         cos-inputs.
19150 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19152         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19153         __attribute__ ((__simd__)) for vector math function declarations.
19155 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19157         Fix typo in strncat, wcsncat manual entries
19158         * manual/string.texi (Copying and Concatenation): Fix typos in
19159         sample implementations of strncat and wcsncat, by having them use
19160         the old value of the destination length, not the new one.
19162 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19164         [BZ #16961]
19165         [BZ #16962]
19166         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19167         string on the stack for strtod.
19168         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19169         a string on the stack for strtof.
19170         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19171         constructing a string on the stack for strtold.
19172         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19173         __strtold_nan to GLIBC_PRIVATE.
19174         * math/test-nan-overflow.c: New file.
19175         * math/test-nan-payload.c: Likewise.
19176         * math/Makefile (tests): Add test-nan-overflow and
19177         test-nan-payload.
19179 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19181         Consistency about byte vs character in string.texi
19182         * manual/string.texi (String and Array Utilities):
19183         Distinguish more carefully among bytes, multibyte characters,
19184         and wide characters.  Use "byte" when talking about C 'char',
19185         to distinguish it more clearly from multibyte characters.
19186         Say "wide character" or "multibyte character" instead of
19187         "character", when a wide or multibyte character is intended.
19188         Similarly for "multibyte string" versus "string".
19189         Define these terms more carefully.
19191 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19193         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19194         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19195         Likewise.
19196         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19197         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19198         * sysdeps/sh/math_private.h: New file.
19199         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19200         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19201         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19202         long double function name.
19203         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19205         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19209         Remove __finitel, __isinfl, and __isnanl.
19210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19211         Likewise.
19212         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19214         Remove __finitel.
19215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19216         Likewise.
19217         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19219 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19221         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19222         installed libmvec_nonshared.a.
19224 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19226         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19227         (sysdep_routines): Likewise.
19228         (sysdep-rtld-routines): Likewise.
19229         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19230         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19231         * sysdeps/powerpc/Versions: Added new
19232         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19233         * sysdeps/powerpc/hwcapinfo.c: New file.
19234         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19235         and parse hwcap, hwcap2 and platform number information.
19236         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19237         to store HWCAP+HWCAP2 and platform number.
19238         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19239         for HWCAP+HWCAP2 and platform number in the TCB.
19240         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19241         the HWCAP, HWCAP2 and platform number in the TCB.
19242         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19243         (TLS_INIT_TP): Included calls to add the hwcap and
19244         at_platform values in the TCB in TP initialization.
19245         (TLS_DEFINE_INIT_TP): Likewise.
19246         (THREAD_GET_HWCAP): New macro.
19247         (THREAD_SET_HWCAP): Likewise.
19248         (THREAD_GET_AT_PLATFORM): Likewise.
19249         (THREAD_SET_AT_PLATFORM): Likewise.
19250         * sysdeps/powerpc/powerpc32/dl-machine.h:
19251         (dl_platform_init): New function that calls
19252         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19253         powerpc32.
19254         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19255         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19256         this functionality, static linking case.
19257         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19258         linking case.
19259         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19260         __parse_hwcap_and_convert_at_platform for the static linking case.
19261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19262         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19263         ABI list for GLIBC 2.23.
19264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19265         Likewise.
19266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19267         Likewise.
19269 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19271         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19272         * configure: Regenerate.
19273         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19274         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19276 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19278         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19279         * iconvdata/ibm933.c: Likewise.
19280         * iconvdata/ibm935.c: Likewise.
19281         * iconvdata/ibm937.c: Likewise.
19282         * iconvdata/ibm939.c: Likewise.
19284 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19286         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19287         pthread_join.
19288         * nptl/tst-cancel21.c (tf): Likewise.
19290 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19292         [BZ #19313]
19293         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19294         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19295         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19296         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19297         Likewise.
19298         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19299         Likewise.
19300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19301         Likewise.
19302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19305         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19306         unsigned long int with __CPU_MASK_TYPE.
19308 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19310         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19312 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19314         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19315         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19316         t512.x.
19317         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19319 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19321         [BZ #19214]
19322         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19323         argument to return extended model.  Update family and model
19324         with extended family and model when family == 0x0f.
19325         (init_cpu_features): Updated.
19327 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19329         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19330         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19332         * sysdeps/mach/hurd/mmap64.c: New file.
19334 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19336         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19337         rights for its main user thread in NEWTASK.
19339 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19341         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19342         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19344 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19346         [BZ #14259]
19347         * Makeconfig: Rename localedir to complocaledir.
19348         Rename inst_localedir to inst_complocaledir.
19349         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19350         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19351         * configure.ac: Use libc_cv_complocaledir.
19352         * configure: Regenerate.
19353         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19354         -DCOMPLOCALEDIR.
19355         * locale/findlocale.c: Use COMPLOCALEDIR.
19356         * locale/loadarchive.c: Likewise.
19357         * locale/programs/locale.c: Likewise.
19358         * locale/programs/localedef.c: Likewise.
19359         * locale/programs/locarchive.c: Likewise.
19360         * localedata/Makefile: Use inst_complocaledir.
19361         * sysdeps/gnu/configure: Regenerate.
19362         * sysdeps/hppa/configure: Regenerate.
19363         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19364         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19366         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19367         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19368         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19369         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19371 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19373         [BZ #19058]
19374         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19375         AS_NEEDED.
19376         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19377         workaround.
19378         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19379         libmvec-static-only-routines): Added new file.
19380         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19382 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19384         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19385         of interrupted RPC instead of restoring it.
19387         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19388         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19389         libc_hidden_def.
19390         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19391         into initialized data instead of common. Define rtld_hidden_data_def.
19392         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19393         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19394         libc_hidden_def.
19395         (if_freenameindex): Add libc_hidden_weak.
19396         (if_nameindex): Add libc_hidden_weak.
19397         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19398         __open64.
19399         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19400         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19401         * sysdeps/mach/nanosleep.c: Include <time.h>
19402         (__nanosleep): Rename to __libc_nanosleep.
19403         (__nanosleep): Add weak_alias.
19404         (nanosleep): Update alias.
19406 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19408         * stdlib/strtod_nan.c: New file.
19409         * stdlib/strtod_nan_double.h: Likewise.
19410         * stdlib/strtod_nan_float.h: Likewise.
19411         * stdlib/strtod_nan_main.c: Likewise.
19412         * stdlib/strtod_nan_narrow.h: Likewise.
19413         * stdlib/strtod_nan_wide.h: Likewise.
19414         * stdlib/strtof_nan.c: Likewise.
19415         * stdlib/strtold_nan.c: Likewise.
19416         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19417         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19418         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19419         * wcsmbs/wcstod_nan.c: Likewise.
19420         * wcsmbs/wcstof_nan.c: Likewise.
19421         * wcsmbs/wcstold_nan.c: Likewise.
19422         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19423         strtold_nan.
19424         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19425         wcstof_nan.
19426         * include/stdlib.h (__strtof_nan): Declare and use
19427         libc_hidden_proto.
19428         (__strtod_nan): Likewise.
19429         (__strtold_nan): Likewise.
19430         (__wcstof_nan): Likewise.
19431         (__wcstod_nan): Likewise.
19432         (__wcstold_nan): Likewise.
19433         * include/wchar.h (____wcstoull_l_internal): Declare.
19434         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19435         (____strtoull_l_internal): Remove declaration.
19436         (STRTOF_NAN): Define macro.
19437         (SET_MANTISSA): Remove macro.
19438         (STRTOULL): Likewise.
19439         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19440         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19441         (STRTOF_NAN): Define macro.
19442         (SET_MANTISSA): Remove macro.
19443         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19444         (SET_MANTISSA): Remove macro.
19445         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19446         macro.
19447         (SET_MANTISSA): Remove macro.
19448         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19449         macro.
19450         (SET_MANTISSA): Remove macro.
19451         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19452         (SET_MANTISSA): Remove macro.
19453         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19454         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19455         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19457         [BZ #19266]
19458         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19459         upper case and lower case letters inside NAN(), not using TOLOWER.
19460         * stdlib/tst-strtod-nan-locale-main.c: New file.
19461         * stdlib/tst-strtod-nan-locale.c: Likewise.
19462         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19463         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19464         Depend on $(gen-locales).
19465         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19466         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19467         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19468         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19469         Depend on $(gen-locales).
19470         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19472 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19474         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19476         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19478         __finitel, __isinfl, and __isnanl.
19479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19480         Likewise.
19481         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19483         __finitel.
19484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19485         Likewise.
19486         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19488 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19490         * malloc/memusage.c (me): Remove redundant getenv call.
19492 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19494         [BZ #19143]
19495         [BZ #19164]
19496         * nptl/check-cpuset.h: Remove.
19497         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19498         Remove CPU set size check.
19499         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19500         Likewise.
19501         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19502         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19503         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19504         (__pthread_setaffinity_new): Remove CPU set size check.
19505         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19506         (__kernel_cpumask_size): Remove.
19507         (__sched_setaffinity_new): Remove CPU set size check.
19508         * manual/threads.texi (Default Thread Attributes): Remove stale
19509         reference to check_cpuset_attr, determine_cpumask_size in comment.
19510         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19511         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19512         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19513         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19514         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19515         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19516         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19517         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19518         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19519         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19520         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19521         skeleton test file.
19522         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19523         tst-affinity-pid.
19525 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19527         * scripts/update-abilist.sh: New file.
19528         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19529         * Makerules (update-all-abi-%, update-all-abi)
19530         (subdir_update-all-abi): New targets.
19531         * elf/Makefile (update-all-abi): New target.
19533 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19535         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19536         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19537         (__libc_lock_define_initialized): Use it.
19538         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19539         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19540         * malloc/malloc.c (main_arena): Likewise.
19541         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19542         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19544 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19546         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19547         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19548         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19549         (PTRACE_O_MASK): Update value.
19550         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19551         New value in enum __ptrace_setoptions.
19552         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19553         (PTRACE_O_MASK): Update value.
19554         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19555         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19556         (PTRACE_O_MASK): Update value.
19557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19558         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19559         (PTRACE_O_MASK): Update value.
19560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19561         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19562         (PTRACE_O_MASK): Update value.
19563         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19564         New value in enum __ptrace_setoptions.
19565         (PTRACE_O_MASK): Update value.
19566         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19567         New value in enum __ptrace_setoptions.
19568         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19569         (PTRACE_O_MASK): Update value.
19571         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19572         New macro.
19573         (PACKET_AUXDATA): Likewise.
19574         (PACKET_ORIGDEV): Likewise.
19575         (PACKET_VERSION): Likewise.
19576         (PACKET_HDRLEN): Likewise.
19577         (PACKET_RESERVE): Likewise.
19578         (PACKET_TX_RING): Likewise.
19579         (PACKET_LOSS): Likewise.
19580         (PACKET_VNET_HDR): Likewise.
19581         (PACKET_TX_TIMESTAMP): Likewise.
19582         (PACKET_TIMESTAMP): Likewise.
19583         (PACKET_FANOUT): Likewise.
19584         (PACKET_TX_HAS_OFF): Likewise.
19585         (PACKET_QDISC_BYPASS): Likewise.
19586         (PACKET_ROLLOVER_STATS): Likewise.
19587         (PACKET_FANOUT_DATA): Likewise.
19588         (PACKET_MR_UNICAST): Likewise.
19590         [BZ #19242]
19591         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19592         (TOUPPER): Likewise.
19593         * stdlib/tst-strtol-locale-main.c: New file.
19594         * stdlib/tst-strtol-locale.c: Likewise.
19595         * stdlib/Makefile (tests): Add tst-strtol-locale.
19596         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19597         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19598         Depend on $(gen-locales).
19599         * wcsmbs/tst-wcstol-locale.c: New file.
19600         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19601         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19602         tr_TR.ISO-8859-9.
19603         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19604         Depend on $(gen-locales).
19606 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19608         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19609         __glibc_likely instead of __builtin_expect.  After falling back to
19610         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19611         system interface to register the code pages as occupied.
19613 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19615         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19616         [!ARM_MATH_PRIVATE_H].
19617         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19618         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19619         [!HPPA_MATH_PRIVATE_H].
19620         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19621         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19622         to [!I386_MATH_PRIVATE_H].
19623         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19624         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19625         Change guard to [!M68K_MATH_PRIVATE_H].
19626         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19627         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19628         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19629         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19630         macro.
19631         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19632         [!MIPS_MATH_PRIVATE_H].
19633         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19634         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19635         [!NIO2_MATH_PRIVATE_H].
19636         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19637         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19638         [!TILE_MATH_PRIVATE_H].
19639         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19641         [BZ #15421]
19642         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19643         initialize with 0 and define as weak alias of __signgam.
19644         * include/math.h [!_ISOMAC] (__signgam): Declare.
19645         * math/Makefile (libm-calls): Add w_lgamma_compat.
19646         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19647         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19648         test-signgam-ullong-init.
19649         (tests-static): Add test-signgam-uchar-static,
19650         test-signgam-uchar-init-static, test-signgam-uint-static,
19651         test-signgam-uint-init-static, test-signgam-ullong-static and
19652         test-signgam-ullong-init-static.
19653         (CFLAGS-test-signgam-uchar.c): New variable.
19654         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19655         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19656         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19657         (CFLAGS-test-signgam-uint.c): Likewise.
19658         (CFLAGS-test-signgam-uint-init.c): Likewise.
19659         (CFLAGS-test-signgam-uint-static.c): Likewise.
19660         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19661         (CFLAGS-test-signgam-ullong.c): Likewise.
19662         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19663         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19664         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19665         * math/Versions (libm): Add GLIBC_2.23.
19666         * math/lgamma-compat.h: New file.
19667         * math/test-signgam-main.c: Likewise.
19668         * math/test-signgam-uchar-init-static.c: Likewise.
19669         * math/test-signgam-uchar-init.c: Likewise.
19670         * math/test-signgam-uchar-static.c: Likewise.
19671         * math/test-signgam-uchar.c: Likewise.
19672         * math/test-signgam-uint-init-static.c: Likewise.
19673         * math/test-signgam-uint-init.c: Likewise.
19674         * math/test-signgam-uint-static.c: Likewise.
19675         * math/test-signgam-uint.c: Likewise.
19676         * math/test-signgam-ullong-init-static.c: Likewise.
19677         * math/test-signgam-ullong-init.c: Likewise.
19678         * math/test-signgam-ullong-static.c: Likewise.
19679         * math/test-signgam-ullong.c: Likewise.
19680         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19681         wrapper of w_lgamma_main.c.
19682         * math/w_lgamma_compat.c: New file.
19683         * math/w_lgamma_compatf.c: Likewise.
19684         * math/w_lgamma_compatl.c: Likewise.
19685         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19686         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19687         defining compatibility symbols.
19688         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19689         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19690         wrapper of w_lgammaf_main.c.
19691         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19692         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19693         defining compatibility symbols.
19694         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19695         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19696         wrapper of w_lgammal_main.c.
19697         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19698         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19699         defining compatibility symbols.
19700         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19701         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19702         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19703         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19704         <lgamma-compat.h>.
19705         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19706         (__ieee754_gamma): Define as alias.
19707         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19708         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19709         <lgamma-compat.h>.
19710         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19711         (__ieee754_gammaf): Define as alias.
19712         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19713         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19714         <lgamma-compat.h>.
19715         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19716         (__ieee754_gammal): Define as alias.
19717         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19718         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19719         <math/w_lgamma_compat.c>.
19720         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19721         Define as alias of __lgamma_compat and use in defining lgammal.
19722         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19723         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19724         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19725         (USE_AS_COMPAT): New macro.
19726         (LGAMMA_OLD_VER): Undefine and redefine.
19727         (lgammal): Do not define here.
19728         (gammal): Only define here if [GAMMA_ALIAS].
19729         * conform/linknamespace.pl (@whitelist): Remove signgam.
19730         * sysdeps/nacl/libm.abilist: Update.
19731         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19732         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19733         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19734         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19735         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19736         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19737         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19738         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19739         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19740         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19741         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19742         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19744         Likewise.
19745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19746         Likewise.
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19748         Likewise.
19749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19750         Likewise.
19751         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19752         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19753         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19754         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19755         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19757         Likewise.
19758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19759         Likewise.
19760         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19761         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19762         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19764 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19766         [BZ #16364]
19767         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19768         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19770 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19772         * sysdeps/s390/fpu/bits/mathinline.h:
19773         Use __asm__ [__volatile__] instead of asm [volatile].
19774         * sysdeps/s390/abort-instr.h: Likewise.
19775         * sysdeps/s390/atomic-machine.h: Likewise.
19776         * sysdeps/s390/bits/string.h: Likewise.
19777         * sysdeps/s390/dl-tls.h: Likewise.
19778         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19779         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19780         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19781         * sysdeps/s390/fpu/fesetround.c: Likewise.
19782         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19783         * sysdeps/s390/fpu/s_fma.c: Likewise.
19784         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19785         * sysdeps/s390/memusage.h: Likewise.
19786         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19787         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19788         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19789         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19790         * sysdeps/s390/nptl/tls.h: Likewise.
19791         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19792         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19793         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19794         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19795         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19796         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19797         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19798         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19799         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19800         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19801         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19802         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19803         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19804         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19805         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19806         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19807         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19808         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19809         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19811         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19813         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19815 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19816             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19818         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19819         Add lwarx hint, and use macro for acquire instruction.
19820         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19821         Likewise.
19822         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19823         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19824         update to use new atomic macros.
19826 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19828         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19829         (__lll_trylock_elision): Fix setting of adapt_count.
19830         * sysdeps/unix/sysv/linux/powerpc/htm.h
19831         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19832         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19833         (_ABORT_SYSCALL): Renumber, and clarify definition.
19834         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19836 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19838         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19839         after system headers to prevent MIN/MAX redefinition.  Define
19840         HAVE_ALLOCA to preserve builtin alloca usage.
19842 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19844         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19845         static and don't set or restore rounding.
19846         (__cos)[IN_SINCOS]: Likewise.
19847         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19848         (__sincos): Set and restore rounding mode.  Remove check for infinite
19849         or NaN input.
19851         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19853         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19854         as used.
19856 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19858         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19860 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19862         * config.make.in (have-glob-dat-reloc): New.
19863         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19864         target supports GLOB_DAT relocaton. AC_SUBST.
19865         * configure: Regenerated.
19866         * elf/Makefile (tests): Add tst-prelink.
19867         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19868         (tst-prelink-ENV): New.
19869         ($(objpfx)tst-prelink-conflict.out): Likewise.
19870         ($(objpfx)tst-prelink-cmp.out): Likewise.
19871         * sysdeps/x86/tst-prelink.c: Moved to ...
19872         * elf/tst-prelink.c: Here.
19873         * sysdeps/x86/tst-prelink.exp: Moved to ...
19874         * elf/tst-prelink.exp: Here.
19875         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19876         (tst-prelink-ENV): Removed.
19877         ($(objpfx)tst-prelink-conflict.out): Likewise.
19878         ($(objpfx)tst-prelink-cmp.out): Likewise.
19879         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19881 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #14551]
19884         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19885         (__mpn_construct_long_double): If high part overflows to infinity,
19886         set errno and recompute overflowed result of the correct sign.
19887         * sysdeps/ieee754/ldbl-128ibm/Makefile
19888         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19889         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19890         $(libm).
19891         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19893 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19895         [BZ #15479]
19896         [BZ #19238]
19897         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19898         floating-point state after first operation on input.  Restore full
19899         state rather than just rounding mode.
19900         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19901         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19904         [BZ #19235]
19905         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19906         add 0.5 to integer arguments.
19907         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19908         Likewise.
19909         (.LC2): New object.
19911 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19913         * scripts/pylintrc (reports): Set to no.
19915 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19917         * elf/dl-load.c (open_verify): Take new argument FD.
19918         Skip __open call if passed FD is not -1.
19919         (_dl_map_object, open_path): Update callers.
19920         * elf/dl-sysdep-open.h: New file.
19921         * elf/dl-load.c: Include it.
19922         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19923         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19924         * sysdeps/nacl/dl-sysdep-open.h: New file.
19925         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19926         from libc to rtld.
19928 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19930         [BZ #19228]
19931         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19932         and restore full floating-point state.
19933         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19934         Likewise.
19935         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19936         Likewise.
19937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19938         Likewise.
19939         * math/test-nearbyint-except-2.c: New file.
19940         * math/Makefile (tests): Add test-nearbyint-except-2.
19942 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19944         [BZ #19178]
19945         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19946         (tst-prelink-ENV): New.
19947         ($(objpfx)tst-prelink-conflict.out): Likewise.
19948         ($(objpfx)tst-prelink-cmp.out): Likewise.
19949         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19950         * sysdeps/x86/tst-prelink.c: New file.
19951         * sysdeps/x86/tst-prelink.exp: Likewise.
19953 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19955         * math/auto-libm-test-in: Add another test of pow.
19956         * math/auto-libm-test-out: Regenerated.
19957         * math/libm-test.inc (pow_test_data): Add another test.
19959 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19961         [BZ #19219]
19962         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19963         weak_alias to nearbyintl.
19965 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19967         * sysdeps/aarch64/bits/string.h: New file.
19968         (_STRING_ARCH_unaligned): Define.
19970 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19972         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19973         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19974         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19975         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19978 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19980         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19981         for original name of the DSO.  Add it to the name list of the DSO
19982         if it is actually given.
19983         (_dl_map_object): Keep track of whether an audit module rewrote
19984         the file name.  If yes, pass the original name to
19985         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19986         debugging is enabled, log the change of the file name.
19987         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19988         _dl_map_object_from_fd.
19989         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19990         * elf/tst-audit11.c: New file
19991         * elf/tst-auditmod11.c: New file.
19992         * elf/tst-audit11mod1.c: New file.
19993         * elf/tst-audit11mod2.c: New file.
19994         * elf/tst-audit11mod2.map: New file.
19995         * elf/tst-audit12.c: New file
19996         * elf/tst-auditmod12.c: New file.
19997         * elf/tst-audit12mod1.c: New file.
19998         * elf/tst-audit12mod2.c: New file.
19999         * elf/tst-audit12mod2.map: New file.
20000         * elf/tst-audit12mod3.c: New file.
20002 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20004         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20005         Don't create weak aliases,
20006         because versioned symbols are created later.
20007         * sysdeps/s390/s390-32/setjmp.S
20008         (setjmp, _setjmp): Remove weak and rename to an unique name
20009         in SHARED case due to existing versioned symbols.
20010         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20011         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20012         (getcontext): Create weak alias only in non SHARED case.
20013         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20015 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20017         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20018         (__ASSUME_*_SYSCALL) Define new macros.
20019         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20020         Remove socketcall syscalls.
20021         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20022         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20023         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20024         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20025         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20026         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20028 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20030         [BZ #12926]
20031         Terminate process on invalid netlink response.
20032         * sysdeps/unix/sysv/linux/netlinkaccess.h
20033         (__netlink_assert_response): Declare.
20034         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20035         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20036         (sysdep_routines): Add netlink_assert_response.
20037         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20038         __netlink_assert_response.
20039         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20040         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20041         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20042         __netlink_assert_response.
20044 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20046         [BZ #19178]
20047         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20048         (RTYPE_CLASS_PLT): Likewise.
20049         (RTYPE_CLASS_COPY): Likewise.
20050         (RTYPE_CLASS_TLS): Likewise.
20051         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20052         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20053         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20054         DL_DEBUG_PRELINK.
20056 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20058         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20059         calls with argument -0.5.
20060         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20062         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20063         (libc_cv_z_nodlopen): Likewise.
20064         (libc_cv_z_initfirst): Likewise.
20065         * configure: Regenerated.
20067 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20069         Simplify abilist format to be line-based.
20070         * scripts/abilist.awk: Collect descriptors in the descs variable.
20071         (emit): Write descs variable and sort it
20072         externally, with sort.
20073         * sysdeps/**/*.abilist: Convert to new format.
20075 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20077         [BZ #11460]
20078         * io/Makefile (routines): Add fts64.
20079         (tests): Add tst-fts and tst-fts-lfs.
20080         (CFLAGS-fts64.c): New.
20081         * io/Versions (GLIBC_2.23): New.
20082         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20083         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20084         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20085         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20086         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20087         (FTSENT64): Likewise.
20088         (fts64_children): Likewise.
20089         (fts64_close): Likewise.
20090         (fts64_open): Likewise.
20091         (fts64_read): Likewise.
20092         (fts64_set): Likewise.
20093         * io/fts64.c: New file.
20094         * io/tst-fts.c: New test.
20095         * io/tst-fts-lfs.c: Likewise.
20096         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20097         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20098         fts64_set.
20099         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20100         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20101         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20102         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20103         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20104         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20105         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20106         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20107         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20108         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20109         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20110         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20111         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20113         Likewise.
20114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20115         Likewise.
20116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20118         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20119         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20120         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20121         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20122         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20125         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20126         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20127         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20128         * sysdeps/wordsize-64/fts.c: New file.
20129         * sysdeps/wordsize-64/fts64.c: Likewise.
20130         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20131         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20132         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20133         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20135 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20137         * math/libm-test.inc (NON_FINITE): New macro.
20138         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20139         * math/gen-libm-test.pl (show_exceptions): Add argument
20140         $non_finite.
20141         (parse_args): Update call to show_exceptions.
20142         * math/test-math-finite.h: New file.
20143         * math/test-math-no-finite.h: Likewise.
20144         * math/test-double-finite.c: Likewise.
20145         * math/test-float-finite.c: Likewise.
20146         * math/test-ldouble-finite.c: Likewise.
20147         * math/test-double.c: Include "test-math-no-finite.h".
20148         * math/test-float.c: Include "test-math-no-finite.h".
20149         * math/test-ldouble.c: Include "test-math-no-finite.h".
20150         * math/test-math-inline.h (TEST_FINITE): New macro.
20151         * math/test-math-vector.h (TEST_FINITE): Likewise.
20152         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20153         (libm-tests): Add test-float-finite and test-double-finite.
20154         ($(objpfx)test-float-finite.o): New dependency on
20155         $(objpfx)libm-test.stmp.
20156         ($(objpfx)test-double-finite.o): Likewise.
20157         ($(objpfx)test-ldouble-finite.o): Likewise.
20158         (libm-test-no-inline-cflags): New variable.
20159         (libm-test-finite-cflags): Likewise.
20160         (CFLAGS-test-float-finite.c): Likewise.
20161         (CFLAGS-test-double-finite.c): Likewise.
20162         (CFLAGS-test-ldouble-finite.c): Likewise.
20163         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20164         (CFLAGS-test-double.c): Likewise.
20165         (CFLAGS-test-ldouble.c): Likewise.
20167 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20169         * io/fcntl.c (__fcntl): Add ... to prototype.
20170         * misc/ioctl.c (__ioctl): Likewise.
20171         * misc/syscall.c (syscall): Likewise.
20173 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20175         * scripts/list-fixed-bugs.py: New file.
20177         [BZ #19213]
20178         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20179         returned for argument 1.
20180         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20181         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20182         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20183         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20184         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20185         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20187         [BZ #19211]
20188         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20189         __USE_XOPEN], not if [!__USE_ISOC99].
20190         (lgammaf): Likewise.
20191         (lgammal): Likewise.
20192         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20193         (gammaf): Likewise.
20194         (gammal): Likewise.
20195         * math/test-signgam-finite-c11.c: New file.
20196         * math/test-signgam-finite-c99.c: Likewise.
20197         * math/test-signgam-finite.c: Likewise.
20198         * math/Makefile (tests): Add test-signgam-finite,
20199         test-signgam-finite-c99 and test-signgam-finite-c11.
20200         (CFLAGS-test-signgam-finite.c): New variable.
20201         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20202         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20204         [BZ #19212]
20205         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20206         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20207         500].
20208         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20209         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20210         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20211         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20212         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20213         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20214         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20215         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20216         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20217         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20219         [BZ #19209]
20220         * math/bits/math-finite.h (ldexp): Remove declaration.
20221         (ldexpf): Likewise.
20222         (ldexpl): Likewise.
20224         [BZ #19205]
20225         * math/bits/math-finite.h (acosf): Condition declaration on
20226         [__USE_ISOC99].
20227         (acosl): Likewise.
20228         (acoshf): Likewise.
20229         (acoshl): Likewise.
20230         (asinf): Likewise.
20231         (asinl): Likewise.
20232         (atan2f): Likewise.
20233         (atan2l): Likewise.
20234         (atanhf): Likewise.
20235         (atanhl): Likewise.
20236         (coshf): Likewise.
20237         (coshl): Likewise.
20238         (expf): Likewise.
20239         (expl): Likewise.
20240         (fmodf): Likewise.
20241         (fmodl): Likewise.
20242         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20243         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20244         (j0l): Likewise.
20245         (y0f): Likewise.
20246         (y0l): Likewise.
20247         (j1f): Likewise.
20248         (j1l): Likewise.
20249         (y1f): Likewise.
20250         (y1l): Likewise.
20251         (jnf): Likewise.
20252         (jnl): Likewise.
20253         (ynf): Likewise.
20254         (ynl): Likewise.
20255         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20256         (lgammal_r): Likewise.
20257         (__lgamma_r_finite): New declaration.
20258         (__lgammaf_r_finite): Likewise.
20259         (__lgammal_r_finite): Likewise.
20260         (lgamma): Use __lgamma_r_finite.
20261         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20262         __lgammaf_r_finite.
20263         (lgammal): Condition definition on [__USE_ISOC99].  Use
20264         __lgammal_r_finite.
20265         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20266         __lgamma_r_finite.
20267         (gammaf): Condition definition on [__USE_ISOC99].  Use
20268         __lgammaf_r_finite.
20269         (gammal): Condition definition on [__USE_ISOC99].  Use
20270         __lgammal_r_finite.
20271         (logf): Condition declaration on [__USE_ISOC99].
20272         (logl): Likewise.
20273         (log10f): Likewise.
20274         (log10l): Likewise.
20275         (ldexpf): Likewise.
20276         (ldexpl): Likewise.
20277         (powf): Likewise.
20278         (powl): Likewise.
20279         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20280         __USE_ISOC99].
20281         (remainderf): Condition declaration on [__USE_ISOC99].
20282         (remainderl): Likewise.
20283         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20284         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20285         (scalbl): Likewise.
20286         (sinhf): Condition declaration on [__USE_ISOC99].
20287         (sinhl): Likewise.
20288         (sqrtf): Likewise.
20289         (sqrtl): Likewise.
20291 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20293         * sysdeps/arm/atomic-machine.h
20294         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20295         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20296         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20297         Remove conditional code.
20298         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20299         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20300         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20301         Change conditional to [__ASSEMBLER__].
20302         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20303         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20304         [!__ASSEMBLER__].
20305         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20306         code.
20307         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20308         conditional macro definitions.
20309         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20310         (__arch_compare_and_exchange_val_16_acq): Likewise.
20311         (__arch_compare_and_exchange_val_32_acq): Likewise.
20312         (atomic_exchange_and_add): Likewise.
20313         (atomic_add): Likewise.
20314         (atomic_add_negative): Likewise.
20315         (atomic_add_zero): Likewise.
20316         (atomic_bit_set): Likewise.
20317         (atomic_bit_test_set): Likewise.
20318         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20319         code unconditional.
20320         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20322         * math/test-math-errno.h: New file.
20323         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20324         empty.
20325         (TEST_ERRNO): New macro.
20326         (TEST_EXCEPTIONS): Likewise.
20327         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20328         (TEST_EXCEPTIONS): Likewise.
20329         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20330         * math/test-double.c: Include "test-math-errno.h".
20331         * math/test-float.c: Likewise.
20332         * math/test-ldouble.c: Likewise.
20333         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20334         code unconditional.
20335         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20336         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20337         unconditional.
20338         (test_errno): Only run code if TEST_ERRNO.
20339         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20341 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20343         * nptl/tst-once5.cc: Remove attribution.
20345 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20347         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20348         sqrt, tan, tanh, y0, y1 and yn.
20349         * math/auto-libm-test-out: Regenerated.
20350         * math/libm-test.inc (scalb_test_data): Add more tests.
20351         (scalbn_test_data): Likewise.
20352         (scalbln_test_data): Likewise.
20353         (signbit_test_data): Likewise.
20354         (sin_test_data): Likewise.
20355         (sincos_test_data): Likewise.
20356         (sinh_test_data): Likewise.
20357         (sqrt_test_data): Likewise.
20358         (tan_test_data): Likewise.
20359         (tanh_test_data): Likewise.
20360         (tgamma_test_data): Likewise.
20361         (y0_test_data): Likewise.
20362         (y1_test_data): Likewise.
20363         (yn_test_data): Likewise.
20364         (significand_test_data): Likewise.
20365         * sysdeps/i386/fpu/libm-test-ulps: Update.
20367 2015-11-03  David Kastrup  <dak@gnu.org>
20369         [BZ #18604]
20370         * assert/assert.h (assert): Don't macro-expand failed assertion
20371         expression in error message.
20372         * malloc/malloc.c (assert): Likewise.
20374 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20376         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20377         test.
20378         * configure: Regenerated.
20380 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20382         * math/libm-test.inc (modf_test_data): Add more tests.
20383         (nearbyint_test_data): Likewise.
20384         (nextafter_test_data): Likewise.
20385         (nexttoward_test_data): Likewise.
20386         (pow_test_data): Likewise.
20387         (remainder_test_data): Likewise.
20388         (remquo_test_data): Likewise.
20389         (rint_test_data): Likewise.
20391         [BZ #19201]
20392         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20393         Check for zero remainder in case of large exponents and ensure
20394         correct sign of result in that case.
20395         * math/libm-test.inc (remainder_test_data): Add more tests.
20397         [BZ #6799]
20398         * math/s_nextafter.c: Include <errno.h>.
20399         (__nextafter): Set errno on overflow and underflow.
20400         * math/s_nexttowardf.c: Include <errno.h>.
20401         (__nexttowardf): Set errno on overflow and underflow.
20402         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20403         (__nextafterl): Set errno on overflow and underflow.
20404         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20405         (__nexttoward): Set errno on overflow and underflow.
20406         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20407         (__nexttowardf): Set errno on overflow and underflow.
20408         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20409         (__nextafterf): Set errno on overflow and underflow.
20410         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20411         (__nextafterl): Set errno on overflow and underflow.
20412         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20413         (__nexttoward): Set errno on overflow and underflow.
20414         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20415         (__nexttowardf): Set errno on overflow and underflow.
20416         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20417         (__nextafterl): Set errno on overflow and underflow.
20418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20419         (__nexttoward): Set errno on overflow and underflow.
20420         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20421         (__nexttowardf): Set errno on overflow and underflow.
20422         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20423         (__nexttoward): Set errno on overflow and underflow.
20424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20425         (__nexttowardf): Set errno on overflow and underflow.
20426         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20427         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20428         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20429         (__nextafterl): Set errno on overflow and underflow.
20430         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20431         setting to be missing on overflow.  Add more tests.
20432         (nexttoward_test_data): Likewise.
20434         * configure.ac (libc_cv_initfini_array): Remove configure test.
20435         * configure: Regenerated.
20437 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20439         [BZ #19189]
20440         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20441         non-finite argument handle arguments with negative sign.
20443         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20444         result from infinite argument.
20445         (j1_test_data): Likewise.
20446         (jn_test_data): Likewise.
20447         (y0_test_data): Likewise.
20448         (y1_test_data): Likewise.
20449         (yn_test_data): Likewise.
20451         [BZ #16171]
20452         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20453         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20454         * math/w_remainderf.c (dremf): Define as weak alias of
20455         __remainderf.
20456         * math/w_remainderl.c (dreml): Define as weak alias of
20457         __remainderl.
20458         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20459         __remainder.
20460         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20461         __remainderf.
20462         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20463         __remainderl.
20464         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20465         weak alias of remainderl.
20466         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20467         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20468         alias of __remainder.
20469         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20470         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20471         strong alias of __remainderl.
20472         (dreml): Use long_double_symbol.
20473         * math/Makefile (libm-calls): Remove w_drem.
20474         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20475         (CFLAGS-nldbl-drem.c): Remove variable.
20476         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20477         * math/w_drem.c: Remove file.
20478         * math/w_dremf.c: Likewise.
20479         * math/w_dreml.c: Likewise.
20480         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20481         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20482         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20484         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20485         * sysdeps/i386/configure: Regenerated.
20486         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20487         * sysdeps/x86_64/configure: Regenerated.
20489         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20490         test.
20491         (libc_cv_visibility_attribute): Likewise.
20492         (libc_cv_protected_data): Test unconditionally.
20493         (libc_cv_broken_visibility_attribute): Remove configure test.
20494         (libc_cv_have_sdata_section): Test unconditionally.
20495         * configure: Regenerated.
20497         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20498         * include/scratch_buffer.h: Include <stddef.h> instead of
20499         <libc-internal.h>.
20500         (struct scratch_buffer): Use max_align_t instead of
20501         libc_max_align_t.
20503 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20505         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20506         instead of extend_alloca.  Change control flow to avoid a goto.
20507         Remove assert which is trivially always true.
20509 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20511         [BZ #16068]
20512         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20513         (FE_ALL_EXCEPT_X86): New macro.
20514         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20515         FE_ALL_EXCEPT.  Ensure precision control is included in
20516         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20517         handle "denormal operand exception" and clear FZ and DAZ bits.
20518         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20519         (FE_ALL_EXCEPT_X86): New macro.
20520         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20521         FE_ALL_EXCEPT.  Ensure precision control is included in
20522         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20523         handle "denormal operand exception" and clear FZ and DAZ bits.
20524         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20525         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20526         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20527         test-fenv-x87 and test-fenv-sse-2.
20528         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20530         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20531         * math/test-double.h (BUILD_COMPLEX): New macro.
20532         * math/test-float.h (BUILD_COMPLEX): Likewise.
20533         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20535         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20536         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20537         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20539         instead of DBL_DENORM_MIN in comment.
20540         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20541         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20543         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20545         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20547 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20549         [BZ #19048]
20550         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20551         attached_threads member.
20552         (main_arena): Initialize attached_threads.
20553         * malloc/arena.c (list_lock): Update comment.
20554         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20555         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20556         (deattach_arena): New function.
20557         (_int_new_arena): Initialize arena reference count and deattach
20558         replaced arena.
20559         (get_free_list, reused_arena): Update reference count and deattach
20560         replaced arena.
20561         (arena_thread_freeres): Update arena reference count and only put
20562         unreferenced arenas on the free list.
20564 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20566         [BZ #19181]
20567         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20568         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20569         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20570         * math/test-fenv-clear-main.c: New file.
20571         * math/test-fenv-clear.c: Likewise.
20572         * math/Makefile (tests): Add test-fenv-clear.
20573         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20574         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20575         test-fenv-clear-sse.
20576         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20578         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20579         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20580         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20582 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20584         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20585         static libc.
20587 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20589         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20590         test.
20591         * sysdeps/i386/configure: Regenerated.
20592         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20593         test.
20594         * sysdeps/x86_64/configure: Regenerated.
20595         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20597         memset-avx2 unconditionally instead of conditionally on
20598         [$(config-cflags-avx2) = yes].
20599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20600         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20601         unconditional.
20602         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20603         * sysdeps/x86_64/multiarch/memset_chk.S
20604         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20605         to [IS_IN (libc) && SHARED].
20607 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20609         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20610         configure test.
20611         * sysdeps/arm/configure: Regenerated.
20612         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20613         Define variable if not already defined.
20615         [BZ #17404]
20616         * sysdeps/mips/atomic-machine.h
20617         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20618         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20619         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20621         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20622         unconditional.
20623         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20624         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20625         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20626         unconditional.
20627         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20628         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20629         unconditional.
20630         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20631         * stdlib/setenv.c
20632         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20633         code unconditional.
20634         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20635         Remove conditional code.
20636         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20637         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20638         unconditional.
20639         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20640         code.
20641         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20642         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20643         unconditional.
20644         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20645         code.
20646         * sysdeps/ieee754/ldbl-128/k_tanl.c
20647         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20648         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20650         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20651         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20652         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20653         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20654         unconditional.
20655         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20656         code.
20657         * sysdeps/ieee754/ldbl-96/k_tanl.c
20658         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20659         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20661         * nptl/tst-initializers1-c11.c: New file.
20662         * nptl/tst-initializers1-gnu11.c: Likewise.
20663         * nptl/Makefile (tests): Add these new tests.
20664         (CFLAGS-tst-initializers1-c11.c): New variable.
20665         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20667         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20668         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20669         instead of -std=gnu99.
20670         * configure.ac (systemtap): Test with -std=gnu11 instead of
20671         -std=gnu99.
20672         * configure: Regenerated.
20673         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20674         in compilation command in comment.
20676         * sysdeps/nptl/configure.ac: Remove file.
20677         * sysdeps/nptl/configure: Remove generated file.
20678         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20679         * configure: Regenerated.
20680         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20681         * config.make.in (have-forced-unwind): Remove variable.
20682         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20683         unconditional.
20684         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20685         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20686         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20687         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20688         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20689         unconditional.
20691 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20693         [BZ #19174]
20694         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20695         .skip_lock_out_of_tbegin_retries.
20696         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20697         (__lll_lock_elision): Likewise, and respect a value of
20698         try_tbegin <= 0.
20700 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20702         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20703         statement.
20705 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20707         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20708         variable.
20709         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20710         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20712         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20713         of -std=c1x -D_ISOC11_SOURCE.
20715         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20716         * configure: Regenerated.
20717         * manual/install.texi (Tools for Compilation): Document
20718         requirement for GCC 4.7 or later.
20719         * INSTALL: Regenerated.
20721 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20723         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20724         on CNT to a conditional jump to 'puntdata'.
20726 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20728         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20729         (libc_cv_gcc_tls_model_attr): Likewise.
20730         * configure: Regenerated.
20732         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20733         * configure: Regenerated.
20734         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20736 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20738         * configure.ac (old_glibc_headers): Remove configure test.
20739         * configure: Regenerated.
20740         * config.make.in (old-glibc-headers): Remove variable.
20741         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20742         (install): Remove dependency on remove-old-headers.
20743         (headers2_0): Remove variable.
20744         (remove-old-headers): Remove rule.
20746         * configure.ac (libc_cv_dot_text): Remove configure test.
20747         (libc_cv_asm_set_directive): Use .text instead of
20748         ${libc_cv_dot_text} in configure test.
20749         * configure: Regenerated.
20751 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20753         [BZ #19168]
20754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20756 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20758         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20759         not support static linking.
20760         * configure: Regenerate.
20762 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20764         * math/libm-test.inc (check_float_internal): Do not special-case
20765         errors up to 0.5 ulp.
20767         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20768         log2.
20769         * math/auto-libm-test-out: Regenerated.
20770         * math/libm-test.inc (MAX_EXP): New macro.
20771         (ilogb_test_data): Add more tests.
20772         (isfinite_test_data): Likewise.
20773         (isgreater_test_data): Likewise.
20774         (isgreaterequal_test_data): Likewise.
20775         (isinf_test_data): Likewise.
20776         (isless_test_data): Likewise.
20777         (islessequal_test_data): Likewise.
20778         (islessgreater_test_data): Likewise.
20779         (isnan_test_data): Likewise.
20780         (isnormal_test_data): Likewise.
20781         (issignaling_test_data): Likewise.
20782         (isunordered_test_data): Likewise.
20783         (j0_test_data): Likewise.
20784         (j1_test_data): Likewise.
20785         (jn_test_data): Likewise.
20786         (lgamma_test_data): Likewise.
20787         (log_test_data): Likewise.
20788         (log10_test_data): Likewise.
20789         (log1p_test_data): Likewise.
20790         (log2_test_data): Likewise.
20791         (logb_test_data): Likewise.
20792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20794         [BZ #18611]
20795         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20796         avoid excess range and precision on underflow.
20797         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20798         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20800         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20801         underflow.
20802         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20804         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20806         * math/auto-libm-test-in: Do not allow missing errno setting for
20807         tests of j1 and jn.
20808         * math/auto-libm-test-out: Regenerated.
20810 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #15491]
20813         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20814         floating-point environment instead of clearing all exceptions.
20815         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20816         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20817         merging in "invalid" exceptions from frndint.
20818         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20819         * math/test-nearbyint-except.c: New file.
20820         * math/Makefile (tests): Add test-nearbyint-except.
20822 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20824         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20826         * sysdeps/tile/libm-test-ulps: Regenerated.
20828 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20831         (__NR_sync_file_range2): Assume it is always defined.
20832         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20833         (__NR_sync_file_range): Assume it is always defined.
20835 2015-10-22  Andreas Schwab  <schwab@suse.de>
20837         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20838         INTERNAL_SYSCALL_ERRNO.
20839         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20840         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20841         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20842         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20846 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20848         * io/tst-fcntl.c (fd): New static variable.
20849         (do_prepare): Open temporary file here....
20850         (do_test): ...not here.
20852         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20854 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20856         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20857         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20858         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20859         Moved before "#ifdef __ASSEMBLER__".
20861 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20863         [BZ #19156]
20864         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20865         arguments very close to 0.
20867 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20869         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20870         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20872 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20874         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20875         New.  Defined for GCC 5 and above when not compiling for
20876         profiling.
20877         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20879         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20880         Renamed to ...
20881         (CFLAGS-epoll_pwait.o): This.
20882         (CFLAGS-mmap.c): Renamed to ...
20883         (CFLAGS-mmap.o): This.
20884         (CFLAGS-mmap64.c): Renamed to ...
20885         (CFLAGS-mmap64.o): This.
20886         (CFLAGS-epoll_pwait.os): New.
20887         (CFLAGS-mmap.os): Likewise.
20888         (CFLAGS-mmap64.os): Likewise.
20889         (CFLAGS-semtimedop.os): Likewise.
20890         (CFLAGS-semtimedop.c): Renamed to ...
20891         (CFLAGS-semtimedop.o): This.
20893 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20895         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20896         warning message.
20898 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20900         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20901         * Makefile ($(objpfx)c++-types-check.out): Filter out
20902         $(+gccwarn-c) instead of -Wstrict-prototypes.
20904         * io/fts.c (fts_open): Convert to prototype-style function
20905         definition.
20906         * malloc/mcheck.c (mcheck): Likewise.
20907         (mcheck_pedantic): Likewise.
20908         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20909         internal_function.
20910         (re_search_internal): Likewise.
20911         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20912         prototype-style function definition.
20913         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20914         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20915         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20916         (xdr_utmpptr): Likewise.
20917         (xdr_utmparr): Likewise.
20918         (xdr_utmpidle): Likewise.
20919         (xdr_utmpidleptr): Likewise.
20920         (xdr_utmpidlearr): Likewise.
20922         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20923         log, log10 and log2.
20924         * math/auto-libm-test-out: Regenerated.
20925         * math/libm-test.inc (fmod_test_data): Add more tests.
20926         (fpclassify_test_data): Likewise.
20927         (frexp_test_data): Likewise.
20928         (hypot_test_data): Likewise.
20929         (ilogb_test_data): Likewise.
20931 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20933         * debug/fortify_fail.c (__fortify_fail): Convert to
20934         prototype-style function definition.  Use internal_function.
20935         * libio/genops.c (save_for_backup): Convert to prototype-style
20936         function definition.
20937         * libio/wgenops.c (save_for_wbackup): Likewise.
20938         * login/grantpt.c (grantpt): Likewise.
20939         * login/ptsname.c (ptsname): Likewise.
20940         (__ptsname_r): Likewise.
20941         * login/unlockpt.c (unlockpt): Likewise.
20942         * mach/msgserver.c (__mach_msg_server): Likewise.
20943         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20944         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20945         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20946         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20947         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20948         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20949         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20950         Likewise.
20951         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20952         internal_function.
20953         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20954         prototype-style function definition.
20955         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20956         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20957         (__pthread_create_2_0): Likewise.
20958         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20959         * nptl/register-atfork.c (__register_atfork): Likewise.
20960         * posix/glob.c (glob): Likewise.
20961         * posix/regcomp.c (re_comp): Likewise.
20962         * posix/regexec.c (re_exec): Likewise.
20963         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20964         [!__STDC__]: Remove conditional code.
20965         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20966         [!__STDC__]: Remove conditional code.
20967         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20968         [!__STDC__]: Remove conditional code.
20969         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20970         [!__STDC__]: Remove conditional code.
20971         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20972         [!__STDC__]: Remove conditional code.
20973         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20974         [!__STDC__]: Remove conditional code.
20975         * stdlib/mul.c [__STDC__]: Make code unconditional.
20976         [!__STDC__]: Remove conditional code.
20977         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20978         [!__STDC__]: Remove conditional code.
20979         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20980         [!__STDC__]: Remove conditional code.
20981         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20982         function definition.
20983         (STRTOF): Likewise.
20984         * stdlib/strtod_l.c (__STRTOF): Likewise.
20985         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20986         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20987         (__strtol_l): Likewise.
20988         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20989         [!__STDC__]: Remove conditional code.
20990         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20991         definition.
20992         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20993         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20994         type.
20995         (__strcasecmp): Convert to prototype-style function definition.
20996         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20997         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20998         type.
20999         (__strncasecmp): Convert to prototype-style function definition.
21000         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21001         * sunrpc/xdr.c (xdr_union): Likewise.
21002         * sunrpc/xdr_array.c (xdr_array): Likewise.
21003         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21004         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21005         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21006         Likewise.
21007         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21008         Likewise.
21009         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21010         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21011         Likewise.
21012         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21013         (LOCALE_PARAM_PROTO): Likewise.
21014         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21015         argument type.
21016         (ut_argument_spec): Remove macro.
21017         (ut_argument_spec_iso): Rename to ut_argument_spec.
21018         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21019         prototype-style function definition.
21020         (memcpy_uppcase): Likewise.
21021         (__strftime_internal): Likewise.
21022         (my_strftime): Likewise.
21023         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21024         (LOCALE_PARAM_DECL): Likewise.
21025         [_LIBC] (LOCALE_PARAM): Include argument type.
21026         (__strptime_internal): Convert to prototype-style function
21027         definition.
21028         (strptime): Likewise.
21029         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21030         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21031         type.
21032         (__wcscasecmp): Convert to prototype-style function definition.
21033         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21034         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21035         type.
21036         (__wcsncasecmp): Convert to prototype-style function definition.
21038         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21039         function definition.
21040         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21041         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21042         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21043         * elf/dl-minimal.c (_itoa): Likewise.
21044         * hurd/hurdmalloc.c (malloc): Likewise.
21045         (free): Likewise.
21046         (realloc): Likewise.
21047         * inet/inet6_option.c (inet6_option_space): Likewise.
21048         (inet6_option_init): Likewise.
21049         (inet6_option_append): Likewise.
21050         (inet6_option_alloc): Likewise.
21051         (inet6_option_next): Likewise.
21052         (inet6_option_find): Likewise.
21053         * io/ftw.c (FTW_NAME): Likewise.
21054         (NFTW_NAME): Likewise.
21055         (NFTW_NEW_NAME): Likewise.
21056         (NFTW_OLD_NAME): Likewise.
21057         * libio/iofwide.c (_IO_fwide): Likewise.
21058         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21059         (_IO_str_init_static): Likewise.
21060         (_IO_str_init_readonly): Likewise.
21061         (_IO_str_overflow): Likewise.
21062         (_IO_str_underflow): Likewise.
21063         (_IO_str_count): Likewise.
21064         (_IO_str_seekoff): Likewise.
21065         (_IO_str_pbackfail): Likewise.
21066         (_IO_str_finish): Likewise.
21067         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21068         (_IO_wstr_overflow): Likewise.
21069         (_IO_wstr_underflow): Likewise.
21070         (_IO_wstr_count): Likewise.
21071         (_IO_wstr_seekoff): Likewise.
21072         (_IO_wstr_pbackfail): Likewise.
21073         (_IO_wstr_finish): Likewise.
21074         * locale/programs/localedef.c (normalize_codeset): Likewise.
21075         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21076         (add_locales_to_archive): Likewise.
21077         (delete_locales_from_archive): Likewise.
21078         * malloc/malloc.c (__libc_mallinfo): Likewise.
21079         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21080         * misc/tsearch.c (__tfind): Likewise.
21081         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21082         * nptl/pthread_attr_getdetachstate.c
21083         (__pthread_attr_getdetachstate): Likewise.
21084         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21085         Likewise.
21086         * nptl/pthread_attr_getinheritsched.c
21087         (__pthread_attr_getinheritsched): Likewise.
21088         * nptl/pthread_attr_getschedparam.c
21089         (__pthread_attr_getschedparam): Likewise.
21090         * nptl/pthread_attr_getschedpolicy.c
21091         (__pthread_attr_getschedpolicy): Likewise.
21092         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21093         Likewise.
21094         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21095         Likewise.
21096         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21097         Likewise.
21098         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21099         Likewise.
21100         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21101         (__pthread_attr_init_2_0): Likewise.
21102         * nptl/pthread_attr_setdetachstate.c
21103         (__pthread_attr_setdetachstate): Likewise.
21104         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21105         Likewise.
21106         * nptl/pthread_attr_setinheritsched.c
21107         (__pthread_attr_setinheritsched): Likewise.
21108         * nptl/pthread_attr_setschedparam.c
21109         (__pthread_attr_setschedparam): Likewise.
21110         * nptl/pthread_attr_setschedpolicy.c
21111         (__pthread_attr_setschedpolicy): Likewise.
21112         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21113         Likewise.
21114         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21115         Likewise.
21116         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21117         Likewise.
21118         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21119         Likewise.
21120         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21121         Likewise.
21122         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21123         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21124         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21125         use internal_function.
21126         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21127         prototype-style function definition.
21128         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21129         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21130         internal_function.
21131         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21132         Convert to prototype-style function definition.
21133         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21134         Likewise.
21135         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21136         Likewise.
21137         (__pthread_mutex_unlock): Likewise.
21138         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21139         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21140         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21141         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21142         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21143         * nss/makedb.c (process_input): Likewise.
21144         * posix/fnmatch.c (__strchrnul): Likewise.
21145         (__wcschrnul): Likewise.
21146         (fnmatch): Likewise.
21147         * posix/fnmatch_loop.c (FCT): Likewise.
21148         * posix/glob.c (globfree): Likewise.
21149         (__glob_pattern_type): Likewise.
21150         (__glob_pattern_p): Likewise.
21151         * posix/regcomp.c (re_compile_pattern): Likewise.
21152         (re_set_syntax): Likewise.
21153         (re_compile_fastmap): Likewise.
21154         (regcomp): Likewise.
21155         (regerror): Likewise.
21156         (regfree): Likewise.
21157         * posix/regexec.c (regexec): Likewise.
21158         (re_match): Likewise.
21159         (re_search): Likewise.
21160         (re_match_2): Likewise.
21161         (re_search_2): Likewise.
21162         (re_search_stub): Likewise.  Use internal_function
21163         (re_copy_regs): Likewise.
21164         (re_set_registers): Convert to prototype-style function
21165         definition.
21166         (prune_impossible_nodes): Likewise.  Use internal_function.
21167         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21168         prototype-style function definition.
21169         (inet_net_pton_ipv4): Likewise.
21170         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21171         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21172         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21173         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21174         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21175         Make variadic.
21176         * time/strptime_l.c (localtime_r): Convert to prototype-style
21177         function definition.
21178         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21179         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21180         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21181         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21183         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21184         definition.
21185         (_ufc_doit_r): Likewise.
21186         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21187         (_ufc_output_conversion_r): Likewise.
21188         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21189         * inet/rcmd.c (rcmd_af): Likewise.
21190         (rcmd): Likewise.
21191         (ruserok_af): Likewise.
21192         (ruserok): Likewise.
21193         (ruserok2_sa): Likewise.
21194         (ruserok_sa): Likewise.
21195         (iruserok_af): Likewise.
21196         (iruserok): Likewise.
21197         (__ivaliduser): Likewise.
21198         (__validuser2_sa): Likewise.
21199         * inet/rexec.c (rexec_af): Likewise.
21200         (rexec): Likewise.
21201         * inet/ruserpass.c (ruserpass): Likewise.
21202         * locale/programs/xmalloc.c (xcalloc): Likewise.
21203         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21204         * math/w_drem.c (__drem): Likewise.
21205         * math/w_dremf.c (__dremf): Likewise.
21206         * math/w_dreml.c (__dreml): Likewise.
21207         * misc/daemon.c (daemon): Likewise.
21208         * resolv/res_debug.c (p_fqnname): Likewise.
21209         * stdlib/div.c (div): Likewise.
21210         * string/memcmp.c (memcmp_bytes): Likewise.
21211         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21212         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21214         * crypt/cert.c (main): Convert to prototype-style function
21215         definition.
21216         * io/pipe.c (__pipe): Likewise.
21217         * io/pipe2.c (__pipe2): Likewise.
21218         * misc/futimesat.c (futimesat): Likewise.
21219         * misc/utimes.c (__utimes): Likewise.
21220         * posix/execve.c (__execve): Likewise.
21221         * posix/execvp.c (execvp): Likewise.
21222         * posix/execvpe.c (__execvpe): Likewise.
21223         * posix/fexecve.c (fexecve): Likewise.
21224         * socket/socketpair.c (socketpair): Likewise.
21225         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21226         * stdlib/erand48.c (erand48): Likewise.
21227         * stdlib/erand48_r.c (__erand48_r): Likewise.
21228         * stdlib/jrand48.c (jrand48): Likewise.
21229         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21230         * stdlib/lcong48.c (lcong48): Likewise.
21231         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21232         * stdlib/nrand48.c (nrand48): Likewise.
21233         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21234         * stdlib/seed48.c (seed48): Likewise.
21235         * stdlib/seed48_r.c (__seed48_r): Likewise.
21236         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21237         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21238         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21240 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21242         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21243         * configure: Regenerated.
21244         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21245         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21246         unconditional.
21247         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21248         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21249         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21250         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21251         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21252         unconditional.
21253         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21255         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21256         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21258         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21259         function definition.
21260         * crypt/crypt_util.c (__encrypt_r): Likewise.
21261         * libio/genops.c (_IO_no_init): Likewise.
21262         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21263         (_IO_old_fopencookie): Likewise.
21264         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21265         * libio/iogetline.c (_IO_getline): Likewise.
21266         (_IO_getline_info): Likewise.
21267         * libio/iogetwline.c (_IO_getwline): Likewise.
21268         (_IO_getwline_info): Likewise.
21269         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21270         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21271         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21272         (find_entry): Likewise.
21273         (iterate_table): Likewise.
21274         (lookup): Likewise.
21275         * login/forkpty.c (forkpty): Likewise.
21276         * misc/hsearch_r.c (__hsearch_r): Likewise.
21277         * misc/select.c (__select): Likewise.
21278         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21279         Likewise.
21280         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21281         Likewise.
21282         * nptl/old_pthread_cond_timedwait.c
21283         (__pthread_cond_timedwait_2_0): Likewise.
21284         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21285         * nptl/pthread_barrierattr_getpshared.c
21286         (pthread_barrierattr_getpshared): Likewise.
21287         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21288         Likewise.
21289         * nptl/pthread_mutex_setprioceiling.c
21290         (pthread_mutex_setprioceiling): Likewise.
21291         * nptl/pthread_mutexattr_getprioceiling.c
21292         (pthread_mutexattr_getprioceiling): Likewise.
21293         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21294         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21295         Likewise.
21296         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21297         Likewise.
21298         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21299         Likewise.
21300         * socket/recvfrom.c (__recvfrom): Likewise.
21301         * socket/sendto.c (__sendto): Likewise.
21302         * socket/setsockopt.c (__setsockopt): Likewise.
21303         * stdio-common/_itoa.c (_itoa): Likewise.
21304         * stdio-common/_itowa.c (_itowa): Likewise.
21305         * stdio-common/reg-printf.c (__register_printf_specifier):
21306         Likewise.
21307         (__register_printf_function): Likewise.
21308         * stdio-common/tempname.c (__path_search): Likewise.
21309         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21310         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21311         * stdlib/random_r.c (__initstate_r): Likewise.
21312         * stdlib/setenv.c (__add_to_environ): Likewise.
21313         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21314         * streams/getpmsg.c (getpmsg): Likewise.
21315         * streams/putmsg.c (putmsg): Likewise.
21316         * streams/putpmsg.c (putpmsg): Likewise.
21317         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21318         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21319         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21320         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21321         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21322         * sunrpc/svc_udp.c (cache_get): Likewise.
21323         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21324         * sysdeps/mach/hurd/getcwd.c
21325         (__canonicalize_directory_name_internal): Likewise.
21326         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21327         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21328         * sysdeps/mach/hurd/select.c (__select): Likewise.
21329         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21330         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21331         * sysdeps/sparc/nptl/pthread_barrier_init.c
21332         (__pthread_barrier_init): Likewise.
21333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21334         (__pthread_cond_timedwait): Likewise.
21335         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21336         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21337         Likewise.
21338         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21339         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21340         Likewise.
21341         * sysvipc/semtimedop.c (semtimedop): Likewise.
21342         * time/setitimer.c (__setitimer): Likewise.
21343         * time/strftime_l.c (emacs_strftime): Likewise.
21345 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21347         * config.make.in (have-ssp): Delete.
21348         (stack-protector): New variable.
21349         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21350         cache test for -fstack-protector-strong.  Export stack_protector to
21351         the best ssp flag.
21352         * configure: Regenerated.
21353         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21354         * nscd/Makefile (CFLAGS-nscd): Likewise.
21355         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21357 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21359         [BZ #19122]
21360         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21361         attribute_hidden.
21363 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21365         [BZ #18743]
21366         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21367         code to...
21368         (ELIDE_LOCK): ...here.
21369         (__get_new_count): New function with part of the code from
21370         __elide_lock that updates the value of adapt_count after a
21371         transaction abort.
21372         (__elided_trylock): Moved this code to...
21373         (ELIDE_TRYLOCK): ...here.
21375 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21377         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21378         * configure: Regenerate.
21379         * INSTALL: Regenerate.
21380         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21381         and tweak grammar.
21383 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21385         * login/programs/pt_chown.c: Include signal.h
21386         (main): Clear any signal mask from the parent process.
21388 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21390         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21391         * configure: Regenerated.
21392         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21393         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21394         $(gnu89-inline-CFLAGS).
21396         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21397         test.
21398         (libc_cv_asm_weakext_directive): Likewise.
21399         * configure: Regenerated.
21400         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21401         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21402         * include/libc-symbols.h
21403         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21404         #error.
21405         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21406         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21408         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21409         prototype-style function definition.
21410         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21411         * sysdeps/i386/ffs.c (__ffs): Likewise.
21412         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21413         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21414         Likewise.
21415         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21416         Likewise.
21417         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21418         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21419         Likewise.
21420         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21421         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21422         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21423         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21424         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21425         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21426         * sysdeps/mach/hurd/access.c (__access): Likewise.
21427         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21428         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21429         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21430         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21431         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21432         (cthread_getspecific): Likewise.
21433         (cthread_setspecific): Likewise.
21434         (__libc_getspecific): Likewise.
21435         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21436         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21437         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21438         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21439         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21440         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21441         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21442         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21443         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21444         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21445         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21446         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21447         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21448         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21449         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21450         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21451         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21452         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21453         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21454         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21455         * sysdeps/mach/hurd/link.c (__link): Likewise.
21456         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21457         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21458         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21459         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21460         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21461         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21462         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21463         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21464         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21465         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21466         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21467         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21468         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21469         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21470         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21471         * sysdeps/mach/hurd/send.c (__send): Likewise.
21472         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21473         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21474         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21475         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21476         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21477         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21478         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21479         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21480         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21481         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21482         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21483         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21484         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21485         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21486         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21487         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21488         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21489         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21490         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21491         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21492         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21493         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21494         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21495         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21496         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21497         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21498         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21499         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21500         * sysdeps/posix/alarm.c (alarm): Likewise.
21501         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21502         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21503         * sysdeps/posix/dup.c (__dup): Likewise.
21504         * sysdeps/posix/dup2.c (__dup2): Likewise.
21505         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21506         (main): Likewise.
21507         * sysdeps/posix/flock.c (__flock): Likewise.
21508         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21509         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21510         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21511         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21512         * sysdeps/posix/isatty.c (__isatty): Likewise.
21513         * sysdeps/posix/killpg.c (killpg): Likewise.
21514         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21515         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21516         * sysdeps/posix/raise.c (raise): Likewise.
21517         * sysdeps/posix/remove.c (remove): Likewise.
21518         * sysdeps/posix/rename.c (rename): Likewise.
21519         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21520         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21521         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21522         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21523         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21524         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21525         * sysdeps/posix/sigset.c (sigset): Likewise.
21526         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21527         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21528         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21529         * sysdeps/posix/time.c (time): Likewise.
21530         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21531         (ttyname): Likewise.
21532         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21533         * sysdeps/posix/utime.c (utime): Likewise.
21534         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21535         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21536         Likewise.
21537         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21538         (pthread_spin_trylock): Likewise.
21539         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21540         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21541         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21542         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21543         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21544         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21545         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21546         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21547         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21548         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21549         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21550         * sysdeps/s390/ffs.c (__ffs): Likewise.
21551         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21552         Likewise.
21553         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21554         Likewise.
21555         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21556         Likewise.
21557         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21558         (pthread_barrier_destroy): Likewise.
21559         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21560         (__pthread_barrier_wait): Likewise.
21561         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21562         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21563         (__pthread_barrier_wait): Likewise.
21564         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21565         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21566         (memcmp_not_common_alignment): Likewise.
21567         (MEMCMP): Likewise.
21568         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21569         (_wordcopy_fwd_dest_aligned): Likewise.
21570         (_wordcopy_bwd_aligned): Likewise.
21571         (_wordcopy_bwd_dest_aligned): Likewise.
21572         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21573         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21574         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21575         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21576         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21577         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21578         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21579         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21580         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21581         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21582         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21583         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21584         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21585         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21586         * sysdeps/unix/stime.c (stime): Likewise.
21587         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21588         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21589         Likewise.  Use internal_function.
21590         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21591         Convert to prototype-style function definition.
21592         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21593         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21594         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21595         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21596         Likewise.  Use internal_function.
21597         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21598         prototype-style function definition
21599         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21600         Likewise.
21601         (__getlogin_r): Likewise.
21602         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21603         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21604         (__pthread_cond_broadcast): Likewise.
21605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21606         (__pthread_cond_destroy): Likewise.
21607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21608         (__pthread_cond_init): Likewise.
21609         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21610         (__pthread_cond_signal): Likewise.
21611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21612         (__pthread_cond_wait): Likewise.
21613         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21614         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21615         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21616         Likewise.
21617         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21618         Likewise.
21619         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21620         Likewise.
21621         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21622         Likewise.
21623         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21625         (__ftruncate64): Likewise.
21626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21627         (truncate64): Likewise.
21628         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21629         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21630         (pthread_getcpuclockid): Likewise.
21631         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21632         Likewise.
21633         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21634         Likewise.
21635         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21636         Likewise.
21637         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21638         Likewise.
21639         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21640         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21641         (__libc_sigaction): Likewise.
21642         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21643         Likewise.
21644         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21645         (__sigprocmask): Likewise.
21646         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21647         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21648         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21649         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21650         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21651         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21652         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21653         Likewise.
21654         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21655         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21656         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21657         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21658         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21659         Likewise.
21660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21661         (__sigprocmask): Likewise.
21662         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21663         (cfgetispeed): Likewise.
21664         (cfsetospeed): Likewise.
21665         (cfsetispeed): Likewise.
21666         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21667         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21668         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21669         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21670         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21671         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21672         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21673         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21674         Likewise.
21675         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21676         Likewise.
21677         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21678         Likewise.
21679         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21680         Likewise.
21681         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21683 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21685         sunrpc: Rewrite with explicit TLS access using __thread.
21686         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21687         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21688         directly.
21689         (__rpc_thread_variables): Access thread_rpc_vars directly.
21690         Eliminate redundant assignment of the tvp variable.
21692 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21694         malloc: Rewrite with explicit TLS access using __thread.
21695         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21696         (tsd_setspecific, tsd_getspecific): Remove.
21697         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21698         (tsd_setspecific, tsd_getspecific): Likewise.
21699         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21700         (tsd_setspecific, tsd_getspecific): Likewise.
21701         * malloc/arena.c (thread_arena): New TLS variable.
21702         (arena_key): Remove variable.
21703         (arena_get): Use thread_arena.
21704         (arena_lookup): Remove macro.
21705         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21706         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21707         (_int_new_arena, get_free_list, reused_arena)
21708         (arena_thread_freeres): Use thread_arena.
21709         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21710         tsd_getspecific, tsd_setspecific from safety annotations.
21711         (Allocating Cleared Space): Remove arena_lookup from safety
21712         annotations.
21714 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21716         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21717         struct scratch_buffer instead of extend_alloca.
21719 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21721         * sysdeps/unix/sysv/linux/kernel-features.h
21722         (__ASSUME_SOCK_CLOEXEC): Remove.
21723         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21724         (__have_paccept): Remove unused macro.
21725         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21726         * misc/syslog.c (openlog_internal): Remove fallback code for
21727         !__ASSUME_SOCK_CLOEXEC.
21728         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21729         missing SOCK_CLOEXEC.
21730         * nscd/connections.c (have_sock_cloexec): Remove definition.
21731         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21732         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21733         !__ASSUME_SOCK_CLOEXEC.
21734         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21735         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21736         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21737         definition.
21738         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21739         code for !__ASSUME_SOCK_CLOEXEC.
21741 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21743         [BZ #18982]
21744         * manual/stdio.texi (Variable Arguments Output): Add portability
21745         note, explaining that vfprintf clobbers the va_list pointer.
21747 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21749         * math/libm-test.inc (fabs_test_data): Add more tests.
21750         (fdim_test_data): Likewise.
21751         (fma_test_data): Likewise.
21752         (fmax_test_data): Likewise.
21753         (fmin_test_data): Likewise.
21754         (fmod_test_data): Likewise.
21756 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21758         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21759         data.
21761 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21763         * math/libm-test.inc (ceil_test_data): Add more tests and more
21764         expectations for "inexact".
21765         (floor_test_data): Add more tests.
21766         (round_test_data): Likewise.
21767         (trunc_test_data): Likewise.
21769         * crypt/cert.c (good_bye): Convert to prototype-style function
21770         definition.
21771         (get8): Likewise.
21772         (put8): Likewise.
21773         * crypt/crypt-entry.c (crypt): Likewise.
21774         (__fcrypt): Likewise.
21775         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21776         (_ufc_set_bits): Likewise.
21777         (_ufc_clearmem): Likewise.
21778         (__init_des_r): Likewise.
21779         (shuffle_sb): Likewise.
21780         (shuffle_sb): Likewise.
21781         (_ufc_setup_salt_r): Likewise.
21782         (_ufc_mk_keytab_r): Likewise.
21783         (_ufc_dofinalperm_r): Likewise.
21784         (encrypt): Likewise.
21785         (__setkey_r): Likewise.
21786         (setkey): Likewise.
21787         * crypt/md5.c (md5_init_ctx): Likewise.
21788         (md5_read_ctx): Likewise.
21789         (md5_finish_ctx): Likewise.
21790         (md5_stream): Likewise.
21791         (md5_buffer): Likewise.
21792         (md5_process_bytes): Likewise.
21793         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21794         (__sha256_finish_ctx): Likewise.
21795         (__sha256_process_bytes): Likewise.
21796         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21797         (__sha512_finish_ctx): Likewise.
21798         (__sha512_process_bytes): Likewise.
21799         * ctype/isctype.c (__isctype): Likewise.
21800         * debug/backtrace.c (__backtrace): Likewise.
21801         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21802         * debug/fgets_chk.c (__fgets_chk): Likewise.
21803         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21804         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21805         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21806         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21807         * debug/memset_chk.c (__memset_chk): Likewise.
21808         * debug/strcat_chk.c (__strcat_chk): Likewise.
21809         * debug/strncat_chk.c (__strncat_chk): Likewise.
21810         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21811         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21812         * dirent/dirfd.c (dirfd): Likewise.
21813         * dirent/getdents.c (__getdirentries): Likewise.
21814         * dirent/getdents64.c (getdirentries64): Likewise.
21815         * dirent/rewinddir.c (__rewinddir): Likewise.
21816         * dirent/seekdir.c (seekdir): Likewise.
21817         * dirent/telldir.c (telldir): Likewise.
21818         * elf/sln.c (makesymlinks): Likewise.
21819         (makesymlink): Likewise.
21820         * gmon/gmon.c (__moncontrol): Likewise.
21821         (__monstartup): Likewise.
21822         (write_hist): Likewise.
21823         (write_call_graph): Likewise.
21824         (write_bb_counts): Likewise.
21825         * grp/setgroups.c (setgroups): Likewise.
21826         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21827         * inet/inet_net.c (inet_network): Likewise.
21828         * inet/inet_netof.c (inet_netof): Likewise.
21829         * inet/rcmd.c (rresvport_af): Likewise.
21830         (rresvport): Likewise.
21831         * io/access.c (__access): Likewise.
21832         * io/chdir.c (__chdir): Likewise.
21833         * io/chmod.c (__chmod): Likewise.
21834         * io/chown.c (__chown): Likewise.
21835         * io/close.c (__close): Likewise.
21836         * io/creat.c (creat): Likewise.
21837         * io/creat64.c (creat64): Likewise.
21838         * io/dup.c (__dup): Likewise.
21839         * io/dup2.c (__dup2): Likewise.
21840         * io/dup3.c (__dup3): Likewise.
21841         * io/euidaccess.c (__euidaccess): Likewise.
21842         * io/faccessat.c (faccessat): Likewise.
21843         * io/fchmod.c (__fchmod): Likewise.
21844         * io/fchmodat.c (fchmodat): Likewise.
21845         * io/fchown.c (__fchown): Likewise.
21846         * io/fchownat.c (fchownat): Likewise.
21847         * io/fcntl.c (__fcntl): Likewise.
21848         * io/flock.c (__flock): Likewise.
21849         * io/fts.c (fts_load): Likewise.
21850         (fts_close): Likewise.
21851         (fts_read): Likewise.
21852         (fts_set): Likewise.
21853         (fts_children): Likewise.
21854         (fts_build): Likewise.
21855         (fts_stat): Likewise.
21856         (fts_sort): Likewise.
21857         (fts_alloc): Likewise.
21858         (fts_lfree): Likewise.
21859         (fts_palloc): Likewise.
21860         (fts_padjust): Likewise.
21861         (fts_maxarglen): Likewise.
21862         (fts_safe_changedir): Likewise.
21863         * io/getwd.c (getwd): Likewise.
21864         * io/isatty.c (__isatty): Likewise.
21865         * io/lchown.c (__lchown): Likewise.
21866         * io/link.c (__link): Likewise.
21867         * io/linkat.c (linkat): Likewise.
21868         * io/lseek.c (__libc_lseek): Likewise.
21869         * io/mkdir.c (__mkdir): Likewise.
21870         * io/mkdirat.c (mkdirat): Likewise.
21871         * io/mkfifo.c (mkfifo): Likewise.
21872         * io/mkfifoat.c (mkfifoat): Likewise.
21873         * io/open.c (__libc_open): Likewise.
21874         * io/open64.c (__libc_open64): Likewise.
21875         * io/readlink.c (__readlink): Likewise.
21876         * io/readlinkat.c (readlinkat): Likewise.
21877         * io/rmdir.c (__rmdir): Likewise.
21878         * io/symlink.c (__symlink): Likewise.
21879         * io/symlinkat.c (symlinkat): Likewise.
21880         * io/ttyname.c (ttyname): Likewise.
21881         * io/ttyname_r.c (__ttyname_r): Likewise.
21882         * io/umask.c (__umask): Likewise.
21883         * io/unlink.c (__unlink): Likewise.
21884         * io/unlinkat.c (unlinkat): Likewise.
21885         * io/utime.c (utime): Likewise.
21886         * libio/clearerr.c (clearerr): Likewise.
21887         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21888         * libio/feof.c (_IO_feof): Likewise.
21889         * libio/feof_u.c (feof_unlocked): Likewise.
21890         * libio/ferror.c (_IO_ferror): Likewise.
21891         * libio/ferror_u.c (ferror_unlocked): Likewise.
21892         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21893         * libio/fileno.c (__fileno): Likewise.
21894         * libio/fputc.c (fputc): Likewise.
21895         * libio/fputc_u.c (fputc_unlocked): Likewise.
21896         * libio/fputwc.c (fputwc): Likewise.
21897         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21898         * libio/freopen.c (freopen): Likewise.
21899         * libio/freopen64.c (freopen64): Likewise.
21900         * libio/fseek.c (fseek): Likewise.
21901         * libio/fseeko.c (fseeko): Likewise.
21902         * libio/fseeko64.c (fseeko64): Likewise.
21903         * libio/ftello.c (__ftello): Likewise.
21904         * libio/ftello64.c (ftello64): Likewise.
21905         * libio/fwide.c (fwide): Likewise.
21906         * libio/genops.c (_IO_un_link): Likewise.
21907         (_IO_link_in): Likewise.
21908         (_IO_least_marker): Likewise.
21909         (_IO_switch_to_main_get_area): Likewise.
21910         (_IO_switch_to_backup_area): Likewise.
21911         (_IO_switch_to_get_mode): Likewise.
21912         (_IO_free_backup_area): Likewise.
21913         (_IO_switch_to_put_mode): Likewise.
21914         (__overflow): Likewise.
21915         (__underflow): Likewise.
21916         (__uflow): Likewise.
21917         (_IO_setb): Likewise.
21918         (_IO_doallocbuf): Likewise.
21919         (_IO_default_underflow): Likewise.
21920         (_IO_default_uflow): Likewise.
21921         (_IO_default_xsputn): Likewise.
21922         (_IO_sgetn): Likewise.
21923         (_IO_default_xsgetn): Likewise.
21924         (_IO_sync): Likewise.
21925         (_IO_default_setbuf): Likewise.
21926         (_IO_default_seekpos): Likewise.
21927         (_IO_default_doallocate): Likewise.
21928         (_IO_init): Likewise.
21929         (_IO_old_init): Likewise.
21930         (_IO_default_sync): Likewise.
21931         (_IO_default_finish): Likewise.
21932         (_IO_default_seekoff): Likewise.
21933         (_IO_sputbackc): Likewise.
21934         (_IO_sungetc): Likewise.
21935         (_IO_set_column): Likewise.
21936         (_IO_set_column): Likewise.
21937         (_IO_adjust_column): Likewise.
21938         (_IO_get_column): Likewise.
21939         (_IO_init_marker): Likewise.
21940         (_IO_remove_marker): Likewise.
21941         (_IO_marker_difference): Likewise.
21942         (_IO_marker_delta): Likewise.
21943         (_IO_seekmark): Likewise.
21944         (_IO_unsave_markers): Likewise.
21945         (_IO_nobackup_pbackfail): Likewise.
21946         (_IO_default_pbackfail): Likewise.
21947         (_IO_default_seek): Likewise.
21948         (_IO_default_stat): Likewise.
21949         (_IO_default_read): Likewise.
21950         (_IO_default_write): Likewise.
21951         (_IO_default_showmanyc): Likewise.
21952         (_IO_default_imbue): Likewise.
21953         (_IO_iter_next): Likewise.
21954         (_IO_iter_file): Likewise.
21955         * libio/getc.c (_IO_getc): Likewise.
21956         * libio/getwc.c (_IO_getwc): Likewise.
21957         * libio/iofclose.c (_IO_new_fclose): Likewise.
21958         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21959         * libio/iofflush.c (_IO_fflush): Likewise.
21960         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21961         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21962         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21963         * libio/iofgets.c (_IO_fgets): Likewise.
21964         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21965         * libio/iofgetws.c (fgetws): Likewise.
21966         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21967         * libio/iofopen64.c (_IO_fopen64): Likewise.
21968         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21969         (_IO_cookie_write): Likewise.
21970         (_IO_cookie_seek): Likewise.
21971         (_IO_cookie_close): Likewise.
21972         (_IO_cookie_seekoff): Likewise.
21973         (_IO_old_cookie_seek): Likewise.
21974         * libio/iofputs.c (_IO_fputs): Likewise.
21975         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21976         * libio/iofputws.c (fputws): Likewise.
21977         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21978         * libio/iofread.c (_IO_fread): Likewise.
21979         * libio/iofread_u.c (__fread_unlocked): Likewise.
21980         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21981         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21982         * libio/ioftell.c (_IO_ftell): Likewise.
21983         * libio/iofwrite.c (_IO_fwrite): Likewise.
21984         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21985         * libio/iogets.c (_IO_gets): Likewise.
21986         * libio/iopadn.c (_IO_padn): Likewise.
21987         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21988         (_IO_new_popen): Likewise.
21989         (_IO_new_proc_close): Likewise.
21990         * libio/ioputs.c (_IO_puts): Likewise.
21991         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21992         (_IO_seekoff): Likewise.
21993         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21994         (_IO_seekpos): Likewise.
21995         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21996         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21997         * libio/ioungetc.c (_IO_ungetc): Likewise.
21998         * libio/ioungetwc.c (ungetwc): Likewise.
21999         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22000         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22001         * libio/iowpadn.c (_IO_wpadn): Likewise.
22002         * libio/libc_fatal.c (__libc_fatal): Likewise.
22003         * libio/memstream.c (__open_memstream): Likewise.
22004         (_IO_mem_sync): Likewise.
22005         (_IO_mem_finish): Likewise.
22006         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22007         (_IO_old_file_close_it): Likewise.
22008         (_IO_old_file_finish): Likewise.
22009         (_IO_old_file_fopen): Likewise.
22010         (_IO_old_file_attach): Likewise.
22011         (_IO_old_file_setbuf): Likewise.
22012         (_IO_old_do_write): Likewise.
22013         (old_do_write): Likewise.
22014         (_IO_old_file_underflow): Likewise.
22015         (_IO_old_file_overflow): Likewise.
22016         (_IO_old_file_sync): Likewise.
22017         (_IO_old_file_seekoff): Likewise.
22018         (_IO_old_file_write): Likewise.
22019         (_IO_old_file_xsputn): Likewise.
22020         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22021         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22022         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22023         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22024         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22025         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22026         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22027         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22028         (_IO_old_popen): Likewise.
22029         (_IO_old_proc_close): Likewise.
22030         * libio/oldpclose.c (__old_pclose): Likewise.
22031         * libio/pclose.c (__new_pclose): Likewise.
22032         * libio/peekc.c (_IO_peekc_locked): Likewise.
22033         * libio/putc.c (_IO_putc): Likewise.
22034         * libio/putc_u.c (putc_unlocked): Likewise.
22035         * libio/putchar.c (putchar): Likewise.
22036         * libio/putchar_u.c (putchar_unlocked): Likewise.
22037         * libio/putwc.c (putwc): Likewise.
22038         * libio/putwc_u.c (putwc_unlocked): Likewise.
22039         * libio/putwchar.c (putwchar): Likewise.
22040         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22041         * libio/rewind.c (rewind): Likewise.
22042         * libio/setbuf.c (setbuf): Likewise.
22043         * libio/setlinebuf.c (setlinebuf): Likewise.
22044         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22045         * libio/vscanf.c (_IO_vscanf): Likewise.
22046         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22047         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22048         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22049         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22050         (_IO_switch_to_main_wget_area): Likewise.
22051         (_IO_switch_to_wbackup_area): Likewise.
22052         (_IO_wsetb): Likewise.
22053         (_IO_wdefault_pbackfail): Likewise.
22054         (_IO_wdefault_finish): Likewise.
22055         (_IO_wdefault_uflow): Likewise.
22056         (__woverflow): Likewise.
22057         (__wuflow): Likewise.
22058         (__wunderflow): Likewise.
22059         (_IO_wdefault_xsputn): Likewise.
22060         (_IO_wdefault_xsgetn): Likewise.
22061         (_IO_wdoallocbuf): Likewise.
22062         (_IO_wdefault_doallocate): Likewise.
22063         (_IO_switch_to_wget_mode): Likewise.
22064         (_IO_free_wbackup_area): Likewise.
22065         (_IO_switch_to_wput_mode): Likewise.
22066         (_IO_sputbackwc): Likewise.
22067         (_IO_sungetwc): Likewise.
22068         (_IO_adjust_wcolumn): Likewise.
22069         (_IO_init_wmarker): Likewise.
22070         (_IO_wmarker_delta): Likewise.
22071         (_IO_seekwmark): Likewise.
22072         (_IO_unsave_wmarkers): Likewise.
22073         * libio/wmemstream.c (open_wmemstream): Likewise.
22074         (_IO_wmem_sync): Likewise.
22075         (_IO_wmem_finish): Likewise.
22076         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22077         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22078         * locale/programs/simple-hash.c (init_hash): Likewise.
22079         (delete_hash): Likewise.
22080         (insert_entry): Likewise.
22081         (set_entry): Likewise.
22082         (next_prime): Likewise.
22083         (is_prime): Likewise.
22084         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22085         (xmalloc): Likewise.
22086         (xrealloc): Likewise.
22087         * locale/programs/xstrdup.c (xstrdup): Likewise.
22088         * localedata/collate-test.c (xstrcoll): Likewise.
22089         * localedata/xfrm-test.c (xstrcmp): Likewise.
22090         * login/getlogin_r.c (__getlogin_r): Likewise.
22091         * login/getpt.c (__posix_openpt): Likewise.
22092         * login/login_tty.c (login_tty): Likewise.
22093         * login/setlogin.c (setlogin): Likewise.
22094         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22095         (mach_msg_destroy_port): Likewise.
22096         (mach_msg_destroy_memory): Likewise.
22097         * malloc/mcheck.c (flood): Likewise.
22098         * misc/acct.c (acct): Likewise.
22099         * misc/brk.c (__brk): Likewise.
22100         * misc/chflags.c (chflags): Likewise.
22101         * misc/chroot.c (chroot): Likewise.
22102         * misc/fchflags.c (fchflags): Likewise.
22103         * misc/fstab.c (getfsspec): Likewise.
22104         (getfsfile): Likewise.
22105         * misc/fsync.c (fsync): Likewise.
22106         * misc/ftruncate.c (__ftruncate): Likewise.
22107         * misc/ftruncate64.c (__ftruncate64): Likewise.
22108         * misc/getdomain.c (getdomainname): Likewise.
22109         (getdomainname): Likewise.
22110         * misc/gethostname.c (__gethostname): Likewise.
22111         * misc/getpass.c (getpass): Likewise.
22112         * misc/getttyent.c (skip): Likewise.
22113         (value): Likewise.
22114         * misc/gtty.c (gtty): Likewise.
22115         * misc/hsearch.c (hsearch): Likewise.
22116         (hcreate): Likewise.
22117         * misc/hsearch_r.c (__hcreate_r): Likewise.
22118         (__hdestroy_r): Likewise.
22119         * misc/ioctl.c (__ioctl): Likewise.
22120         * misc/mkdtemp.c (mkdtemp): Likewise.
22121         * misc/mkostemp.c (mkostemp): Likewise.
22122         * misc/mkostemp64.c (mkostemp64): Likewise.
22123         * misc/mkostemps.c (mkostemps): Likewise.
22124         * misc/mkostemps64.c (mkostemps64): Likewise.
22125         * misc/mkstemp.c (mkstemp): Likewise.
22126         * misc/mkstemp64.c (mkstemp64): Likewise.
22127         * misc/mkstemps.c (mkstemps): Likewise.
22128         * misc/mkstemps64.c (mkstemps64): Likewise.
22129         * misc/mktemp.c (__mktemp): Likewise.
22130         * misc/preadv.c (preadv): Likewise.
22131         * misc/preadv64.c (preadv64): Likewise.
22132         * misc/pwritev.c (pwritev): Likewise.
22133         * misc/pwritev64.c (pwritev64): Likewise.
22134         * misc/readv.c (__readv): Likewise.
22135         * misc/revoke.c (revoke): Likewise.
22136         * misc/setdomain.c (setdomainname): Likewise.
22137         * misc/setegid.c (setegid): Likewise.
22138         * misc/seteuid.c (seteuid): Likewise.
22139         * misc/sethostid.c (sethostid): Likewise.
22140         * misc/sethostname.c (sethostname): Likewise.
22141         * misc/setregid.c (__setregid): Likewise.
22142         * misc/setreuid.c (__setreuid): Likewise.
22143         * misc/sstk.c (sstk): Likewise.
22144         * misc/stty.c (stty): Likewise.
22145         * misc/syscall.c (syscall): Likewise.
22146         * misc/syslog.c (setlogmask): Likewise.
22147         * misc/truncate.c (__truncate): Likewise.
22148         * misc/truncate64.c (truncate64): Likewise.
22149         * misc/ualarm.c (ualarm): Likewise.
22150         * misc/usleep.c (usleep): Likewise.
22151         * misc/ustat.c (ustat): Likewise.
22152         * misc/writev.c (__writev): Likewise.
22153         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22154         * nptl/old_pthread_cond_broadcast.c
22155         (__pthread_cond_broadcast_2_0): Likewise.
22156         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22157         Likewise.
22158         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22159         Likewise.
22160         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22161         Likewise.
22162         * nptl/pt-raise.c (raise): Likewise.
22163         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22164         Likewise.
22165         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22166         * nptl/pthread_barrierattr_destroy.c
22167         (pthread_barrierattr_destroy): Likewise.
22168         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22169         Likewise.
22170         * nptl/pthread_barrierattr_setpshared.c
22171         (pthread_barrierattr_setpshared): Likewise.
22172         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22173         Likewise.
22174         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22175         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22176         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22177         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22178         Likewise.
22179         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22180         Likewise.
22181         * nptl/pthread_condattr_getpshared.c
22182         (pthread_condattr_getpshared): Likewise.
22183         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22184         Likewise.
22185         * nptl/pthread_condattr_setpshared.c
22186         (pthread_condattr_setpshared): Likewise.
22187         * nptl/pthread_detach.c (pthread_detach): Likewise.
22188         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22189         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22190         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22191         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22192         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22193         Likewise.
22194         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22195         Likewise.
22196         * nptl/pthread_mutex_getprioceiling.c
22197         (pthread_mutex_getprioceiling): Likewise.
22198         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22199         Likewise.
22200         * nptl/pthread_mutexattr_getprotocol.c
22201         (pthread_mutexattr_getprotocol): Likewise.
22202         * nptl/pthread_mutexattr_getpshared.c
22203         (pthread_mutexattr_getpshared): Likewise.
22204         * nptl/pthread_mutexattr_getrobust.c
22205         (pthread_mutexattr_getrobust): Likewise.
22206         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22207         Likewise.
22208         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22209         Likewise.
22210         * nptl/pthread_mutexattr_setprioceiling.c
22211         (pthread_mutexattr_setprioceiling): Likewise.
22212         * nptl/pthread_mutexattr_setprotocol.c
22213         (pthread_mutexattr_setprotocol): Likewise.
22214         * nptl/pthread_mutexattr_setpshared.c
22215         (pthread_mutexattr_setpshared): Likewise.
22216         * nptl/pthread_mutexattr_setrobust.c
22217         (pthread_mutexattr_setrobust): Likewise.
22218         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22219         Likewise.
22220         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22221         Likewise.
22222         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22223         Likewise.
22224         * nptl/pthread_rwlockattr_getkind_np.c
22225         (pthread_rwlockattr_getkind_np): Likewise.
22226         * nptl/pthread_rwlockattr_getpshared.c
22227         (pthread_rwlockattr_getpshared): Likewise.
22228         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22229         Likewise.
22230         * nptl/pthread_rwlockattr_setkind_np.c
22231         (pthread_rwlockattr_setkind_np): Likewise.
22232         * nptl/pthread_rwlockattr_setpshared.c
22233         (pthread_rwlockattr_setpshared): Likewise.
22234         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22235         Likewise.
22236         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22237         Likewise.
22238         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22239         Likewise.
22240         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22241         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22242         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22243         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22244         * nptl/sem_close.c (sem_close): Likewise.
22245         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22246         * nptl/sem_init.c (__old_sem_init): Likewise.
22247         * nptl/sigaction.c (__sigaction): Likewise.
22248         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22249         * posix/_exit.c (_exit): Likewise.
22250         * posix/alarm.c (alarm): Likewise.
22251         * posix/confstr.c (confstr): Likewise.
22252         * posix/fpathconf.c (__fpathconf): Likewise.
22253         * posix/getgroups.c (__getgroups): Likewise.
22254         * posix/getpgid.c (__getpgid): Likewise.
22255         * posix/group_member.c (__group_member): Likewise.
22256         * posix/pathconf.c (__pathconf): Likewise.
22257         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22258         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22259         * posix/setgid.c (__setgid): Likewise.
22260         * posix/setpgid.c (__setpgid): Likewise.
22261         * posix/setuid.c (__setuid): Likewise.
22262         * posix/sleep.c (__sleep): Likewise.
22263         * posix/sysconf.c (__sysconf): Likewise.
22264         * posix/times.c (__times): Likewise.
22265         * posix/uname.c (__uname): Likewise.
22266         * posix/waitid.c (__waitid): Likewise.
22267         * pwd/getpw.c (__getpw): Likewise.
22268         * resolv/base64.c (b64_pton): Likewise.
22269         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22270         * resolv/gethnamaddr.c (Dprintf): Likewise.
22271         (gethostbyname): Likewise.
22272         (gethostbyname2): Likewise.
22273         (gethostbyaddr): Likewise.
22274         (_sethtent): Likewise.
22275         (_gethtbyname): Likewise.
22276         (_gethtbyname2): Likewise.
22277         (_gethtbyaddr): Likewise.
22278         (map_v4v6_address): Likewise.
22279         (map_v4v6_hostent): Likewise.
22280         (addrsort): Likewise.
22281         (ht_sethostent): Likewise.
22282         (ht_gethostbyname): Likewise.
22283         (ht_gethostbyaddr): Likewise.
22284         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22285         (inet_net_ntop_ipv4): Likewise.
22286         * resolv/inet_neta.c (inet_neta): Likewise.
22287         * resolv/inet_ntop.c (inet_ntop): Likewise.
22288         (inet_ntop4): Likewise.
22289         (inet_ntop6): Likewise.
22290         * resolv/inet_pton.c (__inet_pton): Likewise.
22291         (inet_pton4): Likewise.
22292         (inet_pton6): Likewise.
22293         * resolv/res_debug.c (loc_aton): Likewise.
22294         (loc_ntoa): Likewise.
22295         * resource/getpriority.c (__getpriority): Likewise.
22296         * resource/getrusage.c (__getrusage): Likewise.
22297         * resource/nice.c (nice): Likewise.
22298         * resource/setpriority.c (__setpriority): Likewise.
22299         * resource/setrlimit64.c (setrlimit64): Likewise.
22300         * resource/vlimit.c (vlimit): Likewise.
22301         * resource/vtimes.c (vtimes): Likewise.
22302         * rt/aio_error.c (aio_error): Likewise.
22303         * rt/aio_return.c (aio_return): Likewise.
22304         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22305         * signal/kill.c (__kill): Likewise.
22306         * signal/killpg.c (killpg): Likewise.
22307         * signal/raise.c (raise): Likewise.
22308         * signal/sigaction.c (__sigaction): Likewise.
22309         * signal/sigaddset.c (sigaddset): Likewise.
22310         * signal/sigaltstack.c (sigaltstack): Likewise.
22311         * signal/sigandset.c (sigandset): Likewise.
22312         * signal/sigblock.c (__sigblock): Likewise.
22313         * signal/sigdelset.c (sigdelset): Likewise.
22314         * signal/sigempty.c (sigemptyset): Likewise.
22315         * signal/sigfillset.c (sigfillset): Likewise.
22316         * signal/sighold.c (sighold): Likewise.
22317         * signal/sigignore.c (sigignore): Likewise.
22318         * signal/sigintr.c (siginterrupt): Likewise.
22319         * signal/sigisempty.c (sigisemptyset): Likewise.
22320         * signal/sigismem.c (sigismember): Likewise.
22321         * signal/signal.c (signal): Likewise.
22322         * signal/sigorset.c (sigorset): Likewise.
22323         * signal/sigpause.c (__sigpause): Likewise.
22324         * signal/sigpending.c (sigpending): Likewise.
22325         * signal/sigprocmask.c (__sigprocmask): Likewise.
22326         * signal/sigrelse.c (sigrelse): Likewise.
22327         * signal/sigreturn.c (__sigreturn): Likewise.
22328         * signal/sigset.c (sigset): Likewise.
22329         * signal/sigsetmask.c (__sigsetmask): Likewise.
22330         * signal/sigstack.c (sigstack): Likewise.
22331         * signal/sigsuspend.c (__sigsuspend): Likewise.
22332         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22333         * signal/sysv_signal.c (__sysv_signal): Likewise.
22334         * socket/accept.c (accept): Likewise.
22335         * socket/accept4.c (__libc_accept4): Likewise.
22336         * socket/bind.c (__bind): Likewise.
22337         * socket/connect.c (__connect): Likewise.
22338         * socket/getpeername.c (getpeername): Likewise.
22339         * socket/getsockname.c (__getsockname): Likewise.
22340         * socket/getsockopt.c (getsockopt): Likewise.
22341         * socket/listen.c (__listen): Likewise.
22342         * socket/recv.c (__recv): Likewise.
22343         * socket/recvmsg.c (__recvmsg): Likewise.
22344         * socket/send.c (__send): Likewise.
22345         * socket/sendmsg.c (__sendmsg): Likewise.
22346         * socket/shutdown.c (shutdown): Likewise.
22347         * socket/sockatmark.c (sockatmark): Likewise.
22348         * socket/socket.c (__socket): Likewise.
22349         * stdio-common/ctermid.c (ctermid): Likewise.
22350         * stdio-common/cuserid.c (cuserid): Likewise.
22351         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22352         * stdio-common/remove.c (remove): Likewise.
22353         * stdio-common/rename.c (rename): Likewise.
22354         * stdio-common/renameat.c (renameat): Likewise.
22355         * stdio-common/tempname.c (__gen_tempname): Likewise.
22356         * stdio-common/xbug.c (InitBuffer): Likewise.
22357         (AppendToBuffer): Likewise.
22358         (ReadFile): Likewise.
22359         * stdlib/a64l.c (a64l): Likewise.
22360         * stdlib/drand48_r.c (drand48_r): Likewise.
22361         * stdlib/getcontext.c (getcontext): Likewise.
22362         * stdlib/getenv.c (getenv): Likewise.
22363         * stdlib/l64a.c (l64a): Likewise.
22364         * stdlib/llabs.c (llabs): Likewise.
22365         * stdlib/lldiv.c (lldiv): Likewise.
22366         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22367         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22368         * stdlib/putenv.c (putenv): Likewise.
22369         * stdlib/random.c (__srandom): Likewise.
22370         (__initstate): Likewise.
22371         (__setstate): Likewise.
22372         * stdlib/random_r.c (__srandom_r): Likewise.
22373         (__setstate_r): Likewise.
22374         (__random_r): Likewise.
22375         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22376         * stdlib/setcontext.c (setcontext): Likewise.
22377         * stdlib/setenv.c (setenv): Likewise.
22378         (unsetenv): Likewise.
22379         * stdlib/srand48.c (srand48): Likewise.
22380         * stdlib/srand48_r.c (__srand48_r): Likewise.
22381         * stdlib/swapcontext.c (swapcontext): Likewise.
22382         * stdlib/system.c (__libc_system): Likewise.
22383         * stdlib/tst-strtod.c (expand): Likewise.
22384         * stdlib/tst-strtol.c (expand): Likewise.
22385         * stdlib/tst-strtoll.c (expand): Likewise.
22386         * streams/fattach.c (fattach): Likewise.
22387         * streams/fdetach.c (fdetach): Likewise.
22388         * streams/getmsg.c (getmsg): Likewise.
22389         * streams/isastream.c (isastream): Likewise.
22390         * string/ffs.c (__ffs): Likewise.
22391         * string/ffsll.c (ffsll): Likewise.
22392         * string/memcmp.c (memcmp_common_alignment): Likewise.
22393         (memcmp_not_common_alignment): Likewise.
22394         (MEMCMP): Likewise.
22395         * string/memcpy.c (memcpy): Likewise.
22396         * string/memmove.c (MEMMOVE): Likewise.
22397         * string/memset.c (memset): Likewise.
22398         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22399         * string/strchrnul.c (STRCHRNUL): Likewise.
22400         * string/strerror.c (strerror): Likewise.
22401         * string/strndup.c (__strndup): Likewise.
22402         * string/strverscmp.c (__strverscmp): Likewise.
22403         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22404         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22405         (clnttcp_freeres): Likewise.
22406         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22407         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22408         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22409         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22410         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22411         (xdr_callhdr): Likewise.
22412         * sunrpc/rpcinfo.c (udpping): Likewise.
22413         (tcpping): Likewise.
22414         (pstatus): Likewise.
22415         (pmapdump): Likewise.
22416         (brdcst): Likewise.
22417         (deletereg): Likewise.
22418         (getprognum): Likewise.
22419         (getvers): Likewise.
22420         (get_inet_address): Likewise.
22421         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22422         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22423         (svcudp_stat): Likewise.
22424         (svcudp_recv): Likewise.
22425         (svcudp_reply): Likewise.
22426         (svcudp_getargs): Likewise.
22427         (svcudp_freeargs): Likewise.
22428         (svcudp_destroy): Likewise.
22429         * sunrpc/xdr.c (xdr_bytes): Likewise.
22430         (xdr_netobj): Likewise.
22431         (xdr_string): Likewise.
22432         (xdr_wrapstring): Likewise.
22433         * sunrpc/xdr_float.c (xdr_float): Likewise.
22434         (xdr_double): Likewise.
22435         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22436         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22437         * sysvipc/ftok.c (ftok): Likewise.
22438         * sysvipc/msgctl.c (msgctl): Likewise.
22439         * sysvipc/msgget.c (msgget): Likewise.
22440         * sysvipc/msgrcv.c (msgrcv): Likewise.
22441         * sysvipc/msgsnd.c (msgsnd): Likewise.
22442         * sysvipc/semget.c (semget): Likewise.
22443         * sysvipc/semop.c (semop): Likewise.
22444         * sysvipc/shmat.c (shmat): Likewise.
22445         * sysvipc/shmctl.c (shmctl): Likewise.
22446         * sysvipc/shmdt.c (shmdt): Likewise.
22447         * sysvipc/shmget.c (shmget): Likewise.
22448         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22449         * termios/speed.c (cfgetospeed): Likewise.
22450         (cfgetispeed): Likewise.
22451         (cfsetospeed): Likewise.
22452         (cfsetispeed): Likewise.
22453         * termios/tcflow.c (tcflow): Likewise.
22454         * termios/tcflush.c (tcflush): Likewise.
22455         * termios/tcgetattr.c (__tcgetattr): Likewise.
22456         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22457         * termios/tcgetsid.c (tcgetsid): Likewise.
22458         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22459         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22460         * time/adjtime.c (__adjtime): Likewise.
22461         * time/dysize.c (dysize): Likewise.
22462         * time/ftime.c (ftime): Likewise.
22463         * time/getitimer.c (__getitimer): Likewise.
22464         * time/gettimeofday.c (__gettimeofday): Likewise.
22465         * time/gmtime.c (__gmtime_r): Likewise.
22466         (gmtime): Likewise.
22467         * time/localtime.c (__localtime_r): Likewise.
22468         (localtime): Likewise.
22469         * time/offtime.c (__offtime): Likewise.
22470         * time/settimeofday.c (__settimeofday): Likewise.
22471         * time/stime.c (stime): Likewise.
22472         * time/strftime_l.c (tm_diff): Likewise.
22473         (iso_week_days): Likewise.
22474         * time/strptime.c (strptime): Likewise.
22475         * time/time.c (time): Likewise.
22476         * time/timespec_get.c (timespec_get): Likewise.
22477         * time/tzset.c (tzset_internal): Likewise.
22478         (compute_change): Likewise.
22479         (__tz_compute): Likewise.
22480         * wcsmbs/btowc.c (__btowc): Likewise.
22481         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22482         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22483         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22484         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22485         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22486         * wcsmbs/wcscat.c (__wcscat): Likewise.
22487         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22488         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22489         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22490         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22491         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22492         * wcsmbs/wcslen.c (__wcslen): Likewise.
22493         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22494         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22495         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22496         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22497         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22498         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22499         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22500         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22501         * wcsmbs/wcstok.c (wcstok): Likewise.
22502         * wcsmbs/wctob.c (wctob): Likewise.
22503         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22504         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22505         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22506         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22507         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22508         * wcsmbs/wmemset.c (__wmemset): Likewise.
22509         * wctype/wcfuncs.c (__towlower): Likewise.
22510         (__towupper): Likewise.
22512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22513         (lll_unlock_elision): Add adapt_count parameter.
22515 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22517         * sysdeps/nptl/configure.ac: Do not give errors based on the
22518         results of top-level configure tests.
22519         * sysdeps/nptl/configure: Regenerated.
22521         * configure.ac (libc_cv_Bgroup): Remove configure test.
22522         * configure: Regenerated.
22523         * config.make.in (have-Bgroup): Remove variable.
22525         * configure.ac (sizeof_long_double): Remove configure test.
22526         * configure: Regenerated.
22527         * config.make.in (sizeof-long-double): Remove variable.
22529         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22530         * configure: Regenerated.
22531         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22532         variable.
22533         (exceptions): Likewise.
22534         * sysdeps/arm/configure: Regenerated.
22535         * config.make.in (exceptions): Remove variable.
22536         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22537         $(exceptions).
22538         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22539         (CFLAGS-vdprintf_chk.c): Likewise.
22540         (CFLAGS-printf_chk.c): Likewise.
22541         (CFLAGS-fprintf_chk.c): Likewise.
22542         (CFLAGS-vprintf_chk.c): Likewise.
22543         (CFLAGS-vfprintf_chk.c): Likewise.
22544         (CFLAGS-gets_chk.c): Likewise.
22545         (CFLAGS-fgets_chk.c): Likewise.
22546         (CFLAGS-fgets_u_chk.c): Likewise.
22547         (CFLAGS-fread_chk.c): Likewise.
22548         (CFLAGS-fread_u_chk.c): Likewise.
22549         (CFLAGS-wprintf_chk.c): Likewise.
22550         (CFLAGS-fwprintf_chk.c): Likewise.
22551         (CFLAGS-vwprintf_chk.c): Likewise.
22552         (CFLAGS-vfwprintf_chk.c): Likewise.
22553         (CFLAGS-fgetws_chk.c): Likewise.
22554         (CFLAGS-fgetws_u_chk.c): Likewise.
22555         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22556         (CFLAGS-fputc.c): Likewise.
22557         (CFLAGS-fputwc.c): Likewise.
22558         (CFLAGS-freopen64.c): Likewise.
22559         (CFLAGS-freopen.c): Likewise.
22560         (CFLAGS-fseek.c): Likewise.
22561         (CFLAGS-fseeko64.c): Likewise.
22562         (CFLAGS-fseeko.c): Likewise.
22563         (CFLAGS-ftello64.c): Likewise.
22564         (CFLAGS-ftello.c): Likewise.
22565         (CFLAGS-fwide.c): Likewise.
22566         (CFLAGS-genops.c): Likewise.
22567         (CFLAGS-getc.c): Likewise.
22568         (CFLAGS-getchar.c): Likewise.
22569         (CFLAGS-getwc.c): Likewise.
22570         (CFLAGS-getwchar.c): Likewise.
22571         (CFLAGS-iofclose.c): Likewise.
22572         (CFLAGS-iofflush.c): Likewise.
22573         (CFLAGS-iofgetpos64.c): Likewise.
22574         (CFLAGS-iofgetpos.c): Likewise.
22575         (CFLAGS-iofgets.c): Likewise.
22576         (CFLAGS-iofgetws.c): Likewise.
22577         (CFLAGS-iofputs.c): Likewise.
22578         (CFLAGS-iofputws.c): Likewise.
22579         (CFLAGS-iofread.c): Likewise.
22580         (CFLAGS-iofsetpos64.c): Likewise.
22581         (CFLAGS-iofsetpos.c): Likewise.
22582         (CFLAGS-ioftell.c): Likewise.
22583         (CFLAGS-iofwrite.c): Likewise.
22584         (CFLAGS-iogetdelim.c): Likewise.
22585         (CFLAGS-iogetline.c): Likewise.
22586         (CFLAGS-iogets.c): Likewise.
22587         (CFLAGS-iogetwline.c): Likewise.
22588         (CFLAGS-ioputs.c): Likewise.
22589         (CFLAGS-ioseekoff.c): Likewise.
22590         (CFLAGS-ioseekpos.c): Likewise.
22591         (CFLAGS-iosetbuffer.c): Likewise.
22592         (CFLAGS-iosetvbuf.c): Likewise.
22593         (CFLAGS-ioungetc.c): Likewise.
22594         (CFLAGS-ioungetwc.c): Likewise.
22595         (CFLAGS-oldfileops.c): Likewise.
22596         (CFLAGS-oldiofclose.c): Likewise.
22597         (CFLAGS-oldiofgetpos64.c): Likewise.
22598         (CFLAGS-oldiofgetpos.c): Likewise.
22599         (CFLAGS-oldiofsetpos64.c): Likewise.
22600         (CFLAGS-oldiofsetpos.c): Likewise.
22601         (CFLAGS-peekc.c): Likewise.
22602         (CFLAGS-putc.c): Likewise.
22603         (CFLAGS-putchar.c): Likewise.
22604         (CFLAGS-putwc.c): Likewise.
22605         (CFLAGS-putwchar.c): Likewise.
22606         (CFLAGS-rewind.c): Likewise.
22607         (CFLAGS-wfileops.c): Likewise.
22608         (CFLAGS-wgenops.c): Likewise.
22609         (CFLAGS-oldiofopen.c): Likewise.
22610         (CFLAGS-iofopen.c): Likewise.
22611         (CFLAGS-iofopen64.c): Likewise.
22612         (CFLAGS-oldtmpfile.c): Likewise.
22613         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22614         (CFLAGS-fprintf.c): Likewise.
22615         (CFLAGS-printf.c): Likewise.
22616         (CFLAGS-vfwprintf.c): Likewise.
22617         (CFLAGS-vfscanf.c): Likewise.
22618         (CFLAGS-vfwscanf.c): Likewise.
22619         (CFLAGS-fscanf.c): Likewise.
22620         (CFLAGS-scanf.c): Likewise.
22621         (CFLAGS-isoc99_vfscanf.c): Likewise.
22622         (CFLAGS-isoc99_vscanf.c): Likewise.
22623         (CFLAGS-isoc99_fscanf.c): Likewise.
22624         (CFLAGS-isoc99_scanf.c): Likewise.
22625         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22626         (CFLAGS-isoc99_fwscanf.c): Likewise.
22627         (CFLAGS-isoc99_vwscanf.c): Likewise.
22628         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22630         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22631         after mkstemp64.
22632         * login/tst-utmp.c (do_prepare): Likewise.
22633         * rt/tst-aio.c (do_prepare): Likewise.
22634         * rt/tst-aio64.c (do_prepare): Likewise.
22636 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22638         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22639         (__lll_lock_elision): Remove adapt_count decrement...
22640         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22641         (__lll_trylock_elision): Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22643         (__lll_unlock_elision): ... to here. And utilize
22644         new adapt_count parameter.
22645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22646         (__lll_unlock_elision): Update to include adapt_count
22647         parameter.
22648         (lll_unlock_elision): Pass pointer to adapt_count
22649         variable.
22651 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22653         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22654         Add elision adapt_count parameter to list of arguments.
22655         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22656         (lll_unlock_elision): Update with new parameter list
22657         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22658         (lll_unlock_elision): Likewise.
22659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22660         (lll_unlock_elision): Likewise.
22662 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22664         [BZ #19122]
22665         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22666         attribute_hidden.
22668         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22669         attribute_hidden.
22670         [IS_IN (rtld)] (__strdup): Likewise.
22671         [IS_IN (rtld)] (__strerror_r): Likewise.
22672         [IS_IN (rtld)] (__strsep_g): Likewise.
22673         [IS_IN (rtld)] (memchr): Likewise.
22674         [IS_IN (rtld)] (memcmp): Likewise.
22675         [IS_IN (rtld)] (memcpy): Likewise.
22676         [IS_IN (rtld)] (memmove): Likewise.
22677         [IS_IN (rtld)] (memset): Likewise.
22678         [IS_IN (rtld)] (rawmemchr): Likewise.
22679         [IS_IN (rtld)] (stpcpy): Likewise.
22680         [IS_IN (rtld)] (strchr): Likewise.
22681         [IS_IN (rtld)] (strcmp): Likewise.
22682         [IS_IN (rtld)] (strlen): Likewise.
22683         [IS_IN (rtld)] (strnlen): Likewise.
22684         [IS_IN (rtld)] (strsep): Likewise.
22686         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22687         attribute_hidden.
22688         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22690         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22691         attribute_hidden.
22692         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22694         * include/setjmp.h (__longjmp): Add attribute_hidden.
22695         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22697         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22698         Add attribute_hidden.
22700         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22701         [IS_IN (rtld)] (__open): Likewise.
22702         [IS_IN (rtld)] (__fcntl): Likewise.
22704         * include/dirent.h (__opendirat): Add attribute_hidden.
22705         (__getdents): Likewise.
22706         (__getdents64): Likewise.
22707         (__alloc_dir): Likewise.
22708         [IS_IN (rtld)] (__closedir): Likewise.
22709         [IS_IN (rtld)] (__fdopendir): Likewise.
22710         [IS_IN (rtld)] (__readdir): Likewise.
22711         [IS_IN (rtld)] (__readdir64): Likewise.
22712         [IS_IN (rtld)] (__rewinddir): Likewise.
22714         * include/dlfcn.h (_dl_catch_error): Moved to ...
22715         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22716         attribute_hidden.
22718         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22719         (_itoa_word): Likewise.
22721         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22722         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22723         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22724         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22725         (_dl_higher_prime_number): Likewise.
22726         (_dl_debug_printf_c): Likewise.
22727         (_dl_signal_cerror): Likewise.
22728         (_dl_receive_error): Likewise.
22729         (_dl_reloc_bad_type): Likewise.
22730         (_dl_resolve_conflicts): Likewise.
22731         (_dl_check_all_versions): Likewise.
22732         (_dl_check_map_versions): Likewise.
22733         (_dl_sort_fini): Likewise.
22734         (_dl_debug_initialize): Likewise.
22735         (_dl_init_paths): Likewise.
22736         (_dl_show_auxv): Likewise.
22737         (_dl_next_ld_env_entry): Likewise.
22738         (_dl_important_hwcaps): Likewise.
22739         (_dl_load_cache_lookup): Likewise.
22740         (_dl_update_slotinfo): Likewise.
22741         (_dl_show_scope): Likewise.
22743         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22744         attribute_hidden.
22745         (_wordcopy_fwd_dest_aligned): Likewise.
22746         (_wordcopy_bwd_aligned): Likewise.
22747         (_wordcopy_bwd_dest_aligned): Likewise.
22749         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22750         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22751         Likewise.
22752         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22753         Likewise.
22754         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22756 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22758         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22759         GCC 5 requirement.
22761 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22763         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22764         test.
22765         * sysdeps/i386/configure: Regenerated.
22766         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22767         code unconditional.
22769         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22770         test.
22771         (libc_cv_asm_popsection_directive): Likewise.
22772         * configure: Regenerated.
22773         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22774         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22775         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22776         (__make_section_unallocated): Make definition unconditional.
22777         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22778         Remove conditional definition.
22779         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22780         (__make_section_unallocated): Likewise.
22782         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22783         * configure: Regenerated.
22784         * config.make.in (static-libgcc): Remove variable.
22785         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22786         $(static-libgcc).
22787         (build-module-helper): Likewise.
22789         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22790         * configure: Regenerated.
22792 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22794         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22795         (struct char_buffer): New type.
22796         (char_buffer_start, char_buffer_size, char_buffer_error)
22797         (char_buffer_rewind, char_buffer_add): New functions.
22798         (ADDW): Remove macro, replaced by the char_buffer_add function.
22799         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22800         of extend_alloca.  Make control flow more explicit.
22802 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22804         [BZ #19137]
22805         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22806         Add -fomit-frame-pointer.
22807         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22809 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22811         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22812         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22814         only if !__GNUC_PREREQ (5,0).
22815         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22816         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22817         (INTERNAL_SYSCALL_NCS): Likewise.
22818         (LOADREGS_0): New macro for GCC 5.
22819         (ASMARGS_0): Likewise.
22820         (LOADREGS_1): Likewise.
22821         (ASMARGS_1): Likewise.
22822         (LOADREGS_2): Likewise.
22823         (ASMARGS_2): Likewise.
22824         (LOADREGS_3): Likewise.
22825         (ASMARGS_3): Likewise.
22826         (LOADREGS_4): Likewise.
22827         (ASMARGS_4): Likewise.
22828         (LOADREGS_5): Likewise.
22829         (ASMARGS_5): Likewise.
22830         (LOADREGS_6): Likewise.
22831         (ASMARGS_6): Likewise.
22833 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22835         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22836         -fomit-frame-pointer.
22837         (CFLAGS-mmap64.c): Likewise.
22838         (CFLAGS-semtimedop.c): Likewise.
22839         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22840         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22841         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22842         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22844 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22846         [BZ #18928]
22847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22848         _dl_pointer_guard member.
22849         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22850         initializer.
22851         (security_init): Always set up pointer guard.
22852         (process_envvars): Do not process LD_POINTER_GUARD.
22854 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22856         [BZ #19134]
22857         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22858         (.LC2): Likewise.
22859         (.LC3): Likewise.
22860         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22862 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22864         [BZ #19129]
22865         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22866         r0 and r1.
22868 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22870         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22872 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22874         * include/stap-probe.h: Fix macro definition formatting.
22876 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22878         [BZ #19074]
22879         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22880         load and store num_ifs.
22882 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22884         [BZ #18822]
22885         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22886         (__sched_getaffinity_new): Add libc_hidden_proto and
22887         libc_hidden_def.
22889 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22891         [BZ #19007]
22892         * scripts/localplt.awk: Also allow GOT references.
22893         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22894         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22895         with "+ REL R_386_GLOB_DAT".
22896         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22897         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22899 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22901         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22902         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22903         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22906         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22907         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22908         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22909         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22910         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22911         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22912         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22913         Likewise.
22914         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22916 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22918         [BZ #19125]
22919         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22920         <math_private.h> and <stdint.h>.
22921         (__llround): Avoid conversions to and from long long int, and
22922         subtractions, where those might raise spurious exceptions.
22923         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22924         <math_private.h> and <stdint.h>.
22925         (__llroundf): Avoid conversions to and from long long int, and
22926         subtractions, where those might raise spurious exceptions.
22928 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22930         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22931         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22932         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22933         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22934         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22935         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22936         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22937         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22938         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22939         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22940         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22941         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22942         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22943         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22944         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22945         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22946         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22947         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22948         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22949         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22950         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22951         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22952         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22953         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22954         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22955         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22956         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22957         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22958         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22959         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22960         (__xstat64_conv): Likewise.
22961         (__xstat32_conv): Likewise.
22963 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22965         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22966         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22967         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22968         <sysdeps/unix/sysv/linux/sysdep.h>.
22969         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22970         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22971         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22972         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22973         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22974         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22975         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22976         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22977         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22982         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22983         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22985         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22986         (sysdep-dl-routines): Add sysdep.
22987         [$(subdir) == nptl] (libpthread-routines): Likewise.
22988         [$(subdir) == rt] (librt-routines): Likewise.
22989         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22990         PIC when branching to SYSCALL_ERROR_LABEL.
22991         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22993         <sysdeps/unix/sysv/linux/sysdep.h>.
22994         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22995         (SYSCALL_ERROR_ERRNO): Removed.
22996         (SYSCALL_ERROR_HANDLER): Changed to empty.
22997         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22998         (__syscall_error): New prototype.
22999         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23000         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23002 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23004         [BZ #19124]
23005         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23006         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23007         _dl_runtime_resolve_avx.
23008         (_dl_runtime_profile_avx512): Make it a hidden alias of
23009         _dl_runtime_profile_avx.
23011 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23013         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23014         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23015         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23016         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23018         [BZ #16422]
23019         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23020         New configure test.
23021         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23022         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23023         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23024         <math_private.h> and <stdint.h>.
23025         (__llrint): Avoid conversions to long long int where those might
23026         raise spurious exceptions.
23027         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23028         <math_private.h> and <stdint.h>.
23029         (__llrintf): Avoid conversions to long long int where those might
23030         raise spurious exceptions.
23032 2015-10-12  Andreas Schwab  <schwab@suse.de>
23034         [BZ #18969]
23035         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23036         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23037         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23038         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23039         $(gen-locales).
23040         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23041         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23042         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23043         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23044         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23045         $(gen-locales).
23046         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23047         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23048         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23049         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23050         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23051         ($(objpfx)tst-ftell-active-handler.out)
23052         ($(objpfx)tst-ftell-append.out)
23053         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23054         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23055         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23056         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23057         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23058         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23059         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23060         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23061         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23062         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23063         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23064         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23065         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23066         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23067         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23068         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23069         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23070         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23071         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23072         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23073         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23074         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23075         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23076         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23077         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23078         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23079         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23080         $(gen-locales).
23081         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23082         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23083         $(gen-locales).
23084         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23085         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23086         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23087         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23088         $(gen-locales).
23089         * libio/tst_wprintf2.c (main): Use explicit locale.
23090         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23092 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23094         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23095         __msg_sig_post.
23096         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23098 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23100         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23103         * sysdeps/arm/libm-test-ulps: Regenerated.
23105         [BZ #15470]
23106         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23108         [BZ #16399]
23109         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23110         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23111         and <fix-fp-int-convert-overflow.h>.
23112         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23113         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23114         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23115         and <fix-fp-int-convert-overflow.h>.
23116         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23117         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23118         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23119         <fix-fp-int-convert-overflow.h>.
23120         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23121         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23122         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23123         <fix-fp-int-convert-overflow.h>.
23124         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23125         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23126         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23127         and <fix-fp-int-convert-overflow.h>.
23128         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23129         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23130         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23131         <limits.h> and <fix-fp-int-convert-overflow.h>.
23132         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23133         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23134         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23135         and <fix-fp-int-convert-overflow.h>.
23136         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23137         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23138         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23139         and <fix-fp-int-convert-overflow.h>.
23140         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23141         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23142         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23144 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23146         [BZ #18589]
23147         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23148         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23149         $(gen-locales).
23151 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23152             Phil Blundell <pb@pbcl.net>
23154         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23155         * nptl/tst-cancel26.c: New file.
23156         * nptl/tst-cancel27.c: Likewise.
23158 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23160         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23161         __ILP32__ isn't defined.
23162         (lrint): Likewise.
23163         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23164         (lrintf): Likewise.
23165         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23166         (lrintl): Likewise.
23167         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23168         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23169         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23171 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23174         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23176         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23177         file.
23178         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23179         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23181 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23183         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23184         configure test.
23185         * sysdeps/i386/configure: Regenerated.
23186         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23187         configure test.
23188         * sysdeps/x86_64/configure: Regenerated.
23189         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23190         Make code unconditional.
23192         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23193         test.
23194         * sysdeps/i386/configure: Regenerated.
23195         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23196         test.
23197         * sysdeps/x86_64/configure: Regenerated.
23198         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23199         Make code unconditional.
23200         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23201         Likewise.
23202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23203         Likewise.
23204         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23205         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23206         code unconditional.
23207         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23208         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23209         code unconditional.
23210         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23211         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23212         code unconditional.
23213         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23214         code unconditional.
23215         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23216         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23217         code unconditional.
23218         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23219         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23220         code unconditional.
23221         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23222         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23223         code unconditional.
23224         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23225         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23226         code unconditional.
23227         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23228         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23230         [BZ #19095]
23231         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23232         mantissa to long int before shifting left.
23234 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23236         [BZ #19094]
23237         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23238         <limits.h>.
23239         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23240         when result overflows but exception would not result from cast.
23241         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23242         <limits.h>.
23243         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23244         when result overflows but exception would not result from cast.
23245         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23246         <limits.h>.
23247         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23248         when result overflows but exception would not result from cast.
23249         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23250         <limits.h>.
23251         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23252         when result overflows but exception would not result from cast.
23253         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23254         <limits.h>.
23255         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23256         when result overflows but exception would not result from cast.
23257         * math/libm-test.inc (lrint_test_data): Add more tests.
23258         (llrint_test_data): Likewise.
23260 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23262         [BZ #18872]
23263         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23264         Move out from under [$(run-built-tests) = yes] conditional.
23265         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23266         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23268 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23270         [BZ #18589]
23271         * string/Makefile (tests): Add bug-strcoll2.
23272         (LOCALES): Add cs_CZ.UTF-8.
23273         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23275         [BZ #18589]
23276         * string/bug-strcoll2.c: New file.
23277         * locale/categories.def: Revert commit
23278         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23279         * locale/langinfo.h: Likewise.
23280         * locale/localeinfo.h: Likewise.
23281         * locale/C-collate.c: Likewise.
23282         * locale/programs/ld-collate.c (collate_output): Likewise.
23283         * string/strcoll_l.c (STRDIFF): Likewise.
23284         (STRCOLL): Likewise.
23285         * wcsmbs/wcscoll_l.c: Likewise.
23287 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23289         * math/libm-test.inc (lround_test_data): Do not expect the absence
23290         of "inexact" for some tests with non-integer arguments.
23291         (llround_test_data): Likewise.
23293         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23294         test.
23295         (libc_cv_cc_sse2avx): Likewise.
23296         * sysdeps/i386/configure: Regenerated.
23297         * sysdeps/i386/i686/multiarch/Makefile
23298         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23299         [$(subdir) = math].
23300         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23301         code unconditional.
23302         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23303         Likewise.
23304         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23305         Likewise.
23306         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23307         Likewise.
23308         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23309         test.
23310         (libc_cv_cc_sse2avx): Likewise.
23311         * sysdeps/x86_64/configure: Regenerated.
23312         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23313         unconditional.
23314         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23315         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23316         unconditional.
23317         (_dl_runtime_profile)
23318         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23319         conditional code.
23320         * sysdeps/x86_64/fpu/multiarch/Makefile
23321         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23322         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23323         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23324         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23325         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23326         * sysdeps/x86_64/fpu/multiarch/e_log.c
23327         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23328         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23329         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23330         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23331         Likewise.
23332         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23333         Likewise.
23334         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23335         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23336         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23337         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23338         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23339         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23340         (HAVE_SSE2AVX_SUPPORT): Likewise.
23342 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23344         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23345         instead of #pragma optimize.
23347 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23349         [BZ #17195]
23350         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23351         as is similarly done in systrim and _int_free already.
23353 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23355         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23357 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23359         [BZ #19088]
23360         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23361         <limits.h>.
23362         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23363         overflows but exception would not result from cast.
23364         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23365         and <limits.h>.
23366         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23367         overflows but exception would not result from cast.
23368         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23369         <limits.h>.
23370         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23371         overflows but exception would not result from cast.
23372         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23373         <limits.h>.
23374         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23375         overflows but exception would not result from cast.
23376         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23377         <limits.h>.
23378         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23379         overflows but exception would not result from cast.
23380         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23381         <limits.h>.
23382         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23383         overflows but exception would not result from cast.
23384         * math/libm-test.inc (lround_test_data): Add more tests.
23385         (llround_test_data): Likewise.
23387 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23389         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23390         (CFLAGS-ialloc.c): Ditto.
23391         (CFLAGS-scheck.c): Ditto.
23393 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23395         [BZ #19086]
23396         * manual/filesys.texi (Storage Allocation): Fix argument order for
23397         posix_fallocate64.
23399 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23401         [BZ #19085]
23402         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23403         exponent below 48 inside case for non-overflowing exponent.
23404         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23406 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23408         * iconvdata/cp737.h (from_idx): Add const.
23409         * iconvdata/cp775.h (from_idx): Likewise.
23411 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23413         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23414         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23415         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23417         [BZ #19079]
23418         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23419         file, conditioned on [!_LP64].
23420         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23421         [!_LP64] (__lround): Do not define as function or alias.
23422         [!_LP64] (lround): Likewise.
23423         [!_LP64] (__lroundl): Likewise.
23424         [!_LP64] (lroundl): Likewise.
23425         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23426         macro.
23427         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23428         Likewise.
23430 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23432         * math/libm-test.inc (lrint_test_data): Add more tests.
23433         (llrint_test_data): Likewise.
23434         (lround_test_data): Likewise.
23435         (llround_test_data): Likewise.
23437         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23438         (llrint_test_data): Add tests used for lrint.
23440         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23441         test.
23442         * sysdeps/i386/configure: Regenerated.
23443         * sysdeps/i386/i686/multiarch/Makefile
23444         [$(config-cflags-sse4) = yes]: Make code unconditional.
23445         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23446         Likewise.
23447         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23448         Likewise.
23449         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23450         test.
23451         * sysdeps/x86_64/configure: Regenerated.
23452         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23453         Make code unconditional.
23454         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23455         Likewise.
23456         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23457         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23459         * scripts/rpm2dynsym.sh: Remove file.
23461 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23463         * configure.ac (libc_cv_cxx_thread_local): Define.
23464         * configure: Regenerate.
23465         * config.make.in (have-cxx-thread_local): Define.
23466         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23467         (LDLIBS-tst-thread_local1): Define.
23468         (tests): Add tst-thread_local1.
23469         [have-cxx-thread_local != yes] (tests-unsupported): Add
23470         tst-thread_local1.
23471         * nptl/tst-thread_local1.cc: New file.
23473 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23475         [BZ #19078]
23476         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23477         (u_thres): Likewise.
23478         (__expl): Determine whether to call __kernel_standard_l based on
23479         value of result, not argument.
23481         * math/libm-test.inc (scalb_test_data): Add more expectations for
23482         the "inexact" exception.
23484         [BZ #19077]
23485         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23486         0.0L for argument 1.0L.
23488         [BZ #19076]
23489         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23490         constant 0.0L when computing infinite result.
23492 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23494         [BZ #10432]
23495         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23496         malloc_usable_size.
23498 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23500         [BZ #19018]
23501         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23502         Mangle function pointer before storing it.
23503         (__call_tls_dtors): Demangle function pointer before calling it.
23505 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23507         [BZ #19012]
23508         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23509         Clean up on failure.
23511 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23513         [BZ #19071]
23514         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23515         long int variable to store possibly incremented high part of
23516         mantissa.
23517         * math/libm-test.inc (lround_test_data): Add tests used for
23518         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23519         for tests requiring 64-bit long.  Do not condition tests on
23520         [TEST_FLOAT] unnecessarily.
23521         (llround_test_data): Add tests used for lround.  Add another
23522         expectation for the "inexact" exception.  Do not condition tests
23523         on [TEST_FLOAT] unnecessarily.
23525         [BZ #887]
23526         [BZ #19049]
23527         [BZ #19050]
23528         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23529         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23530         <fix-int-fp-convert-zero.h>.
23531         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23532         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23533         <fix-int-fp-convert-zero.h>.
23534         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23535         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23536         <fix-int-fp-convert-zero.h>.
23537         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23538         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23539         <fix-int-fp-convert-zero.h>.
23540         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23541         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23542         <fix-int-fp-convert-zero.h>.
23543         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23544         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23545         <fix-int-fp-convert-zero.h>.
23546         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23547         * sysdeps/ieee754/flt-32/s_erff.c: Include
23548         <fix-int-fp-convert-zero.h>.
23549         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23550         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23551         <fix-int-fp-convert-zero.h>.
23552         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23554         <fix-int-fp-convert-zero.h>.
23555         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23557         <fix-int-fp-convert-zero.h>.
23558         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23559         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23560         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23561         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23562         file.
23563         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23565 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23569 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23571         [BZ #19059]
23572         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23573         overflowing computation.
23574         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23575         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23577         Likewise.
23578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23579         Likewise.
23580         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23581         Likewise.
23582         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23583         Likewise.
23584         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23585         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23586         Likewise.
23587         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23588         Likewise.
23589         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23591         * nss/rewrite_field.c (__nss_rewrite_field): Use
23592         internal_function.
23593         * nss/valid_field.c (__nss_valid_field): Likewise.
23594         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23596 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23598         [BZ #18724]
23599         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23600         (__nss_invalid_field_characters, __nss_valid_field)
23601         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23602         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23603         tst-field.c: New file.
23604         * nss/Makefile (routines): Add valid_field, rewrite_field.
23605         (tests-static): Define unconditionally.
23606         (tests): Include tests-static.
23607         [build-static-nss] (tests-static): Use append.
23608         [build-static-nss] (tests): Remove modification.
23609         * nss/getent.c (print_group): Call putgrent.  Report error.
23610         (print_gshadow): Call putsgent.  Report error.
23611         (print_passwd): Call putpwent.  Report error.
23612         (print_shadow): Call putspent.  Report error.
23613         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23614         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23615         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23616         name, password, directory, shell fields for valid syntax.  Rewrite
23617         GECOS field to match syntax.
23618         * pwd/Makefile (tests): Add tst-putpwent.
23619         * pwd/tst-putpwent.c: New file.
23620         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23621         Check grName, grpasswd, gr_mem fields for valid syntax.
23622         Change loop variable i to size_t.
23623         * grp/Makefile (tests): Add tst-putgrent.
23624         * grp/tst-putgrent.c: New file.
23625         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23626         valid syntax.
23627         * shadow/Makefile (tests): Add tst-putspent.
23628         * shadow/tst-putspent.c: New file.
23629         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23630         sg_mem fields for valid syntax.
23631         * gshadow/Makefile (tests): Add tst-putsgent.
23632         * gshadow/tst-putsgent.c: New file.
23634 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23636         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23637         assembly instructions.
23639 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23641         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23642         prefix from operands.
23644 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23646         [BZ #16347]
23647         [BZ #19046]
23648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23649         <libc-internal.h>.
23650         (MAXLGM): Do not use diagnostic control macros.
23651         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23652         threshold for ldbl-128ibm.
23653         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23654         instead of multiplying by log then subtracting.
23655         * math/auto-libm-test-in: Add more tests of lgamma.
23656         * math/auto-libm-test-out: Regenerated.
23658         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23659         (TYPE_HEX_DIG): Likewise.
23660         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23661         precisions when printing floating-point numbers.
23662         (check_float_internal): Likewise.
23664 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23666         [BZ #16620]
23667         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23668         of log (10) rounded downward to 48 bits.
23669         (log10_low): Use corresponding low part of log (10).
23671         [BZ #19032]
23672         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23673         compute result as (x - x) / (x - x) not as 0 / 0.
23674         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23675         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23677         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23678         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23679         and expm1.
23680         * math/auto-libm-test-out: Regenerated.
23681         * math/libm-test.inc (acos_test_data): Add more tests.
23682         (asin_test_data): Likewise.
23683         (asinh_test_data): Likewise.
23684         (atan_test_data): Likewise.
23685         (atanh_test_data): Likewise.
23686         (atan2_test_data): Likewise.
23687         (cbrt_test_data): Likewise.
23688         (ceil_test_data): Likewise.
23689         (copysign_test_data): Likewise.
23690         (cos_test_data): Likewise.
23691         (cosh_test_data): Likewise.
23692         (erf_test_data): Likewise.
23693         (erfc_test_data): Likewise.
23694         (exp_test_data): Likewise.
23695         (exp10_test_data): Likewise.
23696         (exp2_test_data): Likewise.
23697         (expm1_test_data): Likewise.
23698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23700 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23702         [BZ #19006]
23703         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23704         to ...
23705         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23706         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23707         to ...
23708         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23709         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23710         to ...
23711         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23712         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23713         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23714         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23715         to ...
23716         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23717         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23718         Moved to ...
23719         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23720         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23721         Moved to ...
23722         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23723         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23724         to ...
23725         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23726         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23727         Moved to ...
23728         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23729         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23730         to ...
23731         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23732         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23733         Removed.
23734         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23735         Likewise.
23736         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23737         Likewise.
23738         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23739         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23740         Likewise.
23741         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23742         Likewise.
23743         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23744         Likewise.
23745         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23746         Likewise.
23747         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23748         Likewise.
23749         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23750         Likewise.
23751         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23752         Likewise.
23753         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23754         Likewise.
23755         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23756         Likewise.
23757         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23758         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23759         Likewise.
23760         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23761         Likewise.
23762         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23763         Likewise.
23764         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23765         Likewise.
23766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23767         Likewise.
23768         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23769         Replace ../i486/pthread_cond_timedwait.S with
23770         ../pthread_cond_timedwait.S.
23772 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23774         * math/libm-test.inc (acos_test_data): Refine expectations for
23775         errno and "inexact" exceptions.
23776         (acosh_test_data): Likewise.
23777         (asin_test_data): Likewise.
23778         (asinh_test_data): Likewise.
23779         (atan_test_data): Likewise.
23780         (atanh_test_data): Likewise.
23781         (atan2_test_data): Likewise.
23782         (cbrt_test_data): Likewise.
23783         (ceil_test_data): Likewise.
23784         (copysign_test_data): Likewise.
23785         (cosh_test_data): Likewise.
23786         (erf_test_data): Likewise.
23787         (erfc_test_data): Likewise.
23788         (exp_test_data): Likewise.
23789         (exp10_test_data): Likewise.
23790         (exp2_test_data): Likewise.
23791         (expm1_test_data): Likewise.
23792         (fabs_test_data): Likewise.
23793         (floor_test_data): Likewise.
23794         (fma_test_data): Likewise.
23795         (fmax_test_data): Likewise.
23796         (fmin_test_data): Likewise.
23797         (fmod_test_data): Likewise.
23798         (fpclassify_test_data): Likewise.
23799         (frexp_test_data): Likewise.
23800         (hypot_test_data): Likewise.
23801         (ilogb_test_data): Likewise.
23802         (isgreater_test_data): Likewise.
23803         (isgreaterequal_test_data): Likewise.
23804         (isinf_test_data): Likewise.
23805         (isless_test_data): Likewise.
23806         (islessequal_test_data): Likewise.
23807         (islessgreater_test_data): Likewise.
23808         (isnan_test_data): Likewise.
23809         (isnormal_test_data): Likewise.
23810         (issignaling_test_data): Likewise.
23811         (isunordered_test_data): Likewise.
23812         (j0_test_data): Likewise.
23813         (j1_test_data): Likewise.
23814         (jn_test_data): Likewise.
23815         (lgamma_test_data): Likewise.
23816         (lrint_test_data): Likewise.
23817         (llrint_test_data): Likewise.
23818         (log_test_data): Likewise.
23819         (log10_test_data): Likewise.
23820         (log1p_test_data): Likewise.
23821         (log2_test_data): Likewise.
23822         (logb_test_data): Likewise.
23823         (lround_test_data): Likewise.
23824         (llround_test_data): Likewise.
23825         (modf_test_data): Likewise.
23826         (nearbyint_test_data): Likewise.
23827         (nextafter_test_data): Likewise.
23828         (nexttoward_test_data): Likewise.
23829         (pow_test_data): Likewise.
23830         (remainder_test_data): Likewise.
23831         (remquo_test_data): Likewise.
23832         (rint_test_data): Likewise.
23833         (round_test_data): Likewise.
23834         (signbit_test_data): Likewise.
23835         (sinh_test_data): Likewise.
23836         (sqrt_test_data): Likewise.
23837         (tanh_test_data): Likewise.
23838         (tgamma_test_data): Likewise.
23839         (trunc_test_data): Likewise.
23840         (y0_test_data): Likewise.
23841         (y1_test_data): Likewise.
23842         (yn_test_data): Likewise.
23843         (significand_test_data): Likewise.
23845 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23847         * manual/filesys.texi (Storage Allocation): Document that
23848         posix_fallocate emulation fails when fd is open with O_WRONLY.
23850 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23852         [BZ #19016]
23853         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23854         allow more cases with X^2 + Y^2 >= 0.5.
23855         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23856         normal element in sum instead of special-casing based on values of
23857         arguments.
23858         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23859         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23860         -1 as normal element in sum instead of special-casing based on
23861         values of arguments.
23862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23863         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23864         (__x2y2m1): Update comment.
23865         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23866         as normal element in sum instead of special-casing based on values
23867         of arguments.
23868         * math/s_clog.c (__clog): Handle more cases using log1p without
23869         hypot.
23870         * math/s_clog10.c (__clog10): Likewise.
23871         * math/s_clog10f.c (__clog10f): Likewise.
23872         * math/s_clog10l.c (__clog10l): Likewise.
23873         * math/s_clogf.c (__clogf): Likewise.
23874         * math/s_clogl.c (__clogl): Likewise.
23875         * math/auto-libm-test-in: Add more tests of clog and clog10.
23876         * math/auto-libm-test-out: Regenerated.
23877         * sysdeps/i386/fpu/libm-test-ulps: Update.
23878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23880 2015-09-28  Martin Sebor  <msebor@redhat.com>
23882         [BZ #18969]
23883         * string/Makefile (LOCALES): Define.
23884         (gen-locales.mk): Include.
23885         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23886         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23887         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23888         on setlocale failure.
23890 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23892         [BZ #18985]
23893         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23894         (__strftime_internal): Likewise.
23895         * time/tst-strftime.c (do_bz18985): New test.
23896         (do_test): Call it.
23898 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23900         [BZ #18956]
23901         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23902         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23903         extracting high part.
23904         * math/auto-libm-test-in: Add another test of pow.
23905         * math/auto-libm-test-out: Regenerated.
23906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23908 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23910         [BZ #18825]
23911         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23912         New macro.
23913         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23914         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23915         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23916         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23917         DBL_NARROW_EVAL, reloading the PIC register as needed.
23918         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23919         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23920         FLT_NARROW_EVAL.  Use separate return path for case when first
23921         argument is NaN.
23922         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23923         DEFINE_LDBL_MIN.
23924         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23925         PIC register.
23926         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23927         math_check_force_underflow_nonneg.
23928         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23929         underflow for subnormal result.
23930         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23932         math_check_force_underflow_nonneg.
23933         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23934         math_check_force_underflow.
23935         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23936         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23937         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23938         DEFINE_LDBL_MIN.
23939         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23940         * math/auto-libm-test-in: Add more tests of pow.
23941         * math/auto-libm-test-out: Regenerated.
23943 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23945         * nss/bug17079.c (init_test_items): Add diagnostic for
23946         inconsistent entries.
23947         (test_buffer_size): Skip inconsistent entries.
23949 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23951         [BZ #13304]
23952         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23953         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23954         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23956         [BZ #13304]
23957         * sysdeps/microblaze/s_fma.c: New file.
23958         * sysdeps/microblaze/s_fmaf.c: Likewise.
23959         * sysdeps/microblaze/sfp-machine.h: Likewise.
23961 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23963         [BZ #17250]
23964         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23965         member.
23967 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23969         [BZ #18803]
23970         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23971         (MO): New macro.
23972         (__ieee754_hypot) [PIC]: Load PIC register.
23973         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23974         DBL_NARROW_EVAL.
23975         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23976         math_check_force_underflow_nonneg in case where result might be
23977         tiny.
23978         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23979         Likewise.
23980         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23981         Likewise.
23982         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23983         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23984         * math/auto-libm-test-in: Add more tests of hypot.
23985         * math/auto-libm-test-out: Regenerated.
23987 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23989         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23991 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23993         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23994         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23995         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23996         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23997         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23998         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23999         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24001         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24002         LOAD_PIC_REG.
24004         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24005         (FLT_CHECK_FORCE_UFLOW): Likewise.
24006         (DBL_CHECK_FORCE_UFLOW): Likewise.
24007         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24008         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24009         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24010         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24011         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24012         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24013         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24014         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24015         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24016         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24017         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24018         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24019         (flt_min): Replace with use of DEFINE_FLT_MIN.
24020         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24021         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24022         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24023         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24024         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24025         (flt_min): Replace with use of DEFINE_FLT_MIN.
24026         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24027         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24028         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24029         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24030         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24031         (flt_min): Replace with use of DEFINE_FLT_MIN.
24032         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24033         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24034         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24035         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24036         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24037         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24038         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24039         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24040         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24041         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24042         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24043         (flt_min): Replace with use of DEFINE_FLT_MIN.
24044         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24045         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24046         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24047         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24048         main computation.
24049         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24050         (flt_min): Replace with use of DEFINE_FLT_MIN.
24051         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24052         main computation.
24053         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24054         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24055         (MO): New macro.
24056         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24057         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24058         (flt_min): Replace with use of DEFINE_FLT_MIN.
24059         (MO): New macro.
24060         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24061         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24062         (__log1pl): Use MO.
24064         [BZ #19003]
24065         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24066         $(config-cflags-nofma).
24068 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24070         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24072 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24074         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24075         (TWO127): Likewise.
24077         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24078         (min_of_type): Likewise.
24079         (math_check_force_underflow): Likewise.
24080         (math_check_force_underflow_nonneg): Likewise.
24081         (math_check_force_underflow_complex): Likewise.
24082         * math/e_exp2l.c (__ieee754_exp2l): Use
24083         math_check_force_underflow_nonneg.
24084         * math/k_casinh.c (__kernel_casinh): Likewise.
24085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24087         * math/s_catan.c (__catan): Use
24088         math_check_force_underflow_complex.
24089         * math/s_catanf.c (__catanf): Likewise.
24090         * math/s_catanh.c (__catanh): Likewise.
24091         * math/s_catanhf.c (__catanhf): Likewise.
24092         * math/s_catanhl.c (__catanhl): Likewise.
24093         * math/s_catanl.c (__catanl): Likewise.
24094         * math/s_ccosh.c (__ccosh): Likewise.
24095         * math/s_ccoshf.c (__ccoshf): Likewise.
24096         * math/s_ccoshl.c (__ccoshl): Likewise.
24097         * math/s_cexp.c (__cexp): Likewise.
24098         * math/s_cexpf.c (__cexpf): Likewise.
24099         * math/s_cexpl.c (__cexpl): Likewise.
24100         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24101         * math/s_clog10.c (__clog10): Likewise.
24102         * math/s_clog10f.c (__clog10f): Likewise.
24103         * math/s_clog10l.c (__clog10l): Likewise.
24104         * math/s_clogf.c (__clogf): Likewise.
24105         * math/s_clogl.c (__clogl): Likewise.
24106         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24107         * math/s_csinf.c (__csinf): Likewise.
24108         * math/s_csinh.c (__csinh): Likewise.
24109         * math/s_csinhf.c (__csinhf): Likewise.
24110         * math/s_csinhl.c (__csinhl): Likewise.
24111         * math/s_csinl.c (__csinl): Likewise.
24112         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24113         * math/s_csqrtf.c (__csqrtf): Likewise.
24114         * math/s_csqrtl.c (__csqrtl): Likewise.
24115         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24116         * math/s_ctanf.c (__ctanf): Likewise.
24117         * math/s_ctanh.c (__ctanh): Likewise.
24118         * math/s_ctanhf.c (__ctanhf): Likewise.
24119         * math/s_ctanhl.c (__ctanhl): Likewise.
24120         * math/s_ctanl.c (__ctanl): Likewise.
24121         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24122         instead of volatile.
24123         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24124         math_check_force_underflow.
24125         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24126         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24127         volatile when forcing underflow.
24128         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24129         math_check_force_underflow_nonneg.
24130         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24131         Likewise.
24132         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24133         math_check_force_underflow.
24134         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24135         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24136         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24137         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24138         math_check_force_underflow_nonneg.
24139         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24140         math_check_force_underflow.
24141         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24143         instead of volatile.
24144         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24145         math_check_force_underflow.
24146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24147         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24148         math_check_force_underflow_nonneg.
24149         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24150         math_check_force_underflow.
24151         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24152         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24153         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24154         math_check_force_underflow_nonneg.
24155         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24156         Likewise.
24157         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24158         math_check_force_underflow.
24159         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24160         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24161         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24162         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24163         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24164         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24165         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24166         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24167         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24168         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24169         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24170         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24171         Likewise.
24172         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24173         math_check_force_underflow_nonneg.
24174         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24175         Likewise.
24176         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24177         math_check_force_underflow.
24178         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24179         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24180         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24181         Likewise.
24182         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24183         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24184         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24185         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24186         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24187         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24189         instead of volatile.
24190         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24191         math_check_force_underflow.
24192         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24193         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24194         math_check_force_underflow.
24195         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24196         Likewise.
24197         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24198         Use math_check_force_underflow_nonneg.
24199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24200         math_check_force_underflow.
24201         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24202         Likewise.
24203         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24204         Likewise.
24205         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24206         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24207         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24208         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24209         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24210         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24211         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24212         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24214         math_check_force_underflow_nonneg.
24215         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24216         math_check_force_underflow.
24217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24218         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24219         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24220         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24221         math_check_force_underflow_nonneg.
24222         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24223         math_check_force_underflow.
24224         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24225         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24226         instead of volatile.
24227         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24228         math_check_force_underflow.
24230         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24231         * stdlib/strtod_l.c: Include <math_private.h>.
24232         (overflow_value): Use math_narrow_eval.
24233         (underflow_value): Likewise.
24234         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24235         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24236         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24237         (__ieee754_gamma_r): Likewise.
24238         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24239         Likewise.
24240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24241         Likewise.
24242         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24243         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24244         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24245         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24246         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24247         (__ieee754_gammaf_r): Likewise.
24248         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24249         Likewise.
24250         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24251         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24252         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24253         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24254         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24255         volatile.
24256         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24257         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24258         math_narrow_eval.
24259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24260         Likewise.
24261         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24262         Likewise.
24263         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24264         Likewise.
24265         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24266         volatile.
24267         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24268         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24269         math_narrow_eval.
24270         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24271         Likewise.
24272         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24273         Likewise.
24275 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24277         * nptl/Versions: Remove ignored symbols.
24279 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24281         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24282         * nss/Makefile (tests): Update.
24284 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24286         * nss/bug18287.c: New file.
24287         * nss/Makefile (tests): Add bug18287.
24289 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24291         * mach/Versions (__mach_host_self_): Add symbol.
24293 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24295         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24296         vm_page_size.
24298 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24300         Really fix sysdeps/i386/fpu/s_scalbn.S build
24302         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24303         (libc: GLIBC_2_22): Remove unused version set.
24305 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24307         * config.make.in (enable-timezone-tools): New variable.
24308         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24309         (enable_timezone_tools): Export to generated files.
24310         * configure: Regenerate.
24311         * INSTALL: Regenerate.
24312         * manual/install.texi (--disable-timezone-tools): Document new flag.
24313         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24314         ifeq ($(enable-timezone-tools),yes) check.
24316 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24318         * timezone/Makefile: Revert previous change.
24320         [BZ #18980]
24321         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24322         (DEFINE_DBL_MIN): Likewise.
24323         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24324         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24325         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24326         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24327         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24328         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24329         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24330         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24331         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24332         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24333         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24334         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24335         (flt_min): Replace with use of DEFINE_FLT_MIN.
24336         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24337         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24338         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24339         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24340         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24341         (flt_min): Replace with use of DEFINE_FLT_MIN.
24342         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24343         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24344         (flt_min): Replace with use of DEFINE_FLT_MIN.
24345         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24346         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24347         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24348         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24349         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24350         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24351         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24352         (__ieee754_pow): Use DBL_NARROW_EVAL.
24353         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24354         (__ieee754_powf): Use FLT_NARROW_EVAL.
24355         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24356         (__ieee754_expf_sse2): Convert double-precision result to single
24357         precision.
24358         * sysdeps/i386/fpu/libm-test-ulps: Update.
24360 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24362         * timezone/Makefile: Ignore unused variable errors due to private.h
24363         (time_t_min) and (time_t_max).
24364         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24365         Likewise.
24367 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24369         [BZ #18981]
24370         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24371         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24372         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24373         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24374         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24375         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24376         (__scalbn): Use DBL_NARROW_EVAL.
24377         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24378         (__scalbnf): Use FLT_NARROW_EVAL.
24380 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24382         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24383         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24384         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24385         * stdio-common/printf_fp.c (___printf_fp):
24386         Use signbit to get the sign. Use isinf macro to allow inlining.
24387         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24388         * stdio-common/printf_size.c (__printf_size): Likewise.
24390 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24392         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24394 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24396         [BZ #18980]
24397         * sysdeps/generic/math_private.h: Include <float.h>.
24398         (math_narrow_eval): New macro.
24399         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24400         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24401         math_narrow_eval on overflowing return value.
24402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24403         Likewise.
24404         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24405         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24406         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24407         Likewise.
24408         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24410 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24412         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24413         * math/Makefile: Remove isinf_ns.c.
24414         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24415         * math/multc3.c (__multc3): Likewise.
24416         * math/s_casin.c (__casin): Likewise.
24417         * math/s_casinf.c (__casinf): Likewise.
24418         * math/s_casinl.c (__casinl): Likewise.
24419         * math/s_cproj.c (__cproj): Likewise.
24420         * math/s_cprojf.c (__cprojf): Likewise.
24421         * math/s_cprojl.c (__cprofl): Likewise.
24422         * math/s_ctan.c (__ctan): Likewise.
24423         * math/s_ctanf.c (__ctanf): Likewise.
24424         * math/s_ctanh.c (__ctanh): Likewise.
24425         * math/s_ctanhf.c (__ctanhf): Likewise.
24426         * math/s_ctanhl.c (__ctanhl): Likewise.
24427         * math/s_ctanl.c (__ctanl): Likewise.
24428         * math/w_fmod.c (__fmod): Likewise.
24429         * math/w_fmodf.c (__fmodf): Likewise.
24430         * math/w_fmodl.c (_fmodl): Likewise.
24431         * math/w_remainder.c (__remainder): Likewise.
24432         * math/w_remainderf.c (__remainderf): Likewise.
24433         * math/w_remainderl.c (__remainderl): Likewise.
24434         * math/w_scalb.c (__scalb): Likewise.
24435         * math/w_scalbf.c (__scalbf): Likewise.
24436         * math/w_scalbl.c (__scalbl): Likewise.
24437         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24438         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24439         with isinf.
24440         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24442         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24443         __isinf_nsf with isinf.
24444         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24445         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24446         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24447         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24448         with isinf.
24449         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24450         __isinf_nsl with isinf.
24451         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24452         with isinf.
24453         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24454         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24455         __isinf_nsl with isinf.
24456         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24457         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24458         with isinf.
24460 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24462         * resolv/base64.c (rcsid): Remove unused static.
24463         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24464         static.  (tqpi1): Likewise.
24465         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24466         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24467         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24468         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24469         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24470         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24471         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24472         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24473         Likewise.
24475 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24477         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24478         <nptl/pthreadP.h>.
24479         (_longjmp_unwind): Use __libc_ptf_call.
24480         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24482 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24484         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24485         * sysdeps/arm/__longjmp.S: Likewise.
24487 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24489         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24490         Use __builtin_signbit.
24491         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24492         Use __builtin_signbitf.
24493         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24494         Use __builtin_signbitl.
24495         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24496         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24498 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24500         [BZ #15367]
24501         [BZ #17441]
24503         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24504         * math/math.h (fpclassify): Use __builtin_fpclassify when
24505         available.  (signbit): Use __builtin_signbit(f/l).
24506         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24507         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24508         (isinf): Use __builtin_isinf_sign.
24510 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24512         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24513         * benchtests/bench-math-inlines.c: New benchmark.
24514         * benchtests/bench-util.h: New file.
24515         * benchtests/bench-util.c: New file.
24516         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24518 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24520         * elf/tst-dlmopen1.c: Define TEST_SO.
24521         (do_test): Use TEST_SO.
24523         * elf/dl-load.c: Include libc-internal.h.
24524         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24526 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24528         [BZ #17887]
24529         * time/strptime_l.c (__strptime_internal): Make %z accept
24530         [+-]HH:MM time zones.
24532 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24534         [BZ #17886]
24535         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24536         valid time zone.
24538 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24540         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24541         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24543         (__ASSUME_FDATASYNC): Delete.
24545 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24547         * conform/linknamespace.pl: Require weak undefined symbols to be
24548         in the standard namespace.
24549         (%strong_syms): Rename to %seen_syms.
24550         (%strong_seen): Rename to %seen_where.
24552 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24554         [BZ #18970]
24555         * misc/error.c (error): Replace pthread_setcancelstate with
24556         __pthread_setcancelstate.
24557         (error_at_line): Likewise.
24558         * posix/wordexp.c (parse_comm): Likewise.
24559         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24560         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24561         (__pthread_setcancelstate): This.
24562         (pthread_setcancelstate): Add an alias.
24563         * nptl/nptl-init.c (pthread_functions): Replace
24564         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24565         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24566         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24567         hidden_proto.
24568         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24569         it with hidden_def.
24570         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24571         (pthread_setcancelstate): Renamed to ...
24572         (__pthread_setcancelstate): This.
24573         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24574         __libc_ptf_call with __pthread_setcancelstate.
24576 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24577             Andreas Schwab  <schwab@suse.de>
24579         [BZ #17118]
24580         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24581         result when imaginary part of argument is infinite using sine and
24582         cosine.
24583         * math/s_ctanf.c (__ctanf): Likewise.
24584         * math/s_ctanl.c (__ctanl): Likewise.
24585         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24586         of result when real part of argument is infinite using sine and
24587         cosine.
24588         * math/s_ctanhf.c (__ctanhf): Likewise.
24589         * math/s_ctanhl.c (__ctanhl): Likewise.
24590         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24591         (ctanh_test_data): Add more tests of ctanh.
24593 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24595         [BZ #15384]
24596         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24597         bit-mask as in subtraction.
24598         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24599         Likewise.
24600         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24601         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24602         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24604         [BZ #18951]
24605         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24606         underflow exception for small results.
24607         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24608         Likewise.
24609         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24610         Likewise.
24611         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24612         Likewise.
24613         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24614         Likewise.
24615         * math/auto-libm-test-in: Add more tests of tgamma.
24616         * math/auto-libm-test-out: Regenerated.
24618 2015-09-17  Andreas Schwab  <schwab@suse.de>
24620         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24622 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24624         [BZ #18977]
24625         * math/bits/mathcalls.h
24626         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24627         not declare.
24628         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24629         Likewise.
24630         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24631         Likewise.
24632         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24633         Likewise.
24634         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24635         Likewise.
24636         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24637         Likewise.
24638         * conform/data/math.h-data
24639         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24640         function.
24641         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24642         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24643         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24644         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24645         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24646         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24647         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24648         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24649         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24650         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24651         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24653         [BZ #6803]
24654         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24655         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24656         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24657         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24658         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24659         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24660         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24661         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24662         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24664         Likewise.
24665         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24666         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24668         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24669         long_double_symbol calls.
24670         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24671         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24672         strong alias of __ldexpl.
24673         (scalbnl): Define using long_double_symbol.
24674         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24675         Remove alias.
24676         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24677         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24678         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24679         (scalbln_test_data): Add more errno expectations.
24681 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24683         Cache the host port like we cache the task port.  This way we do not
24684         need to call the kernel just to get the port.  Furthermore, we no
24685         longer increase the reference count on every invocation of
24686         `mach_host_self'.
24688         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24689         Protect declarations against the macro expansion.
24690         * mach/mach_init.c (__mach_host_self_): New variable.
24691         (mach_init): Initialize `__mach_host_self_'.
24692         * mach/mach_init.h (__mach_host_self_): New declaration.
24693         (__mach_host_self, mach_host_self): New macros.
24694         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24695         Release reference.
24697 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #4404]
24700         * po/de.po: Update from Translation Project.
24702         [BZ #16415]
24703         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24704         (__expm1l): Remove code to handle positive infinity and overflow.
24705         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24706         variable.
24707         (__expm1l): Remove code to handle positive infinity and overflow.
24709 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24710             Paul Pluzhnikov  <ppluzhnikov@google.com>
24712         [BZ #18872]
24713         * stdio-common/Makefile (tst-printf-bz18872): New test.
24714         (tst-printf-bz18872-mem.out): Likewise.
24715         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24716         * stdio-common/vfprintf.c: Fix memory leaks.
24718 2015-09-16  Andreas Schwab  <schwab@suse.de>
24720         [BZ #17244]
24721         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24722         Remove extra va_start/va_end calls.
24724         [BZ #17243]
24725         * posix/execl.c (execl): Add missing va_end.
24726         * posix/execle.c (execle): Likewise.
24727         * posix/execlp.c (execlp): Likewise.
24729 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24731         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24732         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24734 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24736         [BZ #18967]
24737         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24738         undefine around includes of <bits/mathcalls.h>.
24739         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24740         not declare function.
24741         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24742         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24743         (scalb): Likewise.
24744         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24745         not define macro.
24746         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24747         variable.
24748         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24749         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24750         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24752         [BZ #18857]
24753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24754         return non-finite argument without doing ordered comparisons on
24755         it.
24757         [BZ #16296]
24758         * math/fenv.h (fegetround): Use __attribute_pure__.
24759         * include/fenv.h (__fegetround): Likewise.
24761         [BZ #18595]
24762         * math/s_ctan.c (__ctan): Force underflow exception for results
24763         whose real or imaginary part has small absolute value.
24764         * math/s_ctanf.c (__ctanf): Likewise.
24765         * math/s_ctanh.c (__ctanh): Likewise.
24766         * math/s_ctanhf.c (__ctanhf): Likewise.
24767         * math/s_ctanhl.c (__ctanhl): Likewise.
24768         * math/s_ctanl.c (__ctanl): Likewise.
24769         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24770         and ctanh.  Add more tests of ctan and ctanh.
24772         [BZ #15918]
24773         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24774         handling of cases where one argument is an infinity.
24776         [BZ #18875]
24777         [BZ #18966]
24778         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24779         (MO): New macro.
24780         (__ieee754_exp10): For small results, force underflow exception
24781         and remove excess range and precision from return value.
24782         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24783         (MO): New macro.
24784         (__ieee754_exp10f): For small results, force underflow exception
24785         and remove excess range and precision from return value.
24786         * math/auto-libm-test-in: Add more tests of exp10.
24787         * math/auto-libm-test-out: Regenerated.
24789 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24791         [BZ #18875]
24792         [BZ #18961]
24793         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24794         (MO): New macro.
24795         (__ieee754_exp): For small results, force underflow exception and
24796         remove excess range and precision from return value.
24797         (__exp_finite): Likewise.
24798         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24799         (MO): New macro.
24800         (__ieee754_expf): For small results, force underflow exception and
24801         remove excess range and precision from return value.
24802         (__expf_finite): Likewise.
24803         * math/auto-libm-test-in: Add more tests of exp.
24804         * math/auto-libm-test-out: Regenerated.
24806         [BZ #16521]
24807         [BZ #18875]
24808         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24809         small results.
24810         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24811         (MO): New macro.
24812         (__ieee754_exp2): For small results, force underflow exception and
24813         remove excess range and precision from return value.
24814         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24815         (MO): New macro.
24816         (__ieee754_exp2f): For small results, force underflow exception
24817         and remove excess range and precision from return value.
24818         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24819         (MO): New macro.
24820         (__ieee754_exp2l): Force underflow exception for small results.
24821         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24822         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24823         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24824         (MO): New macro.
24825         (__ieee754_exp2l): Force underflow exception for small results.
24826         * math/auto-libm-test-in: Add more tests or exp2.
24827         * math/auto-libm-test-out: Regenerated.
24829 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24831         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24833         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24834         /dev/null.
24836 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24838         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24839         io fs process)): Drop spurious backslash.
24841 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24843         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24844         Use sysinfo system call instead of parsing /proc/meminfo.
24845         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24846         Likewise.
24848 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24850         [BZ #16985]
24851         * programs/localedef.c (main): Display argv[remaining] when
24852         output_path is NULL.
24854 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24856         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24857         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24858         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24859         tanh.
24860         * math/auto-libm-test-out: Regenerated.
24861         * sysdeps/i386/fpu/libm-test-ulps: Update.
24862         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24863         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24866 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24868         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24869         Use 'override' keyword to freeze the value here, preventing
24870         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24872 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24874         [BZ #14912]
24875         * sysdeps/aarch64/bits/atomic.h: Move to ...
24876         * sysdeps/aarch64/atomic-machine.h: ...here.
24877         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24878         _AARCH64_ATOMIC_MACHINE_H.
24879         * sysdeps/alpha/bits/atomic.h: Move to ...
24880         * sysdeps/alpha/atomic-machine.h: ...here.
24881         * sysdeps/arm/bits/atomic.h: Move to ...
24882         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24883         * bits/atomic.h: Move to ...
24884         * sysdeps/generic/atomic-machine.h: ...here.
24885         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24886         * sysdeps/i386/bits/atomic.h: Move to ...
24887         * sysdeps/i386/atomic-machine.h: ...here.
24888         * sysdeps/ia64/bits/atomic.h: Move to ...
24889         * sysdeps/ia64/atomic-machine.h: ...here.
24890         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24891         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24892         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24893         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24894         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24895         * sysdeps/microblaze/bits/atomic.h: Move to ...
24896         * sysdeps/microblaze/atomic-machine.h: ...here.
24897         * sysdeps/mips/bits/atomic.h: Move to ...
24898         * sysdeps/mips/atomic-machine.h: ...here.
24899         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24900         * sysdeps/powerpc/bits/atomic.h: Move to ...
24901         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24902         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24903         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24904         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24905         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24906         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24907         <atomic-machine.h> instead of <bits/atomic.h>.
24908         * sysdeps/s390/bits/atomic.h: Move to ...
24909         * sysdeps/s390/atomic-machine.h: ...here.
24910         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24911         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24912         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24913         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24914         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24915         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24916         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24917         * sysdeps/tile/bits/atomic.h: Move to ...
24918         * sysdeps/tile/atomic-machine.h: ...here.
24919         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24920         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24921         <sysdeps/tile/atomic-machine.h> instead of
24922         <sysdeps/tile/bits/atomic.h>.
24923         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24924         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24925         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24926         <sysdeps/tile/atomic-machine.h> instead of
24927         <sysdeps/tile/bits/atomic.h>.
24928         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24929         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24930         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24931         <sysdeps/arm/atomic-machine.h> instead of
24932         <sysdeps/arm/bits/atomic.h>.
24933         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24934         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24935         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24936         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24937         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24938         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24939         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24940         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24941         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24942         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24943         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24944         * sysdeps/x86_64/bits/atomic.h: Move to ...
24945         * sysdeps/x86_64/atomic-machine.h: ...here.
24946         * include/atomic.h: Include <atomic-machine.h> instead of
24947         <bits/atomic.h>.
24949         * sysdeps/mips/mips32/libm-test-ulps: Update.
24950         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24952         [BZ #18952]
24953         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24954         not convert non-integer negative arguments to int to determine the
24955         value of signgam.
24956         * math/auto-libm-test-in: Add more tests of lgamma.
24957         * math/auto-libm-test-out: Regenerated.
24959         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24960         cosh, csqrt, erfc, expm1 and lgamma.
24961         * math/auto-libm-test-out: Regenerated.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update.
24963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24965 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24967         [BZ #2542]
24968         [BZ #2543]
24969         [BZ #2558]
24970         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24971         __lgamma_neg for arguments from -28.0 to -2.0.
24972         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24973         __lgamma_negf for arguments from -15.0 to -2.0.
24974         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24975         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24976         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24977         Call __lgamma_negl for arguments from -33.0 to -2.0.
24978         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24979         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24980         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24981         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24982         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24983         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24984         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24985         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24986         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24987         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24988         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24989         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24990         (__lgamma_neg): Likewise.
24991         (__lgamma_negl): Likewise.
24992         (__lgamma_product): Likewise.
24993         (__lgamma_productl): Likewise.
24994         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24995         * math/auto-libm-test-in: Add more tests of lgamma.
24996         * math/auto-libm-test-out: Regenerated.
24997         * sysdeps/i386/fpu/libm-test-ulps: Update.
24998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25000 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25002         [BZ #18675]
25003         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25005 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25007         [BZ #14912]
25008         * bits/libc-lock.h: Move to ...
25009         * sysdeps/generic/libc-lock.h: ...here.
25010         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25011         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25012         * sysdeps/mach/hurd/libc-lock.h: ...here.
25013         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25014         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25015         * sysdeps/mach/bits/libc-lock.h: Move to ...
25016         * sysdeps/mach/libc-lock.h: ...here.
25017         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25018         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25019         * sysdeps/nptl/libc-lock.h: ...here.
25020         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25021         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25022         * sysdeps/nptl/libc-lockP.h: ...here.
25023         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25024         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25025         <bits/libc-lock.h>.
25026         * dirent/scandir-tail.c: Likewise.
25027         * dlfcn/dlerror.c: Likewise.
25028         * elf/dl-close.c: Likewise.
25029         * elf/dl-iteratephdr.c: Likewise.
25030         * elf/dl-lookup.c: Likewise.
25031         * elf/dl-open.c: Likewise.
25032         * elf/dl-support.c: Likewise.
25033         * elf/dl-writev.h: Likewise.
25034         * elf/rtld.c: Likewise.
25035         * grp/fgetgrent.c: Likewise.
25036         * gshadow/fgetsgent.c: Likewise.
25037         * gshadow/sgetsgent.c: Likewise.
25038         * iconv/gconv_conf.c: Likewise.
25039         * iconv/gconv_db.c: Likewise.
25040         * iconv/gconv_dl.c: Likewise.
25041         * iconv/gconv_int.h: Likewise.
25042         * iconv/gconv_trans.c: Likewise.
25043         * include/link.h: Likewise.
25044         * inet/getnameinfo.c: Likewise.
25045         * inet/getnetgrent.c: Likewise.
25046         * inet/getnetgrent_r.c: Likewise.
25047         * intl/bindtextdom.c: Likewise.
25048         * intl/dcigettext.c: Likewise.
25049         * intl/finddomain.c: Likewise.
25050         * intl/gettextP.h: Likewise.
25051         * intl/loadmsgcat.c: Likewise.
25052         * intl/localealias.c: Likewise.
25053         * intl/textdomain.c: Likewise.
25054         * libidn/idn-stub.c: Likewise.
25055         * libio/libioP.h: Likewise.
25056         * locale/duplocale.c: Likewise.
25057         * locale/freelocale.c: Likewise.
25058         * locale/newlocale.c: Likewise.
25059         * locale/setlocale.c: Likewise.
25060         * login/getutent_r.c: Likewise.
25061         * login/getutid_r.c: Likewise.
25062         * login/getutline_r.c: Likewise.
25063         * login/utmp-private.h: Likewise.
25064         * login/utmpname.c: Likewise.
25065         * malloc/mtrace.c: Likewise.
25066         * misc/efgcvt.c: Likewise.
25067         * misc/error.c: Likewise.
25068         * misc/fstab.c: Likewise.
25069         * misc/getpass.c: Likewise.
25070         * misc/mntent.c: Likewise.
25071         * misc/syslog.c: Likewise.
25072         * nis/nis_call.c: Likewise.
25073         * nis/nis_callback.c: Likewise.
25074         * nis/nss-default.c: Likewise.
25075         * nis/nss_compat/compat-grp.c: Likewise.
25076         * nis/nss_compat/compat-initgroups.c: Likewise.
25077         * nis/nss_compat/compat-pwd.c: Likewise.
25078         * nis/nss_compat/compat-spwd.c: Likewise.
25079         * nis/nss_nis/nis-alias.c: Likewise.
25080         * nis/nss_nis/nis-ethers.c: Likewise.
25081         * nis/nss_nis/nis-grp.c: Likewise.
25082         * nis/nss_nis/nis-hosts.c: Likewise.
25083         * nis/nss_nis/nis-network.c: Likewise.
25084         * nis/nss_nis/nis-proto.c: Likewise.
25085         * nis/nss_nis/nis-pwd.c: Likewise.
25086         * nis/nss_nis/nis-rpc.c: Likewise.
25087         * nis/nss_nis/nis-service.c: Likewise.
25088         * nis/nss_nis/nis-spwd.c: Likewise.
25089         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25090         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25091         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25092         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25093         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25094         * nis/nss_nisplus/nisplus-network.c: Likewise.
25095         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25096         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25097         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25098         * nis/nss_nisplus/nisplus-service.c: Likewise.
25099         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25100         * nis/ypclnt.c: Likewise.
25101         * nptl/libc_pthread_init.c: Likewise.
25102         * nss/getXXbyYY.c: Likewise.
25103         * nss/getXXent.c: Likewise.
25104         * nss/getXXent_r.c: Likewise.
25105         * nss/nss_db/db-XXX.c: Likewise.
25106         * nss/nss_db/db-netgrp.c: Likewise.
25107         * nss/nss_db/nss_db.h: Likewise.
25108         * nss/nss_files/files-XXX.c: Likewise.
25109         * nss/nss_files/files-alias.c: Likewise.
25110         * nss/nsswitch.c: Likewise.
25111         * posix/regex_internal.h: Likewise.
25112         * posix/wordexp.c: Likewise.
25113         * pwd/fgetpwent.c: Likewise.
25114         * resolv/res_hconf.c: Likewise.
25115         * resolv/res_libc.c: Likewise.
25116         * shadow/fgetspent.c: Likewise.
25117         * shadow/lckpwdf.c: Likewise.
25118         * shadow/sgetspent.c: Likewise.
25119         * socket/opensock.c: Likewise.
25120         * stdio-common/reg-modifier.c: Likewise.
25121         * stdio-common/reg-printf.c: Likewise.
25122         * stdio-common/reg-type.c: Likewise.
25123         * stdio-common/vfprintf.c: Likewise.
25124         * stdio-common/vfscanf.c: Likewise.
25125         * stdlib/abort.c: Likewise.
25126         * stdlib/cxa_atexit.c: Likewise.
25127         * stdlib/fmtmsg.c: Likewise.
25128         * stdlib/random.c: Likewise.
25129         * stdlib/setenv.c: Likewise.
25130         * string/strsignal.c: Likewise.
25131         * sunrpc/auth_none.c: Likewise.
25132         * sunrpc/bindrsvprt.c: Likewise.
25133         * sunrpc/create_xid.c: Likewise.
25134         * sunrpc/key_call.c: Likewise.
25135         * sunrpc/rpc_thread.c: Likewise.
25136         * sysdeps/arm/backtrace.c: Likewise.
25137         * sysdeps/generic/ldsodefs.h: Likewise.
25138         * sysdeps/generic/stdio-lock.h: Likewise.
25139         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25140         * sysdeps/i386/backtrace.c: Likewise.
25141         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25142         * sysdeps/m68k/backtrace.c: Likewise.
25143         * sysdeps/mach/hurd/cthreads.c: Likewise.
25144         * sysdeps/mach/hurd/dirstream.h: Likewise.
25145         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25146         * sysdeps/nptl/malloc-machine.h: Likewise.
25147         * sysdeps/nptl/stdio-lock.h: Likewise.
25148         * sysdeps/posix/dirstream.h: Likewise.
25149         * sysdeps/posix/getaddrinfo.c: Likewise.
25150         * sysdeps/posix/system.c: Likewise.
25151         * sysdeps/pthread/aio_suspend.c: Likewise.
25152         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25153         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25154         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25155         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25156         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25157         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25158         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25159         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25160         * sysdeps/unix/sysv/linux/system.c: Likewise.
25161         * sysdeps/x86_64/backtrace.c: Likewise.
25162         * time/alt_digit.c: Likewise.
25163         * time/era.c: Likewise.
25164         * time/tzset.c: Likewise.
25165         * wcsmbs/wcsmbsload.c: Likewise.
25166         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25167         instead of <bits/libc-lock.h> in comment.
25169 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25171         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25172         Only use .set mips2 if the current ISA is below mips2.
25173         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25174         Likewise.
25175         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25176         mips32r2 if the current ISA is below mips32r2.
25177         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25178         (TLS_IE): Updated to use the TLD_RDHWR macro.
25179         (TLS_LE): Likewise.
25180         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25181         __ASSEMBLER__ condition.
25183 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25185         Fix parallel build of before-compile targets.
25187         * sysdeps/mach/Makefile ($(patsubst
25188         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25189         mach-before-compile target.
25190         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25191         io fs process)): Move rule to dedicated hurd-before-compile target.
25193 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25195         Fix rules generating headers in hurd/ and mach/ when initial make call
25196         has subdir= explicitly set.
25198         * sysdeps/mach/Makefile ($(patsubst
25199         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25200         calling $(MAKE).
25201         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25202         io fs process)): Force subdir to hurd when calling $(MAKE).
25203         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25204         subdir to mach when calling $(MAKE).
25206 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25208         Check sysheaders when looking for Mach and Hurd headers
25210         * sysdeps/mach/configure.ac: Add sysheaders check.
25211         * sysdeps/mach/configure: Regenerate.
25212         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25213         * sysdeps/mach/hurd/configure: Regenerate.
25215 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25217         [BZ #18921]
25218         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25219         Fix inverted sense of test of 'o_directory_works' value.
25220         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25221         Bernhard Voelker <mail@bernhard-voelker.de>.
25223 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25225         [BZ #14912]
25226         * bits/linkmap.h: Move to ...
25227         * sysdeps/generic/linkmap.h: ...here.
25228         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25229         * sysdeps/aarch64/linkmap.h: ...here.
25230         * sysdeps/arm/bits/linkmap.h: Move to ...
25231         * sysdeps/arm/linkmap.h: ...here.
25232         * sysdeps/hppa/bits/linkmap.h: Move to ...
25233         * sysdeps/hppa/linkmap.h: ...here.
25234         * sysdeps/ia64/bits/linkmap.h: Move to ...
25235         * sysdeps/ia64/linkmap.h: ...here.
25236         * sysdeps/mips/bits/linkmap.h: Move to ...
25237         * sysdeps/mips/linkmap.h: ...here.
25238         * sysdeps/s390/bits/linkmap.h: Move to ...
25239         * sysdeps/s390/linkmap.h: ...here.
25240         * sysdeps/sh/bits/linkmap.h: Move to ...
25241         * sysdeps/sh/linkmap.h: ...here.
25242         * sysdeps/x86/bits/linkmap.h: Move to ...
25243         * sysdeps/x86/linkmap.h: ...here.
25244         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25246 2015-09-04  Andreas Schwab  <schwab@suse.de>
25248         [BZ #18635]
25249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25250         (__makecontext): Terminate FDE before return label.
25251         (__novec_makecontext): Likewise.
25253 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25255         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25256         first member of struct sv in syscall macro.
25258 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25260         [BZ #14912]
25261         * bits/stdio-lock.h: Move to ...
25262         * sysdeps/generic/stdio-lock.h: ...here.
25263         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25264         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25265         * sysdeps/nptl/stdio-lock.h: ...here.
25266         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25267         * include/libio.h: Include <stdio-lock.h> instead of
25268         <bits/stdio-lock.h>.
25269         * sysdeps/nptl/fork.c: Likewise.
25270         * sysdeps/pthread/flockfile.c: Likewise.
25271         * sysdeps/pthread/ftrylockfile.c: Likewise.
25272         * sysdeps/pthread/funlockfile.c: Likewise.
25274         [BZ #14912]
25275         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25276         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25277         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25278         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25279         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25280         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25281         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25283 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25285         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25286         (test-xfail-tst-protected1b): New variable.
25288 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25290         [BZ #14912]
25291         * bits/libc-tsd.h: Move to ...
25292         * sysdeps/generic/libc-tsd.h: ...here.
25293         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25294         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25295         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25296         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25297         * include/ctype.h: Include <libc-tsd.h> instead of
25298         <bits/libc-tsd.h>.
25299         * include/rpc/rpc.h: Likewise.
25300         * locale/localeinfo.h: Likewise.
25301         * sunrpc/rpc_thread.c: Likewise.
25302         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25303         * sysdeps/nptl/malloc-machine.h: Likewise.
25305         * Makefile (headers): Remove bits/libc-lock.h.
25306         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25308         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25309         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25310         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25311         <bits/stdio-lock.h>.
25312         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25313         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25315 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25317         [BZ #18757]
25318         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25319         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25320         BZ #18757.
25322 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25324         * malloc/mtrace.pl: Filter out NULL entries.
25326 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25328         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25329         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25330         macro.
25332         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25333         (TCP_CC_INFO): Likewise.
25334         (TCP_SAVE_SYN): Likewise.
25335         (TCP_SAVED_SYN): Likewise.
25337 2015-08-31  Brett Neumeier <brett@neumeier.us>
25339         [BZ #18870]
25340         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25342 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25344         [BZ #18873]
25345         Fix broken overflow check in posix_fallocate
25346         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25347         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25348         Fix parenthesization typo.
25350 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25352         [BZ #18887]
25353         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25354         tst-mntent-blank-passno.
25355         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25356         * misc/tst-mntent-blank-corrupt.c: New test.
25357         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25358         * misc/tst-mntent.c (do_test): ... here.
25360 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25362         [BZ #4404]
25363         * po/de.po: Fix SIGALRM typo.
25365 2015-08-28  James Perkins  <james@loowit.net>
25367         * time/tst-strptime2.c (tests): Replace short list of test
25368         strings for strptime %z specifier with code which exhaustively
25369         tests every combination of sign and 0 to 5 digits. Tests for
25370         rejection of invalid strings.
25372 2015-08-28  James Perkins  <james@loowit.net>
25374         [BZ #16141]
25375         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25376         calculation, removing incorrect decimal time rounding, so that
25377         all minute values result in a valid seconds value.
25378         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25379         offset range limits to UTC-99:59 through UTC+99:59 to parse
25380         current and historical use cases.
25381         * time/tst-strptime2.c (tests): Modify and add tests for the
25382         strptime %z input field descriptor, specifically conversion of
25383         minutes to seconds and validating an offset range of -9959 to
25384         +9959.
25386 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25387             Dmitry V. Levin  <ldv@altlinux.org>
25389         [BZ #18877]
25390         * posix/Makefile (tests): Add tst-mmap-offset.
25391         * posix/tst-mmap.c: New file.
25392         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25393         offset calculation for negative values.
25395 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25397         * sysdeps/i386/init-arch.h: New file.
25398         * sysdeps/i386/i586/init-arch.h: Likewise.
25399         * sysdeps/i386/i686/init-arch.h: Likewise.
25400         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25401         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25402         * sysdeps/x86/cpu-features.h (bit_I586): New.
25403         (bit_I686): Likewise.
25404         (bit_CX8): Likewise.
25405         (bit_CMOV): Likewise.
25406         (index_CX8): Likewise.
25407         (index_CMOV): Likewise.
25408         (index_I586): Likewise.
25409         (index_I686): Likewise.
25410         (reg_CX8): Likewise.
25411         (reg_CMOV): Likewise.
25412         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25413         available at compile-time.
25414         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25415         available at compile-time.
25416         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25417         (USE_I686): Likewise.
25419 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25421         * sysdeps/i386/bcopy.S: New file.
25422         * sysdeps/i386/bzero.S: Likewise.
25423         * sysdeps/i386/memcpy.S: Likewise.
25424         * sysdeps/i386/memmove.S: Likewise.
25425         * sysdeps/i386/mempcpy.S: Likewise.
25426         * sysdeps/i386/memset.S: Likewise.
25427         * sysdeps/i386/bzero.c: Removed.
25428         * sysdeps/i386/memset.c: Likewise.
25429         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25430         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25431         * sysdeps/i386/i586/memset_chk.S: Likewise.
25432         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25433         * sysdeps/i386/memcpy_chk.S: Here.
25434         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25435         * sysdeps/i386/memmove_chk.S: Here.
25436         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25437         * sysdeps/i386/mempcpy_chk.S: Likewise.
25438         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25439         * sysdeps/i386/memset_chk.S: Likewise.
25441 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25443         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25444         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25445         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25446         * soft-fp/fmadf4.c: Ditto.
25447         * soft-fp/fmatf4.c: Ditto.
25449 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25451         * sysdeps/i386/i586/Implies: Removed.
25452         * sysdeps/i386/i686/Implies: Likewise.
25454 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25456         * sysdeps/i386/i486/strlen.S: Moved to ...
25457         * sysdeps/i386/strlen.S: Here.
25459 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25461         * sysdeps/i386/i486/strcat.S: Moved to ...
25462         * sysdeps/i386/strcat.S: Here.
25464 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25466         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25467         * sysdeps/i386/pthread_spin_trylock.S: Here.
25468         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25469         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25471 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25473         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25474         * sysdeps/i386/string-inlines.c: Here.
25476 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25478         * sysdeps/i386/i486/htonl.S: Moved ...
25479         * sysdeps/i386/htonl.S: here.
25481 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25483         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25484         * sysdeps/i386/bits/atomic.h: Here.
25486 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25488         * sysdeps/i386/i486/Versions: Removed.
25490 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25492         [BZ #2898]
25493         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25494         Based on patch by Aurelien Jarno.
25496 2015-08-26  Stan Shebs  <stanshebs@google.com>
25498         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25499         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25501 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25503         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25504         * sysdeps/powerpc/dl-procinfo.c:
25505         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25506         feature so it shows when LD_SHOW_AUXV=1.
25508 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25510         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25511         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25512         definition.  ISA 2.07B no longer requires full sync.
25514 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25516         [BZ #18863]
25517         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25518         (si_call_addr): Define.
25519         (si_syscall): Define.
25520         (si_arch): Define.
25522 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25524         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25525         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25526         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25527         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25528         (__memset_zero_constant_len_parameter): New.
25529         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25530         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25531         (__memset_zero_constant_len_parameter): Don't define if
25532         __memset_chk or USE_AS_BZERO are defined.
25534         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25535         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25536         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25538         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25539         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25540         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25541         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25542         comments.
25543         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25544         -mno-mmx for $(all-rtld-routines).
25545         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25546         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25547         i386.
25549 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25551         * sysdeps/generic/unwind.h
25552         (_Unwind_Word): Use __mode__(__unwind_word__)
25553         instead of __mode__(__word__).
25554         (_Unwind_Sword): Likewise.
25556         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25557         (MAX_NEEDED_INPUT): New define.
25558         (MAX_NEEDED_OUTPUT): New define.
25560         * NEWS: New item for IBM z13 string optimizations.
25562         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25563         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25564         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25565         * sysdeps/s390/multiarch/Makefile
25566         (sysdep_routines): Add memrchr functions.
25567         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25568         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25570         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25571         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25572         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25573         * sysdeps/s390/multiarch/Makefile
25574         (sysdep_routines): Add wmemcmp functions.
25575         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25576         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25577         * benchtests/bench-wmemcmp.c: New File.
25578         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25580         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25581         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25582         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25583         * sysdeps/s390/multiarch/Makefile
25584         (sysdep_routines): Add wmemset functions.
25585         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25586         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25587         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25588         * string/test-memset.c: Add wmemset support.
25589         * wcsmbs/test-wmemset.c: New File.
25590         * wcsmbs/Makefile (strop-tests): Add wmemset.
25591         * benchtests/bench-memset.c: Add wmemset support.
25592         * benchtests/bench-wmemset.c: New File.
25593         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25595         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25596         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25597         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25598         * sysdeps/s390/multiarch/Makefile
25599         (sysdep_routines): Add memccpy functions.
25600         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25601         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25602         * string/memccpy.c: Use MEMCCPY if defined.
25604         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25605         * sysdeps/s390/multiarch/memchr.c: Likewise.
25606         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25607         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25608         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25609         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25610         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25611         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25612         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25613         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25614         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25615         and rawmemchr functions.
25616         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25617         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25618         and wmemchr.
25619         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25620         * string/test-memchr.c: Add wmemchr support.
25621         * wcsmbs/test-wmemchr.c: New File.
25622         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25623         * benchtests/bench-memchr.c: Add wmemchr support.
25624         * benchtests/bench-wmemchr.c: New File.
25625         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25627         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25628         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25629         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25630         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25631         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25632         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25634         wcscspn functions.
25635         * sysdeps/s390/multiarch/ifunc-impl-list.c
25636         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25637         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25638         * string/test-strcspn.c: Add wcscspn support.
25639         * wcsmbs/test-wcscspn.c: New File.
25640         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25641         * benchtests/bench-strcspn.c: Add wcscspn support.
25642         * benchtests/bench-wcscspn.c: New File.
25643         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25645         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25646         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25647         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25648         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25649         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25650         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25652         wcspbrk functions.
25653         * sysdeps/s390/multiarch/ifunc-impl-list.c
25654         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25655         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25656         * string/test-strpbrk.c: Add wcspbrk support.
25657         * wcsmbs/test-wcspbrk.c: New File.
25658         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25659         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25660         * benchtests/bench-wcspbrk.c: New File.
25661         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25663         * sysdeps/s390/multiarch/strspn-c.c: New File.
25664         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25665         * sysdeps/s390/multiarch/strspn.c: Likewise.
25666         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25667         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25668         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25669         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25671         wcsspn functions.
25672         * sysdeps/s390/multiarch/ifunc-impl-list.c
25673         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25674         * string/test-strspn.c: Add wcsspn support.
25675         * wcsmbs/test-wcsspn.c: New File.
25676         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25677         * benchtests/bench-strspn.c: Add wcsspn support.
25678         * benchtests/bench-wcsspn.c: New File.
25679         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25681         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25682         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25683         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25684         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25685         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25686         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25687         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25688         wcsrchr functions.
25689         * sysdeps/s390/multiarch/ifunc-impl-list.c
25690         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25691         * benchtests/bench-wcsrchr.c: New File.
25692         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25694         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25695         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25696         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25697         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25698         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25699         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25700         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25701         wcschrnul functions.
25702         * sysdeps/s390/multiarch/ifunc-impl-list.c
25703         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25704         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25705         * string/test-strchr.c: Add wcschrnul support.
25706         * wcsmbs/test-wcschrnul.c: New File.
25707         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25708         * benchtests/bench-strchr.c: Add wcschrnul support.
25709         * benchtests/bench-wcschrnul.c: New File.
25710         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25712         * sysdeps/s390/multiarch/strchr-c.c: New File.
25713         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25714         * sysdeps/s390/multiarch/strchr.c: Likewise.
25715         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25716         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25717         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25718         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25719         wcschr functions.
25720         * sysdeps/s390/multiarch/ifunc-impl-list.c
25721         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25722         * string/strchr.c (STRCHR): Define and use macro.
25723         * benchtests/bench-wcschr.c: New File.
25724         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25726         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25727         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25728         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25729         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25730         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25731         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25732         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25733         wcsncmp functions.
25734         * sysdeps/s390/multiarch/ifunc-impl-list.c
25735         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25736         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25737         * benchtests/bench-strncmp.c: Add wcsncmp support.
25738         * benchtests/bench-wcsncmp.c: New File.
25739         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25741         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25742         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25743         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25744         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25745         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25746         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25747         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25749         wcscmp functions.
25750         * sysdeps/s390/multiarch/ifunc-impl-list.c
25751         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25752         * string/strcmp.c (STRCMP): Define and use macro.
25753         * benchtests/bench-wcscmp.c: New File.
25754         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25755         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25756         instead of _HAVE_STRING_ARCH_memchr.
25758         * sysdeps/s390/multiarch/strncat-c.c: New File.
25759         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25760         * sysdeps/s390/multiarch/strncat.c: Likewise.
25761         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25762         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25763         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25764         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25765         wcsncat functions.
25766         * sysdeps/s390/multiarch/ifunc-impl-list.c
25767         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25768         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25769         * string/test-strncat.c: Add wcsncat support.
25770         * wcsmbs/test-wcsncat.c: New File.
25771         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25772         * benchtests/bench-strncat.c: Add wcsncat support.
25773         * benchtests/bench-wcsncat.c: New File.
25774         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25776         * sysdeps/s390/multiarch/strcat-c.c: New File.
25777         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25778         * sysdeps/s390/multiarch/strcat.c: Likewise.
25779         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25780         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25781         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25783         wcscat functions.
25784         * sysdeps/s390/multiarch/ifunc-impl-list.c
25785         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25786         * string/strcat.c (STRCAT): Define and use macro.
25787         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25788         * string/test-strcat.c: Add wcscat support.
25789         * wcsmbs/test-wcscat.c: New File.
25790         * wcsmbs/Makefile (strop-tests): Add wcscat.
25791         * benchtests/bench-strcat.c: Add wcscat support.
25792         * benchtests/bench-wcscat.c: New File.
25793         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25795         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25796         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25797         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25798         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25799         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25800         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25801         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25802         wcpncpy functions.
25803         * sysdeps/s390/multiarch/ifunc-impl-list.c
25804         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25805         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25806         * string/test-stpncpy.c: Add wcpncpy support.
25807         * wcsmbs/test-wcpncpy.c: New File.
25808         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25809         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25810         * benchtests/bench-wcpncpy.c: New File.
25811         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25813         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25814         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25815         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25816         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25817         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25818         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25819         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25820         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25821         wcsncpy functions.
25822         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25823         * sysdeps/s390/multiarch/ifunc-impl-list.c
25824         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25825         * string/test-strncpy.c: Add wcsncpy support.
25826         * wcsmbs/test-wcsncpy.c: New File.
25827         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25828         * benchtests/bench-strncpy.c: Add wcsncpy support.
25829         * benchtests/bench-wcsncpy.c: New File.
25830         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25832         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25833         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25834         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25835         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25836         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25837         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25838         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25839         wcpcpy functions.
25840         * string/stpcpy.c: Use STPCPY if defined.
25841         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25842         * sysdeps/s390/multiarch/ifunc-impl-list.c
25843         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25844         * string/test-stpcpy.c: Add wcpcpy support.
25845         * wcsmbs/test-wcpcpy.c: New File.
25846         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25847         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25848         * benchtests/bench-wcpcpy.c: New File.
25849         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25851         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25852         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25853         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25854         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25855         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25856         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25857         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25858         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25859         wcscpy functions.
25860         * sysdeps/s390/multiarch/ifunc-impl-list.c
25861         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25862         * benchtests/bench-wcscpy.c: New File.
25863         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25865         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25866         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25867         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25868         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25869         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25870         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25872         wcsnlen functions.
25873         * sysdeps/s390/multiarch/ifunc-impl-list.c
25874         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25875         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25876         * string/test-strnlen.c: Add wcsnlen support.
25877         * wcsmbs/test-wcsnlen.c: New File.
25878         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25879         * benchtests/bench-strnlen.c: Add wcsnlen support.
25880         * benchtests/bench-wcsnlen.c: New File.
25881         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25883         * sysdeps/s390/multiarch/Makefile: New File.
25884         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25885         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25886         * sysdeps/s390/multiarch/strlen.c: Likewise.
25887         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25888         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25889         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25890         * string/strlen.c (STRLEN): Define and use macro.
25891         * sysdeps/s390/multiarch/ifunc-impl-list.c
25892         (IFUNC_VX_IMPL): New macro function.
25893         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25894         * benchtests/Makefile (wcsmbs-bench): New variable.
25895         (string-bench-all): Added wcsmbs-bench.
25896         * benchtests/bench-wcslen.c: New File.
25898         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25899         s390_vx_libc_ifunc2): New macro function.
25901         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25902         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25903         assembler support.
25904         * sysdeps/s390/configure: Regenerated.
25906         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25907         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25909         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25910         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25911         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25913         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25914         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25915         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25916         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25917         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25918         (memcmp, bcmp): Use __memcmp_default as alias source.
25919         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25920         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25921         Rename to __memcmp_default.
25922         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25923         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25924         (memcpy): Use __memcpy_default as alias source.
25925         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25926         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25927         Rename to __memcpy_default.
25928         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25929         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25930         (memset): Use __memset_default as alias source.
25931         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25932         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25933         Rename to __memset_default.
25934         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25935         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25937         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25938         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25939         (memcmp, bcmp): Use __memcmp_default as alias source.
25940         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25941         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25942         Rename to __memcmp_default.
25943         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25944         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25945         (memcpy): Use __memcpy_default as alias source.
25946         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25947         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25948         Rename to __memcpy_default.
25949         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25950         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25951         (memset): Use __memset_default as alias source.
25952         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25953         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25954         Rename to __memset_default.
25955         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25956         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25958         [BZ #18610]
25959         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25960         __ieee_instruction_pointer to __unused.
25961         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25962         __ieee_instruction_pointer.
25963         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25964         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25965         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25966         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25967         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25968         Mark dxc-field as reserved.
25970 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25972         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25973         if the weak reference is not null.
25975 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25977         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25979         [BZ #11214]
25980         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25982 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25984         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25985         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25986         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25987         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25988         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25989         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25990         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25991         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25992         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25993         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25994         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25995         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25996         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25997         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25998         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25999         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26000         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26001         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26003 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26005         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26006         register other than r0 for tabort, it has special meaning.
26007         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26008         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26009         transaction before starting syscall.
26011 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26013         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26015 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26017         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26019         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26020         * sysdeps/x86_64/rtld-memset.S: Likewise.
26021         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26022         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26023         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26024         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26026         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26028 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26030         * debug/strcpy_chk.c: Improve performance.
26031         * debug/stpcpy_chk.c: Likewise.
26032         * sysdeps/x86_64/strcpy_chk.S: Remove.
26033         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26035         [BZ #18240]
26036         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26038 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26040         [BZ #15128]
26041         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26042         ifuncmain8.
26043         (modules-names): Add ifuncmod8.
26044         ($(objpfx)ifuncmain8): New rule.
26045         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26046         <cpuid.h>.
26047         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26048         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26049         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26050         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26051         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26052         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26053         * sysdeps/x86_64/ifuncmain8.c: New file.
26054         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26055         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26056         Removed.
26057         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26058         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26059         Change rtld_savespace_sse to __glibc_unused2.
26060         (RTLD_CHECK_FOREIGN_CALL): Removed.
26061         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26062         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26063         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26065 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26067         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26069 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26071         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26072         Unconditionally set __fpcr to avoid uninialized warning.
26073         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26075 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26077         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26078         is corrupt.
26080         * malloc/arena.c (arena_get2): Drop unused argument.
26081         (arena_lock): Adjust.
26082         (arena_get_retry): Likewise.
26084 2015-08-24  Andreas Schwab  <schwab@suse.de>
26086         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26087         Don't define.
26088         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26089         (__ASSUME_IPC64): Don't undef.
26090         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26091         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26092         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26093         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26094         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26095         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26096         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26097         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26098         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26099         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26100         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26101         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26102         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26103         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26104         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26105         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26106         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26107         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26108         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26109         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26110         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26112 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26114         * manual/Makefile (install): Only build manual when perl is available.
26116 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26119         '#undef memcpy' by '#undef memchr'.
26121 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26123         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26124         memchr not point to the internal __GI_memchr implementation.
26126 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26128         * timezone/Makefile (CFLAGS-zdump.c): Remove
26129         -Wno-strict-prototypes.
26130         (CFLAGS-zic.c): Likewise.
26131         (CFLAGS-ialloc.c): Likewise.
26132         (CFLAGS-scheck.c): Likewise.
26134         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26135         -Wno-error=undef.
26137 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26139         * i386/i686/multiarch/strcasestr-c.c: Removed.
26140         * x86_64/multiarch/strcasestr.c: Likewise.
26141         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26142         Remove strcasestr.
26144 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26146         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26148         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26149         variables for high and low parts before possibly modifying them.
26151 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26153         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26154         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26155         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26156         of "multiarch/init-arch.h".
26157         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26158         * sysdeps/x86/init-arch.h: This.
26160 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26162         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26163         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26165 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26167         [BZ #17787]
26168         * manual/macros.texi: Add twoexp macro.
26169         * manual/filesys.texi: Fix exponents.
26170         * manual/llio.texi: Likewise.
26171         * manual/stdio.texi: Likewise.
26173 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26175         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26176         incorrect use.
26178 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26180         [BZ #18370]
26181         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26182         whose real or imaginary part has small absolute value.
26183         * math/s_csqrtf.c (__csqrtf): Likewise.
26184         * math/s_csqrtl.c (__csqrtl): Likewise.
26185         * math/auto-libm-test-in: Add more tests of csqrt.
26186         * math/auto-libm-test-out: Regenerated.
26187         * sysdeps/i386/fpu/libm-test-ulps: Update.
26189 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26191         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26192         __ppc_set_ppr_very_low): New functions.
26193         * manual/platform.texi: Add documentation about
26194         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26196 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26198         * string/stpncpy.c (stpncpy): Improve performance using
26199         __strnlen/memcpy/memset.
26201 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26203         [BZ #18796]
26204         * scripts/test-installation.pl: Don't add -lmvec to build options if
26205         libmvec wasn't built.
26207 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26209         [BZ #14341]
26210         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26211         case when there is a gap between DT_REL and DT_JMPREL sections.
26212         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26213         (LDFLAGS-tst-split-dynreloc): New.
26214         (tst-split-dynreloc-ENV): Likewise.
26215         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26216         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26218 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26220         [BZ #18822]
26221         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26222         attribute_hidden.
26223         (__xstat64_conv): Likewise.
26224         (__xstat32_conv): Likewise.
26226 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26228         [BZ #18822]
26229         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26230         Don't load %ebx when calling __setcontext.  Call __setcontext
26231         with HIDDEN_JUMPTARGET.
26232         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26233         libc_hidden_def.
26235 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26237         * sysdeps/i386/i686/Makefile
26238         [$(subdir) == string] (sysdep_routines): Moved to ...
26239         * sysdeps/i386/Makefile: Here.
26240         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26241         * sysdeps/i386/cacheinfo.c: Here.
26242         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26243         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26244         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26245         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26247 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26249         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26250         __i586__ is defined.
26251         (HAS_I686): Defined to 1 if __i686__ is defined.
26253 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26255         * elf/Makefile [$(have-z-execstack) = yes]
26256         (CPPFLAGS-tst-execstack.c): New variable.
26258         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26259         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26260         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26261         UTMPX || _HAVE_UT_TV].
26262         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26263         UTMPX || _HAVE_UT_TV - 0].
26265 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26267         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26268         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26269         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26271 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26273         * sysdeps/powerpc/dl-procinfo.c:
26274         (_dl_powerpc_cap_flags): Added missing strings for some
26275         hwcap features.
26276         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26278 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26280         Port the 0x7efe...feff pattern to GCC 6.
26281         See Steve Ellcey's bug report in:
26282         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26283         * string/memrchr.c (MEMRCHR):
26284         * string/rawmemchr.c (RAWMEMCHR):
26285         * string/strchr.c (strchr):
26286         * string/strchrnul.c (STRCHRNUL):
26287         Rewrite code to avoid issues with signed shift overflow.
26289 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26291         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26292         whether cpuid is available only if HAS_CPUID is 0.
26293         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26294         (HAS_I586): Likewise.
26295         (HAS_I686): Likewise.
26297 2015-08-18  Zack Weinberg  <zackw@panix.com>
26299         * misc/Versions (libc): Add GLIBC_2.23.
26301 2015-08-18  Alan Modra  <amodra@gmail.com>
26303         [BZ #18421]
26304         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26305         .Lp__global.
26306         (_start): Load %dp via .Lp__global.
26307         [!SHARED]: Use .section .rodata.
26309 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26311         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26312         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26314 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26316         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26317         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26319 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26321         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26322         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26324 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26326         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26327         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26329 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26331         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26332         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26334 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26336         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26337         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26339 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26341         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26343 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26345         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26346         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26347         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26348         (__ASSUME_LWS_CAS): Delete.
26350 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26352         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26353         * sysdeps/hppa/configure: Regenerated.
26354         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26355         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26356         * sysdeps/hppa/nptl/tls.h: Likewise.
26358 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26360         [BZ #18823]
26361         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26362         for scaling up small arguments.
26363         * math/s_csqrtf.c (__csqrtf): Likewise.
26364         * math/s_csqrtl.c (__csqrtl): Likewise.
26365         * math/auto-libm-test-in: Add more tests of csqrt.
26366         * math/auto-libm-test-out: Regenerated.
26368 2015-08-17  Andreas Schwab  <schwab@suse.de>
26370         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26371         version set GLIBC_2.19.
26373 2015-08-16  Zack Weinberg  <zackw@panix.com>
26375         [BZ #18681]
26376         * misc/regexp.h: This interface is no longer supported.
26377         Remove all contents, leaving only an #error directive.
26378         * misc/regexp.c (loc1, loc2, locs, step, advance):
26379         Demote to compatibility symbols.
26381 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26383         [BZ #18084]
26384         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26385         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26386         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26387         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26388         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26389         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26390         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26391         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26392         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26394 2015-08-15  Zack Weinberg  <zackw@panix.com>
26396         [BZ #18795]
26397         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26398         buffer length is known to be too large, not if it's known to be
26399         small enough.
26400         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26401         overflow at runtime, involving a length parameter, twice: once
26402         with a compile-time constant length parameter, once without.
26404 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26406         [BZ #18824]
26407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26408         scaling x * y up instead of down.
26409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26411         * math/auto-libm-test-in: Add more tests of fma.
26412         * math/auto-libm-test-out: Regenerated.
26414 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26418 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26420         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26421         unnecessary movq.
26422         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26423         Likewise.
26425 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26427         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26428         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26429         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26430         and tgamma.
26431         * math/auto-libm-test-out: Regenerated.
26432         * sysdeps/i386/fpu/libm-test-ulps: Update.
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435         [BZ #16520]
26436         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26437         (__tanh): Force underflow exception for arguments with small
26438         absolute value.
26439         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26440         (__tanhf): Force underflow exception for arguments with small
26441         absolute value.
26442         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26443         (__tanhl): Force underflow exception for arguments with small
26444         absolute value.
26445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26446         (__tanhl): Force underflow exception for arguments with small
26447         absolute value.
26448         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26449         (__tanhl): Force underflow exception for arguments with small
26450         absolute value.
26451         * math/auto-libm-test-in: Add more tests of tanh.
26452         * math/auto-libm-test-out: Regenerated.
26453         * sysdeps/i386/fpu/libm-test-ulps: Update.
26455 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26457         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26458         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26460 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26462         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26463         <cpuid.h>.
26465 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26467         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26468         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26470 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26472         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26473         Remove $(objpfx)init-arch.o.
26474         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26475         init-arch.
26476         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26477         (INIT_ARCH_EXT): Defined as empty.
26478         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26479         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26480         __init_cpu_features call.  Replace HAS_XXX with
26481         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26482         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26484         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26485         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26487         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26488         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26489         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26490         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26499         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26501         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26518 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26520         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26521         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26522         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26523         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26524         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26525         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26526         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26527         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26528         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26529         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26530         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26531         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26532         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26533         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26534         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26535         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26536         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26537         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26538         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26539         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26540         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26541         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26542         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26543         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26544         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26545         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26546         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26547         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26548         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26549         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26550         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26551         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26552         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26553         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26554         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26555         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26556         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26558         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26559         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26560         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26561         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26562         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26564 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26566         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26567         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26568         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26569         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26570         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26571         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26572         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26573         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26574         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26577         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26578         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26579         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26580         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26581         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26582         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26583         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26584         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26585         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26587         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26588         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26589         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26590         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26591         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26592         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26593         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26594         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26595         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26596         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26597         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26598         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26599         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26601         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26602         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26603         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26604         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26605         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26606         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26607         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26608         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26610 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26612         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26613         (dl_platform_init): Call init_cpu_features.
26614         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26615         * sysdeps/i386/i686/cacheinfo.c
26616         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26617         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26618         * sysdeps/i386/i686/multiarch/Versions: Removed.
26619         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26620         Removed.
26621         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26622         * sysdeps/unix/sysv/linux/x86/Makefile
26623         (libpthread-sysdep_routines): Remove init-arch.
26624         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26625         <sysdeps/x86_64/dl-procinfo.c> instead of
26626         sysdeps/generic/dl-procinfo.c>.
26627         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26628         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26629         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26630         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26631         [$(subdir) == elf] (tests-static): Add
26632         tst-get-cpu-features-static.
26633         * sysdeps/x86/Versions: New file.
26634         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26635         * sysdeps/x86/cpu-features.c: Likewise.
26636         * sysdeps/x86/cpu-features.h: Likewise.
26637         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26638         * sysdeps/x86/libc-start.c: Likewise.
26639         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26640         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26641         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26642         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26643         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26644         Assume USE_MULTIARCH is defined and don't check it.
26645         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26646         (is_amd): Likewise.
26647         (max_cpuid): Likewise.
26648         (intel_check_word): Likewise.
26649         (__cache_sysconf): Don't call __init_cpu_features.
26650         (__x86_preferred_memory_instruction): Removed.
26651         (init_cacheinfo): Don't call __init_cpu_features. Replace
26652         __cpu_features with GLRO(dl_x86_cpu_features).
26653         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26654         (dl_platform_init): Call init_cpu_features.
26655         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26656         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26657         * sysdeps/x86_64/multiarch/Versions: Removed.
26658         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26659         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26660         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26661         Removed.
26662         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26664 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26666         [BZ #18820]
26667         * libio/Makefile (test-fmemopen-mem): New test.
26668         * libio/test-fmemopen.c (do_bz18820): New test.
26669         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26670         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26672 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26674         [BZ #16734]
26675         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26676         (FREE_BUF): Delete.
26677         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26678         * libio/genops.c (_IO_setb): Use malloc and free directly.
26679         (_IO_default_doallocate, _IO_default_finish): Likewise.
26680         ( _IO_unbuffer_all): Likewise.
26681         ( libc_freeres_fn): Likewise.
26682         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26683         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26684         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26685         (_IO_wdefault_doallocate): Likewise.
26687 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26689         [BZ #18086]
26690         * sysdeps/posix/nice.c (nice): Restore old errno.
26691         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26693 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26697 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26699         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26700         __bcopy and add a weak_alias to bcopy.
26701         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26702         for static build.
26704         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26705         cleanup macro usage.
26706         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26707         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26708         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26709         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26710         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26711         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26712         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26713         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26714         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26715         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26716         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26717         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26718         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26719         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26722         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26723         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26724         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26726         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26727         libc_hidden_def.
26728         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26730         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26731         (sysdep_routines): Add strstr-ppc64.
26732         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26734 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26736         [BZ #18778]
26737         * elf/Makefile (tests): Add Add tst-nodelete2.
26738         (modules-names): Add tst-nodelete2mod.
26739         (tst-nodelete2mod.so-no-z-defs): New.
26740         ($(objpfx)tst-nodelete2): Likewise.
26741         ($(objpfx)tst-nodelete2.out): Likewise.
26742         (LDFLAGS-tst-nodelete2): Likewise.
26743         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26744         out of loop through all loaded libraries.
26745         * elf/tst-nodelete2.c: New file.
26746         * elf/tst-nodelete2mod.c: Likewise.
26747         * elf/tst-znodelete-zlib.cc: Delete.
26749 2015-08-11  Andreas Schwab  <schwab@suse.de>
26751         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26752         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26753         (__openat64_nocancel): Likewise.
26755 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26757         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26758         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26759         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26760         * math/auto-libm-test-out: Regenerated.
26761         * sysdeps/i386/fpu/libm-test-ulps: Update.
26762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26764 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26766         [BZ #18790]
26767         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26768         threshold for returning +/- 1.
26769         * math/auto-libm-test-in: Add more tests of tanh.
26770         * math/auto-libm-test-out: Regenerated.
26771         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773 2015-08-10  Andreas Schwab  <schwab@suse.de>
26775         [BZ #18781]
26776         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26777         MORE_OFLAGS to oflag.
26778         * io/test-lfs.c (do_test): Test openat64.
26780 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26782         [BZ #18789]
26783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26784         smaller threshold for returning the argument.
26785         * math/auto-libm-test-in: Add more tests of sinh.
26786         * math/auto-libm-test-out: Regenerated.
26787         * sysdeps/i386/fpu/libm-test-ulps: Update.
26789 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26791         [BZ #18674]
26792         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26793         break.
26795 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26797         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26798         (generated): Don't add $(addprefix z.,$(tzfiles)).
26800 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26802         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26803         * scripts/sysd-rules.awk: Likewise.
26805 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26807         * iconvdata/tst-tables.sh: Change echo -n to printf.
26808         * nss/db-Makefile: Likewise.
26809         * posix/tst-getconf.sh: Likewise.
26810         * stdio-common/tst-unbputc.sh: Likewise.
26812 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26814         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26815         MADV_*_PAGES defines behind this feature check.
26817 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26819         [BZ #18480]
26820         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26821         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26822         Define.
26823         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26824         LOAD_REGS_5, LOAD_REGS_6): Update.
26825         (INTERNAL_SYSCALL): Update using new LOAD defines.
26826         (INTERNAL_SYSCALL_NCS): Likewise.
26827         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26829 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26831         [BZ #16734]
26832         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26834 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26836         [BZ #17905]
26837         * catgets/Makefile (tst-catgets-mem): New test.
26838         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26839         * catgets/open_catalog.c (__open_catalog): Likewise.
26840         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26842 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26844         [BZ #18787]
26845         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26846         clobber registers.
26847         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26848         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26849         Cast return to __typeof (oldval).
26851 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26853         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26854         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26855         and delete sys/syscall.h include.
26857 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26859         [BZ #16517]
26860         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26861         (tan): Force underflow exception for arguments with small absolute
26862         value.
26863         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26864         (__kernel_tanf): Force underflow exception for arguments with
26865         small absolute value.
26866         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26867         (__kernel_tanl): Force underflow exception for arguments with
26868         small absolute value.
26869         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26870         (__kernel_tanl): Force underflow exception for arguments with
26871         small absolute value.
26872         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26873         (__kernel_tanl): Force underflow exception for arguments with
26874         small absolute value.
26875         * math/auto-libm-test-in: Add more tests of tan.
26876         * math/auto-libm-test-out: Regenerated.
26878 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26880         Fix sysdeps/i386/fpu/s_scalbn.S build
26882         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26884 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26886         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26888 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26890         Fix gcrt0.o compilation
26892         When static-start-installed-name is different from
26893         start-installed-name, we must not use the shared objects.
26895         * csu/Makefile
26896         (extra-objs): Add gmon-start.o when building shared library and
26897         $(static-start-installed-name) is different from
26898         $(start-installed-name).
26899         $(objpfx)g$(static-start-installed-name): When building shared
26900         library and $(static-start-installed-name) is different from
26901         $(static-start-installed-name), revert to non-shared rule,
26902         i.e. using $(objpfx)% and gmon-start.o.
26904 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26906         [BZ #16519]
26907         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26908         (__ieee754_sinh): Force underflow exception for arguments with
26909         small absolute value.
26910         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26911         (__ieee754_sinhf): Force underflow exception for arguments with
26912         small absolute value.
26913         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26914         (__ieee754_sinhl): Force underflow exception for arguments with
26915         small absolute value.
26916         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26917         (__ieee754_sinhl): Force underflow exception for arguments with
26918         small absolute value.
26919         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26920         (__ieee754_sinhl): Force underflow exception for arguments with
26921         small absolute value.
26922         * math/auto-libm-test-in: Add more tests of sinh.
26923         * math/auto-libm-test-out: Regenerated.
26924         * sysdeps/i386/fpu/libm-test-ulps: Update.
26926 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26928         * libio/oldfileops.c: Include unistd.h.
26930 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26932         * stdlib/isomac.c: Include ctype.h.
26934 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26936         * dirent/tst-seekdir.c (main): Converted to ...
26937         (do_test): ... this.
26938         (TEST_FUNCTION): New macro.
26939         Include test-skeleton.c.
26940         * elf/tst-dlmodcount.c (main): Converted to ...
26941         (do_test): ... this.
26942         (TEST_FUNCTION): New macro.
26943         Include test-skeleton.c.
26944         * elf/tst-order-main.c (main): Converted to ...
26945         (do_test): ... this.
26946         (TEST_FUNCTION): New macro.
26947         Include test-skeleton.c.
26948         * elf/tst-pie2.c (main): Converted to ...
26949         (do_test): ... this.
26950         (TEST_FUNCTION): New macro.
26951         Include test-skeleton.c.
26952         * inet/tst-ether_aton.c (main): Converted to ...
26953         (do_test): ... this.
26954         (TEST_FUNCTION): New macro.
26955         Include test-skeleton.c.
26956         * misc/tst-mntent.c (main): Converted to ...
26957         (do_test): ... this.
26958         (TEST_FUNCTION): New macro.
26959         Include test-skeleton.c.
26960         * misc/tst-tsearch.c (main): Converted to ...
26961         (do_test): ... this.
26962         (TEST_FUNCTION): New macro.
26963         Include test-skeleton.c.
26964         * posix/tst-regexloc.c (main): Converted to ...
26965         (do_test): ... this.
26966         (TEST_FUNCTION): New macro.
26967         Include test-skeleton.c.
26968         * resolv/tst-aton.c (main): Converted to ...
26969         (do_test): ... this.
26970         (TEST_FUNCTION): New macro.
26971         Include test-skeleton.c.
26972         * stdio-common/test-fwrite.c (main): Converted to ...
26973         (do_test): ... this.
26974         (TEST_FUNCTION): New macro.
26975         Include test-skeleton.c.
26976         * stdio-common/tst-ferror.c (main): Converted to ...
26977         (do_test): ... this.
26978         (TEST_FUNCTION): New macro.
26979         Include test-skeleton.c.
26980         * stdio-common/tst-printf.c (main): Converted to ...
26981         (do_test): ... this.
26982         (TEST_FUNCTION): New macro.
26983         Include test-skeleton.c.
26984         * stdio-common/tst-printfsz.c (main): Converted to ...
26985         (do_test): ... this.
26986         (TEST_FUNCTION): New macro.
26987         Include test-skeleton.c.
26988         * stdlib/tst-strtod.c (main): Converted to ...
26989         (do_test): ... this.
26990         (TEST_FUNCTION): New macro.
26991         Include test-skeleton.c.
26992         * string/tst-strlen.c (main): Converted to ...
26993         (do_test): ... this.
26994         (TEST_FUNCTION): New macro.
26995         Include test-skeleton.c.
26996         * string/tst-svc.c (main): Converted to ...
26997         (do_test): ... this.
26998         (TEST_FUNCTION): New macro.
26999         Include test-skeleton.c.
27000         * time/tst-strptime.c (main): Converted to ...
27001         (do_test): ... this.
27002         (TEST_FUNCTION): New macro.
27003         Include test-skeleton.c.
27004         * timezone/tst-timezone.c (main): Converted to ...
27005         (do_test): ... this.
27006         (TEST_FUNCTION): New macro.
27007         Include test-skeleton.c.
27009 2015-08-05  Zack Weinberg  <zackw@panix.com>
27011         * misc/regexp.h: Update comments.
27013 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27015         [BZ #18635]
27016         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27017         before return label.
27019 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27021         [BZ #18661]
27022         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27023         when calling __errno_location.
27024         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27025         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27027 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27029         [BZ #18661]
27030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27031         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27032         __gettimeofday.
27034 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27036         [BZ #18661]
27037         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27038         (__start_context): Don't use pop to restore %rdi so that stack
27039         is aligned to 16 bytes when calling __setcontext.
27041 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27043         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27044         only for libc.
27045         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27047 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27049         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27050         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27051         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27053 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27055         * string/memccpy.c (memccpy):
27056         Improve performance by using memchr/memcpy/__mempcpy.
27058 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27060         * string/strncpy.c (strncpy):
27061         Improve performance by using __strnlen/memcpy.
27063 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27066         Optimize to avoid an unnecessary FPCR read.
27068 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27070         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27071         Optimize to reduce FPCR/FPSR accesses.
27073 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27075         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27076         dead->data[category] != NULL.
27078 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27080         [BZ #18647]
27081         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27082         and |x| close to 1, use absolute value of x when computing log.
27083         * math/auto-libm-test-in: Add more tests of pow.
27084         * math/auto-libm-test-out: Regenerated.
27086 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27088         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27089         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27090         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27092 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27094         [BZ #18525]
27095         * locales/km_KH: Remove timezone definition.
27096         * locales/lo_LA: Likewise.
27097         * locales/my_MM: Likewise.
27098         * locales/nan_TW@latin: Likewise.
27099         * locales/th_TH: Likewise.
27100         * locales/uk_UA: Likewise.
27102 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27104         [BZ #18265]
27105         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27106         (wcsncat): Likewise.
27107         (wcscmp): Likewise.
27108         (wcsncmp): Likewise.
27110 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27112         * test-skeleton.c (usage): New function.
27113         (main): Call usage when opt is '?'.
27115 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27117         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27118         before first use.
27120 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27122         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27123         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27124         in there too.
27126 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27128         * version.h (RELEASE): Set to "development".
27129         (VERSION): Set to "2.22.90"
27131         * version.h (RELEASE): Set to "stable".
27132         (VERSION): Set to "2.22"
27133         * include/features.h (__GLIBC_MINOR__): Set to 22.
27135 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27137         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27138         Restructure macro to avoid "value computed is not used" warning.
27139         (atomic_compare_and_exchange_val_acq): Likewise.
27141 2015-08-04  Andreas Schwab  <schwab@suse.de>
27143         [BZ #18635]
27144         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27145         ret.
27146         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27148 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27150         * po/pl.po: Updated translation.
27151         * po/uk.po: Likewise.
27152         * po/fi.po: Likewise.
27153         * po/ko.po: Likewise.
27154         * po/ru.po: Likewise.
27155         * po/vi.po: Likewise.
27157 2015-07-31  Zack Weinberg  <zackw@panix.com>
27159         [BZ #18681]
27160         * regexp.h: Add unconditional #warning stating that this header
27161         will be removed soon.  Revise banner comment to match.
27162         (compile): Consistently use ERROR instead of RETURN to report
27163         errors (partial fix for BZ #18681).
27164         * regexp.c: Don't include regexp.h. Remove some unnecessary
27165         declarations.
27167 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27169         * po/libc.pot: Regenerated.
27171 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27173         [BZ #18740]
27174         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27175         float-vlen4-arch-ext-cflags): Removed.
27176         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27177         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27179 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27181         [BZ #14113]
27182         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27183         aligned to __aligned__.
27184         (pthread_cond_t, pthread_rwlock_t): Likewise.
27186 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27188         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27190 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27192         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27193         (struct sigaction): Change sa_flags from a long to an int, and add
27194         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27196 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27198         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27199         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27200         sysdeps/generic/sysdep.h include.
27201         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27202         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27203         sysdeps/hppa/sysdep.h.
27204         (ENTRY, PSEUDO): Undefine before defining.
27206 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27208         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27209         from scratch to use INTERNAL_SYSCALL.
27211 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27213         [BZ #18078]
27214         * scripts/check-localplt.awk: Support alternate relocations.
27215         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27216         sections.
27217         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27218         malloc entries with + REL R_386_GLOB_DAT.
27219         * sysdeps/x86_64/localplt.data: New file.
27221 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27223         [BZ #18731]
27224         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27225         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27226         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27228 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27230         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27232 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27234         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27235         directly in terms of __sync_fetch_and_add and delete (int) cast.
27237 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27239         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27240         the -D_ASM_IA64_CURRENT_H flag.
27242 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27244         [BZ #18641]
27245         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27247 2015-07-27  Andreas Schwab  <schwab@suse.de>
27249         * conform/conformtest.pl (checknamespace): Filter out string
27250         literals while tokenizing.
27252 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27254         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27255         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27256         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27258 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27260         * nptl/tst-join7mod.c: Add #include <string.h>.
27262 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27264         * sysdeps/nios2/libm-test-ulps: Update.
27266 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27268         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27269         Fix order of arguments to the rt_sigprocmask syscall.
27270         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27271         Likewise.
27273 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27275         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27277 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27279         [BZ #18457]
27280         * nptl/Makefile (tests): New test case tst-join7.
27281         (modules-names): New test case module tst-join7mod.
27282         * nptl/tst-join7.c: New file.
27283         * nptl/tst-join7mod.c: New file.
27284         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27285         all translation units in libc.so, libpthread.so and rtld.
27287 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27291 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27295         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27296         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27300         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27301         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27304         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27305         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27306         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27308         implementation.
27310 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27312         [BZ #17711]
27313         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27314         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27315         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27316         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27317         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27318         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27320 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27322         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27323         instead of just saying load lock in the comments.
27325 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27327         * sysdeps/unix/Subdirs: Moved ...
27328         * sysdeps/posix/Subdirs: ... here.
27329         * login/pty.h (struct termios, struct winsize): Add forward decls.
27330         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27331         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27332         * sysdeps/arm/nacl/libc.abilist: Updated.
27333         * sysdeps/nacl/libutil.abilist: New file.
27335         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27336         (SIGWINCH): New macro.
27338         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27339         * sysdeps/arm/nacl/libc.abilist: Add it.
27341 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27343         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27345 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27347         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27348         Swap __glibc_reserved0 and sa_flags order.
27350 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27352         [BZ #18657]
27353         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27354         are pending TLS destructor calls.
27355         * include/link.h (struct link_map): Add concurrency note for
27356         L_TLS_DTOR_COUNT.
27357         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27358         Don't touch the link map flag.  Atomically increment
27359         l_tls_dtor_count.
27360         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27361         Avoid taking the load lock and don't touch the link map flag.
27362         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27363         * stdlib/Makefile (tests): Use it.
27364         * stdlib/tst-tls-atexit.c (do_test): dlopen
27365         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27366         to allow tst-tls-atexit-nodelete test case to use it.
27368 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27370         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27371         to bits/types.h.
27372         (msgqnum_t): New typedef.
27373         (msglen_t): Likewise.
27374         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27375         and msg_qbytes type to msglen_t.
27377 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27379         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27380         pad0 to __glibc_reserved0.
27381         (struct stat64): Likewise.
27383 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27385         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27386         Change sa_flags from a long to an int and add __glibc_reserved0 before
27387         it for padding.
27389 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27391         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27392         anonymous by deleting "siginfo" name.
27394 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27396         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27397         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27398         rather than __nacl_irt_filename.
27399         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27401         * NEWS: New item for arm-nacl port.
27402         * sysdeps/arm/nacl/libc.abilist: New file.
27403         * sysdeps/nacl/ld.abilist: New file.
27404         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27405         * sysdeps/nacl/libanl.abilist: New file.
27406         * sysdeps/nacl/libcrypt.abilist: New file.
27407         * sysdeps/nacl/libdl.abilist: New file.
27408         * sysdeps/nacl/libm.abilist: New file.
27409         * sysdeps/nacl/libpthread.abilist: New file.
27410         * sysdeps/nacl/libresolv.abilist: New file.
27411         * sysdeps/nacl/librt.abilist: New file.
27413 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27415         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27416         __startcontext to initialize the new context.
27417         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27418         up CFI directive to forbid further backtracing.
27420 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27422         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27423         reference.
27424         * charmaps/ANSI_X3.4-1968: Likewise.
27425         * charmaps/BS_4730: Likewise.
27426         * charmaps/BS_VIEWDATA: Likewise.
27427         * charmaps/CP1250: Likewise.
27428         * charmaps/CP1251: Likewise.
27429         * charmaps/CP1252: Likewise.
27430         * charmaps/CP1253: Likewise.
27431         * charmaps/CP1254: Likewise.
27432         * charmaps/CP1255: Likewise.
27433         * charmaps/CP1256: Likewise.
27434         * charmaps/CSN_369103: Likewise.
27435         * charmaps/EBCDIC-DK-NO: Likewise.
27436         * charmaps/GB_1988-80: Likewise.
27437         * charmaps/GREEK-CCITT: Likewise.
27438         * charmaps/GREEK7: Likewise.
27439         * charmaps/INIS-8: Likewise.
27440         * charmaps/ISIRI-3342: Likewise.
27441         * charmaps/ISO_2033-1983: Likewise.
27442         * charmaps/ISO_5427-EXT: Likewise.
27443         * locales/POSIX: Likewise.
27444         * locales/ar_SA: Likewise.
27445         * locales/be_BY: Likewise.
27446         * locales/be_BY@latin: Likewise.
27447         * locales/ca_ES: Likewise.
27448         * locales/cs_CZ: Likewise.
27449         * locales/da_DK: Likewise.
27450         * locales/de_BE: Likewise.
27451         * locales/de_CH: Likewise.
27452         * locales/de_LU: Likewise.
27453         * locales/en_AU: Likewise.
27454         * locales/en_BW: Likewise.
27455         * locales/en_CA: Likewise.
27456         * locales/en_DK: Likewise.
27457         * locales/en_GB: Likewise.
27458         * locales/en_IE: Likewise.
27459         * locales/en_NZ: Likewise.
27460         * locales/en_ZA: Likewise.
27461         * locales/en_ZW: Likewise.
27462         * locales/es_AR: Likewise.
27463         * locales/es_BO: Likewise.
27464         * locales/es_CL: Likewise.
27465         * locales/es_CO: Likewise.
27466         * locales/es_DO: Likewise.
27467         * locales/es_EC: Likewise.
27468         * locales/es_ES: Likewise.
27469         * locales/es_HN: Likewise.
27470         * locales/es_MX: Likewise.
27471         * locales/es_PA: Likewise.
27472         * locales/es_PE: Likewise.
27473         * locales/es_PY: Likewise.
27474         * locales/es_SV: Likewise.
27475         * locales/es_US: Likewise.
27476         * locales/es_UY: Likewise.
27477         * locales/es_VE: Likewise.
27478         * locales/et_EE: Likewise.
27479         * locales/fa_IR: Likewise.
27480         * locales/fo_FO: Likewise.
27481         * locales/fr_CA: Likewise.
27482         * locales/fr_CH: Likewise.
27483         * locales/gv_GB: Likewise.
27484         * locales/he_IL: Likewise.
27485         * locales/hr_HR: Likewise.
27486         * locales/id_ID: Likewise.
27487         * locales/is_IS: Likewise.
27488         * locales/it_CH: Likewise.
27489         * locales/iw_IL: Likewise.
27490         * locales/kl_GL: Likewise.
27491         * locales/ko_KR: Likewise.
27492         * locales/kw_GB: Likewise.
27493         * locales/lg_UG: Likewise.
27494         * locales/lt_LT: Likewise.
27495         * locales/lv_LV: Likewise.
27496         * locales/mi_NZ: Likewise.
27497         * locales/nhn_MX: Likewise.
27498         * locales/nl_BE: Likewise.
27499         * locales/pl_PL: Likewise.
27500         * locales/sk_SK: Likewise.
27501         * locales/sl_SI: Likewise.
27502         * locales/sv_FI: Likewise.
27503         * locales/tl_PH: Likewise.
27504         * locales/tr_TR: Likewise.
27505         * locales/vi_VN: Likewise.
27507 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27509         [BZ #17475]
27510         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27511         of tu_IN and bh_IN.
27513 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27515         [BZ #18694]
27516         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27517         bits/wordsize.h.
27518         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27520 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27522         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27523         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27524         (spawn_thread): New function.
27525         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27526         (do_test): ... here.  Use IS_LOADED to test for its
27527         availability.
27529 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27531         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27533 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27535         [BZ #18696]
27536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27537         si_addr_bnd.
27538         (si_lower): New.
27539         (si_upper): Likewise.
27541 2015-07-16  David S. Miller  <davem@davemloft.net>
27543         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27545 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27547         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27548         buffer.
27549         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27550         fail output information.
27552 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27555         and strstr-ppc64..
27556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27557         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27558         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27559         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27560         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27562 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27564         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27565         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27566         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27567         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27569 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27571         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27572         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27573         rtld_hidden_proto.
27574         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27576 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27578         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27579         the test can fail.
27581         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27583         [BZ #18676]
27584         * elf/tst-nodelete-opened.c: New test case.
27585         * elf/tst-nodelete-opened-lib.c: New test case module.
27586         * elf/Makefile (tests, modules-names): Use them.
27587         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27588         early.
27590 2015-07-15  David S. Miller  <davem@davemloft.net>
27592         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27593         futex-intenal.h
27594         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27595         * sysdeps/sparc/sparc64/Makefile: Likewise.
27596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27597         Remove space from macro define.
27598         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27600 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27602         [BZ #17475]
27603         * locale/iso-639.def: Update Bhili and Tulu language codes as
27604         per iso639-3.
27606 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27608         * elf/tst-leaks1.c (main): Converted to ...
27609         (do_test): ... this.
27610         (TEST_FUNCTION): New macro.
27611         Include test-skeleton.c.
27612         * localedata/tst-langinfo.c (main): Converted to ...
27613         (do_test): ... this.
27614         (TEST_FUNCTION): New macro.
27615         Include test-skeleton.c.
27616         * math/test-fpucw.c (main): Converted to ...
27617         (do_test): ... this.
27618         (TEST_FUNCTION): New macro.
27619         Include test-skeleton.c.
27620         * math/test-tgmath.c (main): Converted to ...
27621         (do_test): ... this.
27622         (TEST_FUNCTION): New macro.
27623         Include test-skeleton.c.
27624         * math/test-tgmath2.c (main): Converted to ...
27625         (do_test): ... this.
27626         (TEST_FUNCTION): New macro.
27627         Include test-skeleton.c.
27628         * setjmp/tst-setjmp.c (main): Converted to ...
27629         (do_test): ... this.
27630         (TEST_FUNCTION): New macro.
27631         Include test-skeleton.c.
27632         * stdio-common/tst-sscanf.c (main): Converted to ...
27633         (do_test): ... this.
27634         (TEST_FUNCTION): New macro.
27635         Include test-skeleton.c.
27636         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27637         (do_test): ... this.
27638         (TEST_FUNCTION): New macro.
27639         Include test-skeleton.c.
27641         * elf/tst-audit9.c (main): Converted to ...
27642         (do_test): ... this.
27643         (TEST_FUNCTION): New macro.
27644         Include test-skeleton.c.
27646 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27648         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27650 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27652         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27653         New variable.
27655 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27657         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27659 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27661         * sysdeps/generic/dl-fileid.h: New file.
27662         * sysdeps/posix/dl-fileid.h: New file.
27663         * sysdeps/nacl/dl-fileid.h: New file.
27664         * include/link.h: Include <dl-fileid.h>.
27665         (struct link_map): Replace l_dev and l_ino with l_file_id.
27666         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27667         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27668         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27670 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27672         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27674 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27676         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27677         Add iff $CXX is set.
27678         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27679         Likewise.
27680         (tst-nodelete-zmodiff): Likewise.
27681         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27683 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27685         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27687 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27689         * sysdeps/aarch64/fpu/math_private.h
27690         (define math_opt_barrier): Add AArch64 version.
27691         (math_force_eval): Likewise.
27693 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27695         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27697 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27699         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27700         %ld with %jd and cast to intmax_t.
27701         (do_test_length_zero): Likewise.
27703 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27705         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27707 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27709         * sysdeps/tile/libm-test-ulps: Regenerated.
27711         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27712         Comment out the whole function, not just its body.
27714 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27717         locks.
27719         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27721 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27723         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27724         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27726 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27728         * sysdeps/nptl/futex-internal.h: New file.
27729         * sysdeps/nacl/futex-internal.h: New file.
27730         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27731         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27732         error checking.
27733         (setxid_unmark_thread): Likewise.
27734         (__nptl_setxid): Likewise.
27735         (__wait_lookup_done): Likewise.
27736         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27737         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27738         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27739         * nptl/pthread_once.c (clear_once_control): Likewise.
27740         (__pthread_once_slow): Likewise.
27741         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27742         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27743         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27744         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27745         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27746         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27747         Likewise.
27748         (__pthread_rwlock_rdlock): Likewise.
27749         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27750         Likewise.
27751         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27752         Likewise.
27753         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27754         Likewise.
27755         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27756         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27757         Likewise.
27758         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27759         __ASSUME_PRIVATE_FUTEX check.
27760         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27761         Check that shared futexes are supported.
27762         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27763         wrappers with error checking.
27764         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27765         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27766         * nptl/pthread_barrierattr_setpshared.c
27767         (pthread_barrierattr_setpshared): Check that shared futexes are
27768         supported.
27769         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27770         Likewise.
27771         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27772         Likewise.
27773         * nptl/sem_init.c (futex_private_if_supported): Remove.
27774         (__new_sem_init): Adapt and check that shared futexes are supported.
27775         * nptl/sem_open.c (sem_open): Likewise.
27776         * nptl/sem_post.c (futex_wake): Remove.
27777         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27778         (do_futex_wait): Use futex wrappers with error checking.
27779         * nptl/sem_wait.c: Include lowlevellock.h.
27780         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27781         Use futex_supports_pshared.
27782         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27783         Use futex wrappers with error checking.
27784         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27785         Likewise.
27786         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27787         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27788         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27789         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27790         (futex_wake): Likewise.
27791         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27792         (do_futex_wait): Use futex wrappers with error checking.
27793         (__new_sem_wait_slow): Update EINTR handling.
27794         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27796 2015-07-09  Martin Sebor  <msebor@redhat.com>
27798         [BZ #18435]
27799         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27800         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27801         * nptl/Makefile (test-xfail-tst-once5): Define.
27803 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27805         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27806         * elf/dl-minimal.c: For readability, reorder some definitions and
27807         introduce more page breaks.  Include <stdio.h>.
27808         (__libc_fatal): New function.
27810         * include/unistd.h: Add rtld_hidden_proto for _exit.
27811         * posix/_exit.c: Add rtld_hidden_def.
27812         * sysdeps/mach/hurd/_exit.c: Likewise.
27813         * sysdeps/nacl/_exit.c: Likewise.
27814         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27815         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27817 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27820         bndmov encoding with zero displacement.
27822 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27823             H.J. Lu  <hongjiu.lu@intel.com>
27825         [BZ #18134]
27826         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27827         * sysdeps/i386/configure: Regenerated.
27828         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27829         (_dl_runtime_profile): Save and restore Intel MPX return bound
27830         registers when calling _dl_call_pltexit.  Add
27831         PRESERVE_BND_REGS_PREFIX before return.
27832         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27833         (LRV_BND1_OFFSET): Likewise.
27834         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27835         lrv_bnd1.
27836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27837         typo in bndmov encoding.
27838         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27839         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27840         branch instructions to preserve bounds.
27842 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27845         [GLIBC_2.22]: Add fmemopen.
27847 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27849         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27850         returns an error, also try to use host port from __mach_host_self for
27851         the __vm_wire call.
27852         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27854 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27856         [BZ #18400]
27857         [BZ #18648]
27858         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27859         Fix pr_uid and pr_gid members.
27860         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27861         definition to elf_greg_t.
27863 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27865         [BZ #18383]
27866         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27867         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27868         * sysdeps/arm/configure: Regenerated.
27869         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27870         (test-xfail-tst-tlsalign-static): Variable removed.
27872         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27873         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27874         rather than explicit 'ln -s'.
27876         * resolv/rpc/netdb.h: New file.
27877         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27879 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27881         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27882         length buffers.
27883         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27884         test-skeleton.c.
27886         [BZ #6544]
27887         [BZ #11216]
27888         [BZ #12836]
27889         [BZ #13151]
27890         [BZ #13152]
27891         [BZ #14292]
27892         * include/stdio.h (fmemopen): Remove hidden prototype.
27893         (__fmemopen): Add new hidden prototype.
27894         * libio/Makefile: Add oldfmemopen object.
27895         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27896         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27897         compliance.
27898         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27899         symbol compatibility.
27900         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27901         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27902         fmemopen.
27903         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27904         on append and read mode.
27905         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27906         fmemopen.
27907         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27908         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27909         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27910         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27911         Likewise.
27912         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27913         [GLIBC_2.22]: Likewise.
27914         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27915         Likewise.
27916         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27917         Likewise.
27918         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27919         [GLIBC_2.22]: Likewise.
27920         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27921         [GLIBC_2.22]: Likewise.
27922         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27923         [GLIBC_2.22]: Likewise.
27924         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27925         [GLIBC_2.22]: Likewise.
27926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27927         [GLIBC_2.22]: Likewise.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27929         [GLIBC_2.22]: Likewise.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27931         [GLIBC_2.22]: Likewise.
27932         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27933         Likewise.
27934         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27935         Likewise.
27936         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27937         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27938         [GLIBC_2.22]: Likewise.
27939         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27940         [GLIBC_2.22]: Likewise.
27941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27942         [GLIBC_2.22]: Likewise.
27943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27944         [GLIBC_2.22]: Likewise.
27945         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27946         Likewise.
27947         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27948         Likewise.
27949         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27950         Likewise.
27951         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27952         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27954 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27956         [BZ #18643]
27957         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27958         IPV6_PATHMTU, and IPV6_DONTFRAG.
27960 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27962         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27963         and _IO_UNBUFFERED.
27964         * libio/oldfileops.c: Likewise.
27965         * libio/wfileops.c: Likewise.
27967 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27969         * nscd/selinux.c: Delete selinux/flask.h include.
27971 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27973         [BZ #18641]
27974         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27975         (putpwent): Likewise.
27976         (getpwnam): Likewise.
27977         (getpwent_r): Likewise.
27978         (getpwuid_r): Likewise.
27979         (getpwnam_r): Likewise.
27980         (fgetpwent_r): Likewise.
27982 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27984         [BZ #18557]
27985         * inet/rcmd.c (__validuser2_sa): Check user first to
27986         short-circuit host check.
27988 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27989             Mikhail Ilin  <m.ilin@samsung.com>
27991         [BZ #17833]
27992         * elf/Makefile (tests): Add tst-nodelete.
27993         (modules-names): Add tst-nodelete-uniquemod.
27994         (tst-nodelete-uniquemod.so-no-z-defs): New.
27995         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27996         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27997         ($(objpfx)tst-nodelete): Likewise.
27998         ($(objpfx)tst-nodelete.out): Likewise.
27999         (LDFLAGS-tst-nodelete): Likewise.
28000         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28001         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28002         implement forced object deletion.
28003         (_dl_close): Pass false to _dl_close_worker.
28004         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28005         * elf/tst-nodelete.cc: New file.
28006         * elf/tst-nodeletelib.cc: Likewise.
28007         * elf/tst-znodeletelib.cc: Likewise.
28008         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28010 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28012         [BZ #18508]
28013         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28014         Depend on $(libdl).
28015         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28016         is not called infinitely times.
28017         (backtrace_helper): New function.
28018         (trace_arg): New struct.
28019         (st1): Enlarge stack size.
28020         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28021         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28022         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28023         Likewise.
28025 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28027         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28029 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28031         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28032         Include sys/types.h instead of bits/types.h.
28033         Remove inclusion of bits/wordsize.h.
28035 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28037         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28038         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28039         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28040         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28041         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28042         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28044 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28046         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28047         link-defines.sym.
28048         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28049         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28050         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28051         and LR_SIZE.
28052         * sysdeps/i386/link-defines.sym: New file.
28054 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28056         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28057         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28058         ($(objpfx)tst-audit3): New rule.
28059         ($(objpfx)tst-audit3.out): Likewise.
28060         * sysdeps/i386/tst-audit3.c: New file.
28061         * sysdeps/i386/tst-audit3.h: Likewise.
28062         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28063         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28065 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28067         [BZ #18633]
28068         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28069         pointer in C code.
28070         (__strcat_c): Likewise.
28071         (__strcat_g): Likewise.
28073 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28075         [BZ #18592]
28076         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28078 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28080         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28081         New function.  (__ieee754_sqrtf): New function.
28082         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28083         New function.
28084         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28085         New function.
28087 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28089         * sysdeps/ieee754/support.c: Remove unused file.
28091 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28093         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28094         registers instead of d ones so the layout is kernel abi compatible.
28095         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28096         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28097         Likewise.
28099 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28101         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28103 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28105         [BZ #18619]
28106         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28107         and return argument in case of subnormal argument.
28109 2015-07-01  Martin Sebor  <msebor@redhat.com>
28111         [BZ #18435]
28112         * nptl/Makefile: Add tst-once5.cc.
28113         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28114         Remove macro redefinitions.
28115         * nptl/tst-once5.cc: New test.
28117 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28119         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28121         * sysdeps/arm/libm-test-ulps: Regenerated.
28123         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28124         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28126 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28128         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28129         lll_lock_wait_private and lll_futex_wake probes.
28131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28133         Likewise.
28134         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28135         atomic_spin_nop.
28136         * sysdeps/x86_64/bits/atomic.h: Likewise.
28137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28138         to atomic_spin_nop and move ...
28139         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28140         ... here and ...
28141         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28142         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28143         atomic_spin_nop instead of BUSY_WAIT_NOP.
28144         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28145         Likewise.
28146         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28147         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28148         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28149         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28150         instead of atomic_delay.
28152 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28154         [BZ #18613]
28155         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28156         X_ADJ not X when adjusting exponent.
28157         (__ieee754_gamma_r): Do intermediate computations in
28158         round-to-nearest then adjust overflowing and underflowing results
28159         as needed.
28160         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28161         of X_ADJ not X when adjusting exponent.
28162         (__ieee754_gammaf_r): Do intermediate computations in
28163         round-to-nearest then adjust overflowing and underflowing results
28164         as needed.
28165         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28166         log of X_ADJ not X when adjusting exponent.
28167         (__ieee754_gammal_r): Do intermediate computations in
28168         round-to-nearest then adjust overflowing and underflowing results
28169         as needed.  Use 1.0L not 1.0f as numerator of division.
28170         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28171         log of X_ADJ not X when adjusting exponent.
28172         (__ieee754_gammal_r): Do intermediate computations in
28173         round-to-nearest then adjust overflowing and underflowing results
28174         as needed.  Use 1.0L not 1.0f as numerator of division.
28175         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28176         of X_ADJ not X when adjusting exponent.
28177         (__ieee754_gammal_r): Do intermediate computations in
28178         round-to-nearest then adjust overflowing and underflowing results
28179         as needed.  Use 1.0L not 1.0f as numerator of division.
28180         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28181         to auto-libm-test-in.
28182         (tgamma_test): Use ALL_RM_TEST.
28183         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28184         tests of tgamma with spurious-overflow.
28185         * math/auto-libm-test-out: Regenerated.
28186         * math/gen-libm-have-vector-test.sh: Do not check for START.
28187         * sysdeps/i386/fpu/libm-test-ulps: Update.
28188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28190         [BZ #18612]
28191         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28192         arguments, just return 0.5 times the argument, with underflow
28193         forced as needed.
28194         * math/auto-libm-test-in: Add more tests of j1.
28195         * math/auto-libm-test-out: Regenerated.
28197         [BZ #16559]
28198         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28199         (__ieee754_j1): Force underflow exception for small results.
28200         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28201         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28202         (__ieee754_j1f): Force underflow exception for small results.
28203         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28204         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28207         (__ieee754_j1l): Force underflow exception for small results.
28208         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28209         * math/auto-libm-test-in: Add more tests of j1 and jn.
28210         * math/auto-libm-test-out: Regenerated.
28212         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28213         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28214         (PF_MPLS): Likewise.
28215         (AF_IB): Likewise.
28216         (AF_MPLS): Likewise.
28217         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28218         value and macro.
28219         (MS_RMT_MASK): Include MS_LAZYTIME.
28221 2015-06-26  Mel Gorman  <mgorman@suse.de>
28223         [BZ #18502]
28224         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28225         already minimal.
28227 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28229         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28230         (DT_MIPS_NUM): Update.
28231         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28232         DT_MIPS_RLD_MAP_REL.
28234 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28236         [BZ #16559]
28237         [BZ #18602]
28238         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28239         round-to-nearest internally then recompute results that
28240         underflowed to zero in the original rounding mode.
28241         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28242         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28244         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28245         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28246         * sysdeps/i386/fpu/libm-test-ulps: Update.
28247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28249 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28251         * NEWS: Fixed description of link with vector math library.
28253 2015-06-25  Andreas Schwab  <schwab@suse.de>
28255         [BZ #18549]
28256         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28257         * libio/test-fmemopen.c (do_test): Add test for it.
28259 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28261         [BZ #17841]
28262         * Makeconfig (no-pie-ldflag): New.
28263         (+link): Set to $(+link-pie) if default to PIE.
28264         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28265         * config.make.in (build-pie-default): New.
28266         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28267         is default.  AC_SUBST.
28268         * configure: Regenerated.
28269         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28271 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28273         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28274         to 'unsigned int'.
28276         * resolv/gai_misc.h (struct waitlist): Change type of field
28277         counterp to 'volatile unsigned int *'.
28278         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28279         FUTEXADDR and OLDVAL.
28280         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28281         Give local variable TOTAL type 'volatile unsigned int'.
28282         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28283         * resolv/gai_suspend.c (gai_suspend):
28284         Give local variable CNTR type 'unsigned int'.
28286         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28287         counterp to 'volatile unsigned int *'.
28288         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28289         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28290         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28291         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28292         Give local variable TOTAL type 'volatile unsigned int'.
28293         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28295 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28297         [BZ #18383]
28298         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28299         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28300         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28301         comment for i386/x86-64.
28302         (test-xfail-tst-tlsalign-extern-static): Removed.
28304 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28306         * math/test-double.h: New file.
28307         * math/test-float.h: Likewise.
28308         * math/test-ldouble.h: Likewise.
28309         * math/test-math-inline.h: Likewise.
28310         * math/test-math-no-inline.h: Likewise.
28311         * math/test-math-scalar.h: Likewise.
28312         * math/test-math-vector.h: Likewise.
28313         * math/test-vec-loop.h: Remove file.  Contents moved into
28314         test-math-vector.h.
28315         * math/libm-test.inc (MATHCONST): Do not document macro.
28316         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28317         and test-math-scalar.h.
28318         (FUNC): Remove macro.
28319         (FUNC_TEST): Likewise.
28320         (FLOAT): Likewise.
28321         (MATHCONST): Likewise.
28322         (PRINTF_EXPR): Likewise.
28323         (PRINTF_XEXPR): Likewise.
28324         (PRINTF_NEXPR): Likewise.
28325         (TEST_DOUBLE): Likewise.
28326         (TEST_MATHVEC): Likewise.
28327         (__NO_MATH_INLINES): Likewise.
28328         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28329         and test-math-scalar.h.
28330         (FUNC): Remove macro.
28331         (FUNC_TEST): Likewise.
28332         (FLOAT): Likewise.
28333         (MATHCONST): Likewise.
28334         (PRINTF_EXPR): Likewise.
28335         (PRINTF_XEXPR): Likewise.
28336         (PRINTF_NEXPR): Likewise.
28337         (TEST_FLOAT): Likewise.
28338         (TEST_MATHVEC): Likewise.
28339         (__NO_MATH_INLINES): Likewise.
28340         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28341         and test-math-scalar.h.
28342         (FUNC): Remove macro.
28343         (FUNC_TEST): Likewise.
28344         (FLOAT): Likewise.
28345         (MATHCONST): Likewise.
28346         (PRINTF_EXPR): Likewise.
28347         (PRINTF_XEXPR): Likewise.
28348         (PRINTF_NEXPR): Likewise.
28349         (TEST_DOUBLE): Likewise.
28350         (TEST_MATHVEC): Likewise.
28351         (TEST_INLINE): Likewise.
28352         (__NO_MATH_INLINES): Likewise.
28353         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28354         test-math-scalar.h.
28355         (FUNC): Remove macro.
28356         (FUNC_TEST): Likewise.
28357         (FLOAT): Likewise.
28358         (MATHCONST): Likewise.
28359         (PRINTF_EXPR): Likewise.
28360         (PRINTF_XEXPR): Likewise.
28361         (PRINTF_NEXPR): Likewise.
28362         (TEST_FLOAT): Likewise.
28363         (TEST_MATHVEC): Likewise.
28364         (TEST_INLINE): Likewise.
28365         (__NO_MATH_INLINES): Likewise.
28366         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28367         and test-math-scalar.h.
28368         (FUNC): Remove macro.
28369         (FUNC_TEST): Likewise.
28370         (FLOAT): Likewise.
28371         (MATHCONST): Likewise.
28372         (PRINTF_EXPR): Likewise.
28373         (PRINTF_XEXPR): Likewise.
28374         (PRINTF_NEXPR): Likewise.
28375         (TEST_LDOUBLE): Likewise.
28376         (TEST_MATHVEC): Likewise.
28377         (TEST_INLINE): Likewise.
28378         (__NO_MATH_INLINES): Likewise.
28379         * math/test-ldouble.c: Include test-ldouble.h,
28380         test-math-no-inline.h and test-math-scalar.h.
28381         (FUNC): Remove macro.
28382         (FUNC_TEST): Likewise.
28383         (FLOAT): Likewise.
28384         (MATHCONST): Likewise.
28385         (PRINTF_EXPR): Likewise.
28386         (PRINTF_XEXPR): Likewise.
28387         (PRINTF_NEXPR): Likewise.
28388         (TEST_LDOUBLE): Likewise.
28389         (TEST_MATHVEC): Likewise.
28390         (__NO_MATH_INLINES): Likewise.
28391         * math/test-double-vlen2.h: Include test-double.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_DOUBLE): 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-double-vlen4.h: Include test-double.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_DOUBLE): 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         * math/test-double-vlen8.h: Include test-double.h,
28434         test-math-no-inline.h and test-math-vector.h.
28435         (FLOAT): Remove macro.
28436         (FUNC): Likewise.
28437         (MATHCONST): Likewise.
28438         (PRINTF_EXPR): Likewise.
28439         (PRINTF_XEXPR): Likewise.
28440         (PRINTF_NEXPR): Likewise.
28441         (TEST_DOUBLE): Likewise.
28442         (TEST_MATHVEC): Likewise.
28443         (__NO_MATH_INLINES): Likewise.
28444         (CNCT): Likewise.
28445         (CONCAT): Likewise.
28446         (WRAPPER_NAME): Likewise.
28447         (WRAPPER_DECL): Likewise.
28448         (WRAPPER_DECL_ff): Likewise.
28449         (WRAPPER_DECL_fFF): Likewise.
28450         (VECTOR_WRAPPER): Likewise.
28451         (VECTOR_WRAPPER_ff): Likewise.
28452         (VECTOR_WRAPPER_fFF): Likewise.
28453         (VEC_LEN): New macro.
28454         * math/test-float-vlen4.h: Include test-float.h,
28455         test-math-no-inline.h and test-math-vector.h.
28456         (FLOAT): Remove macro.
28457         (FUNC): Likewise.
28458         (MATHCONST): Likewise.
28459         (PRINTF_EXPR): Likewise.
28460         (PRINTF_XEXPR): Likewise.
28461         (PRINTF_NEXPR): Likewise.
28462         (TEST_FLOAT): Likewise.
28463         (TEST_MATHVEC): Likewise.
28464         (__NO_MATH_INLINES): Likewise.
28465         (CNCT): Likewise.
28466         (CONCAT): Likewise.
28467         (WRAPPER_NAME): Likewise.
28468         (WRAPPER_DECL): Likewise.
28469         (WRAPPER_DECL_ff): Likewise.
28470         (WRAPPER_DECL_fFF): Likewise.
28471         (VECTOR_WRAPPER): Likewise.
28472         (VECTOR_WRAPPER_ff): Likewise.
28473         (VECTOR_WRAPPER_fFF): Likewise.
28474         (VEC_LEN): New macro.
28475         * math/test-float-vlen8.h: Include test-float.h,
28476         test-math-no-inline.h and test-math-vector.h.
28477         (FLOAT): Remove macro.
28478         (FUNC): Likewise.
28479         (MATHCONST): Likewise.
28480         (PRINTF_EXPR): Likewise.
28481         (PRINTF_XEXPR): Likewise.
28482         (PRINTF_NEXPR): Likewise.
28483         (TEST_FLOAT): Likewise.
28484         (TEST_MATHVEC): Likewise.
28485         (__NO_MATH_INLINES): Likewise.
28486         (CNCT): Likewise.
28487         (CONCAT): Likewise.
28488         (WRAPPER_NAME): Likewise.
28489         (WRAPPER_DECL): Likewise.
28490         (WRAPPER_DECL_ff): Likewise.
28491         (WRAPPER_DECL_fFF): Likewise.
28492         (VECTOR_WRAPPER): Likewise.
28493         (VECTOR_WRAPPER_ff): Likewise.
28494         (VECTOR_WRAPPER_fFF): Likewise.
28495         (VEC_LEN): New macro.
28496         * math/test-float-vlen16.h: Include test-float.h,
28497         test-math-no-inline.h and test-math-vector.h.
28498         (FLOAT): Remove macro.
28499         (FUNC): Likewise.
28500         (MATHCONST): Likewise.
28501         (PRINTF_EXPR): Likewise.
28502         (PRINTF_XEXPR): Likewise.
28503         (PRINTF_NEXPR): Likewise.
28504         (TEST_FLOAT): Likewise.
28505         (TEST_MATHVEC): Likewise.
28506         (__NO_MATH_INLINES): Likewise.
28507         (CNCT): Likewise.
28508         (CONCAT): Likewise.
28509         (WRAPPER_NAME): Likewise.
28510         (WRAPPER_DECL): Likewise.
28511         (WRAPPER_DECL_ff): Likewise.
28512         (WRAPPER_DECL_fFF): Likewise.
28513         (VECTOR_WRAPPER): Likewise.
28514         (VECTOR_WRAPPER_ff): Likewise.
28515         (VECTOR_WRAPPER_fFF): Likewise.
28516         (VEC_LEN): New macro.
28517         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28518         test-vec-loop.h.
28519         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28521         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28522         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28523         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28524         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28525         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28527 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28529         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28530         (__getlogin_r): ... this.
28532 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28534         [BZ #18594]
28535         * math/s_ccosh.c (__ccosh): Compare with least normal value
28536         instead of comparing class with FP_SUBNORMAL.
28537         * math/s_ccoshf.c (__ccoshf): Likewise.
28538         * math/s_ccoshl.c (__ccoshl): Likewise.
28539         * math/s_cexp.c (__cexp): Likewise.
28540         * math/s_cexpf.c (__cexpf): Likewise.
28541         * math/s_cexpl.c (__cexpl): Likewise.
28542         * math/s_csin.c (__csin): Likewise.
28543         * math/s_csinf.c (__csinf): Likewise.
28544         * math/s_csinh.c (__csinh): Likewise.
28545         * math/s_csinhf.c (__csinhf): Likewise.
28546         * math/s_csinhl.c (__csinhl): Likewise.
28547         * math/s_csinl.c (__csinl): Likewise.
28548         * math/s_ctan.c (__ctan): Likewise.
28549         * math/s_ctanf.c (__ctanf): Likewise.
28550         * math/s_ctanh.c (__ctanh): Likewise.
28551         * math/s_ctanhf.c (__ctanhf): Likewise.
28552         * math/s_ctanhl.c (__ctanhl): Likewise.
28553         * math/s_ctanl.c (__ctanl): Likewise.
28554         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28555         csin, csinh, ctan and ctanh.
28556         * math/auto-libm-test-out: Regenerated.
28557         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28558         * sysdeps/i386/fpu/libm-test-ulps: Update.
28559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28561 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28563         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28564         return value is wrong, print the expected value too.
28566 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28568         [BZ #18585]
28569         * elf/readlib.c (is_gdb_python_file): New.
28570         (process_file): Don't issue errors on filenames with -gdb.py
28571         suffix.
28573 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28575         * math/auto-libm-test-in: Add more tests of csin and csinh.
28576         * math/auto-libm-test-out: Regenerated.
28577         * math/libm-test.inc (csin_test_data): Remove tests moved to
28578         auto-libm-test-in.
28579         (csinh_test_data): Likewise.
28581         [BZ #18593]
28582         * math/s_csin.c (__csin): Negate before rather than after possibly
28583         overflowing multiplication.
28584         * math/s_csinf.c (__csinf): Likewise.
28585         * math/s_csinh.c (__csinh): Likewise.
28586         * math/s_csinhf.c (__csinhf): Likewise.
28587         * math/s_csinhl.c (__csinhl): Likewise.
28588         * math/s_csinl.c (__csinl): Likewise.
28589         * math/auto-libm-test-in: Add some tests of csin and csinh.
28590         * math/auto-libm-test-out: Regenerated.
28591         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28592         (csinh_test_data): Likewise.
28593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28595         [BZ #18586]
28596         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28597         underflow exception for small results.
28599 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28601         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28602         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28603         variable and included header.
28604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28612         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28613         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28614         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28615         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28616         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28617         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28618         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28619         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28621 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28623         [BZ #16526]
28624         [BZ #16538]
28625         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28626         (__sin): Force underflow exception for arguments with small
28627         absolute value.
28628         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28629         (__kernel_sinf): Force underflow exception for arguments with
28630         small absolute value.
28631         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28632         (__kernel_sincosl): Force underflow exception for arguments with
28633         small absolute value.
28634         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28635         (__kernel_sinl): Force underflow exception for arguments with
28636         small absolute value.
28637         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28638         (__kernel_sincosl): Force underflow exception for arguments with
28639         small absolute value.
28640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28641         (__kernel_sinl): Force underflow exception for arguments with
28642         small absolute value.
28643         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28644         (__kernel_sinl): Force underflow exception for arguments with
28645         small absolute value.
28646         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28647         (__kernel_sinf): Force underflow exception for arguments with
28648         small absolute value.
28649         * math/auto-libm-test-in: Add more tests of sin and sincos.
28650         * math/auto-libm-test-out: Regenerated.
28652         [BZ #18245]
28653         [BZ #18583]
28654         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28655         (__kernel_standard_l): Use feholdexcept and fesetenv around
28656         conversion to double instead of special-casing overflow and
28657         underflow.
28658         * math/libm-test.inc (fmod_test_data): Add more tests.
28659         (remainder_test_data): Likewise.
28660         (sqrt_test_data): Likewise.
28662 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28664         [BZ #17403]
28665         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28666         atomic_read_barrier, atomic_write_barrier): Define.
28667         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28668         atomic_read_barrier, atomic_write_barrier): Define.
28670 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28672         * math/Makefile [$(PERL) != no]
28673         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28674         dependency on libm-test.stmp below the inclusion of Rules.
28676 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28678         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28680         and included header.
28681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28683         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28686         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28687         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28689         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28690         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28691         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28692         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28693         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28694         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28695         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28696         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28697         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28698         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28699         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28701 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28703         [BZ #18371]
28704         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28705         intermediate but not final result might underflow.
28706         * math/s_csqrtf.c (__csqrtf): Likewise.
28707         * math/s_csqrtl.c (__csqrtl): Likewise.
28708         * math/auto-libm-test-in: Add more tests of csqrt.
28709         * math/auto-libm-test-out: Regenerated.
28710         * sysdeps/i386/fpu/libm-test-ulps: Update.
28712         [BZ #18219]
28713         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28714         threshold on absolute value of exponent for which scaling is used.
28715         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28716         * math/auto-libm-test-in: Add more tests of exp2.
28717         * math/auto-libm-test-out: Regenerated.
28719 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28721         [BZ #17977]
28722         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28723         when initializing interface list, based on the bug analysis
28724         and the patch proposed by Eric Newton.
28725         * resolv/tst-res_hconf_reorder.c: New test.
28726         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28727         tst-res_hconf_reorder.
28728         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28729         and $(shared-thread-library).
28730         (tst-res_hconf_reorder-ENV): New variable.
28732         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28733         in comment.
28735 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28737         [BZ #16353]
28738         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28739         (__expm1): Force underflow exception for arguments with small
28740         absolute value.
28741         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28742         (__expm1f): Force underflow exception for arguments with small
28743         absolute value.
28744         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28745         (__expm1): Force underflow exception for arguments with small
28746         absolute value.
28747         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28748         (__expm1f): Force underflow exception for arguments with small
28749         absolute value.
28750         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28751         Check for small arguments before calling __expm1.
28752         * math/auto-libm-test-in: Do not mark underflow exceptions as
28753         possibly missing for bug 16353.
28754         * math/auto-libm-test-out: Regenerated.
28756 2015-06-22  Andreas Schwab  <schwab@suse.de>
28758         [BZ #18513]
28759         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28760         PTR queries.
28762 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28764         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28766         * string/strcoll_l.c: Remove unused struct element idxnow.
28768 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28770         [BZ #18569]
28771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28772         underflow and return argument in case of subnormal argument.
28773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28774         Likewise.
28775         * math/auto-libm-test-in: Add more tests of expm1.
28776         * math/auto-libm-test-out: Regenerated.
28778         [BZ #16361]
28779         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28780         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28781         tiny results.
28782         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28783         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28784         tiny results.
28785         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28786         mark underflow exceptions as possibly missing for bug 16361.
28787         * math/auto-libm-test-out: Regenerated.
28789 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28791         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28792         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28793         Remove variable.
28794         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28795         (test-xfail-XOPEN2K8/utmpx.h/conform).
28797         * conform/conformtest.pl ($xerrors): New variable.
28798         (note_error): New function.
28799         (compiletest): New argument $xfail.  Use not_error.
28800         (runtest): Likewise.
28801         (top level): Handle xfail- lines.  Update calls to compiletest and
28802         runtest.  Handle xfail- and optional- in headers listed with
28803         allow-header.
28804         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28805         (O_EXEC): Likewise.
28806         (O_SEARCH): Likewise.
28807         * conform/data/stropts.h-data (ioctl): Likewise.
28808         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28809         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28810         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28811         (msghdr.msg_controllen): Likewise.
28812         (cmsghdr.cmsg_len): Likewise.
28813         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28814         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28815         variable.
28816         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28817         (test-xfail-XPG4/stropts.h/conform): Likewise.
28818         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28819         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28820         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28821         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28822         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28823         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28824         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28825         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28826         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28827         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28828         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28829         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28830         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28831         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28832         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28833         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28834         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28835         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28836         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28838 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28840         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28841         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28842         definitions for proper unfolding of __MATHDECL_VEC.
28844 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28846         * benchtests/bench-strcoll.c:
28847         Include string.h.
28848         (main): Remove unused variable res.
28850 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28852         * timezone/Makefile (%/UTC %/Universal):
28853         Generate test-result files for UTC and Universal.
28855 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28857         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28859 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #16350]
28862         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28863         for arguments with small absolute value.
28864         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28865         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28866         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28867         (__asinh): Force underflow exception for arguments with small
28868         absolute value.
28869         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28870         (__asinhf): Force underflow exception for arguments with small
28871         absolute value.
28872         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28873         (__asinhl): Force underflow exception for arguments with small
28874         absolute value.
28875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28876         (__asinhl): Force underflow exception for arguments with small
28877         absolute value.
28878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28879         (__asinhl): Force underflow exception for arguments with small
28880         absolute value.
28881         * math/auto-libm-test-in: Do not mark underflow exceptions as
28882         possibly missing for bug 16350.
28883         * math/auto-libm-test-out: Regenerated.
28885         * include/bits/ipc.h: Remove file.
28886         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28887         variable.
28888         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28889         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28890         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28891         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28892         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28893         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28894         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28895         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28896         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28898         * math/auto-libm-test-in: Remove spurious underflow allowance for
28899         tests of cexp.
28900         * math/auto-libm-test-out: Regenerated.
28902         [BZ #18558]
28903         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28904         unconditional definition.
28905         (MCAST_BLOCK_SOURCE): Likewise.
28906         (MCAST_UNBLOCK_SOURCE): Likewise.
28907         (MCAST_LEAVE_GROUP): Likewise.
28908         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28909         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28910         (MCAST_MSFILTER): Likewise.
28911         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28912         Remove variable.
28913         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28914         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28915         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28916         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28917         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28919 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28921         * NEWS: Mention addition of x86_64 vector sincosf.
28922         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28923         * math/test-float-vlen4.h: Likewise.
28924         * math/test-float-vlen8.h: Likewise.
28925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28926         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28928         * sysdeps/x86_64/fpu/Versions: New versions added.
28929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28931         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28938         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28939         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28940         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28941         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28942         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28943         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28944         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28945         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28946         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28947         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28948         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28951         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28952         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28954         * NEWS: Mention addition of x86_64 vector sincos.
28955         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28956         * math/math.h (__MATHDECL_VEC): New macro.
28957         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28958         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28959         declaration under condition.
28960         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28961         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28962         TEST_VEC_LOOP change.
28963         * math/test-double-vlen4.h: Likewise.
28964         * math/test-double-vlen8.h: Likewise.
28965         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28966         * math/test-float-vlen4.h: Likewise.
28967         * math/test-float-vlen8.h: Likewise.
28968         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28969         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28970         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28971         * sysdeps/x86_64/fpu/Versions: New versions added.
28972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28973         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28974         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28975         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28981         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28982         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28983         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28984         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28985         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28986         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28987         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28988         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28989         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28990         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28992         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28993         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28994         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28995         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28997         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28998         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28999         redirections for powf.
29000         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29001         * sysdeps/x86_64/fpu/Versions: New versions added.
29002         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29003         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29004         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29005         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29006         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29012         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29013         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29014         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29015         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29016         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29017         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29018         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29019         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29020         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29021         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29022         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29024         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29025         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29026         * math/test-float-vlen16.h: Fixed 2 argument macro.
29027         * math/test-float-vlen4.h: Likewise.
29028         * math/test-float-vlen8.h: Likewise.
29029         * NEWS: Mention addition of x86_64 vector powf.
29031 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29033         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29034         and redefine.
29035         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29036         and redefine.
29037         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29038         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29039         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29041         [BZ #18553]
29042         * resource/getpriority.c (getpriority): Rename to __getpriority
29043         and define as weak alias of __getpriority.
29044         * resource/setpriority.c (setpriority): Rename to __setpriority
29045         and define as weak alias of __setpriority.
29046         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29047         __getpriority and define as weak alias of __getpriority.
29048         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29049         __setpriority and define as weak alias of __setpriority.
29050         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29051         strong name.
29052         (setpriority): Use __setpriority as strong name.
29053         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29054         __getpriority and define as weak alias of __getpriority.
29055         * include/sys/resource.h (__getpriority): Declare.  Use
29056         libc_hidden_proto.
29057         (__setpriority): Likewise.
29058         (getpriority): Don't use libc_hidden_proto.
29059         (setpriority): Likewise.
29060         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29061         getpriority.  Call __setpriority instead of setpriority.
29062         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29063         Remove variable.
29065         [BZ #18547]
29066         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29067         as weak alias of __getttynam.  Use prototype function definition.
29068         Call __setttyent, __getttyent and __endttyent instead of
29069         setttyent, getttyent and endttyent.
29070         (getttyent): Rename to __getttyent and define as weak alias of
29071         __getttyent.  Call __setttyent instead of setttyent.  Call
29072         __fgets_unlocked instead of fgets_unlocked.
29073         (setttyent): Rename to __setttyent and define as weak alias of
29074         __setttyent.
29075         (endttyent): Rename to __endttyent and define as weak alias of
29076         __endttyent.
29077         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29078         (__setttyent): Likewise.
29079         (__endttyent): Likewise.
29080         (getttyent): Don't use libc_hidden_proto.
29081         (setttyent): Likewise.
29082         (endttyent): Likewise.
29083         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29084         __endttyent instead of setttyent, getttyent and endttyent.
29085         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29086         Remove variable.
29088         [BZ #18546]
29089         * socket/recv.c (__recv): Use libc_hidden_def.
29090         * socket/socket.c (__socket): Likewise.
29091         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29092         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29093         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29094         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29095         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29096         libc_hidden_def.
29097         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29098         libc_hidden_weak.
29099         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29100         Use libc_hidden_proto.
29101         (__recv): Likewise.
29102         * socket/Versions (libc): Export __recv and __socket at version
29103         GLIBC_PRIVATE.
29104         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29105         instead of recv.
29106         (init_mq_netlink): Call __socket instead of socket.
29107         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29108         Remove variable.
29110         [BZ #18545]
29111         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29112         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29113         hidden_weak.
29114         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29115         define as alias of __mq_timedsend.  Use hidden_weak.
29116         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29117         __mq_timedsend as strong name.
29118         (mq_timedreceive): Use __mq_timedreceive as strong name.
29119         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29120         (__mq_timedreceive): Likewise.
29121         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29122         __mq_timedreceive instead of mq_timedreceive.
29123         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29124         instead of mq_timedsend.
29125         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29126         Remove variable.
29128         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29129         hidden_def and hidden_weak instead of libc_hidden_def and
29130         libc_hidden_weak.
29131         (top level): Refer to hidden_def in comment.
29132         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29133         macro.  Use it instead of libc_hidden_def.
29134         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29135         specify __GI_* name explicitly.
29136         (mq_timedreceive): Likewise.
29137         (mq_setattr): Likewise.
29139         [BZ #18544]
29140         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29141         __pthread_barrier_init and define as weak alias of
29142         __pthread_barrier_init.
29143         * sysdeps/sparc/nptl/pthread_barrier_init.c
29144         (pthread_barrier_init): Likewise.
29145         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29146         __pthread_barrier_wait and define as weak alias of
29147         __pthread_barrier_wait.
29148         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29149         (pthread_barrier_wait): Likewise.
29150         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29151         (pthread_barrier_wait): Likewise.
29152         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29153         (pthread_barrier_wait): Likewise.
29154         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29155         (pthread_barrier_wait): Likewise.
29156         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29157         __pthread_barrier_wait at version GLIBC_PRIVATE.
29158         * include/pthread.h (__pthread_barrier_init): Declare.
29159         (__pthread_barrier_wait): Likewise.
29160         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29161         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29162         (helper_thread): Likewise.
29163         (init_mq_netlink): Call __pthread_barrier_init instead of
29164         pthread_barrier_init.
29166         [BZ #18542]
29167         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29168         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29169         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29170         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29171         vswscanf.
29172         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29173         Remove variable.
29175         [BZ #18540]
29176         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29177         strong alias of _IO_fflush.  Use libc_hidden_def.
29178         * libio/iofflush_u.c (fflush_unlocked): Rename to
29179         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29180         Use libc_hidden_weak.
29181         * include/stdio.h (__fflush_unlocked): Declare.  Use
29182         libc_hidden_proto.
29183         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29184         fflush_unlocked.
29185         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29186         Remove variable.
29188         [BZ #18539]
29189         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29190         define as weak alias of __addseverity.
29191         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29192         Remove variable.
29193         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29194         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29195         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29197         [BZ #18536]
29198         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29199         (__tfind): Likewise.
29200         (__tdelete): Likewise.
29201         (__twalk): Likewise.
29202         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29203         __twalk to GLIBC_PRIVATE.
29204         * include/search.h (__tsearch): Use libc_hidden_proto.
29205         (__tfind): Likewise.
29206         (__tdelete): Likewise.
29207         (__twalk): Likewise.
29208         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29209         Call __tdelete instead of tdelete.
29210         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29211         tfind.  Call __tsearch instead of tsearch.
29212         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29213         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29214         Remove variable.
29215         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29217         [BZ #18534]
29218         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29219         (dprintf): Define as a weak alias of __dprintf, not a strong
29220         alias.
29221         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29222         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29223         dprintf.
29224         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29225         Remove variable.
29226         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29227         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29229         [BZ #18533]
29230         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29231         not a strong alias.
29232         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29233         Remove variable.
29235         [BZ #18532]
29236         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29237         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29238         (in6addr_loopback): Rename to __in6addr_loopback and define as
29239         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29240         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29241         libc_hidden_proto.
29242         (__in6addr_any): Likewise.
29243         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29244         in6addr_any.
29245         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29246         variable.
29247         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29249 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29251         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29252         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29254         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29255         redirections for pow.
29256         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29257         * sysdeps/x86_64/fpu/Versions: New versions added.
29258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29260         build of SSE, AVX2 and AVX512 IFUNC versions.
29261         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29264         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29265         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29268         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29269         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29270         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29271         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29272         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29273         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29274         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29275         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29278         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29279         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29280         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29281         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29282         * NEWS: Mention addition of x86_64 vector pow.
29284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29285         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29286         redirections for expf.
29287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29288         * sysdeps/x86_64/fpu/Versions: New versions added.
29289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29291         build of SSE, AVX2 and AVX512 IFUNC versions.
29292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29294         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29295         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29296         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29298         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29299         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29300         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29301         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29302         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29303         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29304         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29305         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29306         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29307         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29309         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29310         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29311         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29312         * NEWS: Mention addition of x86_64 vector expf.
29314         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29315         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29318         redirections for exp.
29319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29320         * sysdeps/x86_64/fpu/Versions: New versions added.
29321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29323         build of SSE, AVX2 and AVX512 IFUNC versions.
29324         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29326         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29327         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29330         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29331         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29332         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29333         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29334         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29335         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29337         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29343         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29344         * NEWS: Mention addition of x86_64 vector exp.
29346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29347         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29348         redirections for logf.
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_logf16_core.S: New file.
29355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29360         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29361         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29362         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29363         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29364         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29365         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29366         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf 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 logf.
29376         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29377         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29378         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29379         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29380         redirections for log.
29381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29382         * sysdeps/x86_64/fpu/Versions: New versions added.
29383         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29384         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29385         build of SSE, AVX2 and AVX512 IFUNC versions.
29386         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29387         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29388         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29389         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29390         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29391         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29392         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29393         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29394         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29395         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29396         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29397         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29398         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29399         test.
29400         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29401         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29403         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29404         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29405         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29406         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29407         * NEWS: Mention addition of x86_64 vector log.
29409 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29411         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29412         cfi_adjust_cfa_offset argument.
29413         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29414         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29416         [BZ #18034]
29417         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29418         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29419         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29420         ordering using ldar.
29421         (_dl_tlsdesc_dynamic): Likewise.
29422         (_dl_tlsdesc_return_lazy): Likewise.
29423         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29424         relaxed atomics instead of volatile and synchronize with release store.
29425         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29426         volatile.
29427         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29429 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29432         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29434         * sysdeps/x86_64/fpu/Versions: New versions added.
29435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29436         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29437         build of SSE, AVX2 and AVX512 IFUNC versions.
29438         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29444         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29445         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29446         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29447         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29448         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29449         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29450         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29451         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29452         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29453         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29456         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29457         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29458         * NEWS: Mention addition of x86_64 vector sinf.
29460 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29462         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29463         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29464         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29465         Remove variable.
29466         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29467         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29469 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29471         [BZ #18530]
29472         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29473         strong alias of _IO_fputs.  Use libc_hidden_def.
29474         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29475         and define as weak alias of __fputs_unlocked.  Use
29476         libc_hidden_weak.
29477         * include/stdio.h (__fputs_unlocked): Declare.  Use
29478         libc_hidden_proto.
29479         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29480         fputs_unlocked.
29482         [BZ #18529]
29483         * resolv/netdb.h [__USE_POSIX]: Change condition to
29484         [__USE_XOPEN2K].
29485         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29486         not expect.
29487         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29488         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29489         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29490         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29491         [XPG4 || UNIX98] (AI_ALL): Likewise.
29492         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29493         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29494         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29495         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29496         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29497         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29498         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29499         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29500         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29501         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29502         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29503         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29504         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29505         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29506         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29507         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29508         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29509         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29510         [XPG4 || UNIX98] (gai_strerror): Likewise.
29511         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29512         [XPG4 || UNIX98] (getnameinfo): Likewise.
29514         [BZ #18528]
29515         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29516         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29517         __USE_XOPEN2K8].
29518         (getgrent): Likewise.
29519         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29520         expect.
29521         [XPG3 || POSIX2008] (endgrent): Likewise.
29522         [XPG3] (setgrent): Likewise.
29523         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29524         variable.
29525         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29527         [BZ #18527]
29528         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29529         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29530         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29531         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29532         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29533         * include/unistd.h (__getlogin_r): Declare.  Use
29534         libc_hidden_proto.
29535         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29536         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29537         variable.
29538         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29539         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29540         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29542 2015-06-12  Martin Sebor  <msebor@redhat.com>
29544         [BZ #18512]
29545         * Makerules (check-install-supported): New target.
29546         (install): Add check-install-supported as a dependency.
29547         * manual/install.texi (Installing the C Library): Document
29548         that overriding prefix and exec_prefix is not supported.
29549         Mention DESTDIR.
29550         * INSTALL: Regenerate from the above.
29552 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29554         [BZ #18519]
29555         * posix/Versions (libc): Export __libc_pread at version
29556         GLIBC_PRIVATE.
29557         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29558         instead of pread.
29559         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29560         variable.
29562         [BZ #18522]
29563         * misc/efgcvt_r.c
29564         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29565         (cvt_symbol): Use weak_alias instead of strong_alias.
29566         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29567         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29568         Remove variable.
29569         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29570         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29572         [BZ #18520]
29573         * inet/herrno.c (h_errno): Rename to __h_errno.
29574         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29575         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29576         to __h_errno instead of h_errno.
29577         * nptl/herrno.c (h_errno): Rename to __h_errno.
29578         (__h_errno_location): Refer to __h_errno not h_errno.
29579         * resolv/Versions (h_errno): Rename to __h_errno.
29580         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29581         Remove variable.
29582         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29584 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29586         * configure.ac: More strict check for AVX512 assembler support.
29587         * configure: Regenerated.
29589         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29590         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29591         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29592         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29593         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29594         * sysdeps/x86_64/fpu/Versions: New versions added.
29595         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29596         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29597         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29604         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29605         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29606         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29607         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29608         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29609         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29610         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29611         test.
29612         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29615         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29616         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29617         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29618         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29619         * NEWS: Mention addition of x86_64 vector sin.
29621 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29623         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29624         comment.
29626 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29628         [BZ #18479]
29629         * nptl/pt-interp.c: New file.
29630         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29631         Add pt-interp.
29632         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29633         $(common-objpfx)runtime-linker.h.
29635 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29637         * Makeconfig (+interp): Remove unused variable.
29638         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29639         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29640         $(elf-objpfx)runtime-linker.h.
29641         ($(elf-objpfx)runtime-linker.h): Rename to
29642         $(common-objpfx)runtime-linker.h and move ...
29643         * Makerules [$(build-shared) = yes]: ... here.
29644         * elf/interp.c: Include <runtime-linker.h> instead of
29645         <elf/runtime-linker.h>.
29647 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29649         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29650         (__gettimeofday_syscall): Remove vsyscall fallback.
29651         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29652         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29653         Add syscall fallback function.
29654         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29655         if vDSO is not present.
29656         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29657         fallback function.
29658         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29659         present.
29660         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29661         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29663 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29665         [BZ #18497]
29666         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29667         of wcscmp.
29668         (wcscmp): Define as weak alias of WCSCMP.
29669         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29670         wcscoll.
29671         (USE_HIDDEN_DEF): Define.
29672         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29673         __wcscoll.  Don't use libc_hidden_weak.
29674         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29675         wcscmp.
29676         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29677         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29678         __GI_wcscmp.
29679         (weak_alias): Undefine and redefine.
29680         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29681         __wcscmp and define as weak alias of __wcscmp.
29682         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29683         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29684         (__wcscoll): Likewise.
29685         (wcscmp): Don't use libc_hidden_proto.
29686         (wcscoll): Likewise.
29687         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29688         wcscoll.
29689         * posix/regexec.c (check_node_accept_bytes): Likewise.
29690         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29691         variable.
29692         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29693         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29695         [BZ #18507]
29696         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29697         __fstatvfs and define as weak alias of __fstatvfs.  Use
29698         libc_hidden_weak.
29699         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29700         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29701         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29702         Define as alias of __fstatvfs, not fstatvfs.
29703         (fstatvfs64): Likewise.
29704         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29705         Define as alias of __statvfs, not statvfs.
29706         (statvfs64): Likewise.
29707         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29708         Remove variable.
29710 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29713         (HAVE_GETCPU_VSYSCALL): Define.
29714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29715         (HAVE_GETCPU_VSYSCALL): Likewise.
29716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29717         * sysdeps/unix/sysv/linux/sched_getcpu.c
29718         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29719         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29720         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29721         prototype.
29722         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29723         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29724         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29726         Define.
29727         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29728         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29729         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29732 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29734         * sysdeps/x86_64/fpu/Makefile: New file.
29735         * sysdeps/x86_64/fpu/Versions: New file.
29736         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29737         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29738         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29739         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29740         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29741         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29742         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29749         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29750         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29752         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29753         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29754         * sysdeps/x86_64/configure: Regenerated.
29755         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29757         * manual/install.texi (Configuring and compiling): Document
29758         --disable-mathvec.
29759         * INSTALL: Regenerated.
29760         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29762         * math/Makefile: Added rules for vector tests.
29763         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29764         declaration under condition.
29765         * math/test-double-vlen2.h: New file.
29766         * math/test-double-vlen4.h: New file.
29767         * math/test-double-vlen8.h: New file.
29768         * math/test-vec-loop.h: Added initialization macro.
29769         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29771         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29772         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29773         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29776         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29777         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29778         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29779         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29782         * sysdeps/x86_64/fpu/Versions: New versions added.
29783         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29785         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29786         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29787         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29788         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29790         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29791         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29793         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29794         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29795         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29796         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29797         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29798         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29799         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29800         * NEWS: Mention addition of x86_64 vector cosf.
29802         * math/Makefile: Added CFLAGS for new tests.
29803         * math/test-float-vlen16.h: New file.
29804         * math/test-float-vlen4.h: New file.
29805         * math/test-float-vlen8.h: New file.
29806         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29807         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29808         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29809         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29810         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29811         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29812         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29813         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29814         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29815         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29816         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29818 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29820         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29821         * locale/programs/ld-ctype.c: Likewise.
29823 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29825         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29826         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29827         bit_ZMM16_31_state): New macro.
29828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29829         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29831 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29833         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29835 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29837         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29839 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29841         [BZ #18498]
29842         * libio/memstream.c (open_memstream): Rename to __open_memstream
29843         and define as weak alias of __open_memstream.
29844         * include/stdio.h (__open_memstream): Declare.  Use
29845         libc_hidden_proto.
29846         (open_memstream): Don't use libc_hidden_proto.
29847         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29848         open_memstream.
29849         * posix/getopt.c (_getopt_internal_r): Likewise.
29850         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29851         variable.
29852         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29853         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29854         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29856         [BZ #18496]
29857         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29858         instead of wcrtomb.
29860         [BZ #18483]
29861         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29862         [__USE_XOPEN2K8].  Remove redundant #endif.
29863         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29864         Remove redundant #if.
29865         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29866         Remove variable.
29867         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29868         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29870         [BZ #18495]
29871         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29872         (__iswlower): Likewise.
29873         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29874         (__iswlower): Likewise.
29875         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29876         instead of towlower.
29877         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29878         instead of iswlower.  Call __towupper instead of towupper.
29879         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29880         instead of iswalnum.
29882 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29884         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29885         errors to stderr.
29887 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29889         [BZ #15661]
29890         [BZ #17322]
29891         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29892         Check for overflow properly.  Check for O_APPEND.  Ignore large
29893         file system block sizes.  Add comments about problems.
29894         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29895         * manual/filesys.texi (Storage Allocation): New node.
29897 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29899         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29900         cancellable syscalls.
29901         (SYS_ify): Add guard to no redefine it.
29902         (INLINE_SYSCALL): Likewise.
29903         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29904         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29905         SYSCALL_CANCEL instead.
29906         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29907         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29908         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29909         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29910         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29911         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29912         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29913         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29914         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29915         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29916         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29917         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29918         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29919         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29920         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29922         Likewise.
29923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29924         (__libc_pread64): Likewise.
29925         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29926         (__libc_preadv): Likewise.
29927         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29928         (__libc_readv64): Likewise.
29929         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29930         (__libc_pwrite): Likewise.
29931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29932         (__libc_pwrite64): Likewise.
29933         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29934         (__libc_pwritev): Likewise.
29935         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29936         (__libc_pwritev64): Likewise.
29937         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29938         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29939         (sync_file_range): Likewise.
29940         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29941         Likewise.
29942         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29943         Likewise.
29944         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29945         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29946         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29947         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29948         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29949         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29950         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29951         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29953         Likewise.
29954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29955         (__libc_read64): Likewise.
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29957         Likewise.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29959         Likewise.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29961         Likewise.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29963         Likewise.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29965         (__libc_pread64): Likewise.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29967         Likewise.
29968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29969         (__libc_pwrite64): Likewise.
29970         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29971         (sync_file_range): Likewise.
29972         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29973         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29974         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29975         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29976         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29977         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29978         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29979         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29980         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29981         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29982         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29983         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29984         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29985         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29986         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29987         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29988         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29989         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29990         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29991         Likewise.
29992         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29993         Likewise.
29994         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29995         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29996         Likewise.
29997         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29998         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29999         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30000         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30001         Likewise.
30002         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30003         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30004         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30005         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30006         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30008 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30010         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30011         Include dl-vdso.
30012         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30013         Use VDSO routines for gettimeofday, clock_gettime if
30014         available.
30015         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30016         Declare VDSO symbols.
30017         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30018         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30019         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30020         * sysdeps/unix/sysv/linux/arm/Versions: Add
30021         __vdso_clock_gettime.
30023 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30025         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30026         be an inline implementation regardless of library is built within.
30027         (open_not_cancel_2): Likewise.
30028         (__read_nocancel): Likewise.
30029         (__write_nocancel): Likewise.
30030         (openat_not_cancel): Likewise.
30031         (openat_not_cancel_3): Likewise.
30032         (openat64_not_cancel): Likewise.
30033         (openat64_not_cancel_3): Likewise.
30034         (__close_nocancel): Likewise.
30035         (pause_not_cancel): Likewise.
30036         (nanosleep_not_cancel): Likewise.
30037         (sigsuspend_not_cancel): Likewise.
30039 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30041         [BZ #14958]
30042         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30043         wake-up.
30044         (__pthread_rwlock_rdlock_slow): Likewise.
30045         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30046         Likewise.
30047         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30048         Likewise.
30049         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30050         * nptl/tst-rwlock16.c: New file.
30051         * nptl/Makefile (tests): Add new test.
30053 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30055         [BZ #18324]
30056         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30057         missing wake-up of readers.
30058         * nptl/tst-rwlock15.c: New file.
30059         * nptl/Makefile (tests): Add new test.
30061 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30063         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30064         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30065         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30066         and __nacl_supply_interface_rtld.
30067         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30068         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30069         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30070         Add __nacl_supply_interface_rtld.
30071         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30073 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30075         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30076         isfinite.
30077         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30078         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30080 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30082         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30083         __signbit* with standard C99 macros.
30084         * math/e_exp10l.c: Likewise.
30085         * math/e_exp2l.c: Likewise.
30086         * math/e_scalb.c: Likewise.
30087         * math/e_scalbf.c: Likewise.
30088         * math/e_scalbl.c: Likewise.
30089         * math/s_ldexp.c: Likewise.
30090         * math/s_ldexpf.c: Likewise.
30091         * math/s_ldexpl.c: Likewise.
30092         * math/w_atan2.c: Likewise.
30093         * math/w_atan2f.c: Likewise.
30094         * math/w_atan2l.c: Likewise.
30095         * math/w_cosh.c: Likewise.
30096         * math/w_coshf.c: Likewise.
30097         * math/w_coshl.c: Likewise.
30098         * math/w_exp10.c: Likewise.
30099         * math/w_exp10f.c: Likewise.
30100         * math/w_exp10l.c: Likewise.
30101         * math/w_exp2.c: Likewise.
30102         * math/w_exp2f.c: Likewise.
30103         * math/w_exp2l.c: Likewise.
30104         * math/w_fmod.c: Likewise.
30105         * math/w_fmodf.c: Likewise.
30106         * math/w_fmodl.c: Likewise.
30107         * math/w_hypot.c: Likewise.
30108         * math/w_hypotf.c: Likewise.
30109         * math/w_hypotl.c: Likewise.
30110         * math/w_jnl.c: Likewise.
30111         * math/w_lgamma.c: Likewise.
30112         * math/w_lgamma_r.c: Likewise.
30113         * math/w_lgammaf.c: Likewise.
30114         * math/w_lgammaf_r.c: Likewise.
30115         * math/w_lgammal.c: Likewise.
30116         * math/w_lgammal_r.c: Likewise.
30117         * math/w_pow.c: Likewise.
30118         * math/w_powf.c: Likewise.
30119         * math/w_powl.c: Likewise.
30120         * math/w_remainder.c: Likewise.
30121         * math/w_remainderf.c: Likewise.
30122         * math/w_remainderl.c: Likewise.
30123         * math/w_scalb.c: Likewise.
30124         * math/w_scalbf.c: Likewise.
30125         * math/w_scalbl.c: Likewise.
30126         * math/w_scalbln.c: Likewise.
30127         * math/w_scalblnf.c: Likewise.
30128         * math/w_scalblnl.c: Likewise.
30129         * math/w_sinh.c: Likewise.
30130         * math/w_sinhf.c: Likewise.
30131         * math/w_sinhl.c: Likewise.
30132         * math/w_tgamma.c: Likewise.
30133         * math/w_tgammaf.c: Likewise.
30134         * math/w_tgammal.c: Likewise.
30135         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30136         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30137         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30138         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30139         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30140         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30141         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30142         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30143         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30144         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30145         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30146         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30147         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30148         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30152         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30154         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30156         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30159         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30160         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30161         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30162         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30163         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30164         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30165         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30166         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30167         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30168         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30169         * stdio-common/printf_fp.c: Likewise.
30170         * stdio-common/printf_fphex.c: Likewise.
30171         * stdio-common/printf_size.c: Likewise.
30173 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30175         [BZ #18470]
30176         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30177         strnlen.
30178         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30179         Remove variable.
30180         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30181         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30182         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30183         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30184         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30185         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30186         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30187         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30188         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30189         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30191         [BZ #18468]
30192         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30193         weak alias of __wmemchr.  Use libc_hidden_weak.
30194         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30195         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30196         instead of wmemchr.
30198 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30200         [BZ #18383]
30201         * elf/tst-tlsalign-extern.c: New file.
30202         * elf/tst-tlsalign-extern-static.c: New file.
30203         * elf/tst-tlsalign-vars.c: New file.
30204         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30205         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30206         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30207         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30208         (test-xfail-tst-tlsalign-extern-static): New variable.
30210 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30212         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30213         Use variable name _sc_err instead of err.
30214         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30215         instead of ret.
30216         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30217         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30218         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30219         (INLINE_SYSCALL): Likewise.
30221         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30222         * include/string.h (__strnlen): Use libc_hidden_proto.
30223         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30224         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30225         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30226         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30227         (libc_hidden_def): Undefine and redefine.
30228         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30229         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30230         __GI_strnlen.
30231         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30232         libc_hidden_def.
30233         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30235         [BZ #18469]
30236         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30237         weak alias of __towlower.  Use libc_hidden_weak.
30238         (towupper): Rename to __towupper and define as weak alias of
30239         __towupper.  Use libc_hidden_weak.
30240         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30241         (__towupper): Likewise.
30242         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30243         __towlower instead of towlower.
30245 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30247         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30248         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30250 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30252         * sysdeps/aarch64/libm-test-ulps: Update.
30254 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30256         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30257         Define.
30258         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30260         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30261         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30262         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30263         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30264         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30266 2015-06-01  Martin Sebor  <msebor@redhat.com>
30268         [BZ #18116]
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30270         (__setcontext): Use extended four-operand version of mtsf whenever
30271         possible.
30272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30273         (__novec_swapcontext): Likewise.
30275 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30277         * benchtests/scripts/compare_bench.py: New file.
30278         * benchtests/scripts/import_bench.py (mean): New function.
30279         (split_list): Likewise.
30280         (do_for_all_timings): Likewise.
30281         (compress_timings): Likewise.
30283         * benchtests/scripts/import_bench.py: New file.
30284         * benchtests/scripts/validate_benchout.py: Import import_bench
30285         instead of jsonschema.
30286         (validate_bench): Remove function.
30287         (main): Use import_bench.
30289 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30291         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30292         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30294 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30298 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30300         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30301         set THREAD_SELF->tid to a magic value and futex-wake it.
30302         Pass its address to the thread_exit system call.
30303         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30304         bit is clear.
30305         * sysdeps/nacl/lowlevellock.h: New file.
30306         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30308         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30309         Add TIMEOUT to current time, don't subtract it.
30311 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30313         [BZ #2981]
30314         [BZ #18422]
30315         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30316         ($(objpfx)tst-audit2.out): Also depend on
30317         $(objpfx)tst-auditmod9b.so.
30318         * elf/tst-audit2.c: Include <dlfcn.h>.
30319         (calloc_called): New.
30320         (calloc): Allow to be called more than once.
30321         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30323 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30325         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30326         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30328 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30330         * stdlib/monetary.h: Fix comment.
30332 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30334         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30335         Avoid using variables in #defines that might cause shadowing.
30336         (INTERNAL_VSYSCALL_CALL): Likewise.
30338 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30340         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30342         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30343         * nptl/lll_timedlock_wait.c: ... to this new file.
30344         * nptl/Makefile (libpthread-routines): Add it.
30345         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30346         * nptl/lll_timedwait_tid.c: ... to this new file.
30347         * nptl/Makefile (libpthread-routines): Add it.
30348         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30349         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30350         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30351         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30352         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30353         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30354         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30355         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30356         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30357         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30359 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30361         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30362         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30363         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30365         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30367         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30369         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30370         * sysdeps/unix/sysv/linux/tile/sysdep.h
30371         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30372         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30373         using vDSO syscall macro.
30375 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30377         [BZ #17293]
30378         * uk_UA: Fix sorting order for Ukrainian locale
30380 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30382         * stdlib/monetary.h: Fix comment.
30384 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30386         [BZ #18234]
30387         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30388         st_mtim and st_ctim members.
30389         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30390         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30391         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30392         (struct stat64): Likewise.
30393         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30394         (struct stat64): Likewise.
30395         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30396         (struct stat64): Likewise.
30398 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30400         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30401         Define and include sysdep-vdso.h.
30402         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30403         Likewise.
30404         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30405         Likewise.
30406         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30407         Define with VDSO_SYMBOL and use PTR_MANGLE.
30408         (__vdso_clock_gettime): Likewise.
30409         (__vdso_clock_getres): Likewise.
30410         (_libc_vdso_platform_setup): Likewise.
30411         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30412         Likewise.
30413         (_libc_vdso_platform_setup): Likewise.
30414         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30415         Likewise.
30416         (__vdso_clock_gettime): Likewise.
30417         (__vdso_clock_getres): Likewise.
30418         (__vdso_get_tbfreq): Likewise.
30419         (__vdso_getcpu): Likewise.
30420         (__vdso_time): Likewise.
30421         (__vdso_sigtramp_rt64): Likewise.
30422         (__vdso_signtramp32): Likewise.
30423         (__vdso_sigtramp_rt32): Likewise.
30424         (_libc_vdso_platform_setup): Likewise.
30425         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30426         Likewise.
30427         (__vdso_clock_gettime): Likewise.
30428         (__vdso_clock_getres): Likewise.
30429         (_libc_vdso_platform_setup): Likewise.
30430         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30431         Likewise.
30432         (__vdso_clock_gettime): Likewise.
30433         (_libc_vdso_platform_setup): Likewise.
30434         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30435         Likewise.
30436         (__vdso_getcpu): Likewise.
30437         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30438         Use VDSO_SYMBOL macro to define.
30439         (__vdso_clock_gettime): Likewise.
30440         (__vdso_clock_getres): Likewise.
30441         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30442         Likewise.
30443         (__vdso_clock_gettime): Likewise.
30444         (__vdso_clock_getres): Likewise.
30445         (__vdso_get_tbfreq): Likewise.
30446         (__vdso_getcpu): Likewise.
30447         (__vdso_time): Likewise.
30448         (__vdso_sigtramp_rt64): Likewise.
30449         (__vdso_signtramp32): Likewise.
30450         (__vdso_sigtramp_rt32): Likewise.
30451         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30452         Likewise.
30453         (__vdso_clock_gettime): Likewise.
30454         (__vdso_clock_getres): Likewise.
30455         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30456         Likewise.
30457         (__vdso_clock_gettime): Likewise.
30458         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30459         Likewise.
30460         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30461         macro.
30462         (INTERNAL_VSYSCALL): Likewise.
30463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30464         Remove macro.
30465         (INTERNAL_VSYSCALL): Likewise.
30466         (INTERNAL_VSYSCALL_NCS): Likewise.
30467         (INTERNAL_VSYSCALL_CALL): New macro.
30468         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30470         Likewise.
30471         (INTERNAL_VSYSCALL): Likewise.
30472         (INTERNAL_VSYSCALL_NCS): Likewise.
30473         (INTERNAL_VSYSCALL_CALL): New macro.
30474         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30476         (INLINE_VSYSCALL): Remove macro.
30477         (INTERNAL_VSYSCALL): Remove macro.
30478         (INTERNAL_VSYSCALL_NCS): Remove macro.
30479         (INTERNAL_VSYSCALL_CALL): New macro.
30480         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30481         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30482         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30483         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30484         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30486         (INLINE_VSYSCALL): Remove macro.
30487         (INTERNAL_VSYSCALL): Likewise.
30488         (INTERNAL_VSYSCALL_NCS): Likewise.
30489         (INTERNAL_VSYSCALL_CALL): New macro.
30490         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30491         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30492         PTR_DEMANGLE on vDSO pointer.
30493         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30494         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30495         macro.
30496         (INTERNAL_SYSCALL): Likewise.
30497         (INTERNAL_VSYSCALL_NCS): Remove macro.
30498         (INTERNAL_VSYSCALL_CALL): New macro.
30499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30500         Remove macro.
30501         (INTERNAL_VSYSCALL): Likewise.
30502         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30503         sysdep-vdso.h instead of libc-vdso.h.
30504         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30505         definition.
30506         (INLINE_VSYSCALL): Likewise.
30507         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30508         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30509         definition.
30510         (INLINE_VSYSCALL): Likewise.
30511         (INTERNAL_VSYSCALL): Likewise.
30512         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30513         * sysdeps/unix/sysv/linux/timespec_get.c
30514         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30515         (timespec_get): Use ANSI prototype.
30516         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30517         and definition for Linux.
30519 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30521         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30522         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30524 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30526         [BZ #2981]
30527         [BZ #18410]
30528         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30529         for missing DT_PLTRELSZ.
30531 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30533         Remove obsolete aliases that broke 'locale -a'
30534         [BZ #18412]
30535         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30536         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30537         breaking some applications that use 'locale -a' output.
30538         Change the encoding of this file from Latin-1 to ASCII to avoid
30539         other potential problems with people grepping this file.
30541 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30543         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30544         -fasynchronous-unwind-tables.
30545         (CFLAGS-sendto.c): Likewise.
30546         (CFLAGS-sendmsg.c): Likewise.
30547         (CFLAGS-connect.c): Likewise.
30548         (CFLAGS-recvmsg.c): Likewise.
30549         (CFLAGS-recvfrom.c): Likewise.
30550         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30551         (SOCKETCALL): New macro: non-cancellable socketcall.
30552         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30553         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30554         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30555         * sysdeps/unix/sysv/linux/accept.c: New file.
30556         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30557         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30558         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30559         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30560         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30561         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30562         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30563         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30564         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30565         * sysdeps/unix/sysv/linux/send.c: Likewise.
30566         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30567         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30568         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30569         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30570         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30571         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30572         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30573         prototype.
30574         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30575         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30576         instead of __internal_xxx function.
30577         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30578         prototype.
30579         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30580         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30581         instead of __internal_xxx function.
30582         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30583         prototype.
30584         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30585         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30586         instead of __internal_xxx function.
30587         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30588         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30589         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30590         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30591         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30592         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30593         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30594         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30595         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30596         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30597         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30598         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30599         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30600         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30601         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30602         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30603         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30604         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30605         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30606         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30609         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30610         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30611         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30612         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30613         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30614         * sysdeps/unix/sysv/linux/send.S: Likewise.
30615         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30616         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30617         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30618         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30619         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30620         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30621         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30622         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30623         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30624         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30625         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30626         socketcall is implemented in GLIBC.
30628 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30630         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30631         (__fma): Ignore uninitialized warnings around packing.
30632         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30633         (__fmaf): Ignore uninitialized warnings around packing.
30634         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30635         (__fmal): Ignore uninitialized warnings around packing.
30637         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30638         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30639         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30640         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30642         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30643         switch statement into default case.
30644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30646         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30647         a conditional in forcing "inexact".
30648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30649         Likewise.
30651 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30653         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30654         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30655         for each INTERNAL_SYSCALL use.
30657 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30659         [BZ #438]
30660         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30661         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30662         variable.
30664         [BZ #18444]
30665         * string/basename.c (basename): Rename to __basename and define as
30666         weak alias of __basename.  Use libc_hidden_weak.
30667         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30668         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30669         __basename instead of basename.
30670         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30671         Remove variable.
30672         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30674 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30676         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30677         (_IO_JUMPS_FILE_plus): New.
30678         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30679         _IO_CAST_FIELD_ACCESS.
30680         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30681         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30682         * libio/freopen.c (freopen): Likewise.
30683         * libio/freopen64.c (freopen64): Likewise.
30684         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30685         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30686         * libio/iofwide.c (_IO_fwide): Likewise.
30687         * libio/memstream.c (open_memstream): Likewise.
30688         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30689         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30690         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30692 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30695         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30696         NADJ.
30697         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30698         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30699         NADJ.
30700         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30701         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30702         NADJ.
30704         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30705         (p == 4) case.
30707         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30708         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30709         Remove variable.
30710         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30711         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30712         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30714 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30716         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30717         Adjust jump table label generation macros.
30719 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30721         * stdio-common/vfprintf.c (vfprintf): Move local variables
30722         args_malloced, specs, specs_malloced, and the code after
30723         do_positional to the printf_positional function.
30724         (printf_positional): New function.
30726 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30728         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30729         function.
30730         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30731         STEP4_TABLE, process_arg): Move macro definitions
30732         out of the vfprintf function.  (Cosmetic change only.)
30734 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30736         * benchtests/Makefile (stdio-common-bench): Define.
30737         (benchset): Add stdio-common-bench.
30738         * sprintf-inputs: New file.
30739         * sprintf-source.c: New file.
30741 2015-05-21  Andreas Schwab  <schwab@suse.de>
30743         [BZ #13028]
30744         [BZ #17053]
30745         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30746         of struct __res_state.
30747         * resolv/res_send.c (__libc_res_nsend): Likewise.
30748         (get_nsaddr): New function.
30749         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30750         statp directly.
30752 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30754         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30755         -D_POSIX_C_SOURCE=199506L.
30757         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30759         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30760         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30761         Do not mention otherwise.
30762         [POSIX] (_XOPEN_VERSION): Do not expect.
30763         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30764         [POSIX] (_POSIX2_C_BIND): Likewise.
30765         [POSIX] (_POSIX2_VERSION): Likewise.
30766         [POSIX] (_XOPEN_XPG2): Likewise.
30767         [POSIX] (_XOPEN_XPG3): Likewise.
30768         [POSIX] (_XOPEN_XPG4): Likewise.
30769         [POSIX] (_XOPEN_UNIX): Likewise.
30770         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30771         [POSIX] (_POSIX_BARRIERS): Likewise.
30772         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30773         [POSIX] (_POSIX_CPUTIME): Likewise.
30774         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30775         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30776         [POSIX] (_POSIX_SHELL): Likewise.
30777         [POSIX] (_POSIX_SPAWN): Likewise.
30778         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30779         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30780         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30781         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30782         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30783         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30784         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30785         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30786         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30787         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30788         [POSIX] (_POSIX2_PBS): Likewise.
30789         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30790         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30791         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30792         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30793         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30794         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30795         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30796         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30797         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30798         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30799         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30800         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30801         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30802         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30803         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30804         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30805         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30806         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30807         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30808         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30809         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30810         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30811         [POSIX] (_SC_2_C_BIND): Likewise.
30812         [POSIX] (_SC_2_C_VERSION): Likewise.
30813         [POSIX] (_SC_2_PBS): Likewise.
30814         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30815         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30816         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30817         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30818         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30819         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30820         [POSIX] (_SC_BARRIERS): Likewise.
30821         [POSIX] (_SC_BASE): Likewise.
30822         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30823         [POSIX] (_SC_DEVICE_IO): Likewise.
30824         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30825         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30826         [POSIX] (_SC_FD_MGMT): Likewise.
30827         [POSIX] (_SC_FIFO): Likewise.
30828         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30829         [POSIX] (_SC_FILE_LOCKING): Likewise.
30830         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30831         [POSIX] (_SC_IOV_MAX): Likewise.
30832         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30833         [POSIX] (_SC_NETWORKING): Likewise.
30834         [POSIX] (_SC_PAGE_SIZE): Likewise.
30835         [POSIX] (_SC_PASS_MAX): Likewise.
30836         [POSIX] (_SC_PIPE): Likewise.
30837         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30838         [POSIX] (_SC_REGEXP): Likewise.
30839         [POSIX] (_SC_SHELL): Likewise.
30840         [POSIX] (_SC_SIGNALS): Likewise.
30841         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30842         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30843         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30844         [POSIX] (_SC_USER_GROUPS): Likewise.
30845         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30846         [POSIX] (_SC_STREAMS): Likewise.
30847         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30848         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30849         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30850         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30851         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30852         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30853         [POSIX] (_PC_FILESIZEBITS): Likewise.
30854         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30855         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30856         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30857         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30858         [POSIX] (uid_t): Likewise.
30859         [POSIX] (gid_t): Likewise.
30860         [POSIX] (off_t): Likewise.
30861         [POSIX] (pid_t): Likewise.
30862         [POSIX] (cuserid): Allow.
30863         (_SC_2_CHAR_TERM): Require constant.
30864         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30865         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30866         variable.
30868 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30870         * sysdeps/nacl/pthread-pids.h: New file.
30871         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30872         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30874         * nptl/pthread-pids.h: New file.
30875         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30876         * nptl/nptl-init.c: Include <pthread-pids.h>.
30877         (__pthread_initialize_minimal_internal):
30878         Call __pthread_initialize_pids instead of set_tid_address syscall.
30880         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30881         * sysdeps/posix/usleep.c: ... here.
30883 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30885         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30886         call_pselect6 object.
30887         [$(subdir) = io]: Remove call_sync_file_range object.
30888         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30889         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30890         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30891         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30893 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30895         * math/s_cproj.c: Add include "math_private.h".
30896         * math/s_cprojf.c: Likewise.
30897         * math/s_cprojl.c: Likewise.
30899 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30901         [BZ #18244]
30902         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30903         high mantissa bit when testing whether P is a NaN.
30904         * math/libm-test.inc (remainder_test_data): Add more tests.
30905         (remquo_test_data): Likewise.
30907         [BZ #18049]
30908         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30909         below -32, return the argument, with underflow if subnormal.
30910         * math/auto-libm-test-in: Add more tests of atanh.
30911         * math/auto-libm-test-out: Regenerated.
30913 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30915         [BZ #18434]
30916         * nptl/tst-sem15.c: New file.
30917         * nptl/Makefile (tests): Add it.
30918         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30919         s/<</>>/ to fix typo in EOVERFLOW check.
30920         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30922 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30924         * manual/strings.texi (envz_remove): Fix typo in safety
30925         annotations.
30927 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30928             Steve Ellcey  <sellcey@imgtec.com>
30930         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30931         in order to avoid strict alias warnings.
30932         (iruserok_af): Ditto for ra.
30934 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30936         [BZ #17581]
30937         * malloc/hooks.c
30938         (magicbyte): Convert to a function and avoid returning 0x01.
30939         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30940         (mem2chunk_check): Fix unsigned comparisons to zero.
30941         Hoist defs of sz and magic.
30943 2015-05-19  Richard Henderson  <rth@redhat.com>
30945         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30947         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30949 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30951         [BZ #16159]
30952         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30953         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30954         (reused_arena): Find a non-corrupt arena.
30955         (heap_trim): Pass arena to unlink.
30956         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30957         malloc_printerr.
30958         (top_check): Likewise.
30959         (free_check): Likewise.
30960         (realloc_check): Likewise.
30961         * malloc/malloc.c (malloc_printerr): Add arena argument.
30962         (unlink): Likewise.
30963         (munmap_chunk): Adjust.
30964         (ARENA_CORRUPTION_BIT): New macro.
30965         (arena_is_corrupt): Likewise.
30966         (set_arena_corrupt): Likewise.
30967         (sysmalloc): Use mmap if there are no usable arenas.
30968         (_int_malloc): Likewise.
30969         (__libc_malloc): Don't fail if arena_get returns NULL.
30970         (_mid_memalign): Likewise.
30971         (__libc_calloc): Likewise.
30972         (__libc_realloc): Adjust for additional argument to
30973         malloc_printerr.
30974         (_int_free): Likewise.
30975         (malloc_consolidate): Likewise.
30976         (_int_realloc): Likewise.
30977         (_int_memalign): Don't touch corrupt arenas.
30978         * malloc/tst-malloc-backtrace.c: New test case.
30980         * Makefile (summarize-tests): Fix return value on success.
30982         * manual/string.texi (Envz Functions): Add envz_remove.
30984 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30986         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30987         (invalid_name): New function, broken out of ...
30988         (__opendirat): ... here.  Call it.
30989         (need_isdir_precheck): New function, broken out of ...
30990         (__opendirat): ... here.  Call it.
30991         Use __fxstatat64, not __xstatat64.
30992         (opendir_oflags): New function, broken out of ...
30993         (__opendirat): ... here.  Call it.
30994         (opendir_tail): New function, broken out of ...
30995         (__opendirat): ... here.  Call it.
30996         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30997         opendir_tail, rather than punting to __opendirat.
30998         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31000 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002         * .gitignore: Ignore generated *.pyc.
31004 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31006         * include/stdio.h: Define __need_wint_t.
31007         * test-skeleton.c: Avoid `for' loop initial declaration.
31008         * nptl/tst-initializers1.c: Use test-skeleton.c.
31010 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31012         [BZ #18418]
31013         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31015 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31017         [BZ #16352]
31018         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31019         (__ieee754_atanh): Force underflow exception for results with
31020         small absolute value.
31021         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31022         (__ieee754_atanhf): Force underflow exception for results with
31023         small absolute value.
31024         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31025         (__ieee754_atanh): Force underflow exception for results with
31026         small absolute value.
31027         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31028         (__ieee754_atanhf): Force underflow exception for results with
31029         small absolute value.
31030         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31031         (__ieee754_atanhl): Force underflow exception for results with
31032         small absolute value.
31033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31034         (__ieee754_atanhl): Force underflow exception for results with
31035         small absolute value.
31036         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31037         (__ieee754_atanhl): Force underflow exception for results with
31038         small absolute value.
31039         * math/auto-libm-test-in: Do not allow missing underflow
31040         exceptions from atanh.
31041         * math/auto-libm-test-out: Regenerated.
31043         [BZ #18221]
31044         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31045         2**-28 as threshold for returning x or +/- 1/x.
31046         * math/auto-libm-test-in: Add more tests of tan.
31047         * math/auto-libm-test-out: Regenerated.
31049         [BZ #18220]
31050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31051         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31052         * math/auto-libm-test-in: Add another test of lgamma.
31053         * math/auto-libm-test-out: Regenerated.
31055 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31057         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31058         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31059         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31060         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31061         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31062         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31063         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31066         (log1): Use fabs.  (my_log2): Use fabs.
31067         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31068         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31069         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31070         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31072         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31073         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31074         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31075         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31076         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31077         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31079 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31081         [BZ #18217]
31082         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31083         as threshold for returning 1 - x.
31084         * math/auto-libm-test-in: Add more tests of erfc.
31085         * math/auto-libm-test-out: Regenerated.
31087 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #18196]
31090         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31091         threshold for large arguments.
31092         * math/auto-libm-test-in: Add another test of atan.
31093         * math/auto-libm-test-out: Regenerated.
31095         [BZ #16339]
31096         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31097         (__log1p): Force underflow exception for results with small
31098         absolute value.
31099         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31100         (__log1pf): Force underflow exception for results with small
31101         absolute value.
31102         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31103         (__log1p): Force underflow exception for results with small
31104         absolute value.
31105         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31106         (__log1pf): Force underflow exception for results with small
31107         absolute value.
31108         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31109         (__log1pl): Force underflow exception for results with small
31110         absolute value.
31111         * math/auto-libm-test-in: Do not allow missing underflow
31112         exceptions from log1p.
31113         * math/auto-libm-test-out: Regenerated.
31115 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31116             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31118         [BZ #16704]
31119         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31121 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31123         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31124         (libmvec): New variable.
31125         * configure.ac: Added option for mathvec build.
31126         * configure: Regenerated.
31127         * mathvec/Depend: New file.
31128         * mathvec/Makefile: New file.
31129         * shlib-versions: Added libmvec.
31130         * math/Makefile: Added rule for libm.so installation.
31132         * bits/math-vector.h: New file.
31133         * bits/libm-simd-decl-stubs.h: New header.
31134         * math/Makefile (headers): Added new header
31135         libm-simd-decl-stubs.h.
31136         * math/math.h (__MATHCALL_VEC): New macro.
31138         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31139         for conditions in testing functions.
31140         * math/Makefile: Added call of libm-have-vector-test.sh.
31141         * math/libm-test.inc (HAVE_VECTOR): New macros.
31143         * math/libm-test.inc: START refactored.
31144         * math/test-double.c (TEST_MATHVEC): Add define.
31145         * math/test-float.c: Likewise.
31146         * math/test-idouble.c: Likewise.
31147         * math/test-ifloat.c: Likewise.
31148         * math/test-ildoubl.c: Likewise.
31149         * math/test-ldouble.c: Likewise.
31150         * sysdeps/generic/math-tests-arch.h
31151         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31152         architecture check.
31154         * math/test-double.c (FUNC_TEST): New macro.
31155         * math/test-float.c: Likewise.
31156         * math/test-idouble.c: Likewise.
31157         * math/test-ifloat.c: Likewise.
31158         * math/test-ildoubl.c: Likewise.
31159         * math/test-ldouble.c: Likewise.
31160         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31162 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31164         * sysdeps/nacl/fdopendir.c: New file.
31166         * dirent/scandir-tail.c: New file.
31167         * dirent/scandir64-tail.c: New file.
31168         * dirent/Makefile (routines): Add them.
31169         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31170         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31171         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31172         [!SCANDIR] (SCANDIR_TAIL): New macro.
31173         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31174         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31175         (SCANDIRAT): Macro removed.
31176         (SCANDIR_TAIL): New macro.
31177         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31178         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31179         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31180         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31181         (READDIR): Macro removed.
31182         (SCANDIR_TAIL): New macro.
31183         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31184         (SCANDIR_TAIL): New macro.
31186         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31187         * dirent/scandir-cancel.c: ... to this new file.
31188         * dirent/Makefile (routines): Add it.
31189         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31190         * sysdeps/unix/sysv/linux/i386/scandir64.c
31191         (SKIP_SCANDIR_CANCEL): Macro removed.
31192         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31194         * dirent/tst-scandir.c: New file.
31195         * dirent/tst-scandir64.c: New file.
31196         * dirent/Makefile (tests): Add them.
31198 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31200         [BZ #18409]
31201         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31203 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31205         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31206         list.
31208 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31210         * benchtests/bench-strcoll.c: New benchmark.
31211         * benchtests/Makefile: Generate locales and run benchmark.
31212         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31213         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31214         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31215         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31216         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31217         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31218         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31219         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31220         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31221         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31222         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31223         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31224         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31225         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31226         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31227         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31228         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31229         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31230         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31231         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31232         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31233         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31234         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31235         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31237 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31239         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31240         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31242 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31244         * posix/uname-values.h: New file.
31245         * posix/uname.c: Include that instead of <config-name.h>.
31246         * sysdeps/nacl/uname-values.h: New file.
31247         * sysdeps/arm/nacl/uname-values.h: New file.
31249 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31251         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31252         splitting into fields.
31254 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31256         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31257         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31258         * locale/localeinfo.h: Add enum collation_encoding_type.
31259         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31260         * programs/ld-collate.c (collate_output): Add encoding type info.
31261         * string/strcoll_l.c (STRDIFF): New function.
31262         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31263         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31265 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31267         [BZ #18397]
31268         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31269         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31270         <fpu_control.h> instead of <math/fpu_control.c>.
31271         * sysdeps/mips/mips32/fpu/Makefile: New file.
31273 2015-05-11  Andreas Schwab  <schwab@suse.de>
31275         [BZ #18007]
31276         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31277         nss_endgrent.
31278         (_nss_compat_endgrent): Call nss_endgrent.
31279         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31280         nss_endpwent.
31281         (_nss_compat_endpwent): Call nss_endpwent.
31282         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31283         needent, call nss_setspent only if non-zero.
31284         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31285         (internal_endspent): Don't call nss_endspent.
31286         (_nss_compat_endspent): Call nss_endspent.
31287         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31288         Remove.  All uses removed.
31289         (internal_setent): Remove parameter stayopen, add parameter
31290         stream.  Use it instead of global variable.
31291         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31292         (internal_endent, internal_getent): Add parameter stream.  Use it
31293         instead of global variable.
31294         (CONCAT(_nss_files_end,ENTNAME))
31295         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31296         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31297         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31298         uses removed.
31299         (internal_setent, internal_endent): Add parameter stream.  Use it
31300         instead of global variable.
31301         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31302         stream.
31303         (get_next_alias): Add parameter stream.
31304         (_nss_files_getaliasent_r): Pass global stream.
31305         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31306         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31307         (_nss_files_gethostbyname4_r): Pass local stream to
31308         internal_setent, internal_getent and internal_endent.  Remove
31309         locking.
31311 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31313         * tst-strfmon1.c (tests): Update expected currency symbol.
31315 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31317         * sysdeps/nacl/gethostname.c: New file.
31319 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31321         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31322         and sinh.
31323         * math/auto-libm-test-out: Regenerated.
31324         * sysdeps/i386/fpu/libm-test-ulps: Update.
31325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31327 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31329         [BZ #18125]
31330         * stdlib/tst-setcontext3.c: New file.
31331         * stdlib/tst-setcontext3.sh: New file.
31332         * stdlib/Makefile (tests): Add tst-setcontext3.
31333         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31334         to verify test program created output file.
31335         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31336         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31337         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31338         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31340 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31342         [BZ #18383]
31343         * elf/tst-tlsalign.c: New file.
31344         * elf/tst-tlsalign-static.c: New file.
31345         * elf/tst-tlsalign-lib.c: New file.
31346         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31347         (tests-static): Add tst-tlsalign-static.
31348         (modules-names): Add tst-tlsalign-lib.
31349         (test-xfail-tst-tlsalign): New variable.
31350         (test-xfail-tst-tlsalign-static): New variable.
31352         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31353         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31355 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31357         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31358         csqrt, erfc, sin and sincos.
31359         * math/auto-libm-test-out: Regenerated.
31360         * sysdeps/i386/fpu/libm-test-ulps: Update.
31361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31363 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31365         * sysdeps/aarch64/libm-test-ulps: Update.
31367 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31369         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31370         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31371         * math/auto-libm-test-out: Regenerated.
31372         * sysdeps/i386/fpu/libm-test-ulps: Update.
31373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31375 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31377         [BZ #18265]
31378         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31379         (wcsncpy): Likewise.
31381 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31383         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31384         Assume __ASSUME_FALLOCATE is always true.
31385         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31386         (__posix_fallocate64_l64): Likewise.
31387         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31388         (posix_fallocate): Likewise.
31389         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31390         (__posix_fallocate64_l64): Likewise.
31391         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31392         [!__ASSUME_FALLOCATE]: Add comment.
31394 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31396         * sysdeps/unix/sysv/linux/i386/Makefile
31397         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31398         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31399         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31400         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31401         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31402         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31403         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31405 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31407         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31408         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31409         tgamma.
31410         * math/auto-libm-test-out: Regenerated.
31411         * sysdeps/i386/fpu/libm-test-ulps: Update.
31412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31414 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31416         * math/auto-libm-test-in: Add more tests of tgamma.
31417         * math/auto-libm-test-out: Regenerated.
31418         * sysdeps/i386/fpu/libm-test-ulps: Update.
31419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31421         * math/auto-libm-test-in: Add more tests of tanh.
31422         * math/auto-libm-test-out: Regenerated.
31423         * sysdeps/i386/fpu/libm-test-ulps: Update.
31424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426         * math/auto-libm-test-in: Add more tests of tan.
31427         * math/auto-libm-test-out: Regenerated.
31428         * sysdeps/i386/fpu/libm-test-ulps: Update.
31429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31431         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31432         * math/auto-libm-test-out: Regenerated.
31433         * sysdeps/i386/fpu/libm-test-ulps: Update.
31434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31436         * math/auto-libm-test-in: Add another test of pow.
31437         * math/auto-libm-test-out: Regenerated.
31438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31440         * math/auto-libm-test-in: Add more tests of lgamma.
31441         * math/auto-libm-test-out: Regenerated.
31442         * sysdeps/i386/fpu/libm-test-ulps: Update.
31443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31445         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31446         log1p.
31447         * math/auto-libm-test-out: Regenerated.
31448         * sysdeps/i386/fpu/libm-test-ulps: Update.
31449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31451 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31453         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31454         Elf64_Chdr structs and ELFCOMPRESS constants.
31456 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31458         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31459         expm1.
31460         * math/auto-libm-test-out: Regenerated.
31461         * sysdeps/i386/fpu/libm-test-ulps: Update.
31462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31464         * math/auto-libm-test-in: Add more tests of erf and erfc.
31465         * math/auto-libm-test-out: Regenerated.
31466         * sysdeps/i386/fpu/libm-test-ulps: Update.
31467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31469 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31471         * config.h.in (HAVE_AARCH64_BE): Add.
31473 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31475         * math/auto-libm-test-in: Add more tests of csqrt.
31476         * math/auto-libm-test-out: Regenerated.
31477         * sysdeps/i386/fpu/libm-test-ulps: Update.
31478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31480         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31481         * math/auto-libm-test-out: Regenerated.
31482         * sysdeps/i386/fpu/libm-test-ulps: Update.
31483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31485         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31487 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31489         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31490         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31492         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31493         (euidaccess, eaccess): Define as weak aliases.
31495         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31496         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31497         but __suseconds_t is often 'long int' so some sources assume that
31498         type is being used (e.g. they use %ld to print tv_usec).
31500 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31502         [BZ #18007]
31503         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31504         (CVE-2014-8121)
31505         * nss/tst-nss-getpwent.c: New file.
31506         * nss/Makefile (tests): Add new test.
31508 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #18346]
31511         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31512         exponents less than 48 as cases where high part of mantissa needs
31513         examining to determine whether argument is integral.
31514         * math/libm-test.inc (round_test_data): Add more tests.
31516 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31518         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31520 2015-04-27  David S. Miller  <davem@davemloft.net>
31522         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31523         __tls_get_addr.
31524         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31526 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31528         [BZ #18333]
31529         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31531 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31533         [BZ #18333]
31534         * time/tzset.c (parse_tzname): Return error on memory allocation
31535         failure.
31536         * test-skeleton.c (struct temp_name_list): Change type of name
31537         member to non-const.
31538         (add_temp_file): Create a copy of the file name.
31539         (delete_temp_files): Deallocate memory.
31540         (create_temp_file): Add comment.
31542 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31544         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31545         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31547 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31549         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31550         * sysdeps/arm/configure: Regenerated.
31552 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31554         [BZ #17715]
31555         * time/tzfile.c (__tzfile_read): Check for large values of
31556         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31557         * time/tzset.c (__tzstring_len): New function, based on the old
31558         __tzstring function.
31559         (__tzstring): Call __tzstring_len.
31560         (parse_tzname): New helper function extracted from
31561         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31562         the input string.
31563         (parse_offset): New helper function extracted from
31564         __tzset_parse_tz.  Replace switch with fallthrough with
31565         initialization before sscanf.
31566         (parse_rule): Likewise.
31567         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31568         new-style function definition.
31569         * timezone/Makefile (tests): Add tst-tzset.
31570         (tst-tzset.out): Dependencies on time zone files.
31571         (tst-tzset-ENV): Set TZDIR.
31572         (testdata/XT%): Copy crafted time zone files.
31573         * timezone/README: Mention crafted time zone files.
31574         * timezone/testdata/XT1, timezone/testdata/XT2,
31575         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31576         files.
31577         * timezone/tst-tzset.c: New test.
31579 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31581         * Makeconfig (+gccwarn): Remove -Winline.
31583 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31585         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31587 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31589         * NEWS: Mention sysconf() cache information support for s390.
31590         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31592 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31594         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31595         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31596         (__nearbyint): Likewise.
31597         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31598         (copysignl): Likewise.
31600 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31602         [BZ #18287]
31603         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31604         based on padding.  (CVE-2015-1781)
31606 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31608         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31609         libc-vdso.h.
31610         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31611         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31612         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31613         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31614         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31615         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31616         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31617         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31618         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31619         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31620         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31621         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31622         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31623         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31624         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31625         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31626         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31627         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31628         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31629         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31630         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31631         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31632         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31634 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31636         * stdlib/setenv.c (__add_to_environ):
31637         Dump core quickly if setenv (..., NULL, ...) is called.
31638         This time, do it the right way, and pacify GCC with a pragma.
31640 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31642         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31643         IMAP->l_prev cannot be null, and #if out the code for the contrary
31644         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31645         believe that NS (&_dl_ns[NSID]) could point outside the array.
31647         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31648         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31649         before using NSID as an index.
31651 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31653         [BZ #17825]
31654         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31655         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31656         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31658 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31660         Add preliminary port to Google Native Client on ARM.
31661         * abi-tags (.*-.*-nacl.*): New entry.
31662         * sysdeps/arm/nacl: New directory.
31663         * sysdeps/nacl: New directory.
31665 2015-04-16  David S. Miller  <davem@davemloft.net>
31667         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31668         lowlevellock-futex.h
31670 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31672         * sysdeps/tile/configure.ac: New file.
31673         * sysdeps/tile/configure: Regenerated.
31675 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31677         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31678         conditionals for weak_alias and libc_hidden_weak.
31679         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31680         libc_hidden_weak and weak_alias.
31681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31682         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31683         and weak_alias for static one.
31685 2015-04-15  David S. Miller  <davem@davemloft.net>
31687         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31689 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31691         [BZ #18206]
31692         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31693           Use signed comparision instead of substraction to avoid
31694           overflow bug.
31695         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31696           Take the sign of ret.
31697         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31698           Do not expect precise return values. Only the sign matters.
31699         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31700         * wcsmbs/test-wcsncmp.c: New File.
31701         * string/test-strncmp.c: Add wcsncmp support.
31703 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31705         [BZ #6792]
31706         * math/w_log1p.c: New file.
31707         * math/w_log1pf.c: Likewise.
31708         * math/w_log1pl.c: Likewise.
31709         * math/Makefile (libm-calls): Add w_log1p.
31710         * math/s_log1pl.c (log1pl): Remove weak_alias.
31711         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31712         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31713         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31714         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31715         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31716         [NO_LONG_DOUBLE] (log1pl): Likewise.
31717         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31718         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31719         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31720         (log1p): Remove long_double_symbol.
31721         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31722         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31723         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31724         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31725         remove weak_alias for corresponding log1p function.
31726         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31727         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31728         * sysdeps/ia64/fpu/w_log1p.c: New file.
31729         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31730         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31731         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31733 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31735         [BZ #18247]
31736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31737         decimal exponent by 1.
31738         * stdlib/tst-strtod-round-data: Add more tests.
31739         * stdlib/tst-strtod-round.c (tests): Regenerated.
31741 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31743         * math/auto-libm-test-in: Add more tests of clog and clog10.
31744         * math/auto-libm-test-out: Regenerated.
31745         * sysdeps/i386/fpu/libm-test-ulps: Update.
31746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31748 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31750         * Makeconfig (module-cppflags): Exclude all .v.i files.
31751         (skip-module-cppflags): Variable removed.
31753         * configure.ac (libc_config_ok): Initialize before reading
31754         preconfigure scripts, not after.
31755         * configure: Regenerated.
31757         * test-skeleton.c (TIMEOUT): Move #define to top level.
31758         (main): Grok environment variable TEST_DIRECT.  If set, print
31759         test expectation details into that file and then behave as if
31760         given --direct.
31762 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31764         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31765         warning on 32-bit.
31767 2015-04-08  David S. Miller  <davem@davemloft.net>
31769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31771 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31773         * math/auto-libm-test-in: Add more tests of atanh.
31774         * math/auto-libm-test-out: Regenerated.
31775         * sysdeps/i386/fpu/libm-test-ulps: Update.
31776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778         * math/auto-libm-test-in: Add more tests of atan.
31779         * math/auto-libm-test-out: Regenerated.
31780         * sysdeps/i386/fpu/libm-test-ulps: Update.
31781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31783 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31785         * elf/pldd.c (main): Rewrite to use struct
31786         scratch_buffer instead of extend_alloca.
31787         * elf/pldd-xx.c (find_maps): Likewise.
31788         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31789         <alloca.h>.
31790         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31791         scratch_buffer instead of extend_alloca.
31792         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31793         grp/compat-initgroups.c.
31794         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31795         Rewrite to use struct scratch_buffer instead of extend_alloca.
31796         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31797         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31799 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31801         * math/auto-libm-test-in: Add more tests of cbrt.
31802         * math/auto-libm-test-out: Regenerated.
31803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31805         * math/auto-libm-test-in: Add more tests of cabs.
31806         * math/auto-libm-test-out: Regenerated.
31807         * sysdeps/i386/fpu/libm-test-ulps: Update.
31808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31810         [BZ #18210]
31811         [BZ #18211]
31812         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31813         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31814         computations.
31815         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31816         clog10.
31817         * math/auto-libm-test-out: Regenerated.
31818         * sysdeps/i386/fpu/libm-test-ulps: Update.
31819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31821         [BZ #18197]
31822         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31823         (atan): Set FE_TONEAREST mode for internal computations.
31824         * math/auto-libm-test-in: Add more tests of atan.
31825         * math/auto-libm-test-out: Regenerated.
31827 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31829         [BZ #17930]
31830         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31832 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31834         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31836 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31838         * include/scratch_buffer.h: New file.
31839         * malloc/scratch_buffer_grow.c: Likewise.
31840         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31841         * malloc/scratch_buffer_set_array_size.c: Likewise.
31842         * malloc/tst-scratch_buffer.c: Likewise.
31843         * malloc/Makefile (routines): Add scratch_buffer_grow.
31844         (tests): Add test case.
31845         * malloc/Versions (GLIBC_PRIVATE): Export
31846         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31847         __libc_scratch_buffer_set_array_size.
31849 2015-04-06  Richard Henderson  <rth@redhat.com>
31851         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31852         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31854         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31855         unsigned int before printing.
31857 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31859         [BZ #17596]
31860         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31861         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31863 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31865         * include/libc-internal.h (libc_max_align_t): Define.
31867 2015-04-02  Andreas Schwab  <schwab@suse.de>
31869         [BZ #16850]
31870         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31872 2015-04-02  Mel Gorman  <mgorman@suse.de>
31874         [BZ #17195]
31875         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31876         as well as the main arena.
31878 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31880         [BZ #18185]
31881         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31882         sharing L2 cache to 2 for Silvermont/Knights Landing.
31884 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31886         [BZ #17711]
31887         * config.make.in (have-protected-data): New.
31888         * configure.ac: Check linker support for protected data symbol.
31889         * configure: Regenerated.
31890         * elf/Makefile (modules-names): Add tst-protected1moda and
31891         tst-protected1modb if $(have-protected-data) is yes.
31892         (tests): Add tst-protected1a and tst-protected1b if
31893         $(have-protected-data) is yes.
31894         ($(objpfx)tst-protected1a): New.
31895         ($(objpfx)tst-protected1b): Likewise.
31896         (tst-protected1modb.so-no-z-defs): Likewise.
31897         * elf/tst-protected1a.c: New file.
31898         * elf/tst-protected1b.c: Likewise.
31899         * elf/tst-protected1mod.h: Likewise.
31900         * elf/tst-protected1moda.c: Likewise.
31901         * elf/tst-protected1modb.c: Likewise.
31903 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31905         [BZ #17711]
31906         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31907         indicates it is called from do_lookup_x on relocation against
31908         protected data, skip the data definion in the executable from
31909         copy reloc.
31910         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31911         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31912         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31913         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31914         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31915         otherwise to 0.
31916         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31917         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31918         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31919         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31920         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31921         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31923 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31925         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31926         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31928 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31930         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31931         THREAD_SETMEM_NC.
31932         * sysdeps/x86_64/nptl/tls.h: Ditto.
31934 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31936         * dlfcn/tststatic.c (main): Converted to ...
31937         (do_test): ... this.
31938         (TEST_FUNCTION): New macro.
31939         Include test-skeleton.c.
31941 2015-03-26  Alan Modra  <amodra@gmail.com>
31943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31944         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31945         zero for undefined weak.
31946         (elf_machine_plt_conflict): Similarly.
31948 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31950         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31951         atanh.
31952         * math/auto-libm-test-out: Regenerated.
31953         * sysdeps/i386/fpu/libm-test-ulps: Update.
31954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31956         * math/auto-libm-test-in: Add another test of asin.
31957         * math/auto-libm-test-out: Regenerated.
31958         * sysdeps/i386/fpu/libm-test-ulps: Update.
31959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31962         Remove macro.
31963         (LLL_EBX_REG): Likewise.
31964         (LLL_ENTER_KERNEL): Likewise.
31966         * math/auto-libm-test-in: Add more tests of asin.
31967         * math/auto-libm-test-out: Regenerated.
31968         * sysdeps/i386/fpu/libm-test-ulps: Update.
31969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31971         [BZ #18138]
31972         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31973         libc_do_syscall_args): New structure.
31974         (INTERNAL_SYSCALL_MAIN_0): New macro.
31975         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31976         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31977         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31978         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31979         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31980         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31981         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31982         Replace conditional definitions by conditional definitions of ....
31983         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31984         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31985         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31986         (libpthread-sysdep_routines): Add libc-do-syscall.
31987         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31989         to __NR_futex not 240.
31991 2015-03-25  Alan Modra  <amodra@gmail.com>
31993         * NEWS: Advertise TLS optimization.
31994         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31995         (DT_PPC_NUM): Increment.
31996         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31997         (CHECK_STATIC_TLS): Use here.
31998         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31999         TLS descriptors.
32000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32001         * sysdeps/powerpc/dl-tls.c: New file.
32002         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32003         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32004         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32005         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32010 2015-03-25  Alan Modra  <amodra@gmail.com>
32012         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32013         for overlapping .opd entries" to "support...".
32014         * sysdeps/powerpc/powerpc64/configure: Regenerate
32016 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32018         * math/auto-libm-test-in: Add more tests of acos.
32019         * math/auto-libm-test-out: Regenerated.
32020         * sysdeps/i386/fpu/libm-test-ulps: Update.
32021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32023         * math/auto-libm-test-in: Add more tests of expm1.
32024         * math/auto-libm-test-out: Regenerated.
32025         * sysdeps/i386/fpu/libm-test-ulps: Update.
32026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32028 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32030         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32031         * math/auto-libm-test-out: Regenerated.
32032         * sysdeps/i386/fpu/libm-test-ulps: Update.
32033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32035         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32038         * math/auto-libm-test-in: Add more tests of log2.
32039         * math/auto-libm-test-out: Regenerated.
32040         * sysdeps/i386/fpu/libm-test-ulps: Update.
32041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32043 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32045         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32046         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32047         _IO_IS_APPENDING bit in READ_WRITE instead.
32049 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32051         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32052         (__determine_cpumask_size): Replace extend_alloca with a
32053         variable-length array.  Do not treat res == 0 as an error.
32055 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32057         [BZ #18100]
32058         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32059         and integer overflow.
32060         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32061         (main): Add integer overflow tests.
32062         * manual/pattern.texi (Calling Wordexp): Document additional use
32063         for WRDE_SYNTAX.
32065 2015-03-23  Alan Modra  <amodra@gmail.com>
32067         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32068         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32069         and false branch of conditional.
32070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32071         Likewise.
32073 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32075         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32076         libc-modules.h
32077         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32078         unused declaration of _hurd_intr_rpc_msg_in_trap.
32079         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32080         defined instead of whether it is non-zero.
32081         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32082         input constraint instead of both input and output constraint.  Use ecx
32083         clobber instead of %ecx.
32084         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32085         mutex_unlock): Use a statement expression instead of an expression list.
32086         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32087         type to vm_size_t instead of vm_address_t.
32088         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32089         defined instead of whether it is non-zero.
32090         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32091         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32092         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32093         comparisons with mapaddr.
32094         * nscd/nscd-client.h: Include <time.h>.
32095         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32096         9th parameter to __vm_region instead of int.
32097         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32098         * scripts/check-local-headers.sh (exclude): Add device/,
32099         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32100         cthreads.h.
32102 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32104         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32105         to account for alignment padding.
32106         * sysdeps/arm/memmove.S: Likewise.
32108 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32110         * sysdeps/unix/sysv/linux/generic/README: New file.
32112 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32114         [BZ #18138]
32115         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32116         (futex_abstimed_wait)
32117         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32118         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32119         of lll_futex_timed_wait.
32121 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32123         [BZ #17542]
32124         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32126 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32128         [BZ #17090]
32129         [BZ #17620]
32130         [BZ #17621]
32131         [BZ #17628]
32132         * NEWS: Update.
32133         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32134         entries with Static TLS too.  Skip entries past the end of the
32135         allocated DTV, from Alan Modra.
32136         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32137         Static TLS DTV entry set up from...
32138         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32139         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32140         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32141         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32142         for Static TLS.
32143         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32144         that the slot we find is associated with the given map before
32145         using its generation count.
32146         * nptl_db/db_info.c: Include ldsodefs.h.
32147         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32148         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32149         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32150         (link_map::l_tls_offset): New struct field.
32151         (dtv_t::counter): Likewise.
32152         (rtld_global): New struct.
32153         (_rtld_global): New rtld variable.
32154         (dl_tls_dtv_slotinfo_list): New rtld global field.
32155         (dtv_slotinfo_list): New struct.
32156         (dtv_slotinfo): Likewise.
32157         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32158         (td_lookup): Rename to...
32159         (td_mod_lookup): ... this.  Use new mod parameter instead of
32160         LIBPTHREAD_SO.
32161         * nptl_db/td_thr_tlsbase.c: Include link.h.
32162         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32163         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32164         addresses even if the DTV is out of date or missing them.
32165         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32166         index zero-length arrays.
32167         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32168         (td_lookup): Make it a macro implemented in terms of...
32169         (td_mod_lookup): ... this declaration.
32170         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32171         (DB_MAIN_VARIABLE): Likewise.
32173 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32175         [BZ #18134]
32176         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32178 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32180         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32182 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32184         [BZ #18128]
32185         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32186         (atomic_add, atomic_increment_and_test)
32187         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32189 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32191         * stdlib/setenv.c (__add_to_environ):
32192         Dump core quickly if setenv (..., NULL, ...) is called.
32194 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32196         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32197         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32198         all the necessary asm magic in one place.
32199         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32200         using those.
32202 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32204         [BZ #14906]
32205         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32206         traced file mtime. Use consistent log message.
32207         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32208         (register_traced_file): Call install_watches. Always set mtime.
32209         (invalidate_cache): Iterate over all trace files. Call install_watches.
32210         (inotify_check_files): Don't inline. Handle watching parent
32211         directories and configuration file movement in and out.
32212         (handle_inotify_events): New function.
32213         (main_loop_poll): Call handle_inotify_events.
32214         (main_loop_epoll): Likewise.
32215         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32216         (struct traced_file): Use array of inotify fds. Add parent directory,
32217         and basename.
32218         (struct database_dyn): Remove unused file_mtime.
32219         (init_traced_file): New inline function.
32220         (define_traced_file): New macro.
32221         * nss/nss_db/db-init.c: Use define_traced_file.
32222         (_nss_db_init): Use init_traced_file.
32223         * nss/nss_files/files-init.c: Use define_traced_file.
32224         (_nss_files_init): Use init_traced_file.
32226 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32228         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32229         [_LIBC]: Do not include <stdlib.h>.
32230         [!_LIBC] (abort): Remove declaration.
32231         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32232         _FP_STATIC_ASSERT instead of conditionally calling abort.
32233         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32234         (_FP_EXTEND_CNAN): Likewise.
32235         (FP_TRUNC): Likewise.
32236         (__FP_CLZ): Likewise.
32237         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32239 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32241         * manual/string.texi (XPG basename): Fix prototype.
32243 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32245         [BZ #18080]
32246         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32247         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32248         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32249         (__setcontext): Likewise.
32250         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32251         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32252         Call rt_sigprocmask syscall one time to set new signal mask
32253         and retrieve the current signal mask instead of two calls.
32254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32255         (__swapcontext): Likewise.
32256         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32257         * stdlib/tst-setcontext2.c: New file.
32259 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32261         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32263 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32265         [BZ #18093]
32266         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32267         the wrong size.
32269 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32271         [BZ #18043]
32272         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32274 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32276         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32277         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32278         Remove define.
32279         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32280         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32281         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32282         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32283         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32284         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32285         define.
32286         * nptl_db/td_symbol_list.c (td_lookup): Remove
32287         HAVE_ASM_GLOBAL_DOT_NAME code.
32288         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32289         HAVE_ASM_GLOBAL_DOT_NAME check.
32290         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32291         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32292         (DOT_LABEL): Remove define.
32293         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32294         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32295         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32296         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32297         (__TLS_GET_ADDR): Likewise.
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32299         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32301 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32303         [BZ #18111]
32304         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32305         (_FPU_SETCW): Initialize cw from fpsr before storing.
32306         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32307         (fesetexceptflag): Rewrite using fpu_control.h.
32308         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32310 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32312         [BZ #18110]
32313         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32314         asms.
32315         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32317 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32319         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32320         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32321         abort.
32322         (_FP_FMA): Likewise.
32323         (_FP_DIV): Likewise.
32325 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32327         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32328         with 0 in that case.
32329         * Makefile (summarize-tests): New canned sequence, factored out of
32330         commands for targets tests and xtests.  Display summary lines that
32331         don't start with PASS: or XFAIL: rather than ones that do start with
32332         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32333         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32334         do start with ERROR: or FAIL:.
32335         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32336         (except for [$(build-shared) = yes]).
32337         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32338         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32339         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32340         * nptl/Makefile: Revert 2015-03-04 changes.
32341         [$(CXX) empty] (tests-unsupported): New variable.
32342         * debug/Makefile: Likewise.
32344         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32345         gnulib file.  Replace __attribute with __attribute__ throughout.
32347 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32349         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32351 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32353         [BZ #18104]
32354         * math/auto-libm-test-in: Add another test of pow.
32355         * math/auto-libm-test-out: Regenerated.
32357 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32359         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32360         $(config-cflags-nofma).
32362 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32364         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32365         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32366         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32367         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32368         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32369         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32370         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32371         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32372         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32373         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32374         Add comment on closing #endif.
32376 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32378         * posix/wordexp.c (CHAR_IN_SET): New macro.
32379         (parse_param): Use it.
32381 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32383         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32385 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32387         [BZ #18043]
32388         * posix/wordexp.c (parse_param): Fix buffer overflow.
32389         * posix/wordexp-test.c (test_case): Add test case.
32391 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32393         [BZ #18042]
32394         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32395         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32397 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32399         [BZ #18043]
32400         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32401         (do_bz18043): Delete.
32402         (at_page_end): New.
32403         (testit): Refactor to have words at the edge of unreadable page.
32405 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32407         [BZ #16734]
32408         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32409         Cleanup read-only streams as well.
32410         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32412 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32414         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32415         <bits/libc-lockP.h>
32417 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32419         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32420         on [__KERNEL__].
32421         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32422         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32423         * soft-fp/op-common.h (_FP_DECL): Likewise.
32425 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32427         * elf/ifuncdep2.c (global): Replace
32428         __attribute__((visibility("protected"))) with
32429         asm (".protected global").
32430         * elf/ifuncmod1.c (global): Likewise.
32431         * elf/ifuncmod5.c (global): Likewise.
32433 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32435         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32436         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32438 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32440         * manual/install.texi (Configuring and compiling):
32441         Document test-wrapper-env-only.
32442         * INSTALL: Regenerated.
32444 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32446         [BZ #18043]
32447         * posix/wordexp.c (parse_param): Fix buffer overflow.
32448         * posix/wordexp-test.c (do_bz18043): Add test case.
32450 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32452         * time/tst-strptime2.c (do_test): Ensure failing tests are
32453         reported correctly.
32454         * time/tst-strptime3.c (do_test): Likewise.
32456 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32458         Fix aio_error thread-safety.
32459         * sysdeps/pthread/aio_error.c: New file
32460         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32461         synchronization.
32463 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32465         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32466         (group_number, vfprintf): Use it.
32467         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32468         (JUMP, REF): Use it.
32469         (WORK_BUFFER_SIZE): New enum constant.
32470         (process_arg, vfprintf): Use it.
32472 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32474         * manual/errno.texi (Error Messages): Complete example function
32475         by adding missing #define.
32476         (program_invocation_name): Add statement indicating GNU
32477         extension and reference which header file declares the variable.
32478         (program_invocation_short_name): Likewise.
32480 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32482         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32483         compatibility note.
32485 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32487         * Makeconfig (test-wrapper-env-only): New variable.
32488         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32489         then use that with $(test-wrapper-env-only) rather than using
32490         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32492 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32494         [BZ #18082]
32495         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32496         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32497         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32498         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32499         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32500         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32501         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32502         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32503         Likewise.
32504         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32505         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32506         Likewise.
32507         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32508         Likewise.
32509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32510         Likewise.
32511         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32512         Likewise.
32513         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32515         Likewise.
32516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32517         Likewise.
32518         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32519         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32521 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32523         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32524         (ETH_ALEN): New macro.
32525         (struct ether_addr): Use it for length of ether_addr_octet.
32527         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32528         (setdb): Don't call __nss_configure_lookup for "rpc".
32529         (do_test): Don't call test_rpc.
32530         (output_rpcent, test_rpc): Functions moved ...
32531         * sunrpc/test-rpcent.c: ... to this new file.
32532         * sunrpc/Makefile (tests): Add it.
32534         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32535         __xpg_sigpause.
32536         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32537         * nptl/tst-signal6.c: Likewise.
32538         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32539         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32541         * configure.ac (libc_cv_cxx_link_ok): New check.
32542         Reset CXX to empty if it fails to link.
32543         * configure: Regenerated.
32544         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32545         bug-atexit3-lib only if $(CXX) is nonempty.
32546         * nptl/Makefile (tests): Likewise for tst-cancel24.
32547         (tests, tests-static): Likewise for tst-cancel24-static.
32548         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32549         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32550         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32551         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32553 2015-03-04  Andreas Schwab  <schwab@suse.de>
32555         [BZ #17631]
32556         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32557         for non-GCC compilers.
32558         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32559         Likewise.
32561 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32563         [BZ #17776]
32564         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32565         integer before bitwise and assembly operations.
32566         (feclearexcept): Likewise.
32567         * math/test-fenvinline.c: New file.
32568         * math/Makefile: Add test-fenvinline test.
32570 2015-03-03  Alan Modra  <amodra@gmail.com>
32572         [BZ #16512]
32573         * scripts/localplt.awk: Strip off symbol version.
32574         * NEWS: Mention bug fix.
32576 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32578         * sysdeps/pthread/timer_routines.c
32579         (timer_free_list, thread_free_list, thread_active_list): Make static.
32581 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32583         [BZ #17779]
32584         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32585         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32586         Undefine.
32587         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32588         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32589         Likewise.
32590         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32591         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32592         Likewise.
32594 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32596         [BZ #18036]
32597         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32598         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32600 2015-03-02  Andreas Schwab  <schwab@suse.de>
32602         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32603         variable name.
32605 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32607         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32608         Return error status.
32610 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32612         [BZ #15969]
32613         * locale/findlocale.c (_nl_find_locale): Introduce const
32614         version of loc_name and drop unsafe type casts.
32616 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32618         * dlfcn/tststatic2.c (main): Converted to ...
32619         (do_test): ... this.
32620         (TEST_FUNCTION): New macro.
32621         Include test-skeleton.c.
32623 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32625         [BZ #17711]
32626         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32627         (tests-pie): Add vismain.
32628         (CFLAGS-vismain.c): New.
32629         * elf/vismain.c: Add comments for PIE requirement.
32631 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32633         [BZ #18046]
32634         [BZ #18047]
32635         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32636         0x1p-56L as threshold for just returning the argument.
32637         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32638         0x1p-32L as threshold for just returning the argument.
32639         * math/auto-libm-test-in: Add more tests of atanh.
32640         * math/auto-libm-test-out: Regenerated.
32641         * sysdeps/i386/fpu/libm-test-ulps: Update.
32642         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32644 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32646         * string/bcopy.c (bcopy): Call memmove for performance.
32648 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32650         * string/bzero.c (__bzero): Call memset for performance.
32652 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32654         [BZ #18068]
32655         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32656         to 00100000.
32658 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32660         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32662 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32664         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32665         (__kernel_standard): Use CSTR macro when setting exc.name.
32666         * sysdeps/ieee754/Makefile [$(subdir) = math]
32667         (CFLAGS-k_standard.c): Remove variable.
32669         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32670         setting p and q from "else if" to "else".
32671         (qzero): Likewise.
32672         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32673         (qone): Likewise.
32674         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32675         (qzerof): Likewise.
32676         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32677         (qonef): Likewise.
32678         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32679         (qzero): Likewise.
32680         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32681         (qone): Likewise.
32683         [BZ #18038]
32684         [BZ #18039]
32685         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32686         return pi/2 for arguments below 0x1p-113L.
32687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32688         return pi/2 for arguments below 0x1p-106L.
32689         * math/auto-libm-test-in: Add more tests of acos.
32690         * math/auto-libm-test-out: Regenerated.
32692         [BZ #16351]
32693         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32694         (MO): New macro.
32695         (__ieee754_asin): Force underflow exception for results with small
32696         absolute value.
32697         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32698         (MO): New macro.
32699         (__ieee754_asinf): Force underflow exception for results with
32700         small absolute value.
32701         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32702         (__ieee754_asin): Force underflow exception for results with small
32703         absolute value.
32704         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32705         (__ieee754_asinf): Force underflow exception for results with
32706         small absolute value.
32707         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32708         (__ieee754_asinl): Force underflow exception for results with
32709         small absolute value.
32710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32711         (__ieee754_asinl): Force underflow exception for results with
32712         small absolute value.
32713         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32714         (__ieee754_asinl): Force underflow exception for results with
32715         small absolute value.
32716         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32717         Include <math.h>.
32718         * math/auto-libm-test-in: Do not mark underflow exceptions as
32719         possibly missing for bug 16351.
32720         * math/auto-libm-test-out: Regenerated.
32722         [BZ #18030]
32723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32724         of power of 2 down when low part has opposite sign.
32725         * math/libm-test.inc (logb_test_data): Add more tests.
32727 2015-02-26  Andreas Schwab  <schwab@suse.de>
32729         [BZ #18032]
32730         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32731         over collating symbol inside a bracket expression.  Minor cleanup.
32732         * posix/tst-fnmatch3.c (do_test): Add test case.
32734 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32736         [BZ #18029]
32737         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32738         Adjust exponent of power of 2 down when low part has opposite
32739         sign.
32740         * math/libm-test.inc (ilogb_test_data): Add more tests.
32742 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32744         [BZ #15969]
32745         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32746         the previous change.
32748         [BZ #15969]
32749         * locale/findlocale.c (_nl_find_locale): Retry archive search
32750         after alias expansion.
32752 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32754         * iconv/tst-iconv3.c (main): Converted to ...
32755         (do_test): ... this.
32756         (TEST_FUNCTION): New macro.
32757         Include test-skeleton.c.
32759         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32760         (convert): Make function static.
32761         (test_unalign): Likewise.  Add const to argument pointee types.
32762         (main): Replace with static function do_test.
32763         Print "Succeeded." only if RET is zero.
32764         (TEST_FUNCTION): New macro.
32765         Include test-skeleton.c.
32767         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32768         returns a null pointer.
32770 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32772         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32773         to __memcpy_ppc only for static builds.
32775 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32777         [BZ #18020]
32778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32779         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32780         * math/auto-libm-test-in: Add more tests of asinh.
32781         * math/auto-libm-test-out: Regenerated.
32782         * sysdeps/i386/fpu/libm-test-ulps: Update.
32783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32785 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32787         [BZ #15850]
32788         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32789         and ip6_mtuinfo definitions here.
32790         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32791         in this define too.  Update comment.
32793 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32795         * elf/sprof.c (load_shobj): Tweak error message to match others.
32797 2015-02-24  Kevin Easton  <kevin@guarana.org>
32799         [BZ #16145] (partial fix)
32800         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32801         to reduce lock contention.
32803 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32805         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32806         (struct timex): Update time comment.
32807         (ADJ_SETOFFSET): Define.
32809 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32811         [BZ #18019]
32812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32813         2**56 not 2**28 as threshold for log (2x) formula.
32814         * math/auto-libm-test-in: Add more tests of acosh.
32815         * math/auto-libm-test-out: Regenerated.
32816         * sysdeps/i386/fpu/libm-test-ulps: Update.
32817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32819 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32821         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32822         parenthesis around the buf assignment.
32823         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32825 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32827         [BZ #16783]
32828         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32829         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32830         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32831         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32832         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32833         * math/libm-test.inc (scalb_test_data): Add more tests.
32835 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32837         [BZ #17916]
32838         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32839         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32841 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32843         [BZ #17523]
32844         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32845         * io/bits/fcntl2.h (open): Use it.
32846         (openat): Likewise.
32847         * io/open.c (__libc_open): Likewise.
32848         * io/open64.c (__libc_open64): Likewise.
32849         * io/open64_2.c (__open64_2): Likewise.
32850         * io/open_2.c (__open_2): Likewise.
32851         * io/openat.c (__openat): Likewise.
32852         * io/openat64.c (__openat64): Likewise.
32853         * io/openat64_2.c (__openat64_2): Likewise.
32854         * io/openat_2.c (__openat_2): Likewise.
32855         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32856         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32857         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32858         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32859         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32860         (__open_nocancel): Likewise.
32861         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32862         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32863         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32865 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867         [BZ #14841]
32868         * resolv/gethnamaddr.c (getanswer): Skip logging if
32869         RES_USE_DNSSEC is set.
32870         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32872 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32874         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32876 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32878         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32879         201304L, for Unicode 7.
32881 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32883         [BZ #17836]
32884         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32885         shared library.  Add gmon-start.os otherwise.
32886         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32887         $(objpfx)gmon-start.os if builing shared library.
32888         ($(objpfx)g$(static-start-installed-name)): Likewise.
32890 2015-02-23  Andreas Schwab  <schwab@suse.de>
32892         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32894 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32896         [BZ #17269]
32897         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32898         (enlarge_userbuf): Likewise.
32900 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32902         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32903         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32904         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32905         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32907 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32909         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32910         expression inside statement expression.
32912 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32914         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32915         <sysdeps/nptl/lowlevellock.h> and remove macros and
32916         functions that are now defined there.
32917         (SYS_futex): Remove.
32918         (lll_compare_and_swap): Remove.
32919         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32921 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32923         [BZ #17999]
32924         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32925         instead of scandirat.
32926         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32927         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32928         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32929         __scandirat.
32930         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32931         (__scandirat): Declare.  Use libc_hidden_proto.
32932         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32933         Remove variable.
32934         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32936 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32938         [BZ #15319]
32939         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32940         (MO): New macro.
32941         (__ieee754_atan2): For results with small absolute value, force
32942         underflow exception and remove excess range and precision from
32943         return value.
32944         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32945         (MO): New macro.
32946         (__ieee754_atan2f): For results with small absolute value, force
32947         underflow exception and remove excess range and precision from
32948         return value.
32949         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32950         (MO): New macro.
32951         (__atan): For results with small absolute value, force underflow
32952         exception and remove excess range and precision from return value.
32953         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32954         (MO): New macro.
32955         (__atanf): For results with small absolute value, force underflow
32956         exception and remove excess range and precision from return value.
32957         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32958         <math.h>.
32959         (__ieee754_atan2): Force underflow exception for results with
32960         small absolute value.
32961         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32962         <math_private.h>.
32963         (atan): Force underflow exception for results with small absolute
32964         value.
32965         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32966         (__atanf): Force underflow exception for results with small
32967         absolute value.
32968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32969         <math.h>.
32970         (__atanl): Force underflow exception for results with small
32971         absolute value.
32972         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32973         (__atanl): Force underflow exception for results with small
32974         absolute value.
32975         * sysdeps/x86/fpu/bits/mathinline.h
32976         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32977         (__ieee754_atan2): Only define inline for long double.
32978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32980         * math/auto-libm-test-in: Do not mark underflow exceptions as
32981         possibly missing for bug 15319.  Add more tests of atan2.
32982         * math/auto-libm-test-out: Regenerated.
32983         * math/libm-test.inc (casin_test_data): Do not mark underflow
32984         exceptions as possibly missing for bug 15319.
32985         (casinh_test_data): Likewise.
32986         * sysdeps/i386/fpu/libm-test-ulps: Update.
32988 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32990         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32991         * sysdeps/mips/bits/endian.h: Fix comments.
32993 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32995         [BZ #17996]
32996         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32997         (hdestroy_r): Likewise.
32998         (hsearch_r): Likewise.
32999         (__hcreate_r): Declare and use libc_hidden_proto.
33000         (__hdestroy_r): Likewise.
33001         (__hsearch_r): Likewise.
33002         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33003         (hcreate): Call __hcreate_r instead of hcreate_r.
33004         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33005         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33006         as weak alias of __hcreate_r.
33007         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33008         __hdestroy_r.
33009         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33010         __hsearch_r.
33011         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33012         Remove variable.
33013         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33014         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33015         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33016         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33018 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33020         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33021         arena_lock into a single arena_get.
33023 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33025         * dl-reloc.c: Inlucde libc-internal.h.
33026         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33027         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33028         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33029         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33030         (grow_heap): Likewise.
33031         * malloc/malloc.c: Include libc-internal.h.
33032         (do_check_malloc): Call powerof2.
33033         (sysmalloc): Use pagesize. Call ALIGN_UP.
33034         (systrim): Use pagesize.
33035         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33036         (__libc_valloc): Use pagesize.
33037         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33039 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33041         [BZ #17991]
33042         * include/sys/resource.h (__getrlimit64): Declare.  Use
33043         libc_hidden_proto.
33044         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33045         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33046         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33047         getrlimit64.
33048         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33049         __getrlimit64.
33050         [!getrlimit64] (getrlimit64): Define as weak alias of
33051         __getrlimit64.  Use libc_hidden_weak.
33052         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33053         using __getrlimit64 not __new_getrlimit64.
33054         (__GI_getrlimit64): Likewise.
33055         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33056         Likewise.
33057         (__GI_getrlimit64): Likewise.
33058         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33060         (getrlimit): Add __getrlimit64 alias.
33061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33062         Likewise.
33063         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33064         Remove variable.
33065         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33066         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33068 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33070         * libio/fileops.c: Add missing sys/mman.h
33071         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33073 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33075         * manual/math.texi (Errors in Math Functions): Clarify goals
33076         regarding inexact and underflow exceptions.
33078 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33080         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33081         * sysdeps/mips/memset.S: Ditto.
33083 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33085         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33087 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33089         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33090         (__v1longjmp): Remove versioned symbol.
33091         (__v1siglongjmp): Remove alias and versioned symbol.
33092         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33093         (__v2siglongjmp): Likewise.
33095 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33097         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33099 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33101         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33103 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33105         [BZ #17987]
33106         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33107         zero result does not depend on the sign resulting from
33108         subtraction.
33109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33110         Likewise.
33111         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33112         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33113         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33114         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33115         * math/libm-test.inc (remquo_test_data): Add more tests.
33117 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33119         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33120         Problem reported by J William Piggott.
33122 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33124         [BZ #17978]
33125         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33126         products 4 * y and 2 * y where those would overflow.
33127         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33128         Likewise.
33129         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33130         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33131         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33132         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33133         * math/libm-test.inc (remquo_test_data): Add more tests.
33135         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33137         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33138         [defined _COMPILING_NEWLIB].
33139         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33140         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33142         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33143         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33145 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33147         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33148         acquired.
33150 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33152         [BZ #17792]
33153         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33154         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33155         HOST_STACK_END_ADDR): Likewise.
33157 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33159         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33160         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33161         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33163 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33165         * sysdeps/generic/c++-types.data: New file.
33166         * sysdeps/generic/ld.abilist: New file.
33167         * sysdeps/generic/libBrokenLocale.abilist: New file.
33168         * sysdeps/generic/libanl.abilist: New file.
33169         * sysdeps/generic/libc.abilist: New file.
33170         * sysdeps/generic/libcrypt.abilist: New file.
33171         * sysdeps/generic/libdl.abilist: New file.
33172         * sysdeps/generic/libm.abilist: New file.
33173         * sysdeps/generic/libpthread.abilist: New file.
33174         * sysdeps/generic/libresolv.abilist: New file.
33175         * sysdeps/generic/librt.abilist: New file.
33177 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33179         [BZ #17569]
33180         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33181         Compute absolute value of x as modified by fmod, not original
33182         value of x.
33183         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33184         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33185         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33186         RUN_TEST_ffI_f1_mod8.
33187         (remquo_test_data): Add more tests.
33189 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33191         * sysdeps/init_array/pt-crti.S: New file.
33193 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33195         [BZ #17967]
33196         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33197         __builtin_fmaf instead of relying on contraction of a * b + c.
33199 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33201         [BZ #17969]
33202         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33203         node.
33205 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33207         [BZ #17964]
33208         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33209         __builtin_fma instead of relying on contraction of a * b + c.
33211 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33213         * Makeconfig (ASFLAGS): Add -Werror=undef.
33214         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33215         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33216         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33218         * Makeconfig (after-link): New variable.
33219         (+link-pie, +link-pie-tests): Use it.
33220         (+link-static, +link-static-tests): Likewise.
33221         (+link, +link-tests): Likewise.
33222         * Makerules (build-module, build-module-asneeded): Likewise.
33223         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33224         Likewise.
33225         * elf/Makefile ($(objpfx)ld.so): Likewise.
33227 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33229         [BZ #17965]
33230         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33231         both struct timeval and struct timespec.
33233 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33235         [BZ #16560]
33236         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33237         and redefine.
33238         (__ieee754_exp2l): Do not multiply small fractional parts by
33239         M_LN2l.
33240         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33241         small argument.
33242         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33243         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33244         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33245         * math/auto-libm-test-in: Add more tests of exp2.
33246         * math/auto-libm-test-out: Regenerated.
33248 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33250         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33251         unaligned path.
33253 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33255         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33256         little endian.
33258 2015-02-12  Andreas Schwab  <schwab@suse.de>
33260         [BZ #15790]
33261         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33262         Filter out elision flags from value returned in kind.
33263         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33264         * nptl/tst-pthread-mutexattr.c: New file.
33266 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33268         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33269         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33270         into gnu-gnu, and update comment to refer to abi-tags.
33272 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33274         [BZ #15467]
33275         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33276         (__sincos): Set errno to EDOM for infinite argument.
33277         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33278         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33279         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33280         (__sincosl): Set errno to EDOM for infinite argument.
33281         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33282         (__sincosl): Set errno to EDOM for infinite argument.
33283         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33284         (__sincosl): Set errno to EDOM for infinite argument.
33285         * math/libm-test.inc (sincos_test_data): Test errno setting.
33287 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33289         * string/strxfrm_l.c: Remove #define STRCMP.
33290         * string/strcoll_l.c: Remove #define STRLEN.
33291         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33292         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33294 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33296         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33297         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33298         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33299         * sysdeps/mips/mips64/Makefile: ... here.
33300         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33301         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33302         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33303         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33304         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33305         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33306         * sysdeps/mips/mips64/n64/Implies: Likewise.
33308 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33310         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33311         <sys/time.h>, <string.h>, and <errno.h>.
33312         (dest_offset, dest_address, value, zero): Remove unused variables.
33313         (ldouble): Remove typedef.
33314         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33315         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33316         1).  Fix code style.
33317         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33318         (check): Function removed.
33319         (CHECK): New macro.
33320         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33321         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33322         Don't call set_sigaction_FP and remove_sigaction_FP here.
33323         (ldouble_test): Just use 'long double' as macro argument, no need for
33324         the 'ldouble' typedef.
33325         (do_test): Set up SIGFPE handler at start, using plain signal rather
33326         than sigaction.  Fix code style.
33328 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33330         [BZ #17949]
33331         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33332         jump label.
33334 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33336         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33337         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33339         * sysdeps/powerpc/configure.ac: Remove file.
33340         * sysdeps/powerpc/configure: Likewise.
33342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33343         [sysdep_routines]: Remove wordcopy-power6 object.
33344         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33345         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33346         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33347         (__memmove_ppc32): Likewise.
33348         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33349         file.
33350         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33351         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33352         Remove preprocessor.
33354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33355         [sysdep_routines]: Remove wide chars objects.
33356         [wcsmbs]: New rule for wide char objects.
33358         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33359         Remove wordcopy-power6 obejct.
33360         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33361         Use local call for wordcopy and memcpy symbols.
33362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33364         implementation for loader.
33365         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33367         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33368         Remove wordcopy-power7 object.
33369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33371         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33372         (_wordcopy_fwd_dest_aligned): Likewise.
33373         (_wordcopy_bwd_aligned): Likewise.
33374         (_wordcopy_bwd_dest_aligned): Likewise.
33376         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33377         Rewrite to call __memmove_ppc instead of include default
33378         implementation.
33380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33381         Remove wide chars objects.
33382         [wcsmbs]: New rule for wide char objects.
33384 2015-02-09  Andreas Schwab  <schwab@suse.de>
33386         [BZ #17912]
33387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33388         in terms of __O_DIRECTORY.
33390 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33392         * time/getdate.c: Include <stdbool.h>.
33393         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33394         call PTR_MANGLE.
33395         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33396         PTR_DEMANGLE.
33398 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33400         Add ersatz _Static_assert on older C hosts
33401         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33402         pre-C11 C platform that is not known to support _Static_assert.
33404 2015-02-07  Richard Braun  <rbraun@sceen.net>
33406         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33407         sigstate.
33408         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33410 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33412         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33413         priority against unexistent AIO_PRIO_DELTA_MAX.
33414         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33415         instead of int.
33416         * misc/fchflags.c (fchflags): Likewise.
33417         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33418         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33419         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33420         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33421         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33422         Declare macros.
33423         [__USE_MISC] (chflags, fchflags): Declare functions.
33424         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33425         EINVAL when nfds is greater than FD_SETSIZE.
33426         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33427         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33428         45.
33429         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33430         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33431         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33432         MACH_RCV_TIMED_OUT.
33433         * hurd/hurd/signal.h (_hurd_self_sigstate,
33434         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33435         Explicit casts from void *.
33436         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33437         * abi-tags: Rename gnu-gnu os into gnu.
33439         [BZ #4719]
33440         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33441         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33442         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33443         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33444         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33445         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33447         [BZ #17944]
33448         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33449         duplicates ADDR->sun_path with sockaddr LEN limitation.
33450         * sysdeps/mach/hurd/connect.c: Include <string.h>
33451         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33452         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33453         * sysdeps/mach/hurd/sendto.c: Likewise.
33454         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33455         implementing it by hand.
33457 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33459         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33460         Use sfi_breg on ldr.
33461         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33462         Likewise.
33464         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33465         it's defined.
33466         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33467         Test SIGSETXID only if it's defined.
33469         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33471         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33472         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33474         * nptl/tst-align2.c: Moved ...
33475         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33476         * nptl/Makefile (tests): Remove tst-align2.
33477         * sysdeps/unix/sysv/linux/Makefile
33478         [$(subdir) = nptl] (tests): Add tst-align-clone.
33479         * nptl/tst-getpid1.c: Moved ...
33480         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33481         * nptl/tst-getpid2.c: Moved ...
33482         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33483         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33484         * sysdeps/unix/sysv/linux/Makefile
33485         [$(subdir) = nptl] (tests): ... here.
33486         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33487         * sysdeps/unix/sysv/linux/Makefile
33488         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33490         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33491         Drop trailing \n from perror argument.  Use return rather than exit.
33493         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33494         on [SA_SIGINFO].
33495         * nptl/tst-cancel21.c (do_test): Likewise.
33496         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33497         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33498         [!SA_SIGINFO]: Make it a stub test.
33500         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33501         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33503         * posix/tst-getlogin.c: Move to ...
33504         * login/tst-getlogin.c: ... here.
33505         * posix/Makefile (tests): Move tst-getlogin to ...
33506         * login/Makefile (tests): ... here.
33508         * libio/tst-atime.c (do_test): Move local variables SV and E
33509         inside [ST_NOATIME] conditional.
33511         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33513         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33515         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33516         (wait_code): New function replaces macro.
33517         Call nanosleep rather than syscall.
33519         * nptl/pt-system.c: Rewritten.  Put everything under
33520         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33521         Use IFUNC to redirect when possible.
33523         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33524         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33525         Use IFUNC to redirect when possible.
33527         * nptl/pt-fork.c: Rewritten.  Put everything under
33528         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33529         Use IFUNC to redirect when possible.
33530         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33532         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33533         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33534         unconditionally nowadays.  This included the only reference to
33535         __vdso_clock_gettime that appears outside libc proper.
33536         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33537         Remove version set (containing only __vdso_clock_gettime).
33538         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33539         Add attribute_hidden.
33540         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33541         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33542         libc_hidden_data_def.
33543         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33544         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33546         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33547         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33548         setrpcent, and getrpcport to ...
33549         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33550         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33551         getrpcbynumber_r, and getrpcent_r to ...
33552         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33553         * inet/getrpcbyname.c: Moved ...
33554         * sunrpc/getrpcbyname.c: ... here.
33555         * inet/getrpcbyname_r.c: Moved ...
33556         * sunrpc/getrpcbyname_r.c: ... here.
33557         * inet/getrpcbynumber.c: Moved ...
33558         * sunrpc/getrpcbynumber.c: ... here.
33559         * inet/getrpcbynumber_r.c: Moved ...
33560         * sunrpc/getrpcbynumber_r.c: ... here.
33561         * inet/getrpcent.c: Moved ...
33562         * sunrpc/getrpcent.c: ... here.
33563         * inet/getrpcent_r.c: Moved ...
33564         * sunrpc/getrpcent_r.c: ... here.
33565         * inet/Makefile (routines): Move those to ...
33566         * sunrpc/Makefile (routines): ... here.
33567         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33568         the $(subdirs) list.
33569         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33570         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33571         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33572         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33574         * elf/Makefile (routines): Include $(all-dl-routines), not just
33575         $(dl-routines).
33576         (rtld-routines): Likewise.  Use = rather than :=.
33577         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33578         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33579         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33580         * sysdeps/arm/Makefile: Likewise.
33581         * sysdeps/i386/Makefile: Likewise.
33582         * sysdeps/x86_64/Makefile: Likewise.
33583         * sysdeps/hppa/Makefile [$(subdir) = elf]
33584         (sysdep_routines, sysdep-rtld-routines): Don't add
33585         $(sysdep-dl-routines) to these.
33586         * sysdeps/ia64/Makefile: Likewise.
33587         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33588         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33589         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33590         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33591         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33592         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33593         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33594         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33595         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33596         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33597         these; sysdep-dl-routines alone is enough.
33599 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33601         [BZ #17932]
33602         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33603         where multiplication results in zero and third argument is finite
33604         and nonzero.
33605         * math/auto-libm-test-in: Add more tests of fma.
33606         * math/auto-libm-test-out: Regenerated.
33608         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33609         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33610         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33611         (_FP_CMP_EQ): Likewise.
33612         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33614         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33615         extra argument CHECK_NAN.  Redefine as wrapper around
33616         _FP_EXTEND_CNAN.
33618 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33620         * version.h (RELEASE): Set to "stable".
33621         (VERSION): Set to "2.21"
33622         * include/features.h (__GLIBC_MINOR__): Set to 21.
33624         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33626 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33627             Paul Eggert  <eggert@cs.ucla.edu>
33629         [BZ #16618]
33630         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33632         size in bytes. Store needed elements in wpmax. Use needed size
33633         in bytes for extend_alloca.
33635 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33637         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33638         binutls 2.25, and texinfo 5.2.
33639         * INSTALL: Regenerate.
33640         * sysdeps/nios2/configure: Regenerate.
33641         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33642         * manual/contrib.texi: Update.
33643         * po/be.po: Update.
33644         * po/bg.po: Update.
33645         * po/ca.po: Update.
33646         * po/cs.po: Update.
33647         * po/da.po: Update.
33648         * po/de.po: Update.
33649         * po/el.po: Update.
33650         * po/eo.po: Update.
33651         * po/es.po: Update.
33652         * po/fi.po: Update.
33653         * po/fr.po: Update.
33654         * po/gl.po: Update.
33655         * po/hr.po: Update.
33656         * po/hu.po: Update.
33657         * po/ia.po: Update.
33658         * po/id.po: Update.
33659         * po/it.po: Update.
33660         * po/ja.po: Update.
33661         * po/ko.po: Update.
33662         * po/lt.po: Update.
33663         * po/nb.po: Update.
33664         * po/nl.po: Update.
33665         * po/pl.po: Update.
33666         * po/pt_BR.po: Update.
33667         * po/ru.po: Update.
33668         * po/rw.po: Update.
33669         * po/sk.po: Update.
33670         * po/sl.po: Update.
33671         * po/sv.po: Update.
33672         * po/tr.po: Update.
33673         * po/uk.po: Update.
33674         * po/vi.po: Update.
33675         * po/zh_CN.po: Update.
33676         * po/zh_TW.po: Update.
33678         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33679         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33680         * sysdeps/hppa/dl-irel.h: Remove #warning.
33681         * sysdeps/hppa/entry.h: Provide prototype for
33682         __canonicalize_funcptr_for_compare and cast argument.
33683         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33684         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33685         * sysdeps/hppa/sotruss-lib.c: New file.
33686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33687         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33688         (atomic_compare_and_exchange_bool_acq): Likewise.
33689         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33690         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33692         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33693         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33694         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33696 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33698         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33699         called function in non-PIC case.
33701 2015-01-31  David S. Miller  <davem@davemloft.net>
33703         * sysdeps/sparc/sparc32/bits/atomic.h
33704         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33705         unlock not after it.
33706         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33707         volatile register usage warnings from the compiler.
33709         * sysdeps/sparc/nptl/sem_init.c: Delete.
33710         * sysdeps/sparc/nptl/sem_post.c: Delete.
33711         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33712         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33713         * sysdeps/sparc/sparc32/sem_init.c: New file.
33714         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33715         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33716         padding explicitly initialized.
33717         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33718         padding for in-semaphore spinlock.
33719         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33720         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33721         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33722         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33723         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33724         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33725         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33726         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33727         version.
33728         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33729         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33731 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33733         [BZ #17801]
33734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33735         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33736         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33737         New.
33738         (index_AVX_Fast_Unaligned_Load): Likewise.
33739         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33740         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33741         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33742         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33743         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33744         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33745         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33746         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33747         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33749 2015-01-29  Andreas Schwab  <schwab@suse.de>
33751         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33753 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33755         [BZ #17892]
33756         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33758 2015-01-28  Martin Sebor  <msebor@redhat.com>
33760         * math/README.libm-test: Clarify. Add "How to read the test output."
33762 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33764         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33765         Define to 0.
33767 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33769         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33770         (__HAVE_64B_ATOMICS): Define to 0.
33772 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33774         [BZ #17885]
33775         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33776         value to set as new flag.
33778         [BZ #16576]
33779         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33780         and use _ARCH_PPCSQ instead.
33781         (__ieee754_sqrt): Likewise.
33782         (__ieee754_sqrtf): Likewise.
33783         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33784         _ARCH_PPCSQ is defined.
33785         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33786         fsqrt instruction.
33787         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33788         _ARCH_PPCSQ is defined.
33789         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33790         fsqrts instruction.
33791         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33793 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33795         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33796         bug (GCC BZ #64739).
33798 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33800         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33801         Mark _retval as used.
33802         (lll_futex_wake_unlock): Likewise.
33803         (lll_futex_timed_wait_requeue_pi): Likewise.
33805         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33806         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33807         register variables.
33809         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33810         libm_hidden_def.
33812         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33813         (__bswap_64): Mark as __always_inline.
33815 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33817         [BZ #15378]
33818         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33819         when none of the search directories exist.
33821 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33823         [BZ #17869]
33824         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33825         power8 in .machine directive.
33827         [BZ #17868]
33828         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33829         set dependency from opd value.
33831 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33834         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33835         architecture.
33837 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33839         [BZ #17870]
33840         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33841         with uint64_t.
33842         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33843         (uint64_t) 1.
33844         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33845         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33846         Replace 1UL with (uint64_t) 1.
33847         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33848         int with uint64_t.
33850 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33852         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33853         (if_freenameindex): Likewise.
33855         * resource/getrlimit64.c: Add missing libc_hidden_def.
33857 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33859         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33860         __label__.
33861         (_FP_FMA): Likewise.
33862         (_FP_TO_INT_ROUND): Likewise.
33863         (_FP_FROM_INT): Likewise.
33865 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33867         [BZ #16418]
33868         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33869         Make code racy and cancel safe.
33871 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33873         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33874         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33875         attribution.
33877         * pwd/tst-getpw.c: Rewrite.
33879         [BZ #17702]
33880         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33881         (modules-names): Add moddummy1 and moddummy2.
33882         ($(objpfx)tst-rec-dlopen): Define.
33883         * dlfcn/moddummy1.c: New file.
33884         * dlfcn/moddummy2.c: New file.
33885         * dlfcn/tst-rec-dlopen.c: New file.
33886         * elf/dl-cache.c (_dl_load_cache_lookup):
33887         Return char*. Copy result with alloca/strcpy/strdup.
33888         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33889         returns char*. Free cached. If not saving realname
33890         free cached.
33891         * elf/dl-open.c (dl_open_worker): Do not assert that
33892         _r_debug->r_state is RT_CONSISTENT.
33893         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33894         returns char*.
33896 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33897             Carlos O'Donell  <carlos@redhat.com>
33899         [BZ #12674]
33900         * nptl/sem_waitcommon.c: New file.
33901         * nptl/sem_wait.c: Include sem_waitcommon.c.
33902         (__sem_wait_cleanup, do_futex_wait): Remove.
33903         (__new_sem_wait): Adapt.
33904         (__new_sem_trywait): New function.
33905         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33906         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33907         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33908         (sem_timedwait): Adapt.
33909         * nptl/sem_post.c (__new_sem_post): Adapt.
33910         (futex_wake): New function.
33911         (__old_sem_post): Add release MO fence.
33912         * nptl/sem_open.c (sem_open): Adapt.
33913         * nptl/sem_init.c (__new_sem_init): Adapt.
33914         (futex_private_if_supported): New function.
33915         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33916         (__old_sem_getvalue): Add using previous code.
33917         * sysdeps/nptl/internaltypes.h: Adapt.
33918         * nptl/tst-sem13.c (do_test): Adapt.
33919         * nptl/tst-sem11.c (main): Adapt.
33920         * nptl/sem_trywait.c: Remove.
33921         * nptl/DESIGN-sem.txt: Remove.
33922         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33923         (gen-as-const-headers): Remove structsem.sym.
33924         * nptl/structsem.sym: Remove.
33925         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33926         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33927         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33928         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33929         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33930         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33931         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33932         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33933         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33934         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33935         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33936         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33937         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33938         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33939         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33940         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33941         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33942         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33943         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33944         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33945         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33946         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33948 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33950         * INSTALL: Regenerated.
33952         * po/libc.pot: Regenerated.
33954 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33955             Sandra Loosemore  <sandra@codesourcery.com>
33956             Andrew Jenner  <andrew@codesourcery.com>
33957             Joseph Myers  <joseph@codesourcery.com>
33958             Nathan Sidwell  <nathan@codesourcery.com>
33960         * NEWS: Mention new Nios II port.
33961         * sysdeps/nios2/Implies: New file.
33962         * sysdeps/nios2/Makefile: New file.
33963         * sysdeps/nios2/Subdirs: New file.
33964         * sysdeps/nios2/Versions: New file.
33965         * sysdeps/nios2/__longjmp.S: New file.
33966         * sysdeps/nios2/abort-instr.h: New file.
33967         * sysdeps/nios2/backtrace.c: New file.
33968         * sysdeps/nios2/bits/endian.h: New file.
33969         * sysdeps/nios2/bits/fenv.h: New file.
33970         * sysdeps/nios2/bits/link.h: New file.
33971         * sysdeps/nios2/bits/setjmp.h: New file.
33972         * sysdeps/nios2/bsd-_setjmp.S: New file.
33973         * sysdeps/nios2/bsd-setjmp.S: New file.
33974         * sysdeps/nios2/configure: New generated file.
33975         * sysdeps/nios2/configure.ac: New file.
33976         * sysdeps/nios2/crti.S: New file.
33977         * sysdeps/nios2/crtn.S: New file.
33978         * sysdeps/nios2/dl-init.c: New file.
33979         * sysdeps/nios2/dl-machine.h: New file.
33980         * sysdeps/nios2/dl-sysdep.h: New file.
33981         * sysdeps/nios2/dl-tls.h: New file.
33982         * sysdeps/nios2/dl-trampoline.S: New file.
33983         * sysdeps/nios2/gccframe.h: New file.
33984         * sysdeps/nios2/gmp-mparam.h: New file.
33985         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33986         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33987         * sysdeps/nios2/ldsodefs.h: New file.
33988         * sysdeps/nios2/libc-tls.c: New file.
33989         * sysdeps/nios2/libm-test-ulps: New file.
33990         * sysdeps/nios2/machine-gmon.h: New file.
33991         * sysdeps/nios2/math-tests.h: New file.
33992         * sysdeps/nios2/math_private.h: New file.
33993         * sysdeps/nios2/memusage.h: New file.
33994         * sysdeps/nios2/nptl/Makefile: New file.
33995         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33996         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33997         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33998         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33999         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34000         * sysdeps/nios2/nptl/tls.h: New file.
34001         * sysdeps/nios2/preconfigure: New file.
34002         * sysdeps/nios2/s_fma.c: New file.
34003         * sysdeps/nios2/s_fmaf.c: New file.
34004         * sysdeps/nios2/setjmp.S: New file.
34005         * sysdeps/nios2/sfp-machine.h: New file.
34006         * sysdeps/nios2/sotruss-lib.c: New file.
34007         * sysdeps/nios2/stackguard-macros.h: New file.
34008         * sysdeps/nios2/stackinfo.h: New file.
34009         * sysdeps/nios2/start.S: New file.
34010         * sysdeps/nios2/sysdep.h: New file.
34011         * sysdeps/nios2/tls-macros.h: New file.
34012         * sysdeps/nios2/tst-audit.h: New file.
34013         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34014         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34015         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34016         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34017         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34018         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34019         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34020         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34021         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34022         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34023         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34024         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34025         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34026         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34027         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34028         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34029         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34030         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34031         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34032         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34033         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34034         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34035         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34036         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34037         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34038         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34039         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34040         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34041         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34042         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34043         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34044         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34045         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34046         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34047         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34048         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34049         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34050         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34051         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34052         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34053         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34054         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34055         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34056         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34058 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34060         [BZ #17844]
34061         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34062         (getutent): Use weak_alias in non SHARED case
34063         and default_symbol_version in SHARED case.
34064         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34065         (getutent_r, pututline): Likewise.
34066         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34067         (getutid): Likewise.
34068         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34069         (getutid_r): Likewise.
34070         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34071         (getutline): Likewise.
34072         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34073         (getutline_r): Likewise.
34074         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34075         (updwtmp): Likewise.
34077 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34079         [BZ #17848]
34080         * sysdeps/s390/s390-32/memcmp.S
34081         (memcmp_g5): Rename to __memcmp_g5.
34082         * sysdeps/s390/s390-32/memcpy.S
34083         (memcpy_g5): Rename to __memcpy_g5.
34084         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34085         (memcpy_mvcle) Rename to __memcpy_mvcle.
34086         * sysdeps/s390/s390-32/memset.S
34087         (memset_g5): Rename to __memset_g5.
34088         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34089         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34090         and use prefixed functions.
34091         * sysdeps/s390/s390-32/multiarch/memcmp.S
34092         (memcmp_z196): Rename to __memcmp_z196.
34093         (memcmp_z10): Rename to __memcmp_z10.
34094         (memcmp): Set alias to __memcmp_g5.
34095         (bcmp): Set alias to __memcmp_g5.
34096         * sysdeps/s390/s390-32/multiarch/memcpy.S
34097         (memcpy_z196): Rename to __memcpy_z196.
34098         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34099         (memcpy_z10): Rename to __memcpy_z10.
34100         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34101         (memcpy): Set alias to __memcpy_g5.
34102         * sysdeps/s390/s390-32/multiarch/memset.S
34103         (memset_z196): Rename to __memset_z196.
34104         Jump to __memset_mvcle instead of memset_mvcle.
34105         (memset_z10): Rename to __memset_z10.
34106         Jump to __memset_mvcle instead of memset_mvcle.
34107         (memset_mvcle) Rename to __memset_mvcle.
34108         (memset): Set alias to __memset_g5.
34109         * sysdeps/s390/s390-64/memcmp.S
34110         (memcmp_z900): Rename to __memcmp_z900.
34111         * sysdeps/s390/s390-64/memcpy.S
34112         (memcpy_z900): Rename to __memcpy_z900.
34113         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34114         (memcpy_mvcle) Rename to __memcpy_mvcle.
34115         * sysdeps/s390/s390-64/memset.S
34116         (memset_z900): Rename to __memset_z900.
34117         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34118         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34119         and use prefixed functions.
34120         * sysdeps/s390/s390-64/multiarch/memcmp.S
34121         (memcmp_z196): Rename to __memcmp_z196.
34122         (memcmp_z10): Rename to __memcmp_z10.
34123         (memcmp): Set alias to __memcmp_z900.
34124         (bcmp): Set alias to __memcmp_z900.
34125         * sysdeps/s390/s390-64/multiarch/memcpy.S
34126         (memcpy_z196): Rename to __memcpy_z196.
34127         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34128         (memcpy_z10): Rename to __memcpy_z10.
34129         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34130         (memcpy): Set alias to __memcpy_z900.
34131         * sysdeps/s390/s390-64/multiarch/memset.S
34132         (memset_z196): Rename to __memset_z196.
34133         Jump to __memset_mvcle instead of memset_mvcle.
34134         (memset_z10): Rename to __memset_z10.
34135         Jump to __memset_mvcle instead of memset_mvcle.
34136         (memset_mvcle) Rename to __memset_mvcle.
34137         (memset): Set alias to __memset_z900.
34139 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34141         [BZ #17748]
34142         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34143         __fesetenv instead of fesetenv.
34145 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34147         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34148         macro.
34150 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34152         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34153         regression on LE.
34155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34156         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34158         strncmp-power8 object.
34159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34160         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34161         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34162         * NEWS: Update.
34164 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34165             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34167         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34168         trailing byte check.
34170 2015-01-13  David S. Miller  <davem@davemloft.net>
34172         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34174 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34176         * login/logout.c (logout): Use memset rather than bzero.
34177         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34178         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34179         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34180         (_gethtbyaddr): Likewise.
34181         * locale/programs/simple-hash.c (bcopy): Macro removed.
34183 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34186         Add strcmp-power8 object.
34187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34188         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34189         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34190         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34191         __strcmp_power8 implementation.
34192         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34193         * NEWS: Update.
34195         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34196         Add strncpy-power8 and stpncpy-power8 objects.
34197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34198         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34199         implementations.
34200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34201         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34202         __stpncpy_power8 implementation.
34203         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34204         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34205         __strncpy_power8 implementation.
34206         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34207         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34208         * NEWS: Update.
34210         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34211         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34212         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34214         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34215         strncat-power8 object.
34216         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34217         __strcat_power8 implementation.
34218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34219         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34220         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34221         optimized strcat for power8.
34223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34224         strcpy-power8 and stpcpy-power8 objects.
34225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34226         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34227         implementations.
34228         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34229         multiarch stpcpy implementation for POWER8.
34230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34231         multiarch strcpy implementation for POWER8.
34232         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34233         __strcpy_power8 function.
34234         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34235         stpcpy for POWER8.
34236         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34237         strcpy for POWER8.
34238         * NEWS: Update.
34240 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34242         [BZ #16009]
34243         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34244         weights and rules. Use do_xfrm_cached if data fits in cache,
34245         do_xfrm otherwise.  Moved former main loop to...
34246         * (do_xfrm_cached): New function.
34247         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34248         find_idx, find_position and stack_push.
34249         * (find_idx): New function.
34250         * (find_position): Likewise.
34251         * localedata/sort-test.sh: Added test run for do_xfrm.
34252         * localedata/xfrm-test.c (main): Added command line option
34253         -nocache to run the test with strings that are too large for
34254         the STRXFRM cache.
34256 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34258         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34259         variable to lll_futex_wake call, not the value itself.
34261 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34263         [BZ #17803]
34264         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34265         twom64.  Adjust value to 0x1p-64L.
34266         (__scalblnl): Only return standard underflowing result for K <=
34267         -64 not K <= -63; adjust exponent for underflowing result by 64
34268         not 63.
34269         * math/libm-test.inc (scalbn_test_data): Add more tests.
34270         (scalbln_test_data): Likewise.
34272         [BZ #17834]
34273         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34274         0x1p63L.
34275         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34276         not HX.
34277         * math/libm-test.inc (scalbn_test_data): Add more tests.
34278         (scalbln_test_data): Likewise.
34280 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34281             Stefani Seibold  <stefani@seibold.net>
34283         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34284         (sysdep_routines): Add dl-vdso here, ...
34285         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34286         (sysdep_routines): ... not here.
34287         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34288         fallback when vDSO is not presented.
34289         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34290         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34291         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34292         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34293         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34294         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34295         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34296         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34297         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34298         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34299         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34300         fallback configurable symbol when vDSO is not available.
34301         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34302         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34303         be able to redefine fallback symbol when vDSO is not available.
34304         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34305         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34307 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34309         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34310         (TLS_INIT_TP): Add tm_capable initialization.
34311         (TLS_DEFINE_INIT_TP): Likewise.
34312         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34313         TCB.
34314         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34315         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34316         calculation.
34317         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34318         transactoion is lock elision is built and TCB tm_capable is set.
34319         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34321         (INTERNAL_SYSCALL_NCS): Likewise.
34322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34323         (INTERNAL_SYSCALL_NCS): Likewise.
34324         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34326         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34327         for powerpc.
34328         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34329         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34330         and remove it for 32 bits case.
34331         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34333         initialization.
34334         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34335         Disable lock elision with rdlocks if elision is not available.
34337         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34338         (sysdep_routines): Add lock elision objects.
34339         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34340         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34341         [pthread_mutex_t] (__elision): Add field.
34342         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34343         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34344         elision definitions for powerpc.
34345         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34346         implementation of lock elision for powerpc.
34347         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34348         implementation of timed lock elision for powerpc.
34349         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34350         implementation of trylock with lock elision for powerpc.
34351         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34352         implementaion of unlock for lock elision for powerpc.
34353         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34354         automatic enable lock elision for mutexes.
34355         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34356         transaction execution definitions for powerpc.
34357         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34358         definitions.
34359         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34360         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34361         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34362         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34363         * NEWS: Update.
34365 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34367         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34368         for #include of <shm-directory.h>.
34370 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34372         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34373         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34375 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34377         [BZ #17791]
34378         * NEWS: Mention bug fix.
34379         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34380         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34381         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34383 2015-01-09  Torvald Riegel <triegel@redhat.com>
34385         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34387 2015-01-09  Torvald Riegel <triegel@redhat.com>
34389         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34391 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34393         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34394         pointer and cast to uintptr_t.
34396 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34398         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34399         removed.
34400         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34402 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34404         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34405         of 0.
34407 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34409         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34410         <nptl/pthreadP.h> instead.
34411         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34413         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34414         already defined.
34415         [__SIGRTMIN] (init): Function removed.
34416         [__SIGRTMIN] (initialized): Variable removed.
34417         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34418         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34419         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34420         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34421         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34422         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34423         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34424         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34425         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34426         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34427         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34428         * sysdeps/nptl/allocrtsig.c: New file.
34429         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34430         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34431         * sysdeps/generic/testrtsig.h: File removed.
34433         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34434         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34436         * nptl/nptl-init.c (pthread_functions): Conditionalize
34437         .ptr__nptl_setxid initialization on [SIGSETXID].
34439         * sysdeps/nptl/sys/procfs.h: New file.
34440         * nptl_db/Makefile (headers): Add it.
34441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34443         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34444         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34445         * nptl/pthread_attr_setaffinity.c: Include it.
34446         * nptl/pthread_setattr_default_np.c: Likewise.
34447         * nptl/check-cpuset.h: New file.
34449 2015-01-08  Richard Henderson  <rth@redhat.com>
34451         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34452         (CFLAGS-tst-execstack-prog.c): Likewise.
34453         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34455 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34456             Sandra Loosemore  <sandra@codesourcery.com>
34457             Andrew Jenner  <andrew@codesourcery.com>
34458             Joseph Myers  <joseph@codesourcery.com>
34459             Nathan Sidwell  <nathan@codesourcery.com>
34461         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34462         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34463         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34464         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34465         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34466         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34467         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34468         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34469         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34470         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34471         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34472         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34473         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34474         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34475         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34476         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34477         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34479 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34481         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34482         timespec struct member in syscall macro.
34483         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34484         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34485         first timeval struct member in syscall macro.
34486         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34488 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34490         [BZ #17748]
34491         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34492         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34493         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34494         __feupdateenv and define as weak alias of __feupdateenv.  Use
34495         libm_hidden_weak.
34496         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34497         libm_hidden_def.
34498         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34499         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34500         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34501         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34502         libm_hidden_def.
34503         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34504         __feupdateenv and define as weak alias of __feupdateenv.  Use
34505         libm_hidden_weak.
34506         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34507         libm_hidden_def.
34508         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34509         __feupdateenv and define as weak alias of __feupdateenv.  Use
34510         libm_hidden_weak.
34511         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34512         libm_hidden_def.
34513         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34514         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34515         (__feupdateenv): Likewise.
34516         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34517         __feupdateenv and define as weak alias of __feupdateenv.  Use
34518         libm_hidden_weak.
34519         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34520         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34521         libm_hidden_def.
34522         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34523         function.
34524         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34525         libm_hidden_def.
34526         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34527         __feupdateenv instead of feupdateenv.
34528         (default_libc_feupdateenv_test): Likewise.
34529         (libc_feresetround_ctx): Likewise.
34531 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34533         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34534         prototype.
34536 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34538         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34539         COLL_SYM in a couple of places to avoid uninitialized variable
34540         wanings on tilegx gcc 4.8.2.
34542 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34544         * sysdeps/aarch64/strcpy.S: New file.
34545         * sysdeps/aarch64/stpcpy.S: New file.
34546         * NEWS: Updated.
34548 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34550         * sysdeps/aarch64/strrchr.S: New file.
34551         * NEWS: Updated.
34553 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34555         [BZ #17658]
34556         * stdlib/setenv.c: Fix memory leak when setting large,
34557         duplicate string.
34559 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34561         [BZ #17273]
34562         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34563         and tabs from buffer before parsing fstab entry.
34564         * misc/tst-mntent.c (main): Add test for mount entry with
34565         trailing spaces and tabs.
34567 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34569         [BZ #17748]
34570         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34571         * math/fesetround.c (fesetround): Rename to __fesetround and
34572         define as weak alias of __fesetround.  Use libm_hidden_weak.
34573         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34574         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34575         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34576         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34577         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34578         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34579         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34580         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34581         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34582         __fesetround_inline.
34583         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34584         __fesetround_inline instead of __fesetround.
34585         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34586         __fesetround and define as weak alias of __fesetround.  Use
34587         libm_hidden_weak.  Call __fesetround_inline instead of
34588         __fesetround.
34589         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34590         __fesetround and define as weak alias of __fesetround.  Use
34591         libm_hidden_weak.
34592         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34593         Likewise.
34594         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34595         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34596         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34597         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34598         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34599         __fesetround and define as weak alias of __fesetround.  Use
34600         libm_hidden_weak.
34601         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34602         __fesetround instead of fesetround.
34603         (default_libc_feholdexcept_setround): Likewise.
34604         (libc_feholdsetround_ctx): Likewise.
34605         (libc_feholdsetround_noex_ctx): Likewise.
34607         [BZ #17748]
34608         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34609         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34610         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34611         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34612         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34613         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34614         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34615         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34616         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34617         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34618         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34619         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34620         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34621         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34622         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34623         libm_hidden_def.
34624         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34626         Likewise.
34627         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34628         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34629         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34630         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34631         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34632         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34633         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34634         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34635         __fesetenv instead of fesetenv.
34636         (libc_feresetround_noex_ctx): Likewise.
34637         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34638         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34639         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34640         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34641         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34642         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34643         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34644         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34645         (__feupdateenv): Likewise.
34646         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34647         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34648         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34649         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34651 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34653         [BZ #17806]
34654         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34655         addresses have been freed.
34657 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34659         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34660         and nservall.
34662 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34664         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34665         Clean up check_pf allocation pattern. addresses
34667 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34669         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34670         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34671         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34672         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34673         * nptl/pthread_join.c (pthread_join): Likewise.
34674         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34675         * sysdeps/posix/waitid.c (__waitid): Likewise.
34676         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34677         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34678         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34679         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34680         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34681         Likewise.
34682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34683         (__libc_pread64): Likewise.
34684         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34685         (__libc_pwrite): Likewise.
34686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34687         (__libc_pwrite64): Likewsie.
34688         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34689         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34690         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34691         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34692         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34693         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34694         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34696         Likewise.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34698         (__libc_pread64): Likewise.
34699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34700         Likewise.
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34702         (__libc_pwrite64): Likewise.
34703         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34704         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34705         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34706         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34707         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34708         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34709         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34710         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34711         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34712         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34713         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34714         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34715         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34716         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34717         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34718         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34719         Likewise.
34721 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34723         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34724         (CFLAGS-test-double.c): Likewise.
34725         (CFLAGS-test-ldouble.c): Likewise.
34726         (CPPFLAGS-test-ifloat.c): Likewise.
34727         (CPPFLAGS-test-idouble.c): Likewise.
34728         (CPPFLAGS-test-ildoubl.c): Likewise.
34729         (CFLAGS-test-test-fenv.c): Remove variable.
34730         (CFLAGS-test-misc.c): Likewise.
34732 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34734         [BZ #17797]
34735         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34736         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34737         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34738         CLOCKS_PER_SEC == 1000000.
34739         * time/clocktest.c (main): Replace %ld with %jd and cast to
34740         intmax_t.
34742 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34744         * sysdeps/generic/unwind-resume.h: New file.
34745         * sysdeps/gnu/unwind-resume.c: Include it.
34746         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34747         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34748         argument list.
34749         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34750         global rather than static.
34751         (_Unwind_Resume): Update user.
34752         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34753         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34754         rather than static.  Add __attribute__ ((cold)).
34755         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34756         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34757         * sysdeps/arm/arm-unwind-resume.S: New file.
34758         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34759         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34760         * sysdeps/arm/Makefile [$(subdir) = csu]
34761         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34762         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34763         Add rt-arm-unwind-resume.
34764         [$(subdir) = nptl]
34765         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34766         Add pt-arm-unwind-resume.
34767         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34768         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34770 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34772         [BZ #17748]
34773         * include/fenv.h (__feholdexcept): Declare.  Use
34774         libm_hidden_proto.
34775         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34776         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34777         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34778         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34779         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34780         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34781         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34782         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34783         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34784         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34785         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34786         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34787         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34788         (feholdexcept): Likewise.
34789         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34790         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34791         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34792         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34793         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34794         __feholdexcept instead of feholdexcept.
34795         (default_libc_feholdexcept_setround): Likewise.
34797 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34799         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34800         to avoid using stl/str to align destination.
34802 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34804         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34806 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34808         [BZ #17796]
34809         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34810         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34811         Define as weak alias not strong alias.
34813 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34815         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34816         bltzal with addiupc.
34817         (RTLD_START): Ditto.
34819 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34821         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34822         for __vdso_* functions in declarations.
34823         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34824         definitions.
34825         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34826         INTERNAL_VSYSCALL): Use struct return types to check for error.
34828         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34829         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34830         function with cast from llround().
34831         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34832         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34833         Define.
34835 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34837         [BZ #17793]
34838         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34839         Define as weak alias not strong alias.
34841         [BZ #17635]
34842         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34843         ...
34844         * ctype/ctype-extn.c: ... here.
34845         (__isblank_l): Move to ...
34846         * ctype/ctype-c99_l.c: ... here.  New file.
34847         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34848         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34849         Remove variable.
34850         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34851         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34852         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34853         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34854         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34856         [BZ #17777]
34857         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34858         (posix_fadvise64): Define as weak alias not strong alias.
34859         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34860         (posix_fallocate64): Likewise.
34861         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34862         Remove variable.
34863         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34864         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34865         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34866         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34867         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34869 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34871         [BZ #16191]
34872         * NEWS: Mention bug fix.
34873         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34874         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34875         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34876         (HOST_STACK_END_ADDR): Likewise.
34878 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34880         [BZ #17748]
34881         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34882         * math/fegetround.c (fegetround): Rename to __fegetround and
34883         define as weak alias of __fegetround.  Use libm_hidden_weak.
34884         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34885         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34886         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34887         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34888         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34889         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34890         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34891         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34892         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34893         Undefine after rather than before function definition; use
34894         parentheses around function name in definition.
34895         (__fegetround): Also undefine macro after function definition.
34896         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34897         __fegetround and define as weak alias of __fegetround.  Use
34898         libm_hidden_weak.  Do not undefine as macro.
34899         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34900         Likewise.
34901         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34902         __fegetround and define as weak alias of __fegetround.  Use
34903         libm_hidden_weak.
34904         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34905         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34906         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34907         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34908         __fegetround and define as weak alias of __fegetround.  Use
34909         libm_hidden_weak.
34910         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34911         __fegetround instead of fegetround.
34913         [BZ #17782]
34914         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34915         Condition macro definition on [__USE_MISC].
34917         [BZ #17781]
34918         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34919         (struct sigaction): Change type of sa_flags field to int.
34921         [BZ #17780]
34922         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34923         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34924         __glibc_reserved0.
34926         * nptl/version.c (banner): Use single year in copyright notice.
34928         * NEWS: Update copyright dates.
34929         * catgets/gencat.c (print_version): Likewise.
34930         * csu/version.c (banner): Likewise.
34931         * debug/catchsegv.sh: Likewise.
34932         * debug/pcprofiledump.c (print_version): Likewise.
34933         * debug/xtrace.sh (do_version): Likewise.
34934         * elf/ldconfig.c (print_version): Likewise.
34935         * elf/ldd.bash.in: Likewise.
34936         * elf/pldd.c (print_version): Likewise.
34937         * elf/sotruss.sh: Likewise.
34938         * elf/sprof.c (print_version): Likewise.
34939         * iconv/iconv_prog.c (print_version): Likewise.
34940         * iconv/iconvconfig.c (print_version): Likewise.
34941         * locale/programs/locale.c (print_version): Likewise.
34942         * locale/programs/localedef.c (print_version): Likewise.
34943         * login/programs/pt_chown.c (print_version): Likewise.
34944         * malloc/memusage.sh (do_version): Likewise.
34945         * malloc/memusagestat.c (print_version): Likewise.
34946         * malloc/mtrace.pl: Likewise.
34947         * manual/libc.texinfo: Likewise.
34948         * nptl/version.c (banner): Likewise.
34949         * nscd/nscd.c (print_version): Likewise.
34950         * nss/getent.c (print_version): Likewise.
34951         * nss/makedb.c (print_version): Likewise.
34952         * posix/getconf.c (main): Likewise.
34953         * scripts/test-installation.pl: Likewise.
34954         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34956 2015-01-02  Will Newton  <will.newton@linaro.org>
34958         * sysdeps/arm/armv7/configure: Removed.
34959         * sysdeps/arm/armv7/configure.ac: Likewise.
34961 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34963         * All files with FSF copyright notices: Update copyright dates
34964         using scripts/update-copyrights.
34965         * intl/plural.c: Regenerated.
34966         * locale/programs/charmap-kw.h: Likewise.
34967         * locale/programs/locfile-kw.h: Likewise.
34969 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34971         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34973 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34975         [BZ #17748]
34976         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34977         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34978         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34979         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34980         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34981         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34982         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34983         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34984         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34985         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34986         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34987         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34988         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34989         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34990         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34991         libm_hidden_def.
34992         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34993         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34994         Likewise.
34995         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34996         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34997         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34998         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34999         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35000         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35001         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35002         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35003         __fegetenv instead of fegetenv.
35004         (libc_feholdsetround_noex_ctx): Likewise.
35006 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35008         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35009         (Elf_MIPS_ABIFlags_v0): New structure.
35010         (EF_MIPS_FP64): Define.
35011         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35012         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35013         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35014         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35015         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35016         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35017         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35018         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35019         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35020         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35021         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35022         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35023         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35024         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35025         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35026         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35027         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35028         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35029         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35030         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35031         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35032         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35033         field.
35034         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35035         EF_MIPS_FP64.
35036         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35037         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35038         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35039         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35040         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35041         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35042         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35043         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35044         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35045         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35046         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35047         record the current FP ABI extension.
35048         (mips-mode-switch): Define to show if kernel headers support mode
35049         switching.
35050         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35051         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35052         supported SYSV ABI version to 3.
35053         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35054         feature.
35056 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35057             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35059         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35060         path.
35061         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35063 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35065         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35066         __fegetround and redefine to call __fegetround.  Remove condition
35067         on [!__NO_MATH_INLINES].
35068         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35069         function.
35070         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35071         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35072         Remove macro.
35073         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35074         instead of <fenv_libc.h>.
35075         (__llrintl): Call fegetround instead of __fegetround.
35076         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35077         instead of <fenv_libc.h>.
35078         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35079         (__lrintl): Call fegetround instead of __fegetround.
35080         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35081         instead of <fenv_libc.h>.
35082         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35083         (__rintl): Call fegetround instead of __fegetround.
35085 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35087         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35088         arrays.
35090 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35092         [BZ #17775]
35093         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35094         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35095         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35097 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35099         * sysdeps/i386/tls-macros.h: Include <features.h>.
35100         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35101         (TLS_IE): Likewise.
35102         (TLS_LD): Likewise.
35103         (TLS_GD): Likewise.
35104         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35105         define for GCC >= 5.0.
35107 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35109         * math/test-fenv.c (test_single_exception, set_single_exc,
35110         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35111         feexcp_mask_test, feenable_test, fe_single_test): Add
35112         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35113         case where they are not used.
35114         * math/libm-test.inc: Likewise.
35115         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35116         unused in the absence of FP rounding/exception support.
35117         * stdio-common/tst-printf-round.c: Likewise.
35118         * stdlib/tst-strtod-round.c: Likewise.
35119         * stdlib/tst-strtod-underflow.c: Likewise.
35121 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35123         [BZ #17723]
35124         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35125         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35126         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35127         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35128         libm_hidden_weak.
35129         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35130         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35131         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35132         libm_hidden_def.
35133         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35134         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35135         libm_hidden_weak.
35136         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35137         Likewise.
35138         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35139         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35140         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35141         libm_hidden_weak.
35142         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35143         libm_hidden_def.
35144         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35145         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35146         (__feraiseexcept): Likewise.
35147         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35148         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35149         libm_hidden_weak.
35150         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35151         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35152         libm_hidden_def.
35153         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35154         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35155         Use libm_hidden_def.
35156         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35157         libm_hidden_def.
35158         (feraiseexcept): Define as weak not strong alias.  Use
35159         libm_hidden_weak.
35160         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35161         New inline function.  Factored out of ...
35162         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35163         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35164         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35165         feraiseexcept.
35166         * math/w_acos.c (__acos): Likewise.
35167         * math/w_asin.c (__asin): Likewise.
35168         * math/w_ilogb.c (__ilogb): Likewise.
35169         * math/w_j0.c (y0): Likewise.
35170         * math/w_j1.c (y1): Likewise.
35171         * math/w_jn.c (yn): Likewise.
35172         * math/w_log.c (__log): Likewise.
35173         * math/w_log10.c (__log10): Likewise.
35174         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35175         * sysdeps/aarch64/fpu/math_private.h
35176         (libc_feupdateenv_test_aarch64): Likewise.
35177         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35178         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35179         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35180         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35181         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35182         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35183         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35184         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35185         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35186         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35188 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35190         [BZ #17732]
35191         * io/test-utime.c (main): Replace %ld with %jd and cast to
35192         intmax_t.
35193         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35194         * nptl/tst-mutex5.c: Include <stdint.h>.
35195         (do_test): Replace %ld with %jd and cast to intmax_t.
35196         * posix/tst-regex.c (run_test): Likewise.
35197         (run_test_backwards): Likewise.
35198         * rt/tst-clock.c: Include <stdint.h>.
35199         (clock_test): Replace %ld with %jd and cast to intmax_t.
35200         * rt/tst-cpuclock1.c: Include <stdint.h>.
35201         (do_test): Replace %lu with %ju and cast to uintmax_t.
35202         * rt/tst-cpuclock2.c: Include <stdint.h>.
35203         (do_test): Replace %lu with %ju and cast to uintmax_t.
35204         * rt/tst-mqueue1.c: Include <stdint.h>.
35205         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35206         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35207         intmax_t.
35208         * rt/tst-mqueue4.c (do_test): Likewise.
35209         * rt/tst-timer4.c: Include <stdint.h>.
35210         (check_ts): Replace %ld with %jd and cast to intmax_t.
35211         (do_test): Likewise.
35212         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35213         and cast to intmax_t.
35214         * sysdeps/pthread/tst-timer.c (main): Likewise.
35215         * time/clocktest.c (main): Likewise.
35216         * time/tst-posixtz.c (do_test): Likewise.
35217         * timezone/tst-timezone.c (main): Likewise.
35219 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35220             H.J. Lu  <hongjiu.lu@intel.com>
35222         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35223         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35224         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35225         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35226         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35227         version if bit_Fast_Unaligned_Load is set.
35228         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35229         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35230         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35231         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35232         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35235         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35236         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35237         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35238         to 4.
35239         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35240         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35241         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35242         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35244 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35246         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35247         instead of #if to avoid a Wundef warning.
35248         * stdlib/tst-limits.c (do_test): Likewise.
35250         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35251         parallel other exception macros.
35252         (fegetenv): Convert from macro to extern inline so that it applies
35253         retroactively to inline functions already seen by the compiler.
35254         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35256         * posix/Makefile (before-compile): Use $(objpfx) for
35257         posix-conf-vars-def.h.
35259 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35261         * posix/getconf.c (main): Use size_t for type of I.
35262         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35263         NSPEC.
35265         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35266         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35267         * posix/posix-envs.def: Likewise.
35268         * sysdeps/posix/sysconf.c: Likewise.
35269         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35270         (specs): Remove array.
35271         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35272         array.
35274         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35275         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35276         (__sysconf): Use CONF_IS_* macros.
35278         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35279         ($(objpfx)posix-conf-vars-def.h): New target.
35280         * posix/posix-conf-vars.list: New file.
35281         * posix/posix-conf-vars.h: New file.
35282         * posix/confstr.c: Include posix-conf-vars.h.
35283         (confstr): Use CONF_IS_* macros.
35284         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35285         CONF_IS_* macros.
35286         * scripts/gen-posix-conf-vars.awk: New file.
35288 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35290         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35291         fegetround): Add no-op macros to avoid linknamespace issues.
35293         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35294         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35296         * sysdeps/unix/sysv/linux/tile/sysdep.h
35297         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35298         assembly-specific section to avoid a redefinition warning.
35300         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35301         long before casting to pointer to avoid a cast warning.
35303 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35305         * sysdeps/tile/tilegx/Implies: New file.
35307 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35309         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35311 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35313         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35315 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35317         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35318         not define.
35319         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35320         <kernel-features.h>.
35321         (__utimes) [__NR_utimes]: Make code unconditional.
35322         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35323         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35324         (__ASSUME_UTIMES): Do not undefine.
35325         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35326         (__ASSUME_UTIMES): Likewise.
35327         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35328         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35329         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35330         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35332 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35334         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35336 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35338         [BZ #17747]
35339         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35340         alias to weak alias for j0l, y0l.
35341         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35342         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35344         [BZ #17746]
35345         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35346         conversion.
35348 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35350         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35351         to zero if not already defined.
35353 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35355         [BZ #17724]
35356         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35357         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35358         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35359         (char *) casts added.
35360         * sysdeps/ieee754/k_standardf.c: New file.
35361         * sysdeps/ieee754/k_standardl.c: Likewise.
35362         * math/Makefile (libm-support): Remove k_standard.
35363         (libm-calls): Add k_standard.
35365 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35367         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35368         Optimize to avoid an unnecessary FPCR read.
35370 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35372         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35373         Optimize to reduce FPCR/FPSR accesses.
35375 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35377         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35378         Call libc_fetestexcept_aarch64.
35380 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35382         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35383         Call libc_fesetround_aarch64.
35385 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35387         [BZ #17733]
35388         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35389         (__bind): Do not define as weak alias.
35390         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35391         define.
35392         (__getsockname): Do not define as weak alias.
35394 2014-12-22  Will Newton  <will.newton@linaro.org>
35396         * manual/install.texi: Document that we require bison 2.7
35397         or above.
35398         * INSTALL: Regenerate.
35399         * configure.ac: Use AC_CHECK_PROG_VER instead of
35400         AC_PATH_PROG when checking for bison and check for
35401         version 2.7 or above.
35402         * configure: Regenerate.
35404 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35406         [BZ #17745]
35407         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35408         * sysdeps/tile/ffsll.c (ffsll): To here.
35410         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35412 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35414         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35415         if not defined.
35416         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35417         definition.
35418         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35419         hidden ___tls_get_addr.
35420         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35421         hidden __tls_get_addr.
35422         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35423         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35424         Likewise.
35426 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35428         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35429         _dl_init call.
35431 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35433         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35434         from "call _dl_init@PLT".
35435         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35437 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35439         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35440         guarantees.
35442 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35444         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35446 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35448         [BZ #17744]
35449         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35450         strnlen.
35452 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35454         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35455         of multu on MIPSr6.
35456         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35457         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35458         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35459         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35460         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35462 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35464         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35465         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35466         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35467         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35468         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35469         mips32r6/mips64r6.
35470         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35472 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35474         * string/strncat.c (STRNCAT): Simplify implementation.
35476 2014-12-19  David S. Miller  <davem@davemloft.net>
35478         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35479         access the quad as both a long double and as a series of 4 words.
35481         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35482         link_map->l_info array access.
35484 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35486         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35488         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35489         * math/atest-exp2.c (TIMEOUT): Likewise.
35490         * math/atest-sincos.c (TIMEOUT): Likewise.
35492 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35494         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35495         -Wno-error with -fno-builtin-lround.
35497 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35499         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35500         Contains futex constants and functions moved over from ...
35501         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35502         <lowlevellock-futex.h>.
35503         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35504         (lll_timedwait_tid): Add comments and parentheses around macro
35505         arguments.
35507 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35509         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35510         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35511         (__lll_private_flag): Remove.
35512         (lll_futex_wait): Likewise.
35513         (lll_futex_timed_wait): Likewise.
35514         (lll_futex_wake): Likewise.
35515         (lll_futex_requeue): Likewise.
35516         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35517         (__lll_timedwait_tid): Spell out argument names.
35518         (lll_timedwait_tid): Add comments and parentheses around macro
35519         arguments.
35520         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35521         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35523 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35525         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35526         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35527         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35528         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35529         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35530         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35531         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35532         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35533         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35539         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35540         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35541         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35542         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35543         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35545 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35547         * sysdeps/x86_64/x32/Makefile: New file.
35549 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35551         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35552         1L with (mp_limb_t) 1.
35554 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35556         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35557         * nptl/libc_pthread_init.c: ... here.
35558         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35559         * nptl/register-atfork.c: ... here.
35561         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35562         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35563         Use assert_perror to check its return value.
35564         (__gai_create_helper_thread): Likewise.
35566         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35568         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35570 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35572         [BZ #17725]
35573         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35574         __profil_counter.
35575         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35576         Likewise.
35577         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35578         Likewise.
35579         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35580         Likewise.
35581         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35582         (profil_counter): Likewise.
35583         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35584         (profil_counter): Likewise.
35585         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35586         Likewise.
35587         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35588         Likewise.
35589         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35590         (profil_counter): Likewise.
35591         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35592         Likewise.
35593         [!__profil_counter] (profil_counter): Define as weak alias of
35594         __profil_counter.
35595         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35596         (profil_counter): Rename to __profil_counter.
35597         [!__profil_counter] (profil_counter): Define as weak alias of
35598         __profil_counter.
35599         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35600         (profil_counter): Rename to __profil_counter.
35601         [!__profil_counter] (profil_counter): Define as weak alias of
35602         __profil_counter.
35603         * sysdeps/posix/profil.c: Update comment referring to
35604         profil_counter.
35605         (__profil): Use __profil_counter instead of profil_counter.
35606         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35607         __profil_counter.  Use __profil_counter_ushort and
35608         __profil_counter_uint in definitions.
35609         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35610         instead of profil_counter_uint and profil_counter_ushort.
35612         [BZ #17722]
35613         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35614         define as weak alias of __inet_makeaddr.
35615         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35616         as weak alias of __inet_addr.
35617         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35618         as weak alias of __inet_pton.  Use libc_hidden_weak.
35619         * include/arpa/inet.h (__inet_pton): Declare.  Use
35620         libc_hidden_proto.
35621         (inet_makeaddr): Don't use libc_hidden_proto.
35622         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35623         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35624         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35625         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35626         Remove variable.
35627         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35628         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35630 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35632         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35634 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35636         * stdio-common/bug-vfprintf-nargs.c (do_test):
35637         Cast value to intptr_t to avoid format warning
35638         for usage with PRIdPTR printing macro.
35640 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35642         * libio/tst-widetext.c (do_test):
35643         Use format type %td instead of %Zd for ptrdiff_t
35644         in order to avoid format warning.
35646 2014-12-17  Andreas Schwab  <schwab@suse.de>
35648         * nscd/mem.c (gc): Add size_t cast to match printf format.
35650 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35652         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35653         (init): Apply PTR_MANGLE to pointers before storing them.
35654         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35655         before using them.
35657 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35659         [BZ #17719]
35660         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35661         define as weak alias of __memrchr.
35662         (__memrchr): Do not define as strong alias of memrchr.
35663         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35664         Remove variable.
35665         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35666         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35667         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35669         [BZ #17717]
35670         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35671         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35672         (if_indextoname): Rename to __if_indextoname and define as weak
35673         alias of __if_indextoname.  Use libc_hidden_weak.
35674         (if_freenameindex): Rename to __if_freenameindex and define as
35675         weak alias of __if_freenameindex.
35676         (if_nameindex): Rename to __if_nameindex and define as weak alias
35677         of __if_nameindex.
35678         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35679         __if_nametoindex and define as weak alias of __if_nametoindex.
35680         Use libc_hidden_weak.
35681         (if_freenameindex): Rename to __if_freenameindex and define as
35682         weak alias of __if_freenameindex.
35683         (if_nameindex): Rename to __if_nameindex and define as weak alias
35684         of __if_nameindex.
35685         (if_indextoname): Rename to __if_indextoname and define as weak
35686         alias of __if_indextoname.  Use libc_hidden_weak.
35687         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35688         __if_nametoindex and define as weak alias of __if_nametoindex.
35689         Use libc_hidden_weak.
35690         (if_freenameindex): Rename to __if_freenameindex and define as
35691         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35692         (if_nameindex_netlink): Use __if_freenameindex instead of
35693         if_freenameindex.
35694         (if_nameindex): Rename to __if_nameindex and define as weak alias
35695         of __if_nameindex.  Use libc_hidden_weak.
35696         (if_indextoname): Rename to __if_indextoname and define as weak
35697         alias of __if_indextoname.  Use libc_hidden_weak.
35698         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35699         libc_hidden_proto.
35700         [!_ISOMAC] (__if_freenameindex): Likewise.
35701         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35702         if_nametoindex.
35703         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35704         variable.
35705         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35706         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35707         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35708         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35709         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35710         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35711         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35713         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35714         Remove variable.
35715         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35716         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35718 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35720         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35721         subscript above bounds'
35723         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35724         bounds.
35726 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35728         * libio/tst-fopenloc.c: Use test-skeleton.c.
35730         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35731         (entry): Rename to ITEM.
35732         (do_test, comp): Adjust.
35734         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35736 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35738         * string/tester.c: Include <libc-internal.h>.
35739         (test_memset): Ignore -Wmemset-transposed-args.
35741 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35743         * misc/tst-mntent2.c (do_test): Fix warning.
35745 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35747         * elf/tst-unique4lib.cc(a): Mark as used.
35749 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35751         [BZ #17630]
35752         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35753         names.
35755 2014-12-16  Allan McRae  <allan@archlinux.org>
35757         * stdio-common/Makefile (tests): Re-add bug26.
35759 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35761         [BZ #17657]
35762         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35763         static array.
35765 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35767         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35768         (__lll_lock_wait): Likewise.
35769         (__lll_timedlock_wait): Likewise.
35770         (__lll_timedwait_tid): Likewise.
35771         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35772         (__lll_robust_timedlock_wait): Likewise.
35773         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35774         (lll_cond_trylock): Likewise.
35775         (__lll_lock): Likewise.
35776         (__lll_robust_lock): Likewise.
35777         (__lll_cond_lock): Likewise.
35778         (lll_robust_cond_lock): Likewise.
35779         (__lll_timedlock): Likewise.
35780         (__lll_robust_timedlock): Likewise.
35781         (__lll_unlock): Likewise.
35782         (__lll_robust_unlock): Likewise.
35783         (lll_wait_tid): Likewise.
35784         (lll_timedwait_tid): Likewise.
35786 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35788         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35790 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35792         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35794 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35796         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35797         * stdio-common/tst-sprintf.c: Likewise.
35799 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35801         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35803 2014-12-15  Jeff Law  <law@redhat.com>
35805         [BZ #16617]
35806         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35807         on the heap.  (CVE-2012-3406)
35808         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35809         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35810         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35812 2014-12-15  Will Newton  <will.newton@linaro.org>
35814         * manual/install.texi: Bump required version of texinfo
35815         to 4.7 from 4.5.
35816         * INSTALL: Regenerated.
35817         * configure.ac: Check for makeinfo version 4.7 and above.
35818         * configure: Regenerated.
35820 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35822         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35823         PREFIX, string constant to insert between directory and name.
35824         * sysdeps/posix/shm_open.c: Update caller.
35825         * sysdeps/posix/shm_unlink.c: Likewise.
35826         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35827         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35828         (SEM_SHM_PREFIX): New macro.
35829         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35830         [$(have-thread-library) = no].
35831         * nptl/Makefile (libpthread-routines): Add shm-directory.
35832         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35833         * sysdeps/nptl/shm-directory.h: New file.
35834         * sysdeps/posix/shm-directory.c
35835         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35836         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35837         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35838         INTERNAL_SYSCALL.
35839         (__where_is_shmfs): Function removed.
35840         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35841         Variables removed.
35842         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35843         Use SHM_GET_NAME.
35844         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35846         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35847         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35848         unconditional for use inside libpthread.
35849         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35851 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35853         * nptl/pthread_getaffinity.c: New file.
35854         * nptl/pthread_setaffinity.c: New file.
35855         * nptl/pthread_getname.c: New file.
35856         * nptl/pthread_setname.c: New file.
35858         * nptl/pthread_create.c (START_THREAD_DEFN)
35859         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35861 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35862             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35864         * resolv/res_send.c (send_vc): Disable warning resplen may
35865         be used uninitialized.
35867 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35869         * nptl/tst-mutex6.c
35870         (ATTR_NULL): New define checks ATTR against NULL.
35871         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35872         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35874 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35876         [BZ #17581]
35877         * malloc/hooks.c
35878         (mem2mem_check): Revert my previous change.
35879         (malloc_check_get_size): Revert my previous change.
35880         (mem2chunk_check): Revert my previous change.
35882 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35884         * sysdeps/posix/shm-directory.c: New file.
35885         * sysdeps/posix/shm-directory.h: New file.
35886         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35887         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35888         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35889         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35890         Transmute EPERM to EACCES.
35891         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35892         from ...
35893         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35894         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35896 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35898         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35899         pointer and cast to uintptr_t.
35900         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35901         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35902         Add cast to avoid warning.
35903         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35905 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35907         * nptl/semaphore.h: Move to ...
35908         * sysdeps/pthread/semaphore.h: ... here.
35909         * Makefile (installed-headers): Change nptl/semaphore.h to
35910         sysdeps/pthread/semaphore.h.
35912 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35914         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35915         generated error format strings.
35917         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35918         -Wformat-extra-args warnings for scanf formats.
35919         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35920         test of zero-length format (duh).
35921         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35922         corner-case scanf format test.
35923         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35924         generated fprintf format string.
35925         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35926         corner-case sprintf format tests.
35927         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35928         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35929         -Wformat-extra-args warnings throughout.
35930         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35931         (CFLAGS-scanf4.c): Likewise.
35932         (CFLAGS-scanf7.c): Likewise.
35933         (CFLAGS-tst-sprintf.c): Likewise.
35934         (CFLAGS-tst-printf.c): Likewise.
35935         (CFLAGS-tst-printfsz.c): Likewise.
35937 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35939         * include/cpio.h: New file.
35940         * include/fmtmsg.h: Likewise.
35942         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35943         corresponding format argument to size_t.
35944         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35945         arguments.
35946         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35947         corresponding format argument to size_t.
35948         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35949         arguments.
35950         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35951         corresponding format argument to size_t.
35952         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35953         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35954         (CFLAGS-tst-mbswcs2.c): Likewise.
35955         (CFLAGS-tst-mbswcs3.c): Likewise.
35956         (CFLAGS-tst-mbswcs4.c): Likewise.
35957         (CFLAGS-tst-mbswcs5.c): Likewise.
35958         (CFLAGS-tst-trans.c): Likewise.
35960 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35962         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35963         rather than assuming they won't contain any '%'s.
35965 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35967         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35968         inhibit_loop_to_libcall to avoid recursive calls.
35969         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35970         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35972 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35974         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35975         prototype.
35977 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35979         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35980         integer value instead of boolean.
35982 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35984         * malloc/malloc.c: Fix powerof2 check.
35986 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35988         * locale/programs/locfile.h (maybe_swap_uint32):
35989         Remove inline and add unused attribute.
35991 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35994         Truncating assembler expression to a .long expression.
35996 2014-12-11  Andreas Schwab  <schwab@suse.de>
35998         * elf/rtld.c (struct map_args): Constify str member.
35999         (do_preload): Constify fname argument.
36001 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36003         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36004         constants definition.
36006 2014-12-11  Andreas Schwab  <schwab@suse.de>
36008         [BZ #16657]
36009         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36010         FORCE_ELISION instead of DO_ELISION.
36011         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36012         Remove.
36013         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36014         Likewise.
36016         * iconvdata/gconv-modules: Remove duplicate entry.
36018 2014-12-11  Will Newton  <will.newton@linaro.org>
36020         Merge gettext 0.19.3 into intl/.
36022         This involves a number of cosmetic changes to comments
36023         and ANSI function definitions and prototypes throughout
36024         all the files. The gettext copyright header is used but
36025         with the date ranges taken from the glibc copy.
36027         * NEWS: Add gettext merge to 2.21.
36028         * intl/bindtextdom.c: Switch to gettext copyright.
36029         Use ANSI definitions and prototypes.
36030         Use gl_* locking primitives rather than __libc_* ones.
36031         Use __builtin_expect rather than __glibc_likely/unlikely.
36032         * intl/dcgettext.c: Switch to gettext copyright.
36033         Use ANSI definitions and prototypes.
36034         * intl/dcigettext.c: Switch to gettext copyright.
36035         Use ANSI definitions and prototypes.
36036         (INTDIV0_RAISES_SIGFPE): New define.
36037         Use gl_* locking primitives rather than __libc_* ones.
36038         Include eval-plural.h instead of plural-eval.c.
36039         Use __builtin_expect rather than __glibc_likely/unlikely.
36040         * intl/dcngettext.c: Switch to gettext copyright.
36041         Use ANSI definitions and prototypes.
36042         * intl/dgettext.c: Likewise.
36043         * intl/dngettext.c: Likewise.
36044         * intl/plural-eval.c: Renamed to...
36045         * intl/eval-plural.h: ...this.
36046         * intl/explodename.c: Switch to gettext copyright.
36047         Use ANSI definitions and prototypes.
36048         (_nl_explode_name): Use strchr instead of __rawmemchr.
36049         * intl/finddomain.c: Switch to gettext copyright.
36050         Use ANSI definitions and prototypes.
36051         Use gl_* locking primitives rather than __libc_* ones.
36052         (_nl_find_domain): Use malloc rather than alloca for
36053         allocation of temporary locale name.
36054         * intl/gettext.c: Switch to gettext copyright.
36055         Use ANSI definitions and prototypes.
36056         * intl/gettextP.h: Switch to gettext copyright.
36057         Use ANSI definitions and prototypes.
36058         Use gl_* locking primitives rather than __libc_* ones.
36059         * intl/gmo.h: Switch to gettext copyright.
36060         (struct sysdep_string): Move struct segment_pair outside of
36061         struct definition.
36062         * intl/hash-string.c: Use ANSI definitions and prototypes.
36063         * intl/hash-string.h: Switch to gettext copyright.
36064         Use ANSI definitions and prototypes.
36065         * intl/l10nflist.c: Switch to gettext copyright.
36066         Use ANSI definitions and prototypes.
36067         (_nl_normalize_codeset): Avoid integer overflow.
36068         * intl/loadinfo.h: Switch to gettext copyright.
36069         Use ANSI definitions and prototypes.
36070         (LIBINTL_DLL_EXPORTED): New define.
36071         (PATH_SEPARATOR): New define.
36072         * intl/loadmsgcat.c: Switch to gettext copyright.
36073         * intl/localealias.c: Switch to gettext copyright.
36074         Use ANSI definitions and prototypes.
36075         (_nl_expand_alias): Use PATH_SEPARATOR.
36076         * intl/ngettext.c: Switch to gettext copyright.
36077         Use ANSI definitions and prototypes.
36078         * intl/plural-exp.c: Likewise.
36079         * intl/plural-exp.h: Switch to gettext copyright.
36080         Use ANSI definitions and prototypes.
36081         (struct expression): Move definition of enum operator outside
36082         of struct definition.
36083         * intl/plural.c: Regenerate.
36084         * intl/plural.y: Switch to gettext copyright.
36085         Use ANSI definitions and prototypes.
36086         Port to bison 3.0.
36087         * intl/textdomain.c: Switch to gettext copyright.
36088         Use ANSI definitions and prototypes.
36089         Use gl_* locking primitives rather than __libc_* ones.
36091 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36093         * debug/warning-nop.c: Add used atrribute.
36095 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36097         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36099         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36100         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36101         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36103 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36104             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36106         [BZ #17634]
36107         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36108         Undefine after defining function.  Define as weak alias of
36109         __wcschr.  Use libc_hidden_weak.
36110         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36111         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36112         (libc_hidden_def): Also define __GI___wcschr alias.
36113         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36114         __wcschr and define as weak alias of __wcschr.
36115         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36116         __wcschr.
36117         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36118         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36119         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36120         libc_hidden_weak.  Do not use libc_hidden_def.
36121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36122         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36123         __GI___wcschr alias.
36124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36125         [IS_IN (libc)] (wcschr): Define as macro expanding to
36126         __redirect_wcschr.
36127         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36128         [IS_IN (libc)] (__wcschr_power6): Likewise.
36129         [IS_IN (libc)] (__wcschr_power7): Likewise.
36130         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36131         instead of wcschr.
36132         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36133         __libc_wcschr.
36134         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36135         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36136         __wcschr and define as weak alias of __wcschr.  Use
36137         libc_hidden_builtin_def.
36138         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36139         as weak alias of __wcschr.  Use libc_hidden_weak.
36140         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36141         wcschr.
36142         * time/era.c (_nl_init_era_entries): Likewise.
36143         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36144         variable.
36145         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36146         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36148 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36150         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36151         format for long int variable.
36153 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36155         [BZ #10672]
36156         * manual/search.texi: (Array Sort Function): Remove claim how to make
36157         qsort stable.
36159 2014-12-10  Andreas Schwab  <schwab@suse.de>
36161         [BZ #12847]
36162         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36163         user-controlled locks.
36165 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36167         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36168         register.
36170 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36172         * configure.ac (--disable-werror): New configure option.
36173         (enable_werror): New AC_SUBST.
36174         * configure: Regenerated.
36175         * config.make.in (enable-werror): New variable.
36176         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36177         -Wno-error=undef.
36178         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36179         * manual/install.texi (Configuring and compiling): Document
36180         --disable-werror.
36181         * INSTALL: Regenerated.
36182         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36183         (CFLAGS-tst-chk2.c): Likewise.
36184         (CFLAGS-tst-chk3.c): Likewise.
36185         (CFLAGS-tst-chk4.cc): Likewise.
36186         (CFLAGS-tst-chk5.cc): Likewise.
36187         (CFLAGS-tst-chk6.cc): Likewise.
36188         (CFLAGS-tst-lfschk1.c): Likewise.
36189         (CFLAGS-tst-lfschk2.c): Likewise.
36190         (CFLAGS-tst-lfschk3.c): Likewise.
36191         (CFLAGS-tst-lfschk4.cc): Likewise.
36192         (CFLAGS-tst-lfschk5.cc): Likewise.
36193         (CFLAGS-tst-lfschk6.cc): Likewise.
36195         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36196         (main): Disable -Wdeprecated-declarations around calls to
36197         register_printf_function.
36199         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36200         (do_test): Disable -Wdiv-by-zero around some calls to
36201         fwrite_unlocked and fread_unlocked.
36203         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36204         (DIAG_POP_NEEDS_COMMENT): Likewise.
36205         (_DIAG_STR1): Likewise.
36206         (_DIAG_STR): Likewise.
36207         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36208         * stdio-common/bug21.c: Include <libc-internal.h>.
36209         (do_test): Disable -Wformat around call to sscanf.
36210         * stdio-common/scanf14.c: Include <libc-internal.h>.
36211         (main): Disable -Wformat around some calls to scanf functions.
36213 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36215         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36217 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36219         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36220         stack variable alignment.
36222 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36224         [BZ #17682]
36225         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36226         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36227         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36228         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36229         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36230         __getrlimit instead of getrlimit.
36231         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36232         __gettimeofday instead of gettimeofday.
36233         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36234         Likewise.
36235         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36236         Likewise.
36237         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36238         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36239         Remove variable.
36240         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36241         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36243 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36245         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36246         for wide-character tests.
36248 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36250         * io/openat64.c: #include <libc-internal.h>
36251         (__openat64): Prototypify.  Use ignore_value on MODE.
36252         * io/openat.c: Likewise.
36253         * misc/reboot.c: #include <libc-internal.h>
36254         (reboot): Prototypify.  Use ignore_value on HOWTO.
36255         * misc/ptrace.c: #include <libc-internal.h>
36256         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36258 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36260         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36261         XPG4, UNIX98 and XOPEN2K.
36262         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36263         Remove variable.
36264         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36266 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36268         * libio/fileops.c: Use ISO C style for function definitions.
36269         * libio/iofopen.c: Likewise.
36270         * libio/wfileops.c: Likewise.
36272         [BZ #17653]
36273         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36274         offset on EOF.
36275         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36276         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36277         (fgets_func): Function pointer to fgets and fgetws.
36278         (do_ftell_test): Add test to verify ftell value after read
36279         EOF.
36280         (do_test): Set fgets_func.
36282         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36283         O_TRUNC flag for w and w+ modes.
36284         (do_rewind_test): Likewise.
36285         (do_ftell_test): Likewise.
36286         (do_write_test): Likewise.
36288         [BZ #17647]
36289         * libio/fileops.c (do_ftell): Seek only when there are
36290         unflushed writes.
36291         * libio/wfileops.c (do_ftell_wide): Likewise.
36292         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36293         test case.
36294         (do_one_test): Call it.
36296 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36298         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36299         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36300         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36301         Remove variable.
36302         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36303         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36304         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36306 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36308         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36309         Remove variable.
36310         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36312         [BZ #17668]
36313         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36314         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36315         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36316         __freeifaddrs.  Use libc_hidden_weak.
36317         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36318         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36319         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36320         __freeifaddrs.  Use libc_hidden_weak.
36321         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36322         __getifaddrs and define as weak alias of __getifaddrs.  Use
36323         libc_hidden_weak.
36324         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36325         __freeifaddrs.  Use libc_hidden_weak.
36326         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36327         Remove variable.
36328         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36329         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36331 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36333         [BZ #17601]
36334         * sysdeps/mips/start.S (__start): Use indirect jump to call
36335         __libc_start_main.
36337 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36339         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36341         * nptl/tst-mutex1.c: Include <stdbool.h>.
36342         [!ATTR] (ATTR_NULL): New macro.
36343         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36344         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36345         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36347         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36348         to char *.
36350         [BZ #17665]
36351         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36352         Change conditional to [__USE_MISC].
36354         [BZ #17664]
36355         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36356         fgets_unlocked.
36357         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36358         __fgets_unlocked.
36359         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36360         fgets_unlocked.
36361         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36362         Remove variable.
36363         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36364         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36365         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36366         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36367         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36368         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36369         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36370         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36371         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36373         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36375 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36377         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36378         Remove strpbrk objects.
36379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36380         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36382         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36383         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36384         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36387         Remove strcspn objects.
36388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36389         (__libc_ifunc_impl_list): Remove strcspn implementation.
36390         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36391         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36392         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36393         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36395         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36396         Remove strspn objetcs.
36397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36398         (__libc_ifunc_impl_list): Remove strspn implementation.
36399         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36400         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36401         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36402         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36404 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36406         [BZ #17581]
36407         * malloc/hooks.c
36408         (mem2mem_check): Add a terminator to the chain of checking blocks.
36409         (malloc_check_get_size): Use it here.
36410         (mem2chunk_check): Ditto.
36412 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36414         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36415         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36417 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36419         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36421         * nptl/nptl-init.c: Include libc-internal.h.
36422         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36424         * elf/ldconfig.c (search_dir): Expand comment.
36426 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36428         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36429         variable.
36430         (linknamespace-symlist-stdlibs-tests): Likewise.
36431         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36432         instead of $(objpfx)symlist-stdlibs.
36433         (linknamespace-libs-isoc): New variable.
36434         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36435         (linknamespace-libs-ISO): New variable.
36436         (linknamespace-libs-ISO99): Likewise.
36437         (linknamespace-libs-ISO11): Likewise.
36438         (linknamespace-libs-XPG3): Likewise.
36439         (linknamespace-libs-XPG4): Likewise.
36440         (linknamespace-libs-POSIX): Likewise.
36441         (linknamespace-libs-UNIX98): Likewise.
36442         (linknamespace-libs-XOPEN2K): Likewise.
36443         (linknamespace-libs-POSIX2008): Likewise.
36444         (linknamespace-libs-XOPEN2K8): Likewise.
36445         ($(objpfx)symlist-stdlibs): Replace by
36446         $(linknamespace-symlist-stdlibs-tests).  Use
36447         $(linknamespace-libs-$*) as set of libraries.
36448         ($(linknamespace-header-tests)): Update dependencies.  Use
36449         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36450         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36451         * conform/linknamespace.pl: Remove comment about considering
36452         definitions of symbols from irrelevant libraries.
36454 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36456         [BZ #13862]
36457         * elf/dl-tls.c: Include <atomic.h>.
36458         (oom): Remove #ifdef SHARED/#endif.
36459         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36460         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36461         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36462         big enough.
36463         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36464         * nptl/Makefile (tests): Add tst-stack4.
36465         (modules-names): Add tst-stack4mod.
36466         ($(objpfx)tst-stack4): New.
36467         (tst-stack4mod.sos): Likewise.
36468         ($(objpfx)tst-stack4.out): Likewise.
36469         ($(tst-stack4mod.sos)): Likewise.
36470         (clean): Likewise.
36471         * nptl/tst-stack4.c: New file.
36472         * nptl/tst-stack4mod.c: Likewise.
36474 2014-11-27  J. Brown  <jb999@gmx.de>
36476         * sysdeps/x86/bits/string.h: Add recent CPUs.
36478 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36480         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36481         sigblock.
36483         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36484         feof.
36486         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36487         variable.
36489 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36491         * nscd/connections.c: Include libc-internal.h because of macro
36492         usage ignore_value.
36494 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36496         * string/bits/string3.h (__warn_memset_zero_len): Don't
36497         declare for gcc newer than 5.0.
36498         (memset): Don't test for zero-length __LEN for gcc newer than
36499         5.0.
36501 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36503         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36504         size_t for %zu format.
36506         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36507         difference, not %ju.
36509 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36511         * include/libc-internal.h (ignore_value): New macro.
36512         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36513         with ignore_value.
36515         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36516         definition.
36518         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36519         pthread_cleanup_push to void *.
36521         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36522         Undefine.
36524         [BZ #16619]
36525         [BZ #16740]
36526         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36527         instead of 1L << 52.
36529         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36530         * libio/bug-rewind2.c (do_test): Likewise.
36532         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36533         * debug/test-strcpy_chk-ifunc.c: Likewise.
36534         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36535         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36536         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36537         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36538         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36539         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36540         * Rules [$(multi-arch) = no] (tests): Do not filter out
36541         $(tests-ifunc).
36542         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36543         * debug/Makefile (tests-ifunc): Remove variable.
36544         (tests): Do not add $(tests-ifunc).
36545         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36546         (tests): Do not add $(tests-ifunc).
36547         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36548         [TEST_IFUNC]: Remove conditionals.
36549         * string/test-string.h (TEST_IFUNC): Remove macro.
36550         [TEST_IFUNC]: Remove conditionals.
36552         * string/test-strchr.c [!WIDE] (L): New macro.
36553         [WIDE] (L): Likewise.
36554         (check1): Use CHAR instead of char.  Use L on string and character
36555         constants.
36557 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36559         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36560         tests.
36561         * sysdeps/powerpc/bits/atomic.h
36562         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36563         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36564         (atomic_exchange_and_add_acq): Likewise.
36565         (atomic_exchange_and_add_rel): Likewise.
36566         * sysdeps/powerpc/powerpc32/bits/atomic.h
36567         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36568         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36569         * sysdeps/powerpc/powerpc64/bits/atomic.h
36570         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36571         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36573 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36575         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36576         Change synchronization of __sched_fifo_min_prio and
36577         __sched_fifo_max_prio.
36578         * nptl/pthread_mutexattr_getprioceiling.c
36579         (pthread_mutexattr_getprioceiling): Likewise.
36580         * nptl/pthread_mutexattr_setprioceiling.c
36581         (pthread_mutexattr_setprioceiling): Likewise.
36582         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36583         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36584         Likewise.
36586 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36588         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36589         void.
36591 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36593         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36594         third argument const.
36596 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36598         fnmatch: work around GCC compiler warning bug with uninit var
36599         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36600         This works around a bug with x86-64 GCC 4.9.2 and earlier
36601         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36602         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36603         used uninitialized in this function [-Wmaybe-uninitialized]".
36605 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36607         * posix/bug-regex31.c (main): Return RES not 0.
36609 2014-11-25  Anton Blanchard <anton@samba.org>
36611         * sysdeps/powerpc/bits/atomic.h
36612         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36614 2014-11-24  Sterling Augustine  <saugustine@google.com>
36616         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36618 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36620         [BZ #17608]
36621         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36623 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36625         [BZ #17633]
36626         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36627         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36628         variable.
36629         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36630         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36632 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36634         * string/strncpy.c (strncpy): Improve performance by using memset.
36636 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36638         * string/strcpy.c (strcpy):
36639         Improve performance by using strlen and memcpy.
36641 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36643         * string/strcoll_l.c (get_next_seq): __always_inline.
36644         * string/strcoll_l.c (do_compare): __always_inline.
36646 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36648         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36649         defined.
36650         * include/mqueue.h: Likewise.
36651         * include/stdlib.h: Likewise.
36653         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36654         (get_null_defines): Adjust.
36655         * sunrpc/Makefile: Adjust comment.
36656         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36657         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36658         (CFLAGS-interp.c): Likewise.
36659         (CFLAGS-ldconfig.c): Likewise.
36660         (CPPFLAGS-.os): Likewise.
36661         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36662         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36663         * extra-modules.mk (extra-modules.mk): Likewise.
36664         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36665         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36666         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36667         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36668         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36669         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36670         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36671         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36672         * iconvdata/Makefile (CPPFLAGS): Likewise.
36673         (cpp-srcs-left): Add libof for all iconvdata routines.
36674         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36675         * include/assert.h: Likewise.
36676         * include/ctype.h: Likewise.
36677         * include/errno.h: Likewise.
36678         * include/libc-symbols.h: Likewise.
36679         * include/math.h: Likewise.
36680         * include/netdb.h: Likewise.
36681         * include/resolv.h: Likewise.
36682         * include/stdio.h: Likewise.
36683         * include/stdlib.h: Likewise.
36684         * include/string.h: Likewise.
36685         * include/sys/stat.h: Likewise.
36686         * include/wctype.h: Likewise.
36687         * intl/l10nflist.c: Likewise.
36688         * libidn/idn-stub.c: Likewise.
36689         * libio/libioP.h: Likewise.
36690         * nptl/libc_multiple_threads.c: Likewise.
36691         * nptl/pthreadP.h: Likewise.
36692         * posix/regex_internal.h: Likewise.
36693         * resolv/res_hconf.c: Likewise.
36694         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36695         * sysdeps/arm/memmove.S: Likewise.
36696         * sysdeps/arm/sysdep.h: Likewise.
36697         * sysdeps/generic/_itoa.h: Likewise.
36698         * sysdeps/generic/symbol-hacks.h: Likewise.
36699         * sysdeps/gnu/errlist.awk: Likewise.
36700         * sysdeps/gnu/errlist.c: Likewise.
36701         * sysdeps/i386/i586/memcpy.S: Likewise.
36702         * sysdeps/i386/i586/memset.S: Likewise.
36703         * sysdeps/i386/i686/memcpy.S: Likewise.
36704         * sysdeps/i386/i686/memmove.S: Likewise.
36705         * sysdeps/i386/i686/mempcpy.S: Likewise.
36706         * sysdeps/i386/i686/memset.S: Likewise.
36707         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36708         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36709         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36710         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36711         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36712         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36713         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36714         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36715         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36716         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36717         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36718         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36719         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36720         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36721         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36722         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36723         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36724         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36725         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36726         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36727         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36728         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36729         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36730         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36731         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36732         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36733         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36734         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36735         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36736         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36737         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36738         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36739         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36740         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36741         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36743         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36744         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36745         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36746         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36747         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36748         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36749         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36750         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36751         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36752         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36753         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36754         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36755         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36756         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36757         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36758         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36759         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36761         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36762         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36763         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36764         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36765         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36766         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36767         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36768         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36769         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36770         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36771         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36772         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36773         * sysdeps/posix/closedir.c: Likewise.
36774         * sysdeps/posix/opendir.c: Likewise.
36775         * sysdeps/posix/readdir.c: Likewise.
36776         * sysdeps/posix/rewinddir.c: Likewise.
36777         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36778         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36779         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36780         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36781         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36782         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36783         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36790         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36791         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36794         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36796         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36797         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36798         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36799         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36813         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36814         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36815         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36816         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36817         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36818         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36819         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36820         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36821         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36822         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36823         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36824         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36825         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36826         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36827         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36828         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36831         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36832         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36834         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36835         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36836         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36837         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36838         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36839         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36840         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36841         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36842         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36843         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36844         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36845         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36846         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36847         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36848         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36849         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36850         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36851         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36852         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36853         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36854         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36855         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36856         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36857         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36858         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36859         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36861         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36862         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36863         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36864         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36865         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36866         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36867         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36868         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36869         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36870         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36875         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36876         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36878         * sysdeps/unix/alpha/sysdep.S: Likewise.
36879         * sysdeps/unix/alpha/sysdep.h: Likewise.
36880         * sysdeps/unix/make-syscalls.sh: Likewise.
36881         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36883         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36884         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36885         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36886         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36887         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36888         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36889         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36890         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36891         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36892         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36895         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36896         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36897         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36898         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36899         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36900         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36901         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36902         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36903         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36904         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36905         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36906         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36907         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36910         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36911         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36915         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36919         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36920         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36921         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36923         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36924         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36925         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36928         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36929         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36931         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36932         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36933         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36934         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36937         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36939         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36940         * sysdeps/x86_64/memcpy.S: Likewise.
36941         * sysdeps/x86_64/memmove.c: Likewise.
36942         * sysdeps/x86_64/memset.S: Likewise.
36943         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36944         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36945         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36946         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36947         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36948         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36949         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36950         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36951         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36952         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36953         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36954         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36955         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36956         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36958         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36959         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36960         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36961         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36962         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36963         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36964         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36965         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36967         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36968         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36969         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36970         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36971         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36972         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36973         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36974         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36975         * sysdeps/x86_64/strcmp.S: Likewise.
36977         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36979         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36980         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36981         * elf/rtld-Rules: Likewise.
36982         * elf/setup-vdso.h: Likewise.
36983         * include/assert.h: Likewise.
36984         * include/bits/stdlib-float.h: Likewise.
36985         * include/errno.h: Likewise.
36986         * include/sys/stat.h: Likewise.
36987         * include/unistd.h: Likewise.
36988         * sysdeps/aarch64/setjmp.S: Likewise.
36989         * sysdeps/alpha/setjmp.S: Likewise.
36990         * sysdeps/arm/__longjmp.S: Likewise.
36991         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36992         * sysdeps/arm/setjmp.S: Likewise.
36993         * sysdeps/arm/sysdep.h: Likewise.
36994         * sysdeps/generic/_itoa.h: Likewise.
36995         * sysdeps/generic/dl-sysdep.h: Likewise.
36996         * sysdeps/generic/ldsodefs.h: Likewise.
36997         * sysdeps/i386/dl-tls.h: Likewise.
36998         * sysdeps/i386/setjmp.S: Likewise.
36999         * sysdeps/m68k/setjmp.c: Likewise.
37000         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37001         * sysdeps/mach/hurd/opendir.c: Likewise.
37002         * sysdeps/posix/getcwd.c: Likewise.
37003         * sysdeps/posix/opendir.c: Likewise.
37004         * sysdeps/posix/profil.c: Likewise.
37005         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37006         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37007         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37008         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37009         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37010         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37011         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37012         * sysdeps/s390/dl-tls.h: Likewise.
37013         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37014         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37015         * sysdeps/sh/sh3/setjmp.S: Likewise.
37016         * sysdeps/sh/sh4/setjmp.S: Likewise.
37017         * sysdeps/unix/alpha/sysdep.h: Likewise.
37018         * sysdeps/unix/arm/sysdep.S: Likewise.
37019         * sysdeps/unix/i386/sysdep.S: Likewise.
37020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37021         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37023         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37025         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37026         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37027         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37028         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37029         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37030         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37031         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37035         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37037         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37038         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37039         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37040         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37043         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37044         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37045         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37048         * sysdeps/x86_64/setjmp.S: Likewise.
37050         * include/math.h: Use IS_IN instead of IS_IN_libm.
37051         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37052         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37053         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37054         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37055         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37056         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37058         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37059         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37060         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37061         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37062         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37063         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37064         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37065         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37066         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37067         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37068         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37069         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37070         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37071         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37072         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37073         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37074         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37075         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37076         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37077         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37078         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37079         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37080         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37081         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37082         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37083         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37085         Likewise.
37086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37087         Likewise.
37088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37089         Likewise.
37090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37091         Likewise.
37092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37093         Likewise.
37094         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37095         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37096         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37097         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37098         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37099         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37105         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37106         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37107         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37108         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37109         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37110         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37111         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37112         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37113         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37114         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37115         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37118         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37120         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37122         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37123         * nptl/pthreadP.h: Likewise.
37124         * nptl_db/structs.def: Likewise.
37125         * sysdeps/arm/sysdep.h: Likewise.
37126         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37127         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37128         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37129         * sysdeps/unix/alpha/sysdep.h: Likewise.
37130         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37132         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37133         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37134         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37135         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37137         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37138         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37139         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37140         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37141         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37142         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37143         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37148         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37151         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37152         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37153         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37154         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37155         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37157         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37158         * nptl/pthreadP.h: Likewise.
37159         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37160         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37161         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37162         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37163         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37164         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37165         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37166         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37167         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37168         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37169         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37170         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37172         Likewise.
37173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37174         Likewise.
37175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37177         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37180         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37181         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37182         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37184         * dlfcn/dladdr.c: Use IS_IN.
37185         * dlfcn/dladdr1.c: Likewise.
37186         * dlfcn/dlclose.c: Likewise.
37187         * dlfcn/dlerror.c: Likewise.
37188         * dlfcn/dlinfo.c: Likewise.
37189         * dlfcn/dlmopen.c: Likewise.
37190         * dlfcn/dlopen.c: Likewise.
37191         * dlfcn/dlsym.c: Likewise.
37192         * dlfcn/dlvsym.c: Likewise.
37194         * include/ifaddrs.h: Use IS_IN.
37195         * inet/check_pf.c: Likewise.
37196         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37197         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37199         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37200         IS_IN_ldconfig.
37201         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37202         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37204         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37205         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37206         IS_IN (libc).
37208         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37210         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37211         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37212         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37213         * include/libc-symbols.h (IS_IN_LIB): New macro.
37214         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37215         * include/netdb.h: Likewise.
37216         * include/stap-probe.h: Remove all uses of IN_LIB.
37218         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37219         instead of IN_MODULE.
37220         * include/libc-symbols.h (IN_MODULE): Define using
37221         MODULE_NAME.
37222         (PASTE_NAME, PASTE_NAME1): New macros.
37223         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37224         of IN_LIB.
37225         (STAP_PROBE_ASM): Likewise.
37227 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37229         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37230         __mach_init in dlopened libc.
37232 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37234         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37235         * sysdeps/arm/preconfigure: Regenerate.
37237 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37239         * nptl/pthread_create.c (__pthread_create_2_1): Set
37240         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37241         when copying values from IATTR into PD.
37243 2014-11-21  Will Newton  <will.newton@linaro.org>
37244             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37246         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37247         Refactor inline-asm.  Also add comment.
37249         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37250         ElfW macro instead of hardcoded Elf64 types.
37251         (la_aarch64_gnu_pltenter): Likewise.
37252         * sysdeps/aarch64/dl-machine.h
37253         (elf_machine_runtime_setup): Use ElfW(Addr).
37255         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37256         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37257         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37258         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37259         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37260         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37261         (R_AARCH64_TLS_DTPMOD): This.
37262         (R_AARCH64_TLS_DTPREL64): Rename to ...
37263         (R_AARCH64_TLS_DTPREL): This.
37264         (R_AARCH64_TLS_TPREL64): Rename to ...
37265         (R_AARCH64_TLS_TPREL): This.
37266         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37267         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37268         R_AARCH64_TLS_TPREL64.
37269         (elf_machine_rela): Likewise.
37271 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37273         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37274         by setting it to 0.  64b atomics are not supported currently.
37276 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37278         [BZ #16469]
37279         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37280         search domain names.
37282 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37284         [BZ #16469]
37285         * NEWS: Update.
37286         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37287         trailing dot.
37288         * posix/tst-getaddrinfo5.c: New.
37289         * posix/Makefile (tests): Add it.
37291 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37293         [BZ #14498]
37294         * NEWS: Fixed.
37295         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37296         after parsing line but before break_if_match.
37297         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37298         if there is a protocol mismatch.
37300 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37302         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37303         because the potential race is on the user-supplied stream.
37305 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37307         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37308         string literal if not passed a buffer.
37309         * manual/job.texi (ctermid): Update reasoning, note deviation
37310         from posix, suggest mtasurace when not passed a buffer, for
37311         future non-preliminary safety notes.
37313 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37315         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37316         of not passing it a buffer.
37317         Reported by Peng Haitao.
37319 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37321         * manual/Makefile ($(objpfx)stamp-summary): Require
37322         check-safety.sh to pass.
37323         * manual/check-safety.sh: Wish for verification that every
37324         @deftypefn and @deftypefun is followed by a @safety remark.
37326 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37328         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37330         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37331         PTHREAD_CANCEL_ASYNCHRONOUS.
37332         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37333         send SIGCANCEL.
37335         * nptl/default-sched.h: New file.
37336         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37337         * nptl/pthread_create.c: Include it.
37338         (__pthread_create_2_1): Use collect_default_sched instead of making
37339         Linux syscalls here directly.
37341 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37343         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37344         __pthread_once): Use C11 atomics.
37346 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37348         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37350 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37352         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37353         atomic_thread_fence_acquire, atomic_thread_fence_release,
37354         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37355         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37356         atomic_compare_exchange_weak_relaxed,
37357         atomic_compare_exchange_weak_acquire,
37358         atomic_compare_exchange_weak_release,
37359         atomic_exchange_acquire, atomic_exchange_release,
37360         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37361         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37362         atomic_fetch_and_acquire,
37363         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37365 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37367         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37368         USE_ATOMIC_COMPILER_BUILTINS): Define.
37369         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37371         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37373         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37375         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37377         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37379         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37380         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37381         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37383         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37385         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37386         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37387         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37388         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37389         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37390         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37391         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37392         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37393         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37394         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37395         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37396         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37397         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37398         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37399         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37400         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37401         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37402         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37403         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37404         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37405         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37406         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37407         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37408         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37410 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37412         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37413         the sched_priority value here.  It was already checked when the user
37414         called pthread_attr_setschedparam.
37416         * nptl/tst-bad-schedattr.c: New file.
37417         * nptl/Makefile (tests): Add it.
37419 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37420             Florian Weimer  <fweimer@redhat.com>
37421             Joseph Myers  <joseph@codesourcery.com>
37422             Adam Conrad  <adconrad@0c3.net>
37423             Andreas Schwab  <schwab@suse.de>
37424             Brooks  <bmoses@google.com>
37426         [BZ #17625]
37427         * wordexp-test.c (__dso_handle): Add prototype.
37428         (__register_atfork): Likewise.
37429         (__app_register_atfork): New function.
37430         (registered_forks): New global.
37431         (register_fork): New function.
37432         (test_case): Add 3 new tests for WRDE_CMDSUB.
37433         (main): Call __app_register_atfork.
37434         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37435         fork count is non-zero fail the test.
37436         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37437         is set.
37438         (parse_dollars): Remove check for WRDE_NOCMD.
37439         (parse_dquote): Likewise.
37441 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37443         * Makeconfig (built-modules): List non-library modules to be
37444         built.
37445         (module-cppflags): Include libc-modules.h for
37446         everything except shlib-versions.v.i.
37447         (CPPFLAGS): Use it.
37448         (before-compile): Add libc-modules.h.
37449         ($(common-objpfx)libc-modules.h,
37450         $(common-objpfx)libc-modules.stmp): New targets.
37451         (common-generated): Add libc-modules.h and libc-modules.stmp.
37452         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37453         * include/libc-symbols.h: Don't include libc-modules.h.
37454         * include/libc-modules.h: Remove file.
37455         * scripts/gen-libc-modules.awk: New script to generate
37456         libc-modules.h.
37457         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37458         Depend on libc-modules.stmp.
37460         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37462         * Makeconfig (in-module): Get value of libof set for the
37463         translation unit.
37464         (CPPFLAGS): Use $(in-module).
37465         * Makerules: Don't suffix routine names for nonlib.
37466         * include/libc-modules.h: New file.
37467         * include/libc-symbols.h: Include libc-modules.h
37468         (IS_IN): New macro to replace IS_IN_* macros.
37469         * elf/Makefile: Set libof-* for each routine.
37470         * elf/rtld-Rules: Likewise.
37471         * extra-modules.mk: Likewise.
37472         * iconv/Makefile: Likewise.
37473         * iconvdata/Makefile: Likewise.
37474         * locale/Makefile: Likewise.
37475         * malloc/Makefile: Likewise.
37476         * nss/Makefile: Likewise.
37477         * sysdeps/gnu/Makefile: Likewise.
37478         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37479         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37480         * sysdeps/s390/s390-64/Makefile: Likewise.
37481         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37482         CPPFLAGS for nscd instead of nonlib.
37484 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37486         * nptl/createthread.c: New file.
37488         * nptl/createthread.c: Moved ...
37489         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37491         * nptl/createthread.c: Add proper top-line comment.
37492         (do_clone): Folded into ...
37493         (create_thread): ... here.  Take new arguments STOPPED_START and
37494         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37495         increment __nptl_threads, do event-reporting logic, do
37496         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37497         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37498         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37499         just send SIGCANCEL.
37500         * nptl/pthread_create.c: Forward-declare create_thread before
37501         including createthread.c.
37502         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37503         declaration, and new macro START_THREAD_SELF to replace argument.
37504         Remove return statement.
37505         (report_thread_creation): New function.
37506         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37507         synchronization logic, and __nptl_nthreads increment here, around
37508         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37509         PD->parent_cancelhandling here, before create_thread.  When
37510         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37511         __deallocate_stack, and ENOMEM translation here.
37513 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37515         [BZ #17616]
37516         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37517         (mptwo): Rename to __mptwo.
37518         (__inv): Use __mptwo instead of mptwo.
37519         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37520         (mptwo): Rename to __mptwo.
37521         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37522         of mpone and __mptwo instead of mptwo.
37523         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37524         instead of mpone.
37525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37526         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37527         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37528         of mpone and __mptwo instead of mptwo.
37529         (__mpranred): Use __mpone instead of mpone.
37530         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37531         variable.
37532         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37533         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37534         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37535         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37536         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37537         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37538         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37539         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37540         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37541         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37542         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37543         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37544         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37545         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37546         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37547         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37548         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37549         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37550         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37552 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37554         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37555         replace BSD Handler xref with BSD Signal Handling.
37557 2014-11-17  Richard Henderson  <rth@redhat.com>
37559         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37560         (_FP_PACK_RAW_2): Remove.
37561         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37562         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37563         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37564         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37565         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37566         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37567         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37568         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37569         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37570         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37571         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37572         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37573         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37574         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37575         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37576         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37578 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37580         * signal/signal.h [__USE_MISC]
37581         (struct sigvec): Remove type.
37582         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37583         (sigvec): Remove declaration.
37584         * sysdeps/posix/sigvec.c: Moved ...
37585         * signal/sigvec.c: ... here, replacing old file.
37586         (struct sigvec): New type, copied from old signal.h definition.
37587         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37588         (__sigvec): Convert definition to prototype.
37589         (sigvec): Replace weak_alias with compat_symbol.
37590         * signal/Versions (libc: GLIBC_2.21): New version set.
37591         * include/signal.h: Remove __sigvec declaration.
37592         * sysdeps/unix/bsd/sigvec.c: Remove file.
37593         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37594         * manual/signal.texi (BSD Handler): Remove subsection.
37595         Move siginterrupt up to ...
37596         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37597         (Blocking in BSD): Fold subsection into its parent.
37598         * NEWS: Mention sigvec removal.
37600 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37602         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37603         (DLA_FMS): Make definition conditional only on [__FMA4__].
37604         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37605         definition.
37607         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37608         Make definition conditional only on [PROF].
37609         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37610         definition.
37611         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37612         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37614         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37615         !__GNUC__].
37616         * include/signal.h (__sigpause): Move declaration above call to
37617         libc_hidden_proto.
37618         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37619         variable.
37620         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37621         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37623 2014-11-14  David S. Miller  <davem@davemloft.net>
37625         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37626         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37628 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37630         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37631         * configure: Regenerated.
37632         * manual/install.texi (Tools for Compilation): Document a
37633         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37634         compiler verified to work.
37635         * INSTALL: Regenerated.
37637         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37638         redeclare with asm name.
37639         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37640         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37641         including <string.h>.
37642         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37643         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37644         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37645         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37646         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37648         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37650 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37652         * stdlib/strtol.c (__strtol): Use prototype definition.
37654         [BZ #17594]
37655         * stdlib/strtol.c (SYM__): New macro.
37656         (SYM__1): Likewise.
37657         (__strtol): Likewise.
37658         (strtol): Rename to __strtol and define as weak alias of
37659         __strtol.  Use libc_hidden_weak.
37661 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37663         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37664         Use numbered labels in inline assembly.
37666 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37668         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37669         Add setjmp LIBC_PROBE.
37670         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37671         Likewise.
37672         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37673         Add longjmp, longjmp_target LIBC_PROBE.
37674         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37675         Likewise.
37677 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37680         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37681         to get rid of unused variable warning.
37683 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37685         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37686         Check for unwind_backtrace ==  NULL only in SHARED case.
37687         (__backchain_backtrace): Compile only in SHARED case.
37688         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37689         Likewise.
37690         (__backchain_backtrace): Declare as static.
37692 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37694         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37695         (__libc_multiple_threads_ptr): Variable moved ...
37696         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37698 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37700         * conform/GlibcConform.pm: New file.
37701         * conform/conformtest.pl: Use GlibcConform module.
37702         * conform/linknamespace.pl: New file.
37703         * conform/list-header-symbols.pl: Likewise.
37704         * conform/Makefile (linknamespace-symlists-base): New variable.
37705         (linknamespace-symlists-tests): Likewise.
37706         (linknamespace-header-base): Likewise.
37707         (linknamespace-header-tests): Likewise.
37708         (tests-special): Add new tests.
37709         ($(linknamespace-symlists-tests)): New rule.
37710         (linknamespace-libs): New variable.
37711         ($(objpfx)symlist-stdlibs): New rule.
37712         ($(linknamespace-header-tests)): Likewise.
37713         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37714         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37715         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37716         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37717         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37718         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37719         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37720         (test-xfail-ISO/math.h/linknamespace): Likewise.
37721         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37722         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37723         (test-xfail-ISO/time.h/linknamespace): Likewise.
37724         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37725         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37726         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37727         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37728         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37729         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37730         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37731         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37732         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37733         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37734         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37735         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37736         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37737         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37738         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37739         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37740         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37741         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37742         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37743         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37744         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37745         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37746         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37747         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37748         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37749         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37750         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37751         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37752         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37753         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37754         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37755         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37756         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37757         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37758         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37759         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37760         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37761         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37762         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37763         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37764         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37765         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37766         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37767         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37768         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37769         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37770         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37771         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37772         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37773         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37774         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37775         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37776         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37777         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37778         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37779         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37780         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37781         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37782         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37783         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37784         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37785         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37786         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37787         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37788         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37789         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37790         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37791         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37792         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37793         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37794         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37795         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37796         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37797         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37798         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37799         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37800         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37801         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37802         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37803         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37804         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37805         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37806         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37807         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37808         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37809         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37810         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37811         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37812         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37813         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37814         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37815         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37816         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37817         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37818         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37819         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37820         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37821         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37822         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37823         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37824         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37825         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37826         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37827         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37828         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37829         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37830         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37831         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37832         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37833         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37834         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37835         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37836         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37837         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37838         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37839         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37840         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37841         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37842         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37843         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37844         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37845         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37846         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37847         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37848         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37849         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37850         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37851         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37852         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37853         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37854         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37855         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37856         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37857         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37858         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37859         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37860         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37861         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37862         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37863         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37864         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37865         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37866         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37867         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37868         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37869         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37870         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37871         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37872         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37873         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37875         [BZ #17589]
37876         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37877         of fgets_unlocked.
37879         [BZ #17585]
37880         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37881         (memmem): Rename to __memmem and define as weak alias of
37882         __memmem.  Use libc_hidden_weak.
37883         (__memmem): Use libc_hidden_def.
37884         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37885         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37886         memmem.
37888         [BZ #17582]
37889         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37890         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37891         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37892         and define as weak alias of __fgets_unlocked.  Use
37893         libc_hidden_weak.
37894         (__fgets_unlocked): Use libc_hidden_def.
37895         * include/stdio.h (__fgets_unlocked): Declare.  Use
37896         libc_hidden_proto.
37897         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37898         __fgets_unlocked instead of fgets_unlocked.
37899         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37900         (GET_NPROCS_CONF_PARSER): Likewise.
37901         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37902         (GET_NPROCS_CONF_PARSER): Likewise.
37904         [BZ #17574]
37905         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37906         weak alias of __wmemset.  Use libc_hidden_weak.
37907         (__wmemset): Use libc_hidden_def.
37908         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37909         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37910         of wmemset.
37912         [BZ #17573]
37913         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37914         with asm name __mempcpy.
37915         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37917         [BZ #17572]
37918         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37919         and define as weak alias of __rawmemchr.
37920         (__rawmemchr): Do not define as strong alias of rawmemchr.
37922         [BZ #17571]
37923         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37924         alias of __qsort_r.
37925         (qsort): Call __qsort_r instead of qsort_r.
37926         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37927         (__qsort_r): Declare.  Call libc_hidden_proto.
37928         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37929         instead of qsort_r.
37930         * nscd/gai.c (__qsort_r): Define to qsort_r.
37931         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37932         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37933         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37935         [BZ #17570]
37936         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37937         define as weak alias of __malloc_info.
37939         [BZ #17584]
37940         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37941         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37942         (__rewinddir): Use libc_hidden_def.
37943         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37944         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37945         (__rewinddir): Use libc_hidden_def.
37946         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37947         weak alias of __rewinddir.  Don't use libc_hidden_def.
37948         (__rewinddir): Use libc_hidden_def.
37949         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37950         (__rewinddir): Use libc_hidden_proto.
37951         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37952         rewinddir.
37953         (__getcwd): Use __rewinddir instead of rewinddir.
37955         [BZ #17583]
37956         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37957         alias of __fileno.  Use libc_hidden_weak.
37958         (__fileno): Use libc_hidden_def.
37959         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37960         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37961         alias of __ftello.
37962         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37963         __ftello.
37964         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37965         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37966         libc_hidden_def.
37967         (fread_unlocked): Don't use libc_hidden_ver.
37968         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37969         and define as weak alias of __fread_unlocked.  Don't use
37970         libc_hidden_def.
37971         (__fread_unlocked): Use libc_hidden_def.
37972         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37973         (ftello): Don't use libc_hidden_proto.
37974         (__ftello): Declare.  Use libc_hidden_proto.
37975         (fread_unlocked): Don't use libc_hidden_proto.
37976         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37977         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37978         and __ftello instead of fileno, fread_unlocked and ftello.
37980 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37982         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37983         GOT12.
37984         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37985         Likewise.
37986         (_dl_start_user): Likewise.
37987         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37989 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37990             Siddhesh Poyarekar  <siddhesh@redhat.com>
37992         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37993         Move argv and envp down instead of moving argc up.
37994         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37996 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37998         [BZ #17506]
37999         * test-skeleton.c (main): Return successful if one of
38000         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38001         * string/tst-strcoll-overflow.c: Define expected status.
38003 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38005         [BZ #17475]
38006         * locale/iso-639.def: Define Bhili and Tulu language codes.
38008 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38010         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38012 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38014         [BZ #17555]
38015         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38017 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38019         * configure.ac: Updated check of minimal required version to
38020         2.22.
38021         * manual/install.texi (Tools for Compilation): Updated version
38022         number.
38023         * configure: Regenerated.
38024         * INSTALL: Likewise.
38026 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38028         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38029         __tls_get_addr.
38031 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38033         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38034         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38035         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38036         libc_hidden_weak.
38037         (waitpid): Define as alias of __waitpid.
38038         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38039         __waitpid.
38040         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38041         libc_hidden_weak.
38042         (waitpid): Define as alias of __waitpid.
38043         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38044         __libc_waitpid alias.
38045         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38046         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38047         Likewise.
38048         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38049         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38050         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38051         alias.
38052         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38053         __waitpid.
38054         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38055         libc_hidden_weak.
38056         (waitpid): Define as alias of __waitpid.
38058 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38060         * manual/llio.texi: Add comment that write safety has been
38061         fixed in Linux.
38063         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38064         (localplt-build-dso): Add elf/ld.so.
38065         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38066         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38067         and free for ld.so.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38069         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38071         Likewise.
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38073         Likewise.
38074         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38075         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38076         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38077         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38078         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38079         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38080         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38081         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38082         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38083         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38084         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38086 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38088         [BZ #14132]
38089         * include/libc-symbols.h (INTUSE): Remove macro.
38090         (INTDEF): Likewise.
38091         (INTVARDEF): Likewise.
38092         (_INTVARDEF): Likewise.
38093         (INTDEF2): Likewise.
38094         (INTVARDEF2): Likewise.
38095         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38096         rtld_hidden_def instead of INTVARDEF.
38097         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38098         (_dl_starting_up_internal): Remove declaration.
38099         (_dl_starting_up): Use rtld_hidden_proto.
38100         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38101         declaration.
38102         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38103         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38104         _dl_starting_up.
38105         * elf/dl-writev.h (_dl_writev): Likewise.
38106         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38107         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38108         _dl_starting_up_internal.
38110 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38112         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38113         test-skeleton.c.
38115 2014-11-05  Will Newton  <will.newton@linaro.org>
38117         * benchtests/Makefile: (bench-malloc): Add malloc thread
38118         scalability benchmark.
38119         * benchtests/bench-malloc-threads.c: New file.
38121 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38123         * sysdeps/aarch64/strchrnul.S: New file.
38125 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38127         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38128         definition.
38129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38130         Likewise.
38131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38132         Likewise.
38133         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38134         Likewise.
38135         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38136         Likewise.
38137         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38138         Likewise.
38140 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38142         * catgets/test-gencat.c: Use test-skeleton.c.
38143         * catgets/tst-catgets.c: Likewise.
38144         * csu/tst-empty.c: Likewise.
38145         * elf/tst-audit2.c: Likewise.
38146         * elf/tst-global1.c: Likewise.
38147         * elf/tst-pathopt.c: Likewise.
38148         * elf/tst-piemod1.c: Likewise.
38149         * elf/tst-tls10.c: Likewise.
38150         * elf/tst-tls11.c: Likewise.
38151         * elf/tst-tls12.c: Likewise.
38152         * gnulib/tst-gcc.c: Likewise.
38153         * iconvdata/tst-e2big.c: Likewise.
38154         * iconvdata/tst-loading.c: Likewise.
38155         * iconv/tst-iconv1.c: Likewise.
38156         * iconv/tst-iconv2.c: Likewise.
38157         * inet/test-inet6_opt.c: Likewise.
38158         * inet/tst-gethnm.c: Likewise.
38159         * inet/tst-network.c: Likewise.
38160         * inet/tst-ntoa.c: Likewise.
38161         * intl/tst-codeset.c: Likewise.
38162         * intl/tst-gettext2.c: Likewise.
38163         * intl/tst-gettext3.c: Likewise.
38164         * intl/tst-ngettext.c: Likewise.
38165         * intl/tst-translit.c: Likewise.
38166         * io/test-stat.c: Likewise.
38167         * libio/test-fmemopen.c: Likewise.
38168         * libio/tst-freopen.c: Likewise.
38169         * libio/tst-sscanf.c: Likewise.
38170         * libio/tst-ungetwc1.c: Likewise.
38171         * libio/tst-ungetwc2.c: Likewise.
38172         * libio/tst-widetext.c: Likewise.
38173         * localedata/tst-ctype.c: Likewise.
38174         * localedata/tst-digits.c: Likewise.
38175         * localedata/tst-leaks.c: Likewise.
38176         * localedata/tst-mbswcs1.c: Likewise.
38177         * localedata/tst-mbswcs2.c: Likewise.
38178         * localedata/tst-mbswcs3.c: Likewise.
38179         * localedata/tst-mbswcs4.c: Likewise.
38180         * localedata/tst-mbswcs5.c: Likewise.
38181         * localedata/tst-setlocale.c: Likewise.
38182         * localedata/tst-trans.c: Likewise.
38183         * localedata/tst-wctype.c: Likewise.
38184         * localedata/tst-xlocale1.c: Likewise.
38185         * login/tst-grantpt.c: Likewise.
38186         * malloc/tst-calloc.c: Likewise.
38187         * malloc/tst-malloc.c: Likewise.
38188         * malloc/tst-mallocstate.c: Likewise.
38189         * malloc/tst-mcheck.c: Likewise.
38190         * malloc/tst-mtrace.c: Likewise.
38191         * malloc/tst-obstack.c: Likewise.
38192         * math/atest-exp2.c: Likewise.
38193         * math/atest-exp.c: Likewise.
38194         * math/atest-sincos.c: Likewise.
38195         * math/test-matherr.c: Likewise.
38196         * math/test-misc.c: Likewise.
38197         * math/test-powl.c: Likewise.
38198         * math/tst-definitions.c: Likewise.
38199         * misc/tst-dirname.c: Likewise.
38200         * misc/tst-efgcvt.c: Likewise.
38201         * misc/tst-fdset.c: Likewise.
38202         * misc/tst-hsearch.c: Likewise.
38203         * misc/tst-mntent2.c: Likewise.
38204         * nptl/tst-sem7.c: Likewise.
38205         * nptl/tst-sem8.c: Likewise.
38206         * nptl/tst-sem9.c: Likewise.
38207         * nss/test-netdb.c: Likewise.
38208         * posix/tst-fnmatch.c: Likewise.
38209         * posix/tst-getlogin.c: Likewise.
38210         * posix/tst-gnuglob.c: Likewise.
38211         * posix/tst-mmap.c: Likewise.
38212         * pwd/tst-getpw.c: Likewise.
38213         * resolv/tst-inet_ntop.c: Likewise.
38214         * rt/tst-timer.c: Likewise.
38215         * stdio-common/test-fseek.c: Likewise.
38216         * stdio-common/test-popen.c: Likewise.
38217         * stdio-common/test-vfprintf.c: Likewise.
38218         * stdio-common/tst-cookie.c: Likewise.
38219         * stdio-common/tst-fileno.c: Likewise.
38220         * stdio-common/tst-gets.c: Likewise.
38221         * stdio-common/tst-obprintf.c: Likewise.
38222         * stdio-common/tst-perror.c: Likewise.
38223         * stdio-common/tst-sprintf2.c: Likewise.
38224         * stdio-common/tst-sprintf3.c: Likewise.
38225         * stdio-common/tst-sprintf.c: Likewise.
38226         * stdio-common/tst-swprintf.c: Likewise.
38227         * stdio-common/tst-tmpnam.c: Likewise.
38228         * stdio-common/tst-unbputc.c: Likewise.
38229         * stdio-common/tst-wc-printf.c: Likewise.
38230         * stdlib/tst-environ.c: Likewise.
38231         * stdlib/tst-fmtmsg.c: Likewise.
38232         * stdlib/tst-limits.c: Likewise.
38233         * stdlib/tst-rand48-2.c: Likewise.
38234         * stdlib/tst-rand48.c: Likewise.
38235         * stdlib/tst-random2.c: Likewise.
38236         * stdlib/tst-random.c: Likewise.
38237         * stdlib/tst-strtol.c: Likewise.
38238         * stdlib/tst-strtoll.c: Likewise.
38239         * stdlib/tst-tls-atexit.c: Likewise.
38240         * stdlib/tst-xpg-basename.c: Likewise.
38241         * string/test-ffs.c: Likewise.
38242         * string/tst-bswap.c: Likewise.
38243         * string/tst-inlcall.c: Likewise.
38244         * string/tst-strtok.c: Likewise.
38245         * string/tst-strxfrm.c: Likewise.
38246         * sysdeps/x86_64/tst-audit10.c: Likewise.
38247         * sysdeps/x86_64/tst-audit3.c: Likewise.
38248         * sysdeps/x86_64/tst-audit4.c: Likewise.
38249         * sysdeps/x86_64/tst-audit5.c: Likewise.
38250         * time/tst-ftime_l.c: Likewise.
38251         * time/tst-getdate.c: Likewise.
38252         * time/tst-mktime3.c: Likewise.
38253         * time/tst-mktime.c: Likewise.
38254         * time/tst-posixtz.c: Likewise.
38255         * time/tst-strptime2.c: Likewise.
38256         * time/tst-strptime3.c: Likewise.
38257         * wcsmbs/tst-btowc.c: Likewise.
38258         * wcsmbs/tst-mbrtowc.c: Likewise.
38259         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38260         * wcsmbs/tst-wchar-h.c: Likewise.
38261         * wcsmbs/tst-wcpncpy.c: Likewise.
38262         * wcsmbs/tst-wcrtomb.c: Likewise.
38263         * wcsmbs/tst-wcsnlen.c: Likewise.
38264         * wcsmbs/tst-wcstof.c: Likewise.
38266 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38268         [BZ #14132]
38269         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38270         INTDEF.
38271         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38272         declaration.
38273         (_dl_mcount): Use rtld_hidden_proto.
38274         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38275         _dl_mcount.
38276         * elf/rtld.c (_rtld_global_ro): Likewise.
38278         [BZ #14132]
38279         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38280         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38281         of _dl_init_internal.
38282         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38283         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38284         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38285         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38286         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38287         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38288         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38289         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38290         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38291         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38292         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38293         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38294         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38295         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38296         * sysdeps/tile/dl-start.S (_start): Likewise.
38297         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38298         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38300         [BZ #14132]
38301         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38302         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38303         (rtld_progname): Make macro definition unconditional.
38304         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38305         INTDEF.
38306         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38307         (dl_main): Likewise.
38308         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38309         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38310         instead of _dl_argv_internal.
38311         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38312         __GI__dl_argv instead of INTUSE(_dl_argv).
38313         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38314         __GI__dl_argv instead of _dl_argv_internal.
38316         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38317         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38318         macro.
38319         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38320         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38321         New macro.
38322         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38323         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38324         macro.
38325         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38326         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38328 2014-11-04  Andreas Schwab  <schwab@suse.de>
38330         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38332 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38334         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38335         mtvsrd instruction in binary form.
38337 2014-11-03  Andreas Schwab  <schwab@suse.de>
38339         [BZ #17522]
38340         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38341         for less than MB_LEN_MAX use a local buffer of that size.
38342         * libio/tst-fputws.c: New file.
38343         * libio/Makefile (tests): Add tst-fputws.
38345 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38347         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38348         the size of the fpu_fr.fpu_dregs[] array.
38350 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38352         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38353         (__nanosleep): Do not define as alias.
38354         (nanosleep): Define as alias of __nanosleep.
38355         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38356         __libc_nanosleep name.
38358 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38360         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38361         install.texi in comment.
38363 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38365         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38366         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38367         ... add here and use lwsync or sync ...
38368         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38369         ... and add here using lwsync.
38371 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38373         * elf/dl-machine-reject-phdr.h: New file.
38374         * elf/dl-load.c: #include that.
38375         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38376         if that returned true.
38378 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38380         [BZ #17496]
38381         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38382         gen-as-const-headers chunk.  Add a big scare comment after the last
38383         safe place to touch before-compile.
38385 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38387         * manual/install.texi (Tools for Compilation): Update autoconf
38388         version requirements.
38389         * INSTALL: Regenerated.
38391         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38392         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38393         (__libc_pselect): Likewise.
38395         [BZ #14138]
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38401 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38403         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38404         correct barrier instruction.
38405         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38406         Likewise.
38407         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38408         Likewise.
38410 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38412         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38413         after defining inlines.  Instead, just use parens to defeat macro
38414         expansion of __isctype in its declaration.
38416 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38418         * include/sys/uio.h (__libc_readv): Remove declaration.
38419         (__libc_writev): Likewise.
38420         * misc/readv.c (__libc_readv): Rename to __readv.
38421         (__readv): Do not define as alias.
38422         (readv): Define as alias of __readv.
38423         * misc/writev.c (__libc_writev): Rename to __writev.
38424         (__writev): Do not define as alias.
38425         (writev): Define as alias of __writev.
38426         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38427         (__readv): Do not define as alias.
38428         (readv): Define unconditionally as alias of __readv.
38429         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38430         (__writev): Do not define as alias.
38431         (writev): Define unconditionally as alias of __writev.
38432         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38433         name.
38434         (writev): Do not define __libc_writev name.
38436 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38438         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38439         (convert_charseq): New function, broken out of ...
38440         (use_from_charmap): ... here.  Call it.
38441         (use_to_charmap): Use convert_charseq and free instead of duplicating
38442         its code with a variable-length stack struct.
38444 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38446         * include/fcntl.h (__libc_creat): Remove declaration.
38447         * io/creat.c (__libc_creat): Rename to creat.
38448         (creat): Do not define as alias.
38449         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38450         of creat instead of __libc_creat.
38451         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38452         to creat.
38453         (creat): Do not define as alias.
38454         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38455         __libc_creat.
38456         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38457         __libc_creat name.
38458         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38459         Likewise.
38461 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38463         * manual/llio.texi: Add comments discussing why write() may be
38464         considered MT-unsafe on Linux.
38466 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38468         * dl-load.c (local_strdup): Remove.
38469         (expand_dynamic_string_token): Use __strdup.
38470         (decompose_rpath): Likewise.
38471         (_dl_map_object): Likewise.
38473 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38475         [BZ #14132]
38476         * sysdeps/generic/unwind-dw2-fde.c
38477         (__register_frame_info_bases_internal): Do not declare.
38478         (__register_frame_info_table_bases_internal): Likewise.
38479         (__deregister_frame_info_bases_internal): Likewise.
38480         (__register_frame_info_bases): Declare and use hidden_proto before
38481         definition.  Use hidden_def instead of INTDEF.
38482         (__register_frame_info_table_bases): Likewise.
38483         (__deregister_frame_info_bases): Likewise.
38484         (__register_frame_info): Do not use INTUSE.
38485         (__register_frame): Likewise.
38486         (__register_frame_info_table): Likewise.
38487         (__register_frame_table): Likewise.
38488         (__deregister_frame_info): Likewise.
38489         (__deregister_frame): Likewise.
38491 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38494         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38495         not undefine.
38496         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38497         Likewise.
38498         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38499         Likewise.
38501 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #14138]
38504         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38505         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38506         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38507         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38508         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38509         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38510         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38511         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38512         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38513         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38514         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38515         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38516         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38517         syscall.
38518         (setfsuid): Likewise.
38519         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38520         (setfsuid): Likewise.
38521         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38522         (setfsuid): Likewise.
38523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38524         Likewise.
38525         (setfsuid): Likewise.
38526         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38527         (setfsuid): Likewise.
38528         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38529         Likewise.
38530         (setfsuid): Likewise.
38532 2014-10-27  Andreas Schwab  <schwab@suse.de>
38534         [BZ #17501]
38535         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38536         check for Slow_SSE4_2 feature bit.
38537         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38538         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38539         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38540         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38542 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38544         * configure.ac: Validate compiler version with a empirical test of
38545         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38546         $CC -v output.
38547         * configure: Regenerated.
38549         * inet/htons.c (htons): Prototypify.
38550         * inet/htonl.c (htonl): Likewise.
38552 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38554         * string/strncat.c (strncat): Improve performance by using strlen.
38556 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38558         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38560 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38562         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38563         Call libc_fetestexcept_aarch64.
38565 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38567         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38568         Call libc_feholdexcept_aarch64.
38570 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38572         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38573         Call get_rounding_mode.
38575 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38577         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38578         Simplify logic.
38580 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38582         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38583         Simplify logic.
38585 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38587         [BZ #14138]
38588         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38589         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38590         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38591         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38592         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38593         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38594         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38595         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38596         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38597         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38598         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38599         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38600         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38601         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38602         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38603         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38604         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38605         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38606         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38607         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38608         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38609         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38610         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38611         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38612         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38613         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38614         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38615         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38616         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38617         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38618         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38619         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38620         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38621         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38622         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38623         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38624         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38625         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38626         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38627         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38628         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38629         syscall.
38630         (geteuid): Likewise.
38631         (getgid): Likewise.
38632         (getuid): Likewise.
38633         (getresgid): Likewise.
38634         (getresuid): Likewise.
38635         (getgroups): Likewise.
38636         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38637         (geteuid): Likewise.
38638         (getgid): Likewise.
38639         (getuid): Likewise.
38640         (getresgid): Likewise.
38641         (getresuid): Likewise.
38642         (getgroups): Likewise.
38643         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38644         (geteuid): Likewise.
38645         (getgid): Likewise.
38646         (getuid): Likewise.
38647         (getresgid): Likewise.
38648         (getresuid): Likewise.
38649         (getgroups): Likewise.
38650         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38651         Likewise.
38652         (geteuid): Likewise.
38653         (getgid): Likewise.
38654         (getuid): Likewise.
38655         (getresgid): Likewise.
38656         (getresuid): Likewise.
38657         (getgroups): Likewise.
38658         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38659         (geteuid): Likewise.
38660         (getgid): Likewise.
38661         (getuid): Likewise.
38662         (getresgid): Likewise.
38663         (getresuid): Likewise.
38664         (getgroups): Likewise.
38665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38666         Likewise.
38667         (geteuid): Likewise.
38668         (getgid): Likewise.
38669         (getuid): Likewise.
38670         (getgroups): Likewise.
38672         [BZ #14138]
38673         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38674         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38675         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38676         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38677         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38678         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38679         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38680         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38681         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38682         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38683         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38684         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38685         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38686         __chown.
38687         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38688         (lchown): Likewise.
38689         (fchown): Likewise.
38690         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38691         Likewise.
38692         (lchown): Likewise.
38693         (fchown): Likewise.
38694         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38695         (lchown): Likewise.
38696         (fchown): Likewise.
38697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38698         Likewise.
38699         (lchown): Likewise.
38700         (fchown): Likewise.
38702 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38704         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38705         Simplify logic.
38707 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38709         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38710         Cleanup logic.
38712 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38714         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38715         Remove unused include.
38717 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38719         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38720         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38721         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38722         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38724 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38725             Helge Deller <deller@gmx.de>
38727         [BZ #17508]
38728         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38729         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38730         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38732 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38734         [BZ #14132]
38735         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38736         Remove macro definition.
38737         (__ashrdi3_v_glibc20): Likewise.
38738         (__lshrdi3_v_glibc20): Likewise.
38739         (__cmpdi2_v_glibc20): Likewise.
38740         (__ucmpdi2_v_glibc20): Likewise.
38741         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38742         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38743         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38744         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38745         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38746         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38748 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38750         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38751         old GNU extension [0] syntax.
38752         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38753         alloca rather than an array member with variable length.
38754         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38755         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38756         (parse_opt): ... here.  Likewise use alloca there.
38757         Validate the -i argument before checking for rootness.
38758         (send_shutdown): New function, broken out of ...
38759         (parse_opt): ... here.
38761 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38763         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38764         macro to get at the _rt_local_ro field.
38765         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38766         ([PIC] case) or _dl_hwcap ([!PIC] case).
38767         * sysdeps/arm/setjmp.S: Likewise.
38769         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38770         * sysdeps/arm/configure.ac: New check to define it.
38771         * sysdeps/arm/configure: Regenerated.
38772         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38773         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38774         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38775         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38776         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38777         Use move/movt pair instead of a load.
38778         (LDST_GLOBAL): Macro removed.
38779         (LDR_GLOBAL): New macro replaces it.
38780         (LDR_HIDDEN): New macro.
38781         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38782         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38784         * setjmp/tst-setjmp-static.c: New file.
38785         * setjmp/Makefile (tests): Add it.
38786         (tests-static): New variable.
38788 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38790         [BZ #17485]
38791         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38793 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38795         [BZ #14132]
38796         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38798 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38800         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38802 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38804         * io/fts.c (dirent_not_directory): New function.
38805         (fts_build): Call it.
38807 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38809         * nptl/version.c (__nptl_main): Use normal __write rather than
38810         INTERNAL_SYSCALL.
38811         (banner): Update copyright years.
38813         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38814         gettimeofday.
38815         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38816         * nptl/pthread_cond_timedwait.c: Likewise.
38817         * nptl/pthread_mutex_timedlock.c: Likewise.
38818         * nptl/sem_timedwait.c: Likewise.
38820         * sysdeps/nptl/bits/libc-lock.h
38821         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38822         (__libc_lock_init_recursive): Return void, not 0.
38823         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38824         (__libc_rwlock_init): Likewise.
38825         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38827 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38829         [BZ #15215]
38830         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38831         (__pthread_once_slow): ... here.
38832         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38833         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38835 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38837         [BZ #15215]
38838         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38839         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38840         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38841         * nptl/pthread_once.c (__pthread_once): Likewise.
38842         Update comments.
38844 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38846         [BZ #14138]
38847         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38848         name.
38849         (writev): Use __libc_writev as strong name.
38850         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38851         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38853 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38855         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38857         * sysdeps/i386/nptl/tls.h
38858         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38859         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38860         New macros.
38861         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38862         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38863         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38864         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38865         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38866         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38868         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38869         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38870         on [__NR_futex].
38871         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38872         broken out of ...
38873         (__pthread_mutex_init): ... here.  Call it.
38874         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38875         Conditionalize PI cases on [__NR_futex].
38876         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38877         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38878         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38880         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38881         conditional on [SIGSETXID].
38882         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38883         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38884         is defined.  Likewise for SIGSETXID.
38885         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38886         Conditionalize definitions on [SIGSETXID].
38887         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38888         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38889         unblocking on [SIGCANCEL].
38891         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38892         [__NR_set_robust_list].
38894 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38896         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38897         (do_compare): Likewise.
38899 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38901         [BZ #15884]
38902         * string/strcoll_l.c: Don't include stdio.h.
38903         (coll_seq): Remove members idxarr and rulearr.
38904         (get_next_seq_cached): Remove function.
38905         (get_next_seq): Likewise.
38906         (get_next_seq_nocache): Rename to get_next_seq.
38907         (do_compare): Remove function.
38908         (do_compare_nocache): Rename to do_compare.
38909         (STRCOLL): Remove weight and rules cache.
38911 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38913         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38914         * sysdeps/arm/sfp-machine.h: ... to here.
38915         * sysdeps/arm/Implies: Remove arm/soft-fp.
38917 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38919         * conform/data/sys/utsname.h-data (*_t): Allow.
38920         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38921         [POSIX] (WEXITED): Do not expect constant.
38922         [POSIX] (WSTOPPED): Likewise.
38923         [POSIX] (WNOHANG): Likewise.
38924         [POSIX] (WNOWAIT): Likewise.
38925         [POSIX] (siginfo_t): Do not expect type or elements.
38926         [POSIX] (pid_t): Do not expect type.
38927         [POSIX] (signal.h): Do not allow header.
38928         [POSIX] (sys/resource.h): Likewise.
38929         [POSIX] (si_*): Do not allow pattern.
38930         [POSIX] (W*): Likewise.
38931         [POSIX] (P_*): Likewise.
38932         [POSIX] (BUS_*): Likewise.
38933         [POSIX] (CLD_*): Likewise.
38934         [POSIX] (FPE_*): Likewise.
38935         [POSIX] (ILL_*): Likewise.
38936         [POSIX] (POLL_*): Likewise.
38937         [POSIX] (SEGV_*): Likewise.
38938         [POSIX] (SI_*): Likewise.
38939         [POSIX] (TRAP_*): Likewise.
38940         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38941         variable.
38943 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38945         [BZ #12926]
38946         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38947         infinite loop when __recvmsg returns 0.
38949 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38951         * CANCEL-FCT-WAIVE: Remove file.
38952         * CANCEL-FILE-WAIVE: Likewise.
38954         [BZ #14132]
38955         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38956         instead of INTVARDEF.
38957         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38958         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38959         rtld_hidden_data_def instead of INTVARDEF.
38960         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38961         * elf/dl-deps.c (expand_dst): Likewise.
38962         * elf/dl-load.c (_dl_dst_count): Likewise.
38963         (_dl_dst_substitute): Likewise.
38964         (decompose_rpath): Likewise.
38965         (_dl_init_paths): Likewise.
38966         (open_path): Likewise.
38967         (_dl_map_object): Likewise.
38968         * elf/rtld.c (dl_main): Likewise.
38969         (process_dl_audit): Likewise.
38970         (process_envvars): Likewise.
38971         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38972         Remove declaration.
38973         (__libc_enable_secure): Use rtld_hidden_proto.
38975 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38977         * elf/dl-load.c
38978         (add_path): New function broken out of _dl_rtld_di_serinfo.
38979         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38981 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38983         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38984         parentheses around macro arguments.
38985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38986         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38988         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38996         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38999         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39000         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39001         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39014         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39017         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39018         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39019         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39020         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39021         Likewise.
39022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39029         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39030         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39033         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39034         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39043         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39044         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39047         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39048         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39049         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39050         (_FP_FRAC_SRS_1): Likewise.
39051         (_FP_FRAC_CLZ_1): Likewise.
39052         (_FP_MUL_MEAT_1_imm): Likewise.
39053         (_FP_MUL_MEAT_1_wide): Likewise.
39054         (_FP_MUL_MEAT_1_hard): Likewise.
39055         (_FP_SQRT_MEAT_1): Likewise.
39056         (_FP_FRAC_ASSEMBLE_1): Likewise.
39057         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39058         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39059         (__FP_CLZ_2): Likewise.
39060         (_FP_MUL_MEAT_2_wide): Likewise.
39061         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39062         (_FP_MUL_MEAT_2_gmp): Likewise.
39063         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39064         (_FP_SQRT_MEAT_2): Likewise.
39065         (_FP_FRAC_ASSEMBLE_2): Likewise.
39066         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39067         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39068         (_FP_FRAC_CLZ_4): Likewise.
39069         (_FP_MUL_MEAT_4_wide): Likewise.
39070         (_FP_MUL_MEAT_4_gmp): Likewise.
39071         (_FP_SQRT_MEAT_4): Likewise.
39072         (_FP_FRAC_ASSEMBLE_4): Likewise.
39073         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39074         * soft-fp/op-common.h (_FP_CMP): Likewise.
39075         (_FP_CMP_EQ): Likewise.
39076         (_FP_CMP_UNORD): Likewise.
39077         (_FP_TO_INT): Likewise.
39078         (_FP_FROM_INT): Likewise.
39079         [!__FP_CLZ] (__FP_CLZ): Likewise.
39080         (_FP_DIV_HELP_imm): Likewise.
39081         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39082         Likewise.
39083         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39094         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39097         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39098         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39099         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39112         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39115         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39116         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39117         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39118         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39119         (FP_UNPACK_RAW_SP): Likewise.
39120         (FP_PACK_RAW_S): Likewise.
39121         (FP_PACK_RAW_SP): Likewise.
39122         (FP_UNPACK_S): Likewise.
39123         (FP_UNPACK_SP): Likewise.
39124         (FP_UNPACK_SEMIRAW_S): Likewise.
39125         (FP_UNPACK_SEMIRAW_SP): Likewise.
39126         (FP_PACK_S): Likewise.
39127         (FP_PACK_SP): Likewise.
39128         (FP_PACK_SEMIRAW_S): Likewise.
39129         (FP_PACK_SEMIRAW_SP): Likewise.
39130         (_FP_SQRT_MEAT_S): Likewise.
39131         (FP_CMP_S): Likewise.
39132         (FP_CMP_EQ_S): Likewise.
39133         (FP_CMP_UNORD_S): Likewise.
39134         (FP_TO_INT_S): Likewise.
39135         (FP_FROM_INT_S): Likewise.
39137         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39139         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39140         (FP_EX_INVALID_IMZ): Likewise.
39141         (FP_EX_INVALID_IMZ_FMA): Likewise.
39142         (FP_EX_INVALID_ISI): Likewise.
39143         (FP_EX_INVALID_ZDZ): Likewise.
39144         (FP_EX_INVALID_IDI): Likewise.
39145         (FP_EX_INVALID_SQRT): Likewise.
39146         (FP_EX_INVALID_CVI): Likewise.
39147         (FP_EX_INVALID_VC): Likewise.
39148         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39149         "invalid" exceptions.
39150         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39151         (_FP_ADD_INTERNAL): Likewise.
39152         (_FP_MUL): Likewise.
39153         (_FP_FMA): Likewise.
39154         (_FP_DIV): Likewise.
39155         (_FP_CMP_CHECK_NAN): Likewise.
39156         (_FP_SQRT): Likewise.
39157         (_FP_TO_INT): Likewise.
39158         (FP_EXTEND): Likewise.
39160 2014-10-09  Allan McRae  <allan@archlinux.org>
39162         * po/fr.po: Update French translation from translation project.
39164 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39166         [BZ #14132]
39167         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39168         of INTDEF.
39169         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39170         (__cxa_atexit): Use libc_hidden_proto.
39171         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39173         [BZ #14132]
39174         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39175         declaration.
39176         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39177         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39178         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39179         [!_ISOMAC] (__iswctype_internal): Likewise.
39180         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39181         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39182         alias.
39183         (fcntl): Remove __fcntl_internal alias.
39184         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39185         __connect_internal alias.
39186         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39187         Likewise.
39189         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39190         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39191         FP_DENORM_ZERO.
39192         (_FP_CHECK_FLUSH_ZERO): New macro.
39193         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39194         (_FP_CMP): Likewise.
39195         (_FP_CMP_EQ): Likewise.
39196         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39197         FP_DENORM_ZERO.
39198         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39199         (FP_TRUNC): Likewise.
39201         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39202         treated as invalid conversion, not as normal exponent.
39204         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39205         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39206         (_FP_CMP_EQ): Likewise.
39207         (_FP_CMP_UNORD): Likewise.
39208         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39209         (FP_CMP_EQ_D): Likewise.
39210         (FP_CMP_UNORD_D): Likewise.
39211         * soft-fp/extended.h (FP_CMP_E): Likewise.
39212         (FP_CMP_EQ_E): Likewise.
39213         (FP_CMP_UNORD_E): Likewise.
39214         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39215         (FP_CMP_EQ_Q): Likewise.
39216         (FP_CMP_UNORD_Q): Likewise.
39217         * soft-fp/single.h (FP_CMP_S): Likewise.
39218         (FP_CMP_EQ_S): Likewise.
39219         (FP_CMP_UNORD_S): Likewise.
39220         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39221         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39222         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39223         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39224         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39225         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39226         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39227         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39228         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39229         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39230         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39231         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39232         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39233         to FP_CMP_Q.
39234         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39235         FP_CMP_Q.
39236         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39237         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39238         FP_CMP_EQ_Q.
39239         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39240         FP_CMP_Q.
39241         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39242         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39243         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39244         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39245         FP_CMP_EQ_Q.
39246         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39247         FP_CMP_Q.
39248         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39249         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39250         FP_CMP_EQ_Q.
39251         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39252         FP_CMP_Q.
39253         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39254         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39255         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39256         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39257         FP_CMP_EQ_Q.
39259         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39260         a subnormal result, set the underflow exception if trapping on
39261         underflow is enabled.
39262         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39263         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39264         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39265         redefine to 0.
39266         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39267         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39268         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39269         * soft-fp/extendxftf2.c (__extendxftf2): Use
39270         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39272         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39273         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39274         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39275         FP_HANDLE_EXCEPTIONS.
39276         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39277         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39278         FP_HANDLE_EXCEPTIONS.
39279         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39280         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39281         FP_HANDLE_EXCEPTIONS.
39282         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39283         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39284         FP_HANDLE_EXCEPTIONS.
39286 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39288         [BZ #14132]
39289         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39290         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39291         use INTUSE.
39292         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39293         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39294         Remove alias.
39295         (__adjtimex): Define using libc_hidden_ver.
39296         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39297         Remove declaration.
39298         (ntp_gettime): Call __adjtimex directly.
39299         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39300         Remove declaration.
39301         (ntp_gettimex): Call __adjtimex directly.
39302         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39303         __adjtimex_internal alias.
39305 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39307         [BZ #17460]
39308         * nscd/nscd.c (more_help): Rewrite list of tables collection
39309         using xstrdup and asprintf.
39311         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39313 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39314             Roland McGrath  <roland@hack.frob.com>
39316         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39317         (do_lookup_unique): ... local function 'enter' here; update callers.
39319 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39321         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39322         compat_symbol calls on [SHARED].
39323         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39324         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39325         Remove.
39326         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39327         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39328         (oldsetrlimit): Remove.
39329         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39331         (lchown): New syscall entry.
39332         (oldsetrlimit): Remove.
39333         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39334         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39335         (oldsetrlimit): Remove.
39336         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39338         [BZ #14138]
39339         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39340         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39341         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39342         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39343         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39344         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39345         (fchown): Likewise.
39346         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39347         (fchown): Likewise.
39348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39349         Likewise.
39351 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39353         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39354         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39355         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39356         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39357         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39358         Likewise.
39359         (__old_sem_post): Likewise.
39361 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39363         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39364         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39365         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39366         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39367         Use INLINE_VSYSCALL macro.
39368         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39369         __vdso_clock_gettime.
39370         * sysdeps/unix/sysv/linux/tile/init-first.c
39371         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39372         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39373         __vdso_clock_gettime.
39375         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39376         to set up frame more cleanly.
39378         * sysdeps/tile/memcmp.c: New file.
39380         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39382         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39383         * sysdeps/tile/tilegx/strcasestr.c: New file.
39384         * sysdeps/tile/tilegx/strnlen.c: New file.
39385         * sysdeps/tile/tilegx/strstr.c: New file.
39387         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39389 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39391         * nptl/tst-setuid3.c: Write errors to stdout.
39393 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39395         * elf/dl-deps.c
39396         (preload): New functions broken out of _dl_map_object_deps.
39397         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39399 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39401         [BZ #14138]
39402         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39403         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39405 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39407         * sysdeps/mips/strcmp.S: New.
39409 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39411         [BZ #14138]
39412         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39413         (linkat): Likewise.
39414         (mkdirat): Likewise.
39415         (readlinkat): Likewise.
39416         (renameat): Likewise.
39417         (symlinkat): Likewise.
39418         (unlinkat): Likewise.
39419         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39420         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39421         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39422         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39423         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39424         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39425         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39427 2014-09-30  Will Newton  <will.newton@linaro.org>
39429         * math/math.h: Define long double math functions if
39430         _LIBC_TEST is defined.
39431         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39433         * localedata/Makefile: Move assignment to tests-special
39434         into an ifdef testing run-built-tests.
39435         * timezone/Makefile: Likewise.
39437 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39439         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39440         with $(BASH) not $(SHELL).
39442 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39443             Matthew LeGendre  <legendre1@llnl.gov>
39445         [BZ #17411]
39446         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39447         l_reloc_result.
39449 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39451         * stdio-common/printf_fp.c
39452         (hack_digit): New function, broken out of ...
39453         (__printf_fp): ... local function here.  Update call sites.
39454         hack_digit now takes an additional parameter that is a pointer
39455         to a struct of the referenced locals.  Those locals moved inside
39456         the struct and references updated.
39458 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39460         * aclocal.m4: Require autoconf 2.69.
39461         * configure: Regenerated.
39462         * sysdeps/aarch64/configure: Likewise.
39463         * sysdeps/alpha/configure: Likewise.
39464         * sysdeps/arm/armv7/configure: Likewise.
39465         * sysdeps/arm/configure: Likewise.
39466         * sysdeps/ia64/configure: Likewise.
39467         * sysdeps/mach/configure: Likewise.
39468         * sysdeps/mips/configure: Likewise.
39469         * sysdeps/s390/configure: Likewise.
39470         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39473         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39474         file.
39475         * sysdeps/ia64/configure.ac: Likewise.
39477 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39480         specify symbol version for ld.so.  Do not include entry for
39481         libpthread.
39482         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39483         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39484         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39486         [BZ #14171]
39487         * Makeconfig [$(build-shared) = yes]
39488         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39489         makefiles.
39490         [$(build-shared) = yes && $(soversions.mk-done) = t]
39491         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39492         [$(build-shared) = yes && $(soversions.mk-done) = t]
39493         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39494         to Makerules.
39495         [$(build-shared) = yes && $(soversions.mk-done) = t]
39496         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39497         here.
39498         [$(build-shared) = yes && $(soversions.mk-done) = t]
39499         (common-generated): Don't append gnu/lib-names.h and
39500         gnu/lib-names.stmp here.
39501         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39502         (lib-names-h-abi): New variable.
39503         [$(build-shared) = yes && $(soversions.mk-done) = t]
39504         (lib-names-stmp-abi): Likewise.
39505         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39506         abi-variants] (before-compile): Append
39507         $(common-objpfx)$(lib-names-h-abi).
39508         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39509         abi-variants] (common-generated): Append gnu/lib-names.h.
39510         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39511         abi-variants] (install-others-nosubdir): Depend on
39512         $(inst_includedir)/$(lib-names-h-abi).
39513         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39514         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39515         [$(build-shared) = yes && $(soversions.mk-done) = t]
39516         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39517         [$(build-shared) = yes && $(soversions.mk-done) = t]
39518         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39519         [$(build-shared) = yes && $(soversions.mk-done) = t]
39520         (common-generated): Append $(lib-names-h-abi) and
39521         $(lib-names-stmp-abi).
39522         * scripts/lib-names.awk: Do not handle multi being set.
39523         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39524         Remove variable.
39525         (abi-lp64_be-ld-soname): Likewise.
39526         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39527         Likewise.
39528         (abi-hard-ld-soname): Likewise.
39529         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39530         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39531         Remove variable.
39532         (abi-o32_hard-ld-soname): Likewise.
39533         (abi-o32_soft_2008-ld-soname): Likewise.
39534         (abi-o32_hard_2008-ld-soname): Likewise.
39535         (abi-n32_soft-ld-soname): Likewise.
39536         (abi-n32_hard-ld-soname): Likewise.
39537         (abi-n32_soft_2008-ld-soname): Likewise.
39538         (abi-n32_hard_2008-ld-soname): Likewise.
39539         (abi-n64_soft-ld-soname): Likewise.
39540         (abi-n64_hard-ld-soname): Likewise.
39541         (abi-n64_soft_2008-ld-soname): Likewise.
39542         (abi-n64_hard_2008-ld-soname): Likewise.
39543         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39544         Likewise.
39545         (abi-64-v2-ld-soname): Likewise.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39547         ld.so entries.
39548         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39549         variable.
39550         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39551         entry.
39552         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39553         variable.
39554         (abi-64-ld-soname): Likewise.
39555         (abi-x32-ld-soname): Likewise.
39556         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39557         entry.
39558         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39560 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39562         [BZ #14138]
39563         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39564         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39565         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39566         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39567         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39568         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39569         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39570         syscall entry for GLIBC_2.2 symbol version.
39571         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39572         Likewise.
39573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39574         (setrlimit): Likewise.
39575         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39576         Likewise.
39578 2014-09-23  Will Newton  <will.newton@linaro.org>
39580         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39581         _LINUX_ARM_SYSDEP_H include guard too.
39582         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39583         define.
39585 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39587         * sysdeps/unix/sysv/linux/eventfd.c:
39588         Make first argument unsigned.
39589         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39590         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39592 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39594         [BZ #16852]
39595         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39596         * socket/sys/socket.h: Likewise.
39597         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39599 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39601         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39603 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39605         * time/tst-ftime.c: New test.
39606         * time/Makefile (tests): Add tst-ftime.
39608 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39610         * soft-fp/extended.h: Fix comment formatting.
39611         * soft-fp/op-1.h: Likewise.
39612         * soft-fp/op-2.h: Likewise.
39613         * soft-fp/op-4.h: Likewise.
39614         * soft-fp/op-8.h: Likewise.
39615         * soft-fp/op-common.h: Likewise.
39616         * soft-fp/soft-fp.h: Likewise.
39618         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39620 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39622         [BZ #6652]
39623         * Makeconfig (soversions-default-setname): Remove variable.
39624         ($(common-objpfx)soversions.i): Don't pass default_setname to
39625         soversions.awk.
39626         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39627         oldest_abi to abi-versions.awk.
39628         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39629         * config.make.in (oldest-abi): Remove variable.
39630         * configure.ac (--enable-oldest-abi): Remove configure option.
39631         * configure: Regenerated.
39632         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39633         text.
39634         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39635         * scripts/soversions.awk: Do not handle default_setname variable.
39636         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39637         variable.
39638         * sysdeps/mach/hurd/configure: Regenerated.
39639         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39640         variable.
39641         * sysdeps/unix/sysv/linux/configure: Regenerated.
39643 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39645         * elf/Makefile (CFLAGS-interp.c): Remove.
39646         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39647         path string.
39648         * elf/interp.c: Include generated runtime-linker.h
39650         * Makerules (lib%.so): Don't include $(+interp) in
39651         prerequisites.
39652         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39653         * dlfcn/eval.c: Remove file.
39655         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39656         macros.
39658         [BZ #17266]
39659         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39660         4.2 and newer.
39662         [BZ #17370]
39663         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39665 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39666             Jakub Jelinek  <jakub@redhat.com>
39668         [BZ #17266]
39669         * libio/stdio.h: Check definition of __fortify_function
39670         instead of __extern_always_inline to include bits/stdio2.h.
39671         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39672         check if __extern_always_inline is defined.
39673         [__USE_MISC || __USE_XOPEN]: Likewise.
39674         [__USE_ISOC99] Likewise.
39675         * misc/sys/cdefs.h (__fortify_function): Define only if
39676         __extern_always_inline is defined.
39677         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39678         __extern_always_inline and __extern_inline only for g++-4.3
39679         and newer or a compatible gcc.
39681 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39683         [BZ #17371]
39684         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39685         last change to handle zero prefix length.
39687 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39689         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39690         _SC_REGEX_VERSION.
39692         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39693         _POSIX_RAW_SOCKETS.
39695 2014-09-13  Allan McRae  <allan@archlinux.org>
39697         * po/ru.po: Update Russian translation from translation project.
39699 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39701         * locale/programs/locale.c (show_locale_vars): Inline local function
39702         into its sole call site.  Clean up some style nits.
39703         (print_item): New function, broken out of ...
39704         (show_info): ... local function here.  Clean up style nits.
39706         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39707         out of ...
39708         (set_class_defaults): ... local function set_default here.
39709         Define set_default as a macro locally to pass constant parameters.
39710         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39711         rather than a shared local.
39713         * stdlib/rpmatch.c (try): New function, broken out of ...
39714         (rpmatch): ... local function here.  Also, prototypify definition.
39716 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39718         * scripts/soversions.awk: Do not handle configuration names.
39719         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39720         vendor and os variables to soversions.awk.
39721         * configure.ac: Do not modify gnu-* host_os.
39722         * configure: Regenerated
39723         * shlib-versions: Remove first column with configuration names.
39724         * nptl/shlib-versions: Likewise.
39725         * nptl_db/shlib-versions: Likewise.
39726         * sysdeps/hppa/shlib-versions: Likewise.
39727         * sysdeps/m68k/shlib-versions: Likewise.
39728         * sysdeps/mach/hurd/shlib-versions: Likewise.
39729         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39730         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39731         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39732         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39733         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39734         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39735         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39736         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39738         Likewise.
39739         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39740         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39741         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39742         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39743         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39744         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39745         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39746         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39749         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39751         Regenerated.
39752         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39754         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39756         * shlib-versions: Remove OS-specific entries.  Moved to files in
39757         sysdeps.
39758         * sysdeps/mach/hurd/shlib-versions: New file.
39759         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39761         * nptl/shlib-versions: Remove architecture-specific entries.
39762         Moved to files in sysdeps.
39763         * shlib-versions: Likewise.
39764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39765         file.
39766         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39767         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39768         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39769         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39771         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39772         (UDP_NO_CHECK6_RX): Likewise.
39774 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39776         * sysdeps/posix/sysconf.c (__sysconf): Spell
39777         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39779 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39781         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39782         loading.
39783         * iconv/Versions (__gconv_transliterate): Export for use from
39784         gconv modules.
39785         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39786         (struct __gconv_trans_data, __gconv_trans_fct,
39787         __gconv_trans_context_fct, __gconv_trans_query_fct,
39788         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39789         definitions.
39790         (struct __gconv_step_data): Remove __trans member.
39791         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39792         longer hidden.  Remove unused trans_data argument.
39793         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39794         (__gconv_translit_find): Remove declaration.
39795         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39796         prototype.
39797         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39798         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39799         trans_data argument.  Add hidden definition.
39800         (__gconv_translit_find): Remove.
39801         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39802         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39803         * iconv/skeleton.c: Remove transliteration initialization.
39804         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39805         __gconv_step_data initialization.
39806         * libio/iofwide.c (__libio_translit_): Remove.
39807         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39808         * wcsmbs/btowc.c (__btowc): Likewise.
39809         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39810         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39811         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39812         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39813         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39814         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39815         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39816         * wcsmbs/wctob.c (wctob): Likewise.
39818 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39820         [BZ #16194]
39821         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39822         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39823         register usage.
39824         * sysdeps/x86/Makefile: Adjust.
39826 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39827             Roland McGrath  <roland@hack.frob.com>
39829         * locale/weight.h: Add include guard.
39830         (findidx): Make static rather than auto; take new parameters
39831         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39832         * locale/weightwc.h: Likewise.
39833         * posix/fnmatch_loop.c
39834         (FCT): Change type of EXTRA from int32_t to wint_t.
39835         Don't include either header inside the function.
39836         Call FINDIDX rather than findidx, and pass new arguments.
39837         #undef FINDIDX at the end of the file.
39838         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39839         FINDIDX before including fnmatch_loop.c for the non-wide version.
39840         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39841         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39842         for the wide version.
39843         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39844         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39845         Pass new arguments to findidx.
39846         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39847         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39848         Don't #include it inside the function.  Pass new arguments to findidx.
39849         * posix/regex_internal.h
39850         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39851         (re_string_elem_size_at): Don't #include it inside the function.
39852         Pass new arguments to findidx.
39853         * string/strcoll_l.c: #include WEIGHT_H at top level.
39854         (get_next_seq): Don't #include it inside the function.
39855         Pass new arguments to findidx.
39856         (get_next_seq_nocache): Likewise.
39857         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39858         (STRXFRM): Don't #include it inside the function.
39859         Pass new arguments to findidx.
39861 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39863         [BZ #17344]
39864         * malloc/malloc.c (unlink): Turn asserts into a call to
39865         malloc_printerr.
39867 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39869         [BZ #17370]
39870         * libio/wfileops (do_ftell_wide): Free OUT.
39872 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39876 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39878         [BZ #17363]
39879         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39880         group if the current group is empty.
39882 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39884         * benchtests/bench-memset.c (test_main): Add more test from size
39885         from 32 to 512 bytes.
39886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39887         Add POWER8 memset object.
39888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39889         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39890         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39891         implementation.
39892         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39893         Likewise.
39894         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39895         multiarch POWER8 memset optimization.
39896         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39897         POWER8 memset optimization.
39899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39900         Remove bzero multiarch objects.
39901         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39902         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39903         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39904         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39905         Remove define.
39906         [__bzero]: Redefine to specific name.
39907         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39908         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39909         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39910         define.
39911         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39912         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39914 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39916         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39917         warnings into errors.
39919         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39920         __cxa_thread_atexit_impl prototype.
39922 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39924         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39925         Fix capitalization of error message.
39927 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39929         * sysdeps/mips/preconfigure: Modify ABI tests.
39931 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39933         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39935 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39936             Carlos O'Donell  <carlos@systemhalted.org>
39938         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39939         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39940         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39941         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39942         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39943         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39944         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39945         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39946         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39947         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39949         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39951         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39953         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39954         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39955         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39956         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39957         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39958         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39959         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39960         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39961         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39962         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39963         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39964         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39965         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39966         Deconditionalize the code that was previously under [RESET_PID].
39967         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39968         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39969         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39970         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39971         include sysdep.h.
39973 2014-09-08  Allan McRae  <allan@archlinux.org>
39975         * version.h (RELEASE): Set to "development".
39976         (VERSION): Set to "2.20.90"
39978 2014-09-07  Allan McRae  <allan@archlinux.org
39980         * version.h (RELEASE): Set to "stable".
39981         (VERSION): Set to "2.20"
39982         * include/features.h (__GLIBC_MINOR__): Set to 20.
39984         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39985         Liebler.
39987         * po/ko.po: Update Korean translation from translation project.
39989 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39991         [BZ #17354]
39992         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39993         macro for handling signed relocations.
39995 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39997         [BZ #17325]
39998         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39999         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40000         assert.
40001         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40002         * iconvdata/ibm935.c (BODY): Likewise.
40003         * iconvdata/ibm937.c (BODY): Likewise.
40004         * iconvdata/ibm939.c (BODY): Likewise.
40005         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40006         assert.
40007         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40008         script.
40009         * iconvdata/run-iconv-test.sh: New test loop for checking for
40010         decoder crashers.
40012 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40014         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40015         libm_hidden_ver.
40017 2014-09-01  Allan McRae  <allan@archlinux.org>
40019         * po/eo.po: Update Esperanto translation from translation project.
40021         * po/ca.po: Update Catalan translation from translation project.
40023 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40025         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40026         __proc_dostop call.
40028 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40030         [BZ #17319]
40031         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40032         to call set_thread_area instead of hand written asm.
40033         (__NR_set_thread_area): Removed define.
40034         (TLS_FLAG_WRITABLE): Likewise.
40035         (__ASSUME_SET_THREAD_AREA): Remove check.
40036         (TLS_EBX_ARG): Remove define.
40037         (TLS_LOAD_EBX): Likewise.
40039 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40041         Simplify atomicity of socket creation in bind.
40043         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40044         looking up the name after linking the file.
40046 2014-08-27  Allan McRae  <allan@archlinux.org>
40048         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40050 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40052         [BZ #17187]
40053         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40054         trans_compare, open_translit, __gconv_translit_find):
40055         Remove module loading code.
40057 2014-08-26  Allan McRae  <allan@archlinux.org>
40059         * po/vi.po: Update Vietnamese translation from translation project.
40061         * po/uk.po: Update Ukrainian translation from translation project.
40063         * po/fr.po: Update French translation from translation project.
40065         * po/ru.po: Update Russian translation from translation project.
40067         * po/pl.po: Update Polish translation from translation project.
40069         * po/cs.po: Update Czech translation from translation project.
40071         * po/de.po: Update German translation from translation project.
40073         * po/bg.po: Update Bulgarian translation from translation project.
40075         * po/sv.po: Update Sweedish translation from translation project.
40077         * po/nl.po: Update Dutch translation from translation project.
40079         * po/es.po: Update Spanish translation from translation project.
40081 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40083         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40085         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40086         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40087         (CPPFLAGS-iconvconfig): Likewise.
40088         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40090         * include/libc-symbols.h: Remove unnecessary check for
40091         NOT_IN_libc.
40092         * nptl/pthreadP.h: Likewise.
40093         * sysdeps/aarch64/setjmp.S: Likewise.
40094         * sysdeps/alpha/setjmp.S: Likewise.
40095         * sysdeps/arm/sysdep.h: Likewise.
40096         * sysdeps/i386/setjmp.S: Likewise.
40097         * sysdeps/m68k/setjmp.c: Likewise.
40098         * sysdeps/posix/getcwd.c: Likewise.
40099         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40100         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40101         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40102         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40103         * sysdeps/sh/sh3/setjmp.S: Likewise.
40104         * sysdeps/sh/sh4/setjmp.S: Likewise.
40105         * sysdeps/unix/alpha/sysdep.h: Likewise.
40106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40108         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40109         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40114         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40117         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40119         * sysdeps/x86_64/setjmp.S: Likewise.
40121 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40123         [BZ #17263]
40124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40125         <stdint.h>.
40126         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40127         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40129 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40131         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40133         [BZ #17262]
40134         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40135         and __x86_64__ when disabling x87 inline functions.
40137 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40139         [BZ #17259]
40140         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40141         asm statement with __cpuid_count.
40143 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40145         * configure.ac: Change __ehdr_start code to dereference the struct.
40146         Run readelf on the output to look for relocations.
40147         * configure: Regenerated.
40149 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40151         [BZ #17261]
40152         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40153         value to 0.
40154         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40156 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40158         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40160 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40162         [BZ #16892]
40163         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40164         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40166 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40168         * malloc/malloc.c: Fix typo in comment.
40170 2014-08-09  Allan McRae  <allan@archlinux.org>
40172         * Regenerate libc.po.
40174 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40176         * intl/tst-gettext2.sh: Check every lang file for creation.
40178 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40180         * sysdeps/aarch64/fpu/math_private.h
40181         (libc_feholdsetround_noex_aarch64_ctx): New function.
40183 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40185         * sysdeps/arm/armv6/strcpy.S (strcpy):
40186         Fix performance issue in misaligned cases.
40188 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40190         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40191         Move definition from termios.h.
40192         (struct termio): Likewise.
40193         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40194         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40195         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40196         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40197         Likewise.
40198         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40199         Move definition to ioctl-types.h
40200         (struct termio): Likewise.
40201         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40202         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40203         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40204         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40205         Likewise.
40207 2014-08-05  Richard Henderson  <rth@redhat.com>
40209         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40210         exceptions.
40211         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40212         Add fraiseexcpt.
40213         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40214         Use __feraiseexcept.
40215         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40216         Protect libm symbols with IS_IN_libm.
40218         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40220 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40222         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40224 2014-08-04  Will Newton  <will.newton@linaro.org>
40226         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40227         file.
40229 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40231         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40232         variants for each function.
40234 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40236         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40237         appended ...
40238         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40239         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40240         appended ...
40241         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40242         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40243         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40244         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40245         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40246         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40247         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40248         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40249         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40250         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40251         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40252         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40253         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40254         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40255         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40256         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40257         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40258         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40259         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40260         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40261         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40262         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40263         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40264         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40265         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40266         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40267         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40268         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40269         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40270         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40271         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40272         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40273         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40274         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40275         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40276         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40277         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40278         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40279         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40280         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40281         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40282         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40283         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40284         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40285         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40287         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40289         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40291         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40292         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40293         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40294         Update #include.
40295         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40296         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40298 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40300         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40301         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40302         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40303         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40304         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40305         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40307 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40309         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40310         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40311         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40312         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40314 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40316         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40317         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40318         (__libc_vfork): Define function under this name.
40319         (__vfork): Define as an alias.
40320         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40321         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40323 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40325         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40326         that was previously under [RESET_PID].
40327         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40329 2014-08-04  Andreas Schwab  <schwab@suse.de>
40331         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40333 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40335         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40336         (main): Likewise.
40338 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40340         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40342 2014-08-01  Richard Henderon  <rth@redhat.com>
40344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40345         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40346         typo in exact zero test.
40347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40348         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40349         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40351 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40353         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40354         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40355         * sysdeps/arm/sysdep.h: ... here.
40356         [!__ASSEMBLER__]: Include <stdint.h>.
40358 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40360         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40361         (HAVE_WCTYPE_H): Likewise.
40362         (HAVE_ISWCTYPE): Likewise.
40363         (ENABLE_NLS): Likewise.
40364         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40365         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40367         * posix/regex_internal.c: Check if DEBUG is defined and is
40368         set.
40370         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40371         (HAVE_MBSRTOWCS): Likewise.
40372         * posix/fnmatch.c: Include string.h unconditionally.
40374 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40376         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40377         reversal.
40379 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40381         * sysdeps/generic/safe-fatal.h: New file.
40382         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40383         * nptl/forward.c: Include it.
40384         (__pthread_unwind): Use __safe_fatal as default action, rather
40385         than a bogus use of INTERNAL_SYSCALL that could never work.
40387         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40388         * configure.ac (libc_cv_builtin_trap): New test.
40389         * configure: Regenerated.
40390         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40391         (ABORT_INSTRUCTION): Define using __builtin_trap.
40393         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40394         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40395         * sysdeps/nptl/nptl-signals.h: New file.
40396         * nptl/pthreadP.h: Include <nptl-signals.h>.
40398 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40400         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40401         (ONE_DIRECTION): Define.
40402         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40403         (ONE_DIRECTION): Define.
40404         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40405         (ONE_DIRECTION): Define.
40407 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40409         * sysdeps/s390/Makefile: Delete file.
40410         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40411         * sysdeps/s390/__longjmp.c: Delete file.
40412         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40413         Remove fields __flags and __reserved.
40414         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40415         and add versioning.
40416         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40417         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40418         * sysdeps/s390/rtld-setjmp.S: Likewise.
40419         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40420         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40421         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40422         * sysdeps/s390/s390-32/setjmp.S: ... here.
40423         Add versioning.
40424         (__sigsetjmp): Remove setting __flags field.
40425         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40426         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40427         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40428         * sysdeps/s390/s390-64/setjmp.S: ... here.
40429         Add versioning.
40430         (__sigsetjmp): Remove setting __flags field.
40431         * sysdeps/s390/setjmp.S: Delete file.
40432         * sysdeps/s390/sigjmp.c: Likewise.
40433         * sysdeps/s390/v1-longjmp.c: Likewise.
40434         * sysdeps/s390/v1-setjmp.h: Likewise.
40435         * sysdeps/s390/v1-sigjmp.c: Likewise.
40436         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40437         Remove v1-longjmp_chk.
40438         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40439         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40440         Include debug/longjmp_chk.c and add versioning.
40441         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40442         Include nptl/pt-longjmp.c and add versioning.
40443         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40444         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40445         Include __longjmp.c.
40446         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40447         Move to ...
40448         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40449         (__getcontext): Remove setting __flags field.
40450         Add versioning.
40451         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40452         Don't restore upper high grps.
40453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40454         Likewise.
40455         (__swapcontext): Remove setting uc_flags field.
40456         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40457         Delete file.
40458         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40459         Include __longjmp.c.
40460         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40461         Move to ...
40462         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40463         (__getcontext): Remove setting __flags field.
40464         Add versioning.
40465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40466         (__swapcontext): Remove setting uc_flags field.
40467         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40468         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40469         Remove fields uc_high_gprs and __reserved.
40470         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40471         New file with reverted content.
40472         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40473         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40474         Regenerated.
40475         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40476         Regenerated.
40478 2014-07-31  Andreas Schwab  <schwab@suse.de>
40480         * config.h.in (HAVE_IFUNC): Define to 0.
40481         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40482         definedness.
40484 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40487         memmove-avx-unaligned, memcpy-avx-unaligned and
40488         mempcpy-avx-unaligned.
40489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40490         Add tests for AVX memcpy functions.
40491         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40492         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40493         memcpy_chk.
40494         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40495         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40496         memmove_chk.
40497         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40499         mempcpy_chk.
40500         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40501         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40502         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40504 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40506         [BZ #17213]
40507         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40508         powerpc64le.
40510 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40512         [BZ #16839]
40513         * manual/llio.texi: Add section about open file description locks.
40514         * manual/examples/ofdlocks.c: Example of open file description
40515         lock usage.
40516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40517         F_OFD_SETLK, and F_OFD_SETLKW.
40519 2014-07-23  Allan McRae  <allan@archlinux.org>
40521         * po/es.po: Update Spanish translation from translation project.
40523 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40525         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40527 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40529         [BZ #17078]
40530         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40531         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40532         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40534 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40536         [BZ #17088]
40537         * math/fesetenv.c (__fesetenv)
40538         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40539         * math/feupdateenv.c (__feupdateenv)
40540         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40542         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40543         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40544         (__ASSUME_SOCKETCALL): Do not define.
40546         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40547         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40548         (__ASSUME_SOCKETCALL): Do not define.
40549         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40550         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40551         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40552         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40553         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40554         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40555         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40556         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40558         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40559         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40560         (__ASSUME_SOCKETCALL): Do not define.
40561         (__ASSUME_IPC64): Define unconditionally.
40562         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40563         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40564         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40565         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40566         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40568         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40569         Likewise.
40571         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40572         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40573         (__ASSUME_SOCKETCALL): Do not define.
40574         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40575         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40576         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40577         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40578         (__ASSUME_REQUEUE_PI): Define unconditionally.
40579         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40580         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40581         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40582         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40583         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40584         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40586         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40587         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40588         (__ASSUME_SOCKETCALL): Do not define.
40589         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40590         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40591         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40592         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40594         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40596         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40597         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40598         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40599         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40601         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40603         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40604         (__ASSUME_GETCPU_SYSCALL): Likewise.
40606         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40607         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40608         cases for individual architectures.
40609         * sysdeps/gnu/configure: Regenerated.
40610         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40611         LIBC_SLIBDIR_RTLDDIR.
40612         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40613         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40614         LIBC_SLIBDIR_RTLDDIR.
40615         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40617         LIBC_SLIBDIR_RTLDDIR.
40618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40619         Regenerated.
40620         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40621         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40622         file.
40623         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40624         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40625         file.
40626         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40627         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40628         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40629         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40631         * sysdeps/aarch64/shlib-versions: Move to ...
40632         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40633         * sysdeps/alpha/shlib-versions: Move to ...
40634         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40635         * sysdeps/arm/shlib-versions: Move to ...
40636         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40637         * sysdeps/hppa/shlib-versions: Move all contents except for
40638         libgcc_s entry to ...
40639         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40640         entry from ...
40641         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40642         * sysdeps/ia64/shlib-versions: Move to ...
40643         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40644         entry from ...
40645         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40646         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40647         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40648         * sysdeps/microblaze/shlib-versions: Move to ...
40649         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40650         * sysdeps/mips/shlib-versions: Move to ...
40651         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40652         entry from ...
40653         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40654         * sysdeps/tile/shlib-versions: Move to ...
40655         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40656         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40657         from ...
40658         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40659         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40660         entry from ...
40661         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40663 2014-07-17  Will Newton  <will.newton@linaro.org>
40665         * sysdeps/arm/bits/atomic.h
40666         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40667         (__arch_compare_and_exchange_bool_16_int): Likewise.
40668         (__arch_compare_and_exchange_bool_64_int): Likewise.
40670         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40671         into an #else block.
40673 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40675         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40676         just Linux configurations.  Test empirically that the compiler sets
40677         __ARM_EABI__, rather than using the tuple to decide.
40678         * sysdeps/arm/preconfigure: Regenerated.
40679         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40680         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40681         contents appended ...
40682         * sysdeps/arm/configure.ac: ... here.
40683         * sysdeps/arm/configure: Regenerated.
40685 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40687         * nptl/pthread_kill.c: New file.
40688         * nptl/pthread_sigmask.c: New file.
40689         * nptl/pthread_sigqueue.c: New file.
40691         * sysdeps/nptl/lowlevellock.h: New file.
40692         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40693         * sysdeps/nptl/lowlevellock-futex.h: New file.
40695         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40696         Remove dead declarations.
40698 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40700         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40701         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40702         config-cflags-avx2.
40703         * sysdeps/x86_64/configure.ac: Likewise.
40704         * sysdeps/i386/configure: Regenerated.
40705         * sysdeps/x86_64/configure: Likewise.
40706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40707         memset-avx2 only if config-cflags-avx2 is yes.
40708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40709         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40710         defined.
40711         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40712         only if HAVE_AVX2_SUPPORT is defined.
40713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40715 2014-07-14  Alan Modra  <amodra@gmail.com>
40717         [BZ #17153]
40718         * elf/elf.h (DT_PPC64_NUM): Correct value.
40719         * NEWS: Add to fixed bug list.
40721 2014-07-13  Jim Meyering  <meyering@fb.com>
40723         [BZ 17150]
40724         regex: don't deref NULL upon heap allocation failure
40725         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40726         failure in one more place.
40727         To trigger the segfault, configure grep -with-included-regex,
40728         build it, and run these commands:
40729         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40731 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40733         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40735 2014-07-11  Richard Henderson  <rth@redhat.com>
40737         * sysdeps/aarch64/libm-test-ulps: Update.
40739 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40741         [BZ #17135]
40742         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40743         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40744         (__nptl_setxid): Initialize error member.  Call
40745         __nptl_setxid_error.
40746         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40747         * nptl/descr.h (struct xid_command): Add error member.
40748         * nptl/tst-setuid3.c: New file.
40749         * nptl/Makefile (tests): Add it.
40751 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40753         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40754         New define.
40755         (__lll_trylock): Use __lll_base_trylock.
40756         (__lll_cond_trylock): Likewise.
40758 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40760         * nptl/pthread_create.c (start_thread): Use atomic_or and
40761         lll_futex_wake directly rather than lll_robust_dead.
40762         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40763         (lll_robust_dead): Macro removed.
40764         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40765         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40766         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40767         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40769         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40770         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40771         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40772         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40773         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40774         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40775         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40776         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40777         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40780         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40781         Use atomic_compare_and_exchange_val_acq directly rather than
40782         lll_robust_trylock.
40783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40784         (__lll_robust_trylock, lll_robust_trylock): Removed.
40785         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40786         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40787         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40788         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40789         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40790         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40791         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40792         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40793         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40794         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40795         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40796         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40797         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40800 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40802         * manual/locale.texi (Locale Names): New section documenting
40803         locale name syntax.  Adjust menu and node chaining accordingly.
40804         (Choosing Locale): Reference Locale Names, Locale Categories.
40805         Mention setting LC_ALL=C.  Reflect that name syntax is now
40806         documented.
40807         (Locale Categories): New section title.  Reference Locale Names.
40808         LC_ALL is an environment variable, but not a category.
40809         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40810         description, now in Locale Name.  Reference that section.  Locale
40811         name syntax is now documented.
40813 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40815         [BZ #17137]
40816         * locale/findlocale.c (name_present, valid_locale_name): New
40817         functions.
40818         (_nl_find_locale): Use the loc_name variable to store name
40819         candidates.  Call name_present and valid_locale_name to check and
40820         validate locale names.  Return an error if the locale is invalid.
40822 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40824         * locale/setlocale.c (setlocale): Use strdup for allocating
40825         composite name copy.
40827 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40829         Sync up with gnulib.
40830         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40831         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40832         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40833         and _GL_ARG_NONNULL.
40834         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40835         [!_LIBC]: Include code for Windows and Cygwin.
40836         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40837         Include prototype for int strerror_r.
40838         [!_LIBC] (is_open): New function.
40839         (flush_stdout): New function.
40840         (print_errno_message): Use it.
40841         (error): Likewise.
40842         (error_at_line): Likewise.
40843         (error_tail) Add function attribute macros.  Use
40844         __builtin_expect.
40846         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40848         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40850         * io/ftw.c: Include sys/param.h unconditionally.
40852         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40854         [BZ #17125]
40855         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40856         libc_freeres_ptr.
40857         (freecache): New function to free CACHE on exit.
40859         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40860         initialization.
40862 2014-07-09  David S. Miller  <davem@davemloft.net>
40864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40866         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40867         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40868         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40869         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40870         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40871         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40872         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40873         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40874         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40875         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40876         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40877         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40878         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40880 2014-07-09  Andreas Schwab  <schwab@suse.de>
40882         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40883         output.
40884         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40885         (do_test): Likewise.
40887         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40889 2014-07-09  Will Newton  <will.newton@linaro.org>
40891         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40892         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40893         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40894         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40895         * sysdeps/hppa/start.S (_start): Likewise.
40897 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40899         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40901         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40902         defined.
40904 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40906         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40907         after checking that it is non-NULL.
40909         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40911 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40913         * sysdeps/powerpc/memmove.c: Remove file.
40914         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40915         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40916         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40917         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40918         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40919         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40920         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40921         string memmove instead of removed powerpc one.
40923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40924         [weak_alias]: Fix compiler warning due trailing data.
40925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40926         [weak_alias]: Likewise.
40927         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40928         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40931         (__libc_ifunc_impl_list): Add memmove functions.
40933 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40935         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40936         Remove code.
40937         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40938         Likewise.
40939         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40940         Likewise.
40941         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40942         Likewise.
40943         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40944         Likewise.
40945         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40946         Likewise.
40947         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40948         Likewise.
40949         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40950         Likewise.
40951         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40952         Likewise.
40953         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40954         Likewise.
40955         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40956         Likewise.
40957         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40958         Likewise.
40959         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40960         Likewise.
40961         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40962         Likewise.
40963         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40964         Likewise.
40965         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40966         Likewise.
40967         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40968         Likewise.
40970 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40973         to avoid alignment traps in non-cacheable memory.
40974         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40977         multiarch objects.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40979         file: multiarch power7 memmove.
40980         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40981         multiarch default memmove.
40982         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40983         multiarch memove for powerpc32/power4.
40985         * string/bcopy.c: Use full path to include memmove.c.
40986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40987         multiarch objects.
40988         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40989         bcopy for powerpc64.
40990         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40991         bcopy for powerpc64.
40992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40993         and memmove implementations.
40994         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40995         optimized multiarch memmove for POWER7/powerpc64.
40996         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40997         default multiarch memmove for powerpc64.
40998         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40999         multiarch for powerpc64.
41000         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41001         for POWER7/powerpc64.
41002         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41003         memmove for POWER7/powerpc64.
41005         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41006         glibc default one.
41008         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41009         __ELF_NATIVE_CLASS equal to 64.
41011 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41013         * sysdeps/nptl/lowlevellock.h: File removed.
41015         * NEWS: NPTL is no longer an add-on!
41016         * nptl/internaltypes.h: Moved ...
41017         * sysdeps/nptl/internaltypes.h: ... here.
41018         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41019         * sysdeps/nptl/fork.c: Likewise.
41020         * sysdeps/nptl/gai_misc.h: Likewise.
41021         * sysdeps/nptl/librt-cancellation.c: Likewise.
41022         * sysdeps/nptl/jmp-unwind.c: Likewise.
41023         * sysdeps/nptl/setxid.h: Likewise.
41024         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41025         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41026         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41027         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41028         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41029         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41030         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41031         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41032         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41033         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41034         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41035         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41036         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41037         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41038         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41039         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41040         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41041         * nptl/Makeconfig: Moved ...
41042         * sysdeps/nptl/Makeconfig: ... here.
41043         * nptl/configure: File removed.
41044         * nptl/ANNOUNCE: File removed.
41045         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41046         * sysdeps/unix/sysv/linux/configure: Regenerated.
41048         * nptl/Makefile (routines): Add libc_pthread_init,
41049         libc_multiple_threads, register-atfork and unregister-atfork.
41050         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41051         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41052         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41053         pthread-pi-defines.sym, structsem.sym.
41054         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41055         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41056         [$(subdir) = nptl] (tests): Add tst-setgetname.
41057         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41058         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41059         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41060         [!LIBC_SIGACTION]: Remove aliases.
41061         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41062         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41063         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41064         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41065         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41066         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41068         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41069         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41070         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41071         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41072         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41073         __libc_allocate_rtsig_private.
41074         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41075         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41076         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41078         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41079         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41080         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41081         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41082         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41083         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41084         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41085         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41086         * nptl/internaltypes.h: ... here.
41087         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41088         * sysdeps/nptl/jmp-unwind.c: ... here.
41089         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41090         * nptl/libc-lowlevellock.c: ... here.
41091         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41092         * nptl/libc_multiple_threads.c: ... here.
41093         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41094         * nptl/libc_pthread_init.c: ... here.
41095         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41096         * nptl/lowlevelbarrier.sym: ... here.
41097         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41098         * nptl/lowlevelcond.sym: ... here.
41099         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41100         * nptl/lowlevellock.c: ... here.
41101         * nptl/lowlevellock.h: Moved ...
41102         * sysdeps/nptl/lowlevellock.h: ... here.
41103         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41104         * nptl/lowlevelrobustlock.c: ... here.
41105         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41106         * nptl/lowlevelrobustlock.sym: ... here.
41107         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41108         * nptl/lowlevelrwlock.sym: ... here.
41109         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41110         * nptl/pt-fork.c: ... here.
41111         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41112         * nptl/pthread-pi-defines.sym: ... here.
41113         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41114         * nptl/pthread_attr_getaffinity.c: ... here.
41115         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41116         * nptl/pthread_attr_setaffinity.c: ... here.
41117         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41118         * nptl/pthread_mutex_cond_lock.c: ... here.
41119         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41120         Update #include.
41121         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41122         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41123         * nptl/pthread_once.c: ... here, replacing old file.
41124         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41125         * nptl/pthread_yield.c: ... here.
41126         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41127         * nptl/register-atfork.c: ... here.
41128         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41129         * nptl/sem_post.c: ... here.
41130         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41131         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41132         * nptl/sem_timedwait.c: ... here.
41133         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41134         * nptl/sem_trywait.c: ... here.
41135         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41136         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41137         * nptl/sem_wait.c: ... here.
41138         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41139         * nptl/structsem.sym: ... here.
41140         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41141         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41142         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41143         * nptl/unregister-atfork.c: ... here.
41144         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41145         * nptl/unwindbuf.sym: ... here.
41146         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41147         * sysdeps/nptl/fork.c: ... here.
41148         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41149         * sysdeps/nptl/fork.h: ... here.
41150         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41151         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41152         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41153         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41154         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41155         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41156         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41157         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41158         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41159         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41160         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41161         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41162         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41163         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41164         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41165         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41166         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41167         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41168         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41169         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41170         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41171         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41172         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41173         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41174         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41175         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41176         * sysdeps/unix/sysv/linux/raise.c: ... here.
41177         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41178         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41179         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41180         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41181         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41182         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41183         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41184         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41185         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41186         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41187         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41188         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41189         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41190         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41191         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41193 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41195         * sysdeps/generic/memcopy.h: Add comment for
41196         MEMCPY_OK_FOR_FWD_MEMMOVE.
41198 2014-07-04  Will Newton  <will.newton@linaro.org>
41200         * string/memchr.c: Merge from gnulib.
41201         [_LIBC]: Remove conditionals.
41202         (__ptr_t): Remove define.
41203         (LONG_MAX_32_BITS): Likewise.
41204         (LONG_MAX): Likewise.
41205         (MEMCHR): Use ANSI prototype and optimize algorithm.
41207         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41209 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41211         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41212         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41214         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41215         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41216         in a bare environment with no <stdlib.h> installed.
41217         * sysdeps/nptl/configure: Regenerated.
41219         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41221         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41222         AC_EGREP_CPP for kernel header checks, so they only succeed if
41223         including <linux/version.h> actually works right.
41224         * sysdeps/unix/sysv/linux/configure: Regenerated.
41226         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41227         value so it's not diagnosed as unused.
41229         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41230         thing) with "ifeq ($(subdir),rt)".
41232 2014-07-03  Richard Henderson  <rth@redhat.com>
41234         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41235         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41236         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41238         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41239         (math_force_eval): New.
41241         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41242         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41244         * sysdeps/alpha/fpu/s_round.c: Remove file.
41245         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41247         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41248         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41249         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41250         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41251         (_dl_start, print_statistics): Likewise.
41252         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41253         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41255         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41256         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41257         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41258         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41259         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41260         (HP_SMALL_TIMING_AVAIL): Define.
41261         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41262         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41263         (HP_SMALL_TIMING_AVAIL): Define.
41264         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41265         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41267         * sysdeps/aarch64/hp-timing.h: New file.
41269         * sysdeps/generic/hp-timing.h: Remove dead comment.
41270         * sysdeps/generic/hp-timing-common.h: New file.
41271         * sysdeps/alpha/hp-timing.h: Include it.
41272         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41273         * sysdeps/i386/i686/hp-timing.h: Likewise.
41274         * sysdeps/ia64/hp-timing.h: Likewise.
41275         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41276         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41278         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41279         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41280         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41281         (hp_timing_t): New.
41283         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41284         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41285         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41286         * elf/rtld.c (_dl_start_final): Likewise.
41287         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41288         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41289         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41290         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41291         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41292         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41293         (HP_TIMING_DIFF_INIT): Remove.
41294         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41295         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41296         (HP_TIMING_DIFF_INIT): Remove.
41297         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41298         * sysdeps/i386/i686/hp-timing.c: Remove file.
41299         * sysdeps/x86_64/hp-timing.c: Remove file.
41300         * sysdeps/ia64/hp-timing.c: Remove file.
41301         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41302         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41303         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41304         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41306         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41307         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41308         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41309         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41310         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41311         (HP_TIMING_ACCUM): Remove.
41312         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41313         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41314         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41316         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41317         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41318         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41319         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41320         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41321         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41322         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41323         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41325         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41327 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41329         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41331 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41333         Sync up with gettext.
41334         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41335         [_MSC_VER]: Include malloc.h
41336         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41337         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41338         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41339         TEMP_FAILURE_RETRY.  Cast return of alloca.
41340         [!_LIBC] Call gl_rwlock_init.
41341         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41343 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41345         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41346         before checking its value.
41348 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41350         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41352         * debug/memcpy_chk.c: Don't include pagecopy.h.
41353         * debug/mempcpy_chk.c: Likewise.
41354         * string/memcpy.c: Likewise.
41355         * string/memmove.c: Likewise.
41356         * sysdeps/powerpc/memmove.c: Likewise.
41357         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41358         definition of PAGE_COPY_FWD_MAYBE here...
41359         * sysdeps/generic/pagecopy.h: ... from here.
41360         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41362 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41365         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41367         optimizations.
41368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41369         (__libc_ifunc_impl_list): Likewise.
41370         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41371         multiarch strcat for PPC64.
41372         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41373         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41375 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41377         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41379 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41381         * intl/loadmsgcat.c: Remove declaration of
41382         get_sysdep_segment_value.
41383         (get_sysdep_segment_value): Use ISO C style.
41384         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41385         semicolon.  Fix typo and formatting in comment.
41386         (_nl_unload_domain): Use ISO C style.
41388         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41390 2014-07-02  Will Newton  <will.newton@linaro.org>
41392         * malloc/obstack.c: Merge from gnulib master.
41393         [HAVE_CONFIG_H]: Remove conditional code.
41394         [!_LIBC]: Include config.h.
41395         [!ELIDE_CODE]: Don't include inttypes.h, include
41396         stdint.h unconditionally.
41397         (print_and_abort): Mark as _Noreturn.
41398         (_obstack_allocated_p): Mark as __attribute_pure__.
41399         (obstack_free): Rename to __obstack_free.
41400         [!__attribute__]: Remove conditional code.
41401         * malloc/obstack.h: Merge from gnulib master.
41402         [__cplusplus]: Move conditional down.
41403         [!__attribute_pure__]: Define __attribute_pure__ here
41404         if it is not already defined.
41405         (_obstack_memory_used): Mark as __attribute_pure__.
41406         [!__obstack_free]: Define as obstack_free.
41407         [__GNUC__]: Remove check for ancient NeXT gcc.
41409 2014-07-02  Will Newton  <will.newton@linaro.org>
41410             Paul Eggert  <eggert@cs.ucla.edu>
41412         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41414 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41416         * resolv/gethnamaddr.c: Add comment warning that the file is
41417         not maintained.
41419 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41421         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41422         entries.
41424         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41425         entry for aio_cancel and aio_cancel64.
41426         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41427         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41428         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41429         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41430         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41431         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41432         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41433         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41434         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41435         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41436         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41437         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41438         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41440 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41442         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41443         * nptl/pthread_mutex_lock.c: Likewise.
41444         * nptl/pthread_mutex_timedlock.c: Likewise.
41445         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41447 2014-07-01  Richard henderson  <rth@redhat.com>
41449         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41450         (__isnan, __isnanl): Remove.
41451         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41453         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41455 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41459 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41461         * resolv/nss_dns/dns-host.c (getanswer_r)
41462         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41464 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41467         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41468         undefine.
41469         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41470         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41472 2014-07-01  Roland McGrath <roland@hack.frob.com>
41474         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41475         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41477         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41478         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41480         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41481         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41482         ... here.
41483         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41484         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41486         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41487         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41488         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41489         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41491         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41492         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41493         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41494         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41495         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41496         Moved ...
41497         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41498         ... here.
41499         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41500         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41501         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41502         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41503         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41504         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41505         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41506         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41508         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41509         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41510         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41511         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41512         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41513         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41514         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41515         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41516         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41517         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41518         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41519         ... here.
41520         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41521         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41522         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41523         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41525         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41526         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41527         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41529 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41531         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41532         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41533         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41534         Add sysdep.
41536 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41540 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41542         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41543         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41547         * sysdeps/arm/libm-test-ulps: Regenerated.
41549 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41550             Roland McGrath <roland@hack.frob.com>
41552         * test-skeleton.c (signal_handler): Kill the whole process group
41553         before killing the child individually.
41554         (main): Report any failure on `setpgid'.
41556 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41558         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41559         from _TLS_H to _ARM_NPTL_TLS_H.
41560         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41561         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41563 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41565         [BZ #16539]
41566         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41567         (__expm1l): Return argument unchanged when small but not
41568         subnormal.
41570         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41571         include macro name.
41572         (_FP_UNPACK_RAW_1_P): Likewise.
41573         (_FP_PACK_RAW_1): Likewise.
41574         (_FP_PACK_RAW_1_P): Likewise.
41575         (_FP_MUL_MEAT_1_wide): Likewise.
41576         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41577         (_FP_MUL_MEAT_1_hard): Likewise.
41578         (_FP_DIV_MEAT_1_imm): Likewise.
41579         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41580         (_FP_DIV_MEAT_1_udiv): Likewise.
41581         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41582         (_FP_UNPACK_RAW_2): Likewise.
41583         (_FP_UNPACK_RAW_2_P): Likewise.
41584         (_FP_PACK_RAW_2): Likewise.
41585         (_FP_PACK_RAW_2_P): Likewise.
41586         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41587         (_FP_MUL_MEAT_2_wide): Likewise.
41588         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41589         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41590         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41591         (_FP_MUL_MEAT_2_gmp): Likewise.
41592         (_FP_DIV_MEAT_2_udiv): Likewise.
41593         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41594         (_FP_FRAC_SRL_4): Likewise.
41595         (_FP_FRAC_SRST_4): Likewise.
41596         (_FP_FRAC_SRS_4): Likewise.
41597         (_FP_UNPACK_RAW_4): Likewise.
41598         (_FP_UNPACK_RAW_4_P): Likewise.
41599         (_FP_PACK_RAW_4): Likewise.
41600         (_FP_PACK_RAW_4_P): Likewise.
41601         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41602         (_FP_MUL_MEAT_4_wide): Likewise.
41603         (_FP_MUL_MEAT_4_gmp): Likewise.
41604         (umul_ppppmnnn): Likewise.
41605         (_FP_DIV_MEAT_4_udiv): Likewise.
41606         (__FP_FRAC_ADD_4): Likewise.
41607         (__FP_FRAC_SUB_3): Likewise.
41608         (__FP_FRAC_SUB_4): Likewise.
41609         (__FP_FRAC_DEC_3): Likewise.
41610         (__FP_FRAC_DEC_4): Likewise.
41611         (__FP_FRAC_ADDI_4): Likewise.
41612         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41613         (_FP_FRAC_SRL_8): Likewise.
41614         (_FP_FRAC_SRS_8): Likewise.
41616         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41617         include macro name.
41618         (FP_UNPACK_RAW_EP): Likewise.
41619         (FP_PACK_RAW_E): Likewise.
41620         (FP_PACK_RAW_EP): Likewise.
41621         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41622         (_FP_ISSIGNAN): Likewise.
41623         (_FP_ADD_INTERNAL): Likewise.
41624         (_FP_FMA): Likewise.
41625         (_FP_CMP): Likewise.
41626         (_FP_SQRT): Likewise.
41627         (_FP_TO_INT): Likewise.
41628         (_FP_FROM_INT): Likewise.
41629         (FP_EXTEND): Likewise.
41630         (_FP_DIV_MEAT_N_loop): Likewise.
41632 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41634         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41635         throughout.
41637 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41639         [BZ #17097]
41640         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41641         result with correct sign in case of exponents that produce
41642         overflow except for X very close to 1.
41644 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41646         mktime: merge #if/#ifdef usage from glibc
41647         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41648         as that works with both Glibc's and Gnulib's style.
41649         See thread starting at Siddhesh Poyarekar's bug report at:
41650         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41652 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41654         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41655         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41656         * sysdeps/tile/tilegx/memmove.c: Remove file.
41658 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41660         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41661         abi-name definition.
41662         * scripts/soversions.awk: Do not handle or generate ABI lines.
41663         * shlib-versions: Remove ABI entries.
41664         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41665         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41667 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41670         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41671         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41672         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41674         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41676         Moved ...
41677         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41678         ... here.
41679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41680         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41682         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41684         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41686         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41688         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41690         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41691         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41692         Moved ...
41693         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41695         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41697         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41699         Moved ...
41700         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41702         Moved ...
41703         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41705         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41707         Moved ...
41708         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41710         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41712         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41714         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41716         Moved ...
41717         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41719         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41720         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41721         Moved ...
41722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41724         Moved ...
41725         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41727         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41729         Moved ...
41730         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41731         ... here.
41732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41733         Identical file removed.
41734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41735         Moved ...
41736         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41738         Identical file removed.
41739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41740         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41742         Moved ...
41743         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41745         Identical file removed.
41746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41747         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41748         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41749         Identical file removed.
41750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41751         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41753         Identical file removed.
41754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41755         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41756         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41757         Identical file removed.
41758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41759         Moved ...
41760         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41761         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41762         Identical file removed.
41763         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41764         Moved ...
41765         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41766         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41767         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41768         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41769         Identical file removed.
41770         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41771         Moved ...
41772         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41773         ... here.
41774         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41775         Identical file removed.
41776         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41777         Moved ...
41778         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41779         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41780         Identical file removed.
41781         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41782         Moved ...
41783         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41785         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41787         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41788         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41789         Moved ...
41790         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41791         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41792         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41794         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41795         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41796         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41797         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41798         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41800 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41802         [BZ #17092]
41803         * nscd/nscd.c (monitor_child): Return exit status of child
41804         instead of return value from wait syscall.
41806 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41808         * configure.ac (libc_commonpagesize): Remove variable.
41809         (libc_relro_required): Likewise.
41810         (libc_cv_z_relro): Remove configure test.
41811         * configure: Regenerated.
41812         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41813         variable.
41814         (libc_relro_required): Likewise.
41815         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41816         (libc_relro_required): Likewise.
41817         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41818         (libc_relro_required): Likewise.
41819         * sysdeps/arm/preconfigure: Regenerated.
41820         * sysdeps/ia64/preconfigure: Remove file.
41821         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41822         variable.
41823         (libc_relro_required): Likewise.
41825         [BZ #16561]
41826         [BZ #16562]
41827         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41828         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41829         recompute overflowing results in original rounding mode.
41830         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41831         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41832         recompute overflowing results in original rounding mode.
41833         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41834         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41835         recompute overflowing results in original rounding mode.
41836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41837         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41838         recompute overflowing results in original rounding mode.
41839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41840         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41841         recompute overflowing results in original rounding mode.
41842         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41843         (libc_feholdsetround_ctx): New macro.
41844         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41845         * sysdeps/i386/fpu/libm-test-ulps: Update.
41846         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41850         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41851         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41852         corresponding .cpsetup call.
41854 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41856         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41857         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41858         * sysdeps/arm/Makefile [$(subdir) = csu]
41859         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41860         (static-only-routines): Add aeabi_read_tp here.
41861         (shared-only-routines): Add libc-aeabi_read_tp here.
41862         (CFLAGS-libc-start.c): Add -fexceptions here.
41863         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41864         (sysdep_routines, static-only-routines, shared-only-routines):
41865         Don't add to these here.
41866         (CFLAGS-libc-start.c): Likewise.
41868         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41869         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41870         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41871         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41872         * sysdeps/arm/Makefile [$(subdir) = rt]
41873         (librt-sysdep_routines, librt-shared-only-routines):
41874         Append rt-aeabi_unwind_cpp_pr1 here.
41875         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41876         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41877         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41878         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41879         Append nptl-aeabi_unwind_cpp_pr1 here.
41880         (tests): Filter out tst-cleanupx4 here.
41881         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41882         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41883         Don't do those here.
41885 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41887         * scripts/list-sources.sh: Do not handle ports specially.
41889 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41891         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41892         * sysdeps/arm/feupdateenv.c: Likewise.
41894         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41896 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41898         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41899         trailing whitespace removed.
41900         * scripts/config.guess: Update to version 2014-03-23.
41901         * scripts/config.sub: Update to version 2014-05-01
41902         * scripts/install-sh: Update to version 2013-12-25.23.
41903         * scripts/move-if-change: Update from gnulib.
41905 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41907         * debug/memmove_chk.c: Remove pagecopy.h include.
41909 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41911         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41912         identical to gnulib mktime.
41914 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41916         * configure.ac: Do not test for machine being rs6000.  Do not test
41917         for powerpc*-*soft.
41918         * configure: Regenerated.
41920         [BZ #11505]
41921         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41922         test.
41923         * configure: Regenerated.
41924         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41925         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41926         Remove configure test.
41927         * sysdeps/arm/configure: Regenerated.
41928         * sysdeps/nptl/configure.ac: Do not check
41929         libc_cv_asm_cfi_directives.
41930         * sysdeps/nptl/configure: Regenerated.
41931         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41932         * sysdeps/x86_64/nptl/configure: Remove generated file.
41933         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41934         unconditional.
41935         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41937 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41939         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41940         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41941         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41942         it is defined.
41944         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41945         instead of whether it is defined.
41946         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41947         * sysdeps/hppa/dl-machine.h: Likewise.
41948         * sysdeps/ia64/dl-machine.h: Likewise.
41949         * sysdeps/m68k/dl-machine.h: Likewise.
41950         * sysdeps/microblaze/dl-machine.h: Likewise.
41951         * sysdeps/mips/dl-machine.: Likewise.
41952         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41953         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41954         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41955         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41956         * sysdeps/sh/dl-machine.h: Likewise.
41957         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41958         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41959         * sysdeps/tile/dl-machine.h: Likewise.
41960         * sysdeps/x86_64/dl-machine.h: Likewise.
41962         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41963         code.
41964         (verify_persistent_db): Likewise.
41966 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41969         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41971         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41973         Moved ...
41974         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41975         ... here.
41976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41977         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41979         Identical file removed.
41980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41981         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41983         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41985         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41987         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41989         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41991         Moved ...
41992         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41994         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41996         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41998         Moved ...
41999         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42001         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42003         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42005         Identical file removed.
42006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42007         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42009         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42011         Moved ...
42012         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42013         ... here.
42014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42015         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42017         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42019         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42023         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42025         Moved ...
42026         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42031         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42033         Moved ...
42034         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42036         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42038         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42039         folded into ...
42040         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42041         * sysdeps/unix/sysv/linux/s390/Versions
42042         (libpthread: GLIBC_2.19): New version set.
42043         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42044         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42045         (librt: GLIBC_2.3.3): New version set.
42046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42047         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42048         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42049         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42050         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42051         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42052         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42053         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42054         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42055         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42056         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42057         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42058         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42059         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42060         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42061         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42062         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42063         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42064         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42065         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42066         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42067         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42068         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42069         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42070         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42071         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42072         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42073         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42074         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42075         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42076         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42077         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42082         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42084         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42086         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42088         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42090         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42092         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42093         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42094         (__libc_vfork): Define the function under this name.
42095         [!NOT_IN_libc] (__vfork): Make this an alias.
42096         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42098         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42099         (__libc_vfork): Define the function under this name.
42100         [!NOT_IN_libc] (__vfork): Make this an alias.
42101         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42102         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42103         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42105         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42106         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42108         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42109         code that was previously under [RESET_PID].
42110         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42111         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42114         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42115         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42116         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42117         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42118         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42119         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42120         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42121         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42122         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42123         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42124         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42125         Moved ...
42126         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42127         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42128         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42129         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42130         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42131         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42132         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42133         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42134         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42135         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42136         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42137         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42138         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42139         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42140         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42141         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42142         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42143         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42144         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42145         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42146         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42147         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42148         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42149         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42150         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42151         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42154         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42156 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42158         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42159         that was previously under [RESET_PID].
42160         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42162 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42164         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42165         not undefine and redefine.
42166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42167         [O_CLOEXEC]: Make code unconditional.
42168         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42169         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42170         <kernel-features.h>.
42171         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42172         conditional variable definition.
42173         (shm_open) [O_CLOEXEC]: Make code unconditional.
42174         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42175         code.
42177         * configure.ac (USE_REGPARMS): Don't define here.
42178         * configure: Regenerated.
42179         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42180         * sysdeps/i386/configure: Regenerated.
42182         * nptl/createthread.c: Don't include kernel-features.h.
42183         * nptl/pthread_cancel.c: Likewise.
42184         * nptl/pthread_condattr_setclock.c: Likewise.
42185         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42186         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42187         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42188         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42189         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42191         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42194         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42195         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42196         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42197         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42198         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42199         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42200         * nscd/gai.c: Likewise.
42201         * nss/nss_db/db-open.c: Likewise.
42202         * sysdeps/generic/ldsodefs.h: Likewise.
42203         * sysdeps/sh/nptl/tls.h: Likewise.
42204         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42205         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42206         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42207         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42208         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42209         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42210         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42211         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42212         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42213         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42214         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42215         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42216         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42217         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42218         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42219         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42220         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42221         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42222         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42223         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42225         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42226         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42227         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42232         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42233         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42234         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42235         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42236         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42237         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42238         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42239         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42240         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42241         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42242         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42243         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42244         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42245         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42246         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42247         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42248         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42249         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42250         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42251         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42252         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42253         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42254         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42255         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42256         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42257         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42258         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42259         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42260         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42261         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42284         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42285         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42286         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42287         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42288         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42289         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42290         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42291         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42292         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42293         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42294         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42295         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42296         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42297         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42298         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42299         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42300         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42301         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42302         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42303         * sysdeps/unix/sysv/linux/system.c: Likewise.
42304         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42305         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42306         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42307         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42308         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42309         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42310         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42312         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42313         * configure: Regenerated.
42314         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42316         * configure.ac (base_machine): Do not set specially for particular
42317         machines here.
42318         * configure: Regenerated.
42319         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42320         settings from configure.ac.
42321         * sysdeps/i386/preconfigure: New file.
42322         * sysdeps/s390/preconfigure: Likewise.
42323         * sysdeps/sh/preconfigure: Likewise.
42324         * sysdeps/sparc/preconfigure: Likewise.
42326 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42328         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42329         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42330         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42331         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42332         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42333         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42334         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42335         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42336         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42337         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42338         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42339         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42340         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42343         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42345         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42346         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42348         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42349         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42350         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42351         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42352         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42353         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42354         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42355         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42356         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42357         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42358         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42359         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42360         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42361         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42362         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42363         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42364         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42365         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42366         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42367         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42369         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42371         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42372         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42373         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42375         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42376         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42377         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42379         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42381         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42382         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42383         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42384         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42385         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42388         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42390         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42392         Moved ...
42393         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42394         ... here.
42395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42396         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42398         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42400         Moved ...
42401         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42403         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42405         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42407         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42409         Moved ...
42410         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42412         Moved ...
42413         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42415         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42417         Moved ...
42418         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42420         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42422         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42424         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42426         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42428         Moved ...
42429         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42430         ... here.
42431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42434         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42436         Moved ...
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42439         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42441         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42443         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42445         Moved ...
42446         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42448         Moved ...
42449         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42451         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42453         Moved ...
42454         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42456         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42458         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42460 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42462         * timezone/checktab.awk: Update from tzcode 2014e.
42463         * timezone/private.h: Likewise.
42464         * timezone/tzfile.h: Likewise.
42465         * timezone/zdump.c: Likewise.
42466         * timezone/zic.c: Likewise.
42468         * sysdeps/unix/sysv/linux/kernel-features.h
42469         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42470         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42471         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42472         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42473         Remove conditional code.
42475 2014-06-25  Will Newton  <will.newton@linaro.org>
42477         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42478         (_dl_arm_cap_flags): Add HWCAP2 values.
42479         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42480         (_DL_HWCAP_COUNT): Increase to 37.
42481         (_DL_HWCAP_LAST): New define.
42482         (_DL_HWCAP2_LAST): New define.
42483         (_dl_procinfo): Add support for printing
42484         AT_HWCAP2 entries.
42485         (_dl_string_hwcap): Use _dl_hwcap_string.
42487 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42491 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42493         * README: Do not mention ports directory.
42495         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42496         Remove macro.
42497         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42498         <kernel-features.h>.
42499         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42500         conditional variable definition.
42501         (__futimes): Update comment.
42502         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42503         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42505         [BZ #16560]
42506         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42507         arguments close to 0.
42508         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42509         Likewise.
42510         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42511         Likewise.
42512         * math/auto-libm-test-in: Add more tests of exp10.
42513         * math/auto-libm-test-out: Regenerated.
42514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42516         * sysdeps/unix/sysv/linux/kernel-features.h
42517         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42518         * sysdeps/unix/sysv/linux/readv.c: Do not include
42519         <kernel-features.h>.
42520         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42521         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42522         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42523         unconditional.
42524         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42525         conditional code.
42526         * sysdeps/unix/sysv/linux/writev.c: Do not include
42527         <kernel-features.h>.
42528         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42529         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42530         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42531         unconditional.
42532         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42533         conditional code.
42535 2014-06-25  Will Newton  <will.newton@linaro.org>
42537         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42538         comment changes throughout the file.  Remove checks
42539         for HAVE_*_H definitions that are not required.
42540         (__gen_tempname): Call abort if an unknown kind value is
42541         passed.
42543 2014-06-25  Andreas Schwab  <schwab@suse.de>
42545         [BZ #17086]
42546         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42547         scalbln, scalblnf, scalblnl in libc.
42549 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42551         [BZ #17086]
42552         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42553         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42554         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42556 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42558         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42559         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42560         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42561         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42562         Update #include.
42563         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42564         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42565         Update #include.
42566         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42567         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42568         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42569         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42570         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42571         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42572         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42573         * sysdeps/x86/bits/semaphore.h: ... here.
42574         * sysdeps/x86/nptl/elide.h: Moved ...
42575         * sysdeps/x86/elide.h: ... here.
42576         * sysdeps/x86_64/nptl/Implies: File removed.
42577         * sysdeps/i386/nptl/Implies: File removed.
42579 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42581         [BZ #16539]
42582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42583         return the argument for normal arguments with exponent below -64.
42584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42585         Likewise.
42586         * math/auto-libm-test-in: Add another test of expm1.
42587         * math/auto-libm-test-out: Regenerated.
42589         [BZ #16287]
42590         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42591         calling __erfcl for arguments at least 16.
42592         * math/auto-libm-test-in: Add more tests of erf.
42593         * math/auto-libm-test-out: Regenerated.
42595         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42596         individual architectures.
42597         * sysdeps/unix/sysv/linux/configure: Regenerated.
42598         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42599         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42600         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42601         (ldd_rewrite_script): Define variable.
42602         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42604         file.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42606         generated file.
42607         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42608         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42609         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42610         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42611         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42612         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42613         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42614         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42616 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42618         [BZ #17084]
42619         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42620         Rename member __data.d to __data.__elision_data.
42622 2014-06-24  Wilco  <wdijkstr@arm.com>
42624         * NEWS: Add 16918 to fixed bug list.
42626 2014-06-24  Wilco  <wdijkstr@arm.com>
42628         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42630 2014-06-24  Wilco  <wdijkstr@arm.com>
42632         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42633         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42634         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42635         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42636         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42637         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42638         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42639         Use _FPU_MASK_RM.
42641 2014-06-24  Wilco  <wdijkstr@arm.com>
42643         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42645 2014-06-24  Wilco  <wdijkstr@arm.com>
42647         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42648         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42649         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42650         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42652 2014-06-24  Wilco  <wdijkstr@arm.com>
42654         [BZ #16918]
42655         * sysdeps/arm/feupdateenv.c (feupdateenv):
42656         Rewrite to reduce FPSCR accesses and fix return value.
42658 2014-06-24  Wilco  <wdijkstr@arm.com>
42660         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42661         Optimize to avoid unnecessary FPSCR writes.
42662         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42663         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42664         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42665         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42667 2014-06-24  Wilco  <wdijkstr@arm.com>
42669         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42670         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42671         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42672         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42673         Call libc_fetestexcept_vfp.
42674         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42675         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42676         __SOFTFP__ ifdef so that they can be built for softfp.
42678 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42680         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42681         argument type signed char.
42683         * Makerules (check-abi): Dump diff of symlist if the test
42684         fails.
42686 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42688         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42689         using abort.
42691         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42692         Remove unused variable ST.
42694 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42696         [BZ #16354]
42697         [BZ #17061]
42698         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42699         small arguments before calling __expm1.
42700         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42701         small arguments before calling __expm1f.
42702         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42703         small arguments before calling __expm1l.
42704         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42705         Likewise.
42706         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42707         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42708         spurious underflow for some cosh tests.
42709         * math/auto-libm-test-out: Regenerated.
42710         * sysdeps/i386/fpu/libm-test-ulps: Update.
42712         [BZ #17050]
42713         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42714         (__ieee754_y1): Set errno if return value overflows.
42715         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42716         (__ieee754_y1f): Set errno if return value overflows.
42717         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42718         (__ieee754_y1l): Set errno if return value overflows.
42719         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42720         (__ieee754_y1l): Set errno if return value overflows.
42721         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42722         * math/auto-libm-test-out: Regenerated.
42724         * math/gen-auto-libm-tests.c: Document use of
42725         ignore-zero-inf-sign.
42726         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42727         (input_flags): Add ignore-zero-inf-sign.
42728         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42729         * math/gen-libm-test.pl (generate_testfile): Handle
42730         ignore-zero-inf-sign.
42731         * math/auto-libm-test-in: Mark some cpow tests with
42732         ignore-zero-inf-sign and some with xfail-rounding.
42733         * math/auto-libm-test-out: Regenerated.
42734         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42735         * sysdeps/i386/fpu/libm-test-ulps: Update.
42736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42738         [BZ #16315]
42739         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42740         overflowing or underflowing operations take place with sign of
42741         result.
42742         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42743         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42744         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42745         (__ieee754_pow): Recompute overflowing and underflowing results in
42746         original rounding mode.
42747         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42748         (__powl_helper): Allow negative argument X and scale negated value
42749         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42750         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42751         overflowing or underflowing operations take place with sign of
42752         result.
42753         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42754         Include <math.h>.
42755         * math/auto-libm-test-in: Add more tests of pow.
42756         * math/auto-libm-test-out: Regenerated.
42757         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42758         (pow_tonearest_test_data): Remove.
42759         (pow_test_tonearest): Likewise.
42760         (pow_towardzero_test_data): Likewise.
42761         (pow_test_towardzero): Likewise.
42762         (pow_downward_test_data): Likewise.
42763         (pow_test_downward): Likewise.
42764         (pow_upward_test_data): Likewise.
42765         (pow_test_upward): Likewise.
42766         (main): Don't call removed functions.
42767         * sysdeps/i386/fpu/libm-test-ulps: Update.
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42770 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42773         Moved ...
42774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42776         Moved ...
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42779         Moved ...
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42782         Moved ...
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42785         File removed.
42786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42787         File removed.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42789         File removed.
42790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42791         File removed.
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42793         File removed.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42795         File removed.
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42797         File removed.
42798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42799         File removed.
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42801         File removed.
42802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42803         File removed.
42804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42805         File removed.
42806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42807         File removed.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42809         Moved ...
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42812         Moved ...
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42814         ... here.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42816         Moved ...
42817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42819         Moved ...
42820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42822         Moved ...
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42825         Moved ...
42826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42828         Moved ...
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42831         Moved ...
42832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42834         Moved ...
42835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42838         ... here.
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42840         Moved ...
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42843         Moved ...
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42845         ... here.
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42847         Moved ...
42848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42849         ... here.
42850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42851         Moved ...
42852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42853         ... here.
42854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42855         Moved ...
42856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42858         Moved ...
42859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42863         Moved ...
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42865         ... here.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42867         Moved ...
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42869         ... here.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42871         Moved ...
42872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42874         Moved ...
42875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42877         Moved ...
42878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42880         Moved ...
42881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42883         Moved ...
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42885         ... here.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42887         Moved ...
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42890         Moved ...
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42893         Moved ...
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42896         Moved ...
42897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42901         Moved ...
42902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42904         Moved ...
42905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42907         Moved ...
42908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42909         ... here.
42910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42911         Moved ...
42912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42913         ... here.
42914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42915         Moved ...
42916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42917         ... here.
42918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42919         Moved ...
42920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42922         Moved ...
42923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42928         Moved ...
42929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42930         ... here.
42931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42932         Moved ...
42933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42934         ... here.
42935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42936         Moved ...
42937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42938         ... here.
42939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42940         Moved ...
42941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42943         Moved ...
42944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42946 2014-06-23  Will Newton  <will.newton@linaro.org>
42947             Wilco  <wdijkstr@arm.com>
42949         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42950         implementation.  Include get-rounding-mode.h.
42951         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42952         [!libc_feholdsetround_noex_ctx]: Define
42953         libc_feholdsetround_noex_ctx.
42954         [!libc_feholdsetround_noexf_ctx]: Define
42955         libc_feholdsetround_noexf_ctx.
42956         [!libc_feholdsetround_noexl_ctx]: Define
42957         libc_feholdsetround_noexl_ctx.
42958         (libc_feholdsetround_ctx): New function.
42959         (libc_feresetround_ctx): New function.
42960         (libc_feholdsetround_noex_ctx): New function.
42961         (libc_feresetround_noex_ctx): New function.
42963 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42965         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42966         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42967         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42968         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42969         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42970         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42972         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42973         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42974         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42975         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42976         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42977         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42979         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42981         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42983         Moved ...
42984         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42985         ... here.
42986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42987         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42989         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42990         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42991         Moved ...
42992         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42993         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42994         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42995         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42996         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42997         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42998         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42999         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43000         Moved ...
43001         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43002         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43003         Moved ...
43004         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43005         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43006         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43008         Moved ...
43009         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43010         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43011         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43012         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43013         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43014         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43015         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43017         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43019         Moved ...
43020         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43021         ... here.
43022         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43023         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43024         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43025         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43026         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43027         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43028         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43029         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43030         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43031         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43032         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43033         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43034         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43035         Moved ...
43036         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43037         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43038         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43039         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43040         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43041         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43042         Moved ...
43043         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43045         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43046         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43047         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43049         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43050         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43051         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43052         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43053         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43054         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43055         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43056         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43057         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43058         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43059         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43060         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43061         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43062         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43063         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43064         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43065         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43066         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43067         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43068         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43069         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43070         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43071         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43072         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43073         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43074         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43075         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43076         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43078 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43081         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43082         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43083         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43084         (IPV6_PMTUDISC_INTERFACE): Likewise.
43085         (IPV6_PMTUDISC_OMIT): Likewise.
43087 2014-06-23  Andreas Schwab  <schwab@suse.de>
43089         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43090         Remove unused errout label.
43092 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43094         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43095         macro: hardware supports Vector Crypto instructions.
43097 2014-06-23  Will Newton  <will.newton@linaro.org>
43099         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43100         rather than __builtin_expect.
43102         * elf/dl-lookup.c (undefined_msg): Remove variable.
43103         (_dl_lookup_symbol_x): Replace undefined_msg with string
43104         literal.
43106         * elf/dl-lookup.c (do_lookup_unique): New function.
43107         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43108         to a separate function.
43110 2014-06-23  Andreas Schwab  <schwab@suse.de>
43112         [BZ #17079]
43113         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43114         before reading the next line.
43116 2014-06-23  Will Newton  <will.newton@linaro.org>
43118         * test-skeleton.c (signal_handler): Use printf and %m
43119         rather than perror.  Use printf rather than fprintf to
43120         stderr.  Use puts rather than fputs to stderr.
43121         (main): Likewise.
43123 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43125         * nscd/nscd.c (thread_info_t): Remove typedef.
43126         (thread_info): Remove variable.
43128 2014-06-21  Allan McRae  <allan@archlinux.org>
43130         * NEWS: Mention CVE-2014-4043.
43132 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43134         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43135         * nptl/smp.h: ... here.
43137         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43139         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43140         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43141         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43142         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43144         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43145         * nptl/stack-aliasing.h: New file.
43146         * sysdeps/i386/i686/stack-aliasing.h: New file.
43147         * sysdeps/i386/i686/nptl/Makefile: File removed.
43148         * sysdeps/x86_64/stack-aliasing.h: New file.
43149         * sysdeps/x86_64/nptl/Makefile
43150         (CFLAGS-pthread_create.c): Variable removed.
43152         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43153         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43154         old file.
43155         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43156         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43157         old file.
43159 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43162         (__ASSUME_SIGFRAME_V2): Remove macro.
43163         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43164         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43165         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43166         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43167         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43168         Declare as function.  Remove conditional macro definitions.
43169         (__default_rt_sa_restorer): Likewise.
43170         (__default_sa_restorer_v1): Remove declaration.
43171         (__default_sa_restorer_v2): Likewise.
43172         (__default_rt_sa_restorer_v1): Likewise.
43173         (__default_rt_sa_restorer_v2): Likewise.
43174         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43175         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43176         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43178 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43180         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43181         (libpthread-routines): Add sysdep.
43182         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43183         * sysdeps/unix/sysv/linux/sparc/Versions
43184         (libpthread: GLIBC_2.3.3): New version set.
43185         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43186         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43187         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43188         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43189         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43190         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43191         Moved ...
43192         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43193         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43194         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43195         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43196         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43197         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43198         * sysdeps/sparc/nptl/sem_init.c: ... here.
43199         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43200         * sysdeps/sparc/nptl/sem_post.c: ... here.
43201         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43202         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43203         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43204         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43205         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43206         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43207         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43208         (libpthread-routines): Add cpu_relax.
43209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43210         File removed.
43211         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43212         (librt: GLIBC_2.3.3): New version set.
43213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43214         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43215         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43216         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43219         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43221         Moved ...
43222         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43224         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43226         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43228         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43230         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43232         Moved ...
43233         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43234         Update #include.
43235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43236         Moved ...
43237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43238         Update #include.
43239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43240         Moved ...
43241         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43242         Update #include.
43243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43244         Moved ...
43245         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43246         Update #include.
43247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43248         Moved ...
43249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43250         Update #include.
43251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43252         Moved ...
43253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43254         Update #include.
43255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43256         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43262         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43264         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43266         Moved ...
43267         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43269         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43271         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43273 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43275         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43276         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43277         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43278         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43279         * nscd/nscd.c: Likewise.
43280         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43281         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43282         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43283         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43285         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43286         <kernel-features.h>.
43287         (init_mq_netlink): Remove conditional have_sock_cloexec
43288         definitions.  Remove code conditional on have_sock_cloexec < 0.
43289         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43290         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43291         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43292         <kernel-features.h>.
43293         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43294         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43296 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43299         Add tests for memset_chk and memset.
43301         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43302         with AVX2_Usable.
43304 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43306         [BZ #16046]
43307         * elf/tst-dl-iter-static.c: New file.
43308         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43310         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43311         error.
43313 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43315         * sysdeps/unix/sysv/linux/kernel-features.h
43316         (__ASSUME_F_GETOWN_EX): Remove macro.
43317         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43318         <kernel-features.h>.
43319         (miss_F_GETOWN_EX): Remove variable or macro.
43320         (do_fcntl): Do not check miss_F_GETOWN_EX.
43321         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43324         Remove macro.
43325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43326         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43327         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43329         * sysdeps/unix/sysv/linux/kernel-features.h
43330         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43331         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43332         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43333         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43335 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43337         [BZ #17075]
43338         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43339         Fix calculation of the symbol's value.
43340         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43341         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43342         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43343         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43344         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43345         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43346         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43347         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43348         (modules-names): Add `tst-armtlsdescmod',
43349         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43350         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43351         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43352         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43353         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43354         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43355         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43356         ($(objpfx)tst-armtlsdescloc): New dependency.
43357         ($(objpfx)tst-armtlsdescextnow): Likewise.
43358         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43359         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43360         TLS scheme support.
43361         * sysdeps/arm/configure: Regenerate.
43363 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43365         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43366         (__atfct_seterrno_2): Likewise.
43367         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43368         <kernel-features.h>.
43369         (__ASSUME_ATFCTS): Do not undefine and redefine.
43370         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43371         (__have_atfcts): Remove conditional definition.
43372         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43373         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43374         unreachable if [__ASSUME_ATFCTS].
43375         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43376         not undefine and redefine.
43377         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43378         <kernel-features.h>.
43379         (faccessat) [__NR_faccessat]: Make code unconditional.
43380         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43381         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43382         <kernel-features.h>.
43383         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43384         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43385         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43386         <kernel-features.h>.
43387         (fchownat) [__NR_fchownat]: Make code unconditional.
43388         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43389         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43390         <kernel-features.h>.
43391         (futimesat) [__NR_futimesat]: Make code unconditional.
43392         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43393         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43394         <kernel-features.h>.
43395         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43396         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43397         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43398         <kernel-features.h>.
43399         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43400         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43401         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43402         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43403         <kernel-features.h>.
43404         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43405         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43406         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43407         <kernel-features.h>.
43408         (linkat) [__NR_linkat]: Make code unconditional.
43409         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43410         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43411         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43412         <kernel-features.h>.
43413         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43414         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43415         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43416         <kernel-features.h>.
43417         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43418         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43419         * sysdeps/unix/sysv/linux/openat.c: Do not include
43420         <kernel-features.h>.
43421         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43422         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43423         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43424         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43425         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43426         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43427         <kernel-features.h>.
43428         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43429         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43430         result of INLINE_SYSCALL directly, not via int variable.
43431         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43432         <kernel-features.h>.
43433         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43434         (renameat) [__NR_renameat]: Make code unconditional.
43435         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43436         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43437         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43438         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43439         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43440         (__ASSUME_ATFCTS): Do not undefine and redefine.
43441         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43442         <kernel-features.h>.
43443         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43444         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43445         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43446         <kernel-features.h>.
43447         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43448         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43449         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43450         (__ASSUME_ATFCTS): Do not undefine and redefine.
43451         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43452         <kernel-features.h>.
43453         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43454         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43455         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43456         <kernel-features.h>.
43457         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43458         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43460 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43462         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43464 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43466         [BZ #17069]
43467         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43468         constructed tree before returning error.
43469         * posix/bug-regexp36.c: Expand test case.
43471 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43473         [BZ #6803]
43474         * math/libm-test.inc (scalbln_test_date):
43475         Add errno expectations.
43476         * math/w_scalblnf.c: New File.
43477         Add wrapper which checks for setting errno to ERANGE.
43478         Add weak_alias for corresponding scalbln function.
43479         * math/w_scalbln.c: Likewise.
43480         * math/w_scalblnl.c: Likewise.
43481         * math/Makefile (libm-calls): Add w_scalbln.
43482         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43483         Remove weak_alias for corresponding scalbln function.
43484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43487         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43488         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43489         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43490         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43491         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43492         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43493         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43494         Remove long_double_symbol for scalblnl function in libm, libc.
43495         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43496         Add wrapper which checks for setting errno to ERANGE.
43497         Add long_double_symbol for scalblnl function in libm, libc.
43498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43499         Remove long_double_symbol for scalblnl in libm.
43500         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43501         Add wrapper which checks for setting errno to ERANGE.
43502         Add long_double_symbol for scalblnl function in libm.
43503         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43504         Do not use wrapper because of own implementation.
43506 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43508         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43509         3 bytes for __pad1 for x32.
43510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43512 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43513             H.J. Lu  <hongjiu.lu@intel.com>
43515         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43516         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43517         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43518         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43519         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43521 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43523         [BZ #17069]
43524         * posix/regcomp.c (parse_expression): Deallocate partially
43525         constructed tree before returning error.
43526         * posix/Makefile.c (tests): Add bug-regex36.
43527         (generated): Add bug-regex36.mtrace.
43528         (tests-special): Add $(objpfx)bug-regex36-mem.out
43529         (bug-regex36-ENV): New variable.
43530         ($(objpfx)bug-regex36-mem.out): New rule.
43531         * posix/bug-regex36.c: New file.
43533 2014-06-19  Will Newton  <will.newton@linaro.org>
43535         * malloc/malloc.c (systrim): If extra is zero then return
43536         early.
43538 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43540         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43542 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43544         * sysdeps/aarch64/strchr.S: New file.
43546 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43548         [BZ #17022]
43549         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43550         from arguments -2 or below.
43551         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43552         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43554 2014-06-18  Andreas Schwab  <schwab@suse.de>
43556         [BZ #17062]
43557         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43558         of a bracket expr not to run off the end of the string.
43559         * posix/Makefile (tests): Add tst-fnmatch3.
43560         * posix/tst-fnmatch3.c: New file.
43562 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43564         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43565         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43566         [$(cross-compiling) = no]: Likewise.
43567         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43568         [$(cross-compiling) = no]: Likewise.
43570 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43572         [BZ #17031]
43573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43574         double, adjusted for any remainder from the high double.
43575         * math/libm-test.inc (nearbyint): Add tests.
43576         (rint): Likewise.
43578 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43580         * nptl/sysdeps/powerpc/Makefile: Moved ...
43581         * sysdeps/powerpc/nptl/Makefile: ... here.
43582         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43583         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43584         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43585         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43586         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43587         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43588         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43589         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43590         * nptl/sysdeps/powerpc/tls.h: Moved ...
43591         * sysdeps/powerpc/nptl/tls.h: ... here.
43593 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43595         [BZ #16681]
43596         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43597         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43598         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43599         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43600         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43601         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43602         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43603         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43604         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43606 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43608         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43610 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43612         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43613         defined operator.
43615         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43616         $TIMEOUTFACTOR.
43618 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43620         [BZ #17058]
43621         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43622         non-executed part of the test.
43624 2014-06-16  Andreas Schwab  <schwab@suse.de>
43626         * string/bits/string2.h (strdup, strndup): Update feature guard.
43628 2014-06-14  David S. Miller  <davem@davemloft.net>
43630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43632 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43634         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43635         that was previously under [RESET_PID].
43636         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43638         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43639         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43640         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43641         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43642         (__libc_vfork): New strong alias.
43643         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43645 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43647         * sysdeps/generic/elide.h: New file.
43649 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43651         * Makefile (installed-headers): Adjust path of pthread.h header.
43653 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43655         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43656         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43657         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43658         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43660         * nptl/sysdeps/s390/Makefile: Moved ...
43661         * sysdeps/s390/nptl/Makefile: ... here.
43662         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43663         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43664         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43665         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43666         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43667         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43668         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43669         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43670         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43671         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43672         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43673         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43674         * nptl/sysdeps/s390/tls.h: Moved ...
43675         * sysdeps/s390/nptl/tls.h: ... here.
43677         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43678         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43680 2014-06-13  David S. Miller  <davem@davemloft.net>
43682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43685         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43689         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43690         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43691         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43692         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43693         Remove RESET_PID cpp guards.
43694         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43695         Remove RESET_PID cpp guards.
43696         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43698 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43700         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43701         __sp to uintptr_t.
43703 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43706         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43708         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43710         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43711         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43715         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43719         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43723         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43726         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43727         (pthread_rwlock_rdlock): Add elision.
43728         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43729         (pthread_rwlock_wrlock): Add elision.
43730         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43731         (pthread_rwlock_trywrlock): Add elision.
43732         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43733         (pthread_rwlock_tryrdlock): Add elision.
43734         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43735         (pthread_rwlock_tryrdlock): Add elision unlock.
43736         * nptl/sysdeps/pthread/pthread.h:
43737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43738         (PTHREAD_RWLOCK_INITIALIZER,
43739         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43740         Handle new elision field.
43741         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43742         * sysdeps/arm/nptl/bits/pthreadtypes.h
43743         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43744         * sysdeps/sh/nptl/bits/pthreadtypes.h
43745         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43746         * sysdeps/tile/nptl/bits/pthreadtypes.h
43747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43748         * sysdeps/a/nptl/bits/pthreadtypes.h
43749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43750         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43751         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43752         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43754         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43756         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43757         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43758         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43760         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43761         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43762         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43764         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43766         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43767         (elision_init): Set try_xbegin to zero when no RTM.
43768         * sysdeps/x86/nptl/bits/pthreadtypes.h
43769         (pthread_rwlock_t): Change __pad1 to __rwelision.
43770         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43772 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43774         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43775         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43776         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43777         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43779 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43781         [BZ #16996]
43782         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43783         that the cached result has been set before returning it.
43785 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43787         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43788         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43789         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43790         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43791         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43792         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43794         * nptl/sysdeps/sparc/Makefile: Moved ...
43795         * sysdeps/sparc/nptl/Makefile: ... here.
43796         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43797         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43798         * nptl/sysdeps/sparc/tls.h: Moved ...
43799         * sysdeps/sparc/nptl/tls.h: ... here.
43800         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43801         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43802         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43803         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43804         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43805         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43806         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43807         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43808         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43809         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43810         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43811         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43812         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43813         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43814         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43815         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43816         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43817         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43818         Update #include.
43819         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43820         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43821         Update #include.
43822         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43824         Update #include.
43825         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43826         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43827         Update #include.
43829         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43831         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43832         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43834         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43835         (struct list_links): Type removed.
43836         (struct thread_node, struct timer_node): Replace struct list_links
43837         with struct list_head.
43838         (list_unlink_ip): Likewise.
43839         * sysdeps/pthread/timer_routines.c
43840         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43841         (list_append, list_insbefore): Likewise.
43842         (list_init): Function removed.
43843         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43844         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43845         * sysdeps/pthread/Makefile: ... here, new file.
43847         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43848         * sysdeps/nptl/Implies: ... here.
43849         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43850         * nptl/sysdeps/pthread/list.h: Moved ...
43851         * include/list.h: ... here.
43852         * nptl/sysdeps/pthread/createthread.c: Moved ...
43853         * nptl/createthread.c: ... here.
43854         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43855         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43856         * nptl/pt-longjmp.c: ... here.
43857         * nptl/sysdeps/pthread/Makefile: Moved ...
43858         * sysdeps/nptl/Makefile: ... here.
43859         * nptl/sysdeps/pthread/Subdirs: Moved ...
43860         * sysdeps/nptl/Subdirs: ... here.
43861         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43862         * sysdeps/nptl/aio_misc.h: ... here.
43863         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43864         * sysdeps/nptl/bits/libc-lock.h: ... here.
43865         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43866         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43867         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43868         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43869         * nptl/sysdeps/pthread/configure: Moved ...
43870         * sysdeps/nptl/configure: ... here.
43871         * nptl/sysdeps/pthread/configure.ac: Moved ...
43872         * sysdeps/nptl/configure.ac: ... here.
43873         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43874         * sysdeps/nptl/gai_misc.h: ... here.
43875         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43876         * sysdeps/nptl/librt-cancellation.c: ... here.
43877         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43878         * sysdeps/nptl/malloc-machine.h: ... here.
43879         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43880         * sysdeps/nptl/pthread-functions.h: ... here.
43881         * nptl/sysdeps/pthread/pthread.h: Moved ...
43882         * sysdeps/nptl/pthread.h: ... here.
43883         * nptl/sysdeps/pthread/setxid.h: Moved ...
43884         * sysdeps/nptl/setxid.h: ... here.
43885         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43886         * sysdeps/nptl/sigfillset.c: ... here.
43887         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43888         * sysdeps/nptl/tcb-offsets.h: ... here.
43889         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43890         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43891         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43892         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43893         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43894         * sysdeps/pthread/allocalim.h: ... here.
43895         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43896         * sysdeps/pthread/bits/sigthread.h: ... here.
43897         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43898         * sysdeps/pthread/flockfile.c: ... here.
43899         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43900         * sysdeps/pthread/ftrylockfile.c: ... here.
43901         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43902         * sysdeps/pthread/funlockfile.c: ... here.
43903         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43904         * sysdeps/pthread/posix-timer.h: ... here.
43905         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43906         * sysdeps/pthread/timer_create.c: ... here.
43907         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43908         * sysdeps/pthread/timer_delete.c: ... here.
43909         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43910         * sysdeps/pthread/timer_getoverr.c: ... here.
43911         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43912         * sysdeps/pthread/timer_gettime.c: ... here.
43913         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43914         * sysdeps/pthread/timer_routines.c: ... here.
43915         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43916         * sysdeps/pthread/timer_settime.c: ... here.
43917         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43918         * sysdeps/pthread/tst-timer.c: ... here.
43919         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43920         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43922         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43923         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43925         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43926         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43927         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43928         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43929         Update #include target.
43930         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43931         * sysdeps/i386/i686/nptl/Makefile: ... here.
43932         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43933         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43934         Update #include target.
43935         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43936         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43937         * nptl/sysdeps/i386/Makefile: Moved ...
43938         * sysdeps/i386/nptl/Makefile: ... here.
43939         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43940         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43941         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43942         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43943         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43944         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43945         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43946         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43947         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43948         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43949         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43950         * nptl/sysdeps/i386/tls.h: Moved ...
43951         * sysdeps/i386/nptl/tls.h: ... here.
43953         * sysdeps/sh/Makefile [$(subdir) = csu]
43954         (gen-as-const-headers): Add tcb-offsets.sym.
43955         * nptl/sysdeps/sh/Makefile: File removed.
43956         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43957         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43958         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43959         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43960         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43961         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43962         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43963         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43964         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43965         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43966         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43967         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43968         * nptl/sysdeps/sh/tls.h: Moved ...
43969         * sysdeps/sh/nptl/tls.h: ... here.
43970         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43971         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43972         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43973         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43974         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43975         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43976         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43977         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43978         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43979         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43980         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43981         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43982         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43983         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43984         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43985         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43986         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43987         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43988         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43989         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43990         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43991         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43992         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43993         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43994         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43995         Moved ...
43996         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43997         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43998         Moved ...
43999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44000         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44003         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44004         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44005         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44006         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44007         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44008         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44009         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44010         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44011         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44012         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44013         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44014         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44015         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44016         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44017         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44019 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44021         * posix/spawn_faction_addopen.c: Include string.h.
44023 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44025         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44026         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44027         * nptl/sysdeps/x86_64/Makefile: Moved ...
44028         * sysdeps/x86_64/nptl/Makefile: ... here.
44029         * nptl/sysdeps/x86_64/configure: Moved ...
44030         * sysdeps/x86_64/nptl/configure: ... here.
44031         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44032         * sysdeps/x86_64/nptl/configure.ac: ... here.
44033         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44034         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44035         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44036         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44037         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44038         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44039         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44040         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44041         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44042         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44043         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44044         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44045         * nptl/sysdeps/x86_64/tls.h: Moved ...
44046         * sysdeps/x86_64/nptl/tls.h: ... here.
44047         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44048         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44049         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44050         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44052         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44054 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44058 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44060         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44061         type.
44062         [POSIX] (off_t): Likewise.
44063         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44064         [POSIX] (S_ISBLK): Require macro.
44065         [POSIX] (S_ISCHR): Likewise.
44066         [POSIX] (S_ISDIR): Likewise.
44067         [POSIX] (S_ISFIFO): Likewise.
44068         [POSIX] (S_ISREG): Likewise.
44069         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44070         optional-macro.
44071         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44072         type.
44073         [POSIX] (time_t): Likewise.
44074         [POSIX] (timer_t): Likewise.
44076 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44078         [BZ #17048]
44079         * posix/spawn_int.h (struct __spawn_action): Make the path string
44080         non-const to support deallocation.
44081         * posix/spawn_faction_addopen.c
44082         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44083         * posix/spawn_faction_destroy.c
44084         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44085         path in all spawn_do_open actions.
44086         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44087         posix_spawn_file_actions_addopen.
44089 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44091         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44092         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44093         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44094         conditional code always true.
44095         (__libc_vfork): New alias.
44097 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44099         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44100         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44102         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44104         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44105         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44107         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44108         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44110         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44111         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44113 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44115         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44116         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44117         multiarch strcmp for PPC64.
44118         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44119         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44121         multiarch optimizations.
44122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44123         (__libc_ifunc_impl_list): Likewise.
44125 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44127         * benchtests/scripts/validate_benchout.py: New script.
44128         * benchtests/Makefile (bench-func): Call it.
44129         * benchtests/scripts/benchout.schema.json: New file.
44131 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44133         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44134         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44135         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44136         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44137         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44138         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44139         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44140         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44141         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44142         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44143         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44145         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44146         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44147         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44148         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44150         Moved ...
44151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44152         ... here.
44153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44154         Moved ...
44155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44157         Moved ...
44158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44159         ... here.
44160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44161         Moved ...
44162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44163         ... here.
44164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44165         Moved ...
44166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44168         Moved ...
44169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44170         ... here.
44171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44172         Moved ...
44173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44174         ... here.
44175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44176         Moved ...
44177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44179         Moved ...
44180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44181         ... here.
44182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44183         Moved ...
44184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44185         ... here.
44186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44187         Moved ...
44188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44189         ... here.
44190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44191         Moved ...
44192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44194         Moved ...
44195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44196         ... here.
44197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44198         Moved ...
44199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44200         ... here.
44201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44202         Moved ...
44203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44204         ... here.
44205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44206         Moved ...
44207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44209         Moved ...
44210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44211         ... here.
44212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44213         Moved ...
44214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44215         ... here.
44216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44217         Moved ...
44218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44220         Moved ...
44221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44222         ... here.
44223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44224         Moved ...
44225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44227         Moved ...
44228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44230         Moved ...
44231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44232         ... here.
44233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44234         Moved ...
44235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44236         ... here.
44237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44238         Moved ...
44239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44240         ... here.
44241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44242         Moved ...
44243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44245         Moved ...
44246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44247         ... here.
44248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44249         Moved ...
44250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44251         ... here.
44252         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44253         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44255         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44257         Moved ...
44258         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44259         ... here.
44260         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44261         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44262         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44265         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44266         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44267         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44268         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44270         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44271         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44272         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44273         Moved ...
44274         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44275         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44276         Moved ...
44277         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44279         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44281         Moved ...
44282         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44283         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44284         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44285         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44286         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44287         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44288         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44290 2014-06-10  Wilco  <wdijkstr@arm.com>
44292         * math/test-fenv-return.c: New file.
44293         * math/Makefile: Add new test test-fenv-return.
44295 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44297         [BZ #17042]
44298         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44299         when x - 1 is zero.
44300         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44301         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44302         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44303         0.0L for an argument of 1.0L.
44304         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44305         Likewise.
44306         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44307         value when x - 1 is zero.
44308         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44309         * sysdeps/i386/fpu/libm-test-ulps: Update.
44310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44312 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44314         [BZ #15119]
44315         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44317 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44319         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44320         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44322 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44324         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44325         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44327         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44328         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44330         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44331         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44333         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44334         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44336         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44337         if not already defined.
44338         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44339         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44340         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44341         (TLS_INIT_TP): Use it.
44342         (TLS_DEFINE_INIT_TP): New macro.
44343         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44345 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44347         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44348         constant.
44349         [POSIX] (IXANY): Likewise.
44350         [POSIX] (OLCUC): Likewise.
44351         [POSIX || POSIX2008] (CBAUD): Do not allow.
44352         [POSIX || POSIX2008] (DEFECHO): Likewise.
44353         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44354         [POSIX || POSIX2008] (ECHOKE): Likewise.
44355         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44356         [POSIX || POSIX2008] (EXTA): Likewise.
44357         [POSIX || POSIX2008] (EXTB): Likewise.
44358         [POSIX || POSIX2008] (FLUSHO): Likewise.
44359         [POSIX || POSIX2008] (LOBLK): Likewise.
44360         [POSIX || POSIX2008] (PENDIN): Likewise.
44361         [POSIX || POSIX2008] (SWTCH): Likewise.
44362         [POSIX || POSIX2008] (VDISCARD): Likewise.
44363         [POSIX || POSIX2008] (VDSUSP): Likewise.
44364         [POSIX || POSIX2008] (VLNEXT): Likewise.
44365         [POSIX || POSIX2008] (VREPRINT): Likewise.
44366         [POSIX || POSIX2008] (VSTATUS): Likewise.
44367         [POSIX || POSIX2008] (VWERASE): Likewise.
44368         (B*): Change to B[0123456789]*.
44369         * conform/data/time.h-data [POSIX || UNIX98]
44370         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44371         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44372         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44373         [POSIX] (tm_*): Do not allow.
44375 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44377         * Makefile (install): Don't set LANGUAGE.
44378         * Makefile.in (install): Likewise.
44379         * assert/Makefile (test-assert-ENV): Remove variable.
44380         (test-assert-perr-ENV): Likewise.
44381         * elf/Makefile (neededtest4-ENV): Likewise.
44382         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44383         [$(cross-compiling) = no]: Don't set LANGUAGE.
44384         * io/ftwtest-sh (LANG): Remove variable.
44385         * libio/Makefile (tst-widetext-ENV): Likewise.
44386         * manual/install.texi (Running make install): Don't refer to
44387         environment settings for make install.
44388         * INSTALL: Regenerated.
44389         * nptl/tst-tls6.sh: Don't set LANG.
44390         * posix/globtest.sh (LANG): Remove variable.
44391         * string/Makefile (tester-ENV): Likewise.
44392         (inl-tester-ENV): Likewise.
44393         (noinl-tester-ENV): Likewise.
44394         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44395         [$(cross-compiling) = no]: Don't set LANGUAGE.
44396         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44397         without explicit environment settings.
44399 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44401         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44402         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44403         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44404         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44406 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44408         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44409         other files in the crypt directory.
44410         * crypt/crypt.c: Remove duplicate includes.
44411         * crypt/crypt-entry.c: Likewise.
44412         * crypt/crypt_util.c: Likewise.
44414 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44416         * Makeconfig (run-program-env): New variable.
44417         (run-program-prefix-before-env): Likewise.
44418         (run-program-prefix-after-env): Likewise.
44419         (run-program-prefix): Define in terms of new variables.
44420         (built-program-cmd-before-env): New variable.
44421         (built-program-cmd-after-env): Likewise.
44422         (built-program-cmd): Define in terms of new variables.
44423         (test-program-prefix-before-env): New variable.
44424         (test-program-prefix-after-env): Likewise.
44425         (test-program-prefix): Define in terms of new variables.
44426         (test-program-cmd-before-env): New variable.
44427         (test-program-cmd-after-env): Likewise.
44428         (test-program-cmd): Define in terms of new variables.
44429         * Rules (make-test-out): Use $(run-program-env).
44430         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44431         (help): Do not mention environment variables.  Mention
44432         --timeoutfactor option.
44433         (timeoutfactor): New variable.
44434         (blacklist_exports): Remove function.
44435         (exports): Remove variable.
44436         (command): Do not include ${exports}.
44437         * manual/install.texi (Configuring and compiling): Do not mention
44438         test wrappers preserving environment variables.  Mention that last
44439         assignment to a variable must take precedence.
44440         * INSTALL: Regenerated.
44441         * benchtests/Makefile (run-bench): Use $(run-program-env).
44442         * catgets/Makefile ($(objpfx)test1.cat): Use
44443         $(built-program-cmd-before-env), $(run-program-env) and
44444         $(built-program-cmd-after-env).
44445         ($(objpfx)test2.cat): Do not specify environment variables
44446         explicitly.
44447         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44448         $(run-program-env) and $(built-program-cmd-after-env).
44449         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44450         $(run-program-env) and $(test-program-cmd-after-env).
44451         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44452         explicitly.
44453         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44454         run_program_env and test_program_cmd_after_env arguments.
44455         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44456         * elf/tst-pathopt.sh: Use run_program_env argument.
44457         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44458         $(test-wrapper-env) and $(run-program-env).
44459         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44460         run_program_env arguments.
44461         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44462         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44463         $(test-program-prefix-before-env), $(run-program-env) and
44464         $(test-program-prefix-after-env).
44465         ($(objpfx)tst-gettext2.out): Likewise.
44466         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44467         run_program_env and test_program_prefix_after_env arguments.
44468         * intl/tst-gettext2.sh: Likewise.
44469         * intl/tst-gettext4.sh: Do not set environment variables
44470         explicitly.
44471         * intl/tst-gettext6.sh: Likewise.
44472         * intl/tst-translit.sh: Likewise.
44473         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44474         $(test-program-prefix-before-env), $(run-program-env) and
44475         $(test-program-prefix-after-env).
44476         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44477         run_program_env and test_program_prefix_after_env arguments.
44478         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44479         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44480         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44481         explicitly with each use of ${test_wrapper_env}.
44482         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44483         $(test-program-prefix-before-env), $(run-program-env) and
44484         $(test-program-prefix-after-env).
44485         * posix/tst-getconf.sh: Do not set environment variables
44486         explicitly.
44487         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44488         run_program_env and test_program_prefix_after_env arguments.
44489         * stdio-common/tst-printf.sh: Do not set environment variables
44490         explicitly.
44491         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44492         $(test-program-prefix-before-env), $(run-program-env) and
44493         $(test-program-prefix-after-env).
44494         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44495         run_program_env and test_program_prefix_after_env arguments.
44496         Split $test calls into $test_pre and $test.
44497         * timezone/Makefile (build-testdata): Use
44498         $(built-program-cmd-before-env), $(run-program-env) and
44499         $(built-program-cmd-after-env).
44501 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44503         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44504         strlen for non SHARED builds.
44506 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44508         * nptl/allocatestack.c (check_list): Inlined function...
44509         (__reclaim_stacks): ... here.
44511 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44513         [BZ #15698]
44514         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44515         memory overrun.
44517 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44519         * Rules (make-test-out): Include
44520         LOCPATH=$(common-objpfx)localedata in default environment.
44521         * debug/Makefile (tst-chk1-ENV): Remove variable.
44522         (tst-chk2-ENV): Likewise.
44523         (tst-chk3-ENV): Likewise.
44524         (tst-chk4-ENV): Likewise.
44525         (tst-chk5-ENV): Likewise.
44526         (tst-chk6-ENV): Likewise.
44527         (tst-lfschk1-ENV): Likewise.
44528         (tst-lfschk2-ENV): Likewise.
44529         (tst-lfschk3-ENV): Likewise.
44530         (tst-lfschk4-ENV): Likewise.
44531         (tst-lfschk5-ENV): Likewise.
44532         (tst-lfschk6-ENV): Likewise.
44533         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44534         (tst-iconv7-ENV): Likewise.
44535         * intl/Makefile (LOCPATH-ENV): Likewise.
44536         (tst-codeset-ENV): Likewise.
44537         (tst-gettext3-ENV): Likewise.
44538         (tst-gettext5-ENV): Likewise.
44539         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44540         (tst-fopenloc-ENV): Likewise.
44541         (tst-fgetws-ENV): Remove variable.
44542         (tst-ungetwc1-ENV): Likewise.
44543         (tst-ungetwc2-ENV): Likewise.
44544         (bug-ungetwc2-ENV): Likewise.
44545         (tst-swscanf-ENV): Likewise.
44546         (bug-ftell-ENV): Likewise.
44547         (tst-fgetwc-ENV): Likewise.
44548         (tst-fseek-ENV): Likewise.
44549         (tst-ftell-partial-wide-ENV): Likewise.
44550         (tst-ftell-active-handler-ENV): Likewise.
44551         (tst-ftell-append-ENV): Likewise.
44552         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44553         (tst-regexloc-ENV): Likewise.
44554         (bug-regex1-ENV): Likewise.
44555         (tst-regex-ENV): Likewise.
44556         (tst-regex2-ENV): Likewise.
44557         (bug-regex5-ENV): Likewise.
44558         (bug-regex6-ENV): Likewise.
44559         (bug-regex17-ENV): Likewise.
44560         (bug-regex18-ENV): Likewise.
44561         (bug-regex19-ENV): Likewise.
44562         (bug-regex20-ENV): Likewise.
44563         (bug-regex22-ENV): Likewise.
44564         (bug-regex23-ENV): Likewise.
44565         (bug-regex25-ENV): Likewise.
44566         (bug-regex26-ENV): Likewise.
44567         (bug-regex30-ENV): Likewise.
44568         (bug-regex32-ENV): Likewise.
44569         (bug-regex33-ENV): Likewise.
44570         (bug-regex34-ENV): Likewise.
44571         (bug-regex35-ENV): Likewise.
44572         (tst-rxspencer-ENV): Likewise.
44573         (tst-rxspencer-no-utf8-ENV): Likewise.
44574         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44575         (tst-sscanf-ENV): Likewise.
44576         (tst-swprintf-ENV): Likewise.
44577         (tst-swscanf-ENV): Likewise.
44578         (test-vfprintf-ENV): Likewise.
44579         (scanf13-ENV): Likewise.
44580         (bug14-ENV): Likewise.
44581         (tst-grouping-ENV): Likewise.
44582         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44583         (tst-strtod3-ENV): Likewise.
44584         (tst-strtod4-ENV): Likewise.
44585         (tst-strtod5-ENV): Likewise.
44586         (testmb2-ENV): Likewise./
44587         * string/Makefile (tst-strxfrm-ENV): Likewise.
44588         (tst-strxfrm2-ENV): Likewise.
44589         (bug-strcoll1-ENV): Likewise.
44590         (test-strcasecmp-ENV): Likewise.
44591         (test-strncasecmp-ENV): Likewise.
44592         * time/Makefile (tst-strptime-ENV): Likewise.
44593         (tst-ftime_l-ENV): Likewise.
44594         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44595         (tst-mbrtowc-ENV): Likewise.
44596         (tst-wcrtomb-ENV): Likewise.
44597         (tst-mbrtowc2-ENV): Likewise.
44598         (tst-c16c32-1-ENV): Likewise.
44599         (tst-mbsnrtowcs-ENV): Likewise.
44601 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44603         * manual/resource.texi (How to get information about the memory
44604         subsystem?): Fix typo.
44605         Reported by Peon de la Parra Ivan <peon@keba.com>
44607 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44609         [BZ #16882]
44610         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44611         (pthread_spin_lock): Branch out of spin loop to proper location.
44612         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44613         (pthread_spin_lock): Likewise.
44615         * nptl/tst-spin4.c: New test.
44616         * nptl/Makefile (tests): Add tst-spin4.
44618 2014-06-03  Andreas Schwab  <schwab@suse.de>
44620         [BZ #15946]
44621         * resolv/res_send.c (send_dg): Reload file descriptor after
44622         calling reopen.
44624 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44626         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44628 2014-06-03  Richard Henderson  <rth@redhat.com>
44630         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44631         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44632         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44633         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44634         in the SAVE_PID block.
44635         (__libc_vfork): New alias.
44636         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44638         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44639         child in registers, not on the stack.  Remove RESET_PID conditionals.
44640         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44642 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44644         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44646 2014-06-03  Wilco  <wdijkstr@arm.com>
44648         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44649         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44650         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44651         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44652         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44653         Likewise.
44655 2014-06-03  Wilco  <wdijkstr@arm.com>
44657         * sysdeps/aarch64/fpu/math_private.h
44658         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44659         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44660         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44661         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44662         Fix declarations.
44664 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44666         * crypt/crypt-private.h: Include ufc-crypt.h.
44667         (__b64_from_24bit): Declare extern.
44668         * crypt/crypt_util.c(__b64_from_24bit): New function.
44669         (b64t): New static const variable.
44670         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44671         (b64t): Remove variable.
44672         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44673         * crypt/sha256-crypt.c: Include crypt-private.h.
44674         (b64t): Remove variable.
44675         (__sha256_crypt_r): Remove b64_from_24bit and replace
44676         with __b64_from_24bit.
44677         * crypt/sha512-crypt.c: Likewise.
44679 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44681         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44682         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44683         Label the code __libc_vfork rather than __vfork.
44684         [!NOT_IN_libc] (vfork): Define as weak alias.
44685         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44686         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44687         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44689 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44691         * malloc/malloc.c (malloc_info): Fix format specifier for
44692         n_mmaps.
44694 2014-06-02  Wilco  <wdijkstr@arm.com>
44696         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44697         FPCR write.
44699 2014-06-02  Wilco  <wdijkstr@arm.com>
44701         [BZ #17009]
44702         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44703         Rewrite to reduce FPCR/FPSR accesses.
44705 2014-06-01  David S. Miller  <davem@davemloft.net>
44707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44709 2014-05-31  David S. Miller  <davem@davemloft.net>
44711         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44712         to occur in round to nearest mode when |x| >= 2.0
44714 2014-05-30  Richard Henderson  <rth@twiddle.net>
44716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44717         (PSEUDO_RET_NOERRNO): Remove.
44718         (ret): Don't redefine.
44719         (ret_NOERRNO): Define in terms of ret.
44720         (ret_ERRVAL): Likewise.
44722         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44723         use of PSEUDO_RET; perform the error check directly.
44725 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44727         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44728         with __int128_t.
44730 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44732         * malloc/malloc (malloc_info): Fix formatting.
44734 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44735             Roland McGrath  <roland@hack.frob.com>
44737         * malloc/malloc (malloc_info): Also print mmapped statistics.
44739 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44741         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44742         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44744 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44746         * malloc/malloc.c (malloc_info): Inline mi_arena.
44748 2014-05-29  Richard Henderson  <rth@twiddle.net>
44750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44751         Remove comma before expanding ASM_ARGS_##nr.
44752         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44753         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44754         of ASM_ARGS_##nr.
44755         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44756         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44757         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44758         (ASM_ARGS_1): Add leading comma.
44760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44761         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44762         to __errno_location.
44763         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44764         Remove the expected plt for __errno_location.
44766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44767         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44768         call to __read_tp.
44770         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44771         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44772         it and break it down.
44773         (DOCARGS_0, DOCARGS_1): Do nothing.
44774         (DOCARGS_2): Update to store into the new stack frame.
44775         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44776         (UNDOCARGS_1): Update to restore from the new stack frame.
44777         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44778         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44781         (SINGLE_THREAD_P): New parameter for result regno.
44782         (PSEUDO): Update to match; use cbz instead of beq.
44784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44785         Use ENTRY to define the _nocancel entry point.  Share the syscall
44786         and syscall error check paths with the cancel path.
44787         (PSEUDO_END): New.
44789         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44790         whitespace; tabs before and after asm mnemonics.
44792 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44794         [BZ #15132]
44795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44796         Call fstat64 or stat64 internally, depending on arguments passed.
44797         Replace stat buffer argument with file descriptor argument.
44798         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44800         Pass fd to __internal_statvfs instead of calling fstat64.
44801         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44802         Pass fd to __internal_statvfs64 instead of calling fstat64.
44803         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44804         Pass -1 to __internal_statvfs instead of calling stat64.
44805         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44806         Pass -1 to __internal_statvfs64 instead of calling stat64.
44808 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44810         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44811         that was previously under [RESET_PID].
44812         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44814         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44815         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44817 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44819         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44821         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44822         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44824 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44826         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44828 2014-05-27  Andreas Schwab  <schwab@suse.de>
44830         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44831         TLS_INIT_TP macro.
44832         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44833         * elf/rtld.c (init_tls, dl_main): Likewise.
44834         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44835         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44836         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44837         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44838         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44839         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44840         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44841         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44842         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44843         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44844         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44845         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44846         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44847         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44848         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44849         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44850         * sysdeps/generic/tls.h: Update description.
44852 2014-05-27  Will Newton  <will.newton@linaro.org>
44854         [BZ #16990]
44855         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44856         and restore r2 rather than just restoring.
44858 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44860         [BZ #16724]
44861         * libio/tst-ftell-append.c: New test case.
44862         * libio/Makefile (tests): Add test case.
44863         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44864         append mode.
44865         * libio/wfileops.c (do_ftell_wide): Likewise.
44867 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44871         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44872         ...
44873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44875         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44876         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44877         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44878         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44879         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44882         Moved ...
44883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44885         Moved ...
44886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44887         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44888         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44889         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44890         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44891         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44892         ...
44893         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44894         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44895         Moved ...
44896         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44897         here.
44898         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44899         ...
44900         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44901         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44902         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44905         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44906         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44907         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44910         merge into ...
44911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44913         ...
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44916         ...
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44919         Moved ...
44920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44921         here.
44922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44923         Moved ...
44924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44926         Moved ...
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44930         conditional [RESET_PID].
44931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44933         removed.
44934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44935         removed.
44937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44938         <tcb-offsets.h>.
44939         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44940         (__libc_vfork): New strong alias.
44941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44942         removed.
44943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44944         Removed.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44947         <tcb-offsets.h>.
44948         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44949         (__libc_vfork): New strong alias.
44950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44951         removed.
44952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44953         removed.
44955 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44957         * malloc/malloc.c (mi_arena): New function.
44958         (malloc_info): Remove nested function mi_arena. Call non-nosted
44959         function mi_arena.
44961 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44963         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44964         by insrwi.
44965         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44966         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44967         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44968         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44969         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44970         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44971         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44973 2014-05-26  Andreas Schwab  <schwab@suse.de>
44975         [BZ #16984]
44976         * locale/programs/repertoire.c (repertoire_read): Add slash
44977         between I18NPATH element and file name.
44978         * locale/programs/locfile.c (locfile_read): Likewise.
44980 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44982         * nptl/pthread_mutexattr_settype.c
44983         (__pthread_mutexattr_settype):
44984         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44986 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44988         * nptl/tst-mutex5 (do_test):
44989         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44991 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44993         * benchtests/README: Document 'init' directive.
44994         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44995         BENCH_INIT.
44996         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44997         (parse_file): Recognize 'init' directive.
44999 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45001         [BZ #16796]
45002         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45003         alignment of struct pthread.
45005 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45007         [BZ #16878]
45008         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45009         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45010         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45011         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45013 2014-05-25  Richard Henderson  <rth@twiddle.net>
45015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45016         (SINGLE_THREAD_P_PIC): Remove.
45017         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45018         (SINGLE_THREAD_P_PIC): Remove.
45020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45021         branch to syscall error ...
45022         (PSEUDO): ... here.
45023         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45024         from __local_syscall_error to .Lsyscall_error.
45025         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45026         (SYSCALL_ERROR): Update label name.
45028         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45029         Do not use DOARGS/UNDOARGS.
45030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45031         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45032         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45033         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45034         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45036         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45037         block comment.
45039         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45040         define if !NOT_IN_libc.
45041         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45042         define with non-default symbol versions.
45044 2014-05-23  Richard Henderson  <rth@twiddle.net>
45046         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45047         (vfork, __vfork): Define via compat_symbol.
45049         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45050         [!HAVE_IFUNC] (vfork_compat): Remove.
45051         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45053 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45055         [BZ #16978]
45056         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45057         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45058         variable.
45060 2014-05-23  Richard Henderson  <rth@twiddle.net>
45062         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45063         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45064         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45065         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45067         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45068         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45069         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45070         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45071         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45072         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45073         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45074         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45075         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45076         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45077         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45078         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45079         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45080         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45081         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45082         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45083         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45084         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45085         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45086         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45087         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45088         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45089         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45090         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45091         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45092         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45093         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45094         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45095         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45096         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45097         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45098         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45099         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45100         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45101         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45102         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45103         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45104         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45105         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45106         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45107         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45108         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45109         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45110         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45111         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45112         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45114         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45115         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45116         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45117         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45118         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45120         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45122         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45124         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45125         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45126         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45127         before exiting on error.
45128         (__libc_vfork): New strong alias.
45129         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45130         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45132         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45133         that was previously under [RESET_PID].
45134         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45136         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45138 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45140         [BZ #16977]
45141         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45142         value when x - 1 is zero.
45143         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45144         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45145         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45146         0.0L for an argument of 1.0L.
45147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45148         Likewise.
45149         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45150         value when x - 1 is zero.
45151         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45152         * sysdeps/i386/fpu/libm-test-ulps: Update.
45153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45155 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45157         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45158         alphasort and versionsort.
45160 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45162         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45163         macro.
45164         [copysignf]: Likewise.
45166 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45168         * crypt/md5-crypt.c: Fix formatting.
45170 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45172         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45173         (b64_from_24bit): New function.
45175 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45178         libc_hidden_builtin_def to ifunc.
45179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45180         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45182 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45184         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45185         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45187 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45189         * nscd/Depend (linuxthreads): Remove.
45190         (nptl): Add.
45191         * resolv/Depend (linuxthreads): Remove.
45192         * rt/Depend (linuxthreads): Remove.
45194         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45195         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45196         $(common-objpfx)elf/.
45197         (link-libc-before-gnulib): Likewise.
45198         (elfobjdir): Remove variable.
45199         * Makefile (install): Use $(elf-objpfx) instead of
45200         $(common-objpfx)elf/.
45201         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45202         $(elfobjdir)/.
45203         (link-libc-deps): Likewise.
45204         ($(common-objpfx)libc.so): Likewise.
45205         ($(common-objpfx)linkobj/libc.so): Likewise.
45206         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45207         instead of $(common-objpfx)elf/.
45208         (symbolic-link-list): Likewise.
45209         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45210         [$(cross-compiling) = no]: Likewise.
45211         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45212         $(elfobjdir)/.
45213         (static-gnulib-arch): Likewise.
45214         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45215         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45216         $(common-objpfx)elf/.
45218 2014-05-21  Richard Henderson  <rth@redhat.com>
45220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45221         (SINGLE_THREAD_P): Use the correct width load.  Fold
45222         into the ldr offset.
45224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45225         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45227 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45229         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45230         (libgcc_s_resume): Use __attribute_used__.
45231         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45232         Likewise.
45234 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45236         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45237         optimization when used with float constants.
45239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45241 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45243         [BZ #16915]
45244         * locale/nl_langinfo_l.c: Make direct reference to every
45245         _nl_current_CATEGORY symbol.
45246         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45247         (tests-static): Add tst-langinfo-static.
45248         (tests-special): Add tst-langinfo-static.out.
45249         ($(objpfx)tst-langinfo.out): Redirect output.
45250         ($(objpfx)tst-langinfo-static.out): New.
45251         * localedata/tst-langinfo.sh: Send output to stdout.
45252         * localedata/tst-langinfo-static.c: New file.
45254         [BZ #16965]
45255         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45256         when the shift amount is modulo the limb size.
45258 2014-05-20  Richard Henderson  <rth@redhat.com>
45260         [BZ #16967]
45261         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45262         Change type of sa_flags from unsigned int to int.
45264         [BZ #16966]
45265         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45267         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45269 2014-05-20  Will Newton  <will.newton@linaro.org>
45271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45272         Test the return value of the system call in the nocancel case.
45274 2014-05-20  Will Newton  <will.newton@linaro.org>
45275             Yvan Roux  <yvan.roux@linaro.org>
45277         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45278         #include of asm/ptrace.h.
45279         (PTRACE_GET_THREAD_AREA): Remove #undef.
45280         (PTRACE_GETHBPREGS): Likewise.
45281         (PTRACE_SETHBPREGS): Likewise.
45282         (struct user_regs_struct): New structure.
45283         (struct user_fpsimd_struct): New structure.
45284         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45285         #include of asm/ptrace.h and second #include of sys/user.h.
45286         (PTRACE_GET_THREAD_AREA): Remove #undef.
45287         (PTRACE_GETHBPREGS): Likewise.
45288         (PTRACE_SETHBPREGS): Likewise.
45289         (ELF_NGREG): Use new struct user_regs_struct.
45290         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45292 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45297 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45299         [BZ #16958]
45300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45301         membar to avoid block loads/stores to overlap previous stores.
45303 2014-05-17  Richard Henderson  <rth@redhat.com>
45305         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45306         Create the __##syscall_name##_nocancel entry point.
45307         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45308         Remove; let the sysdep-cancel.h code create it.
45310 2014-05-17  David S. Miller  <davem@davemloft.net>
45312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45313         Protect with __USE_GNU.
45314         (TIOCSET_TEMPT): Likewise.
45315         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45316         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45317         these are already provided in bits/ioctl-types.h
45319 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45321         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45322         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45324         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45325         Use wait4 regardless of [__NR_waitpid].
45327 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45329         PR libgcc/60166
45330         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45331         (_FP_NANSIGN_Q): Set the quiet bit.
45333 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45335         * benchtests/Makefile
45336         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45337         not $(common-objpfx)math/libm.so.
45338         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45339         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45340         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45341         $(common-objpfx)dlfcn/libdl.so.
45342         ($(objpfx)tst-audit8): Depend on $(libm), not
45343         $(common-objpfx)math/libm.so.
45344         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45345         not $(common-objpfx)dlfcn/libdl.so.
45346         * math/Makefile
45347         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45348         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45349         [$(build-shared) = yes].
45350         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45351         $(common-objpfx)nptl/libpthread.so.
45352         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45353         $(common-objpfx)math/libm.so$(libm.so-version) or
45354         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45355         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45356         $(common-objpfx)dlfcn/libdl.so.
45357         * setjmp/Makefile (link-libm): Remove variable.
45358         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45359         * stdio-common/Makefile (link-libm): Remove variable.
45360         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45361         * stdlib/Makefile (link-libm): Remove variable.
45362         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45363         ($(objpfx)tst-strtod-round): Likewise.
45364         ($(objpfx)tst-tininess): Likewise.
45365         ($(objpfx)tst-strtod-underflow): Likewise.
45366         ($(objpfx)tst-strtod6): Likewise.
45367         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45368         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45369         $(common-objpfx)dlfcn/libdl.so.
45371 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45373         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45374         BSD terminal modes definitions.
45376 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45378         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45379         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45381         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45382         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45383         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45384         Don't do #include_next.
45385         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45386         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45387         Don't do #include_next.
45388         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45389         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45390         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45391         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45393 2014-05-16  Allan McRae  <allan@archlinux.org>
45395         * po/sv.po: Update Swedish translation from translation project.
45397         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45398         in sed expression.
45400 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45402         [BZ #16917]
45403         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45404         errno if the TIOCGPTN ioctl fails with an error different than
45405         EINVAL.
45406         * login/tst-ptsname.c: New file.
45407         * login/Makefile (tests): Add tst-ptsname.
45409         [BZ #16943]
45410         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45411         and prlimit64.
45413 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45415         [BZ #16849]
45416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45417         herrno to return EAI_AGAIN.
45419 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45421         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45422         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45423         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45424         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45425         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45426         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45427         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45428         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45429         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45430         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45431         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45432         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45433         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45434         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45435         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45436         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45437         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45438         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45439         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45440         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45441         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45442         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45443         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45444         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45445         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45446         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45447         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45448         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45449         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45450         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45452         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45454         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45456         Moved ...
45457         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45459         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45461         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45463         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45465         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45467         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45469         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45471         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45473         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45475         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45477         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45479         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45481         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45483         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45485         Moved ...
45486         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45488         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45490         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45492         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45494         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45496         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45498         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45500         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45502         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45504         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45506         Moved ...
45507         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45509         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45511         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45512         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45513         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45514         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45515         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45516         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45517         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45518         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45519         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45520         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45521         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45522         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45523         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45525         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45526         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45527         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45528         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45529         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45530         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45531         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45532         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45533         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45534         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45535         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45536         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45537         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45538         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45539         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45540         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45541         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45543         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45544         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45546         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45547         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45548         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45550         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45552         Moved ...
45553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45555         Moved ...
45556         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45557         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45558         Moved ...
45559         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45560         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45561         Moved ...
45562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45563         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45564         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45565         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45566         Moved ...
45567         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45568         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45569         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45571         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45572         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45573         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45574         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45575         Moved ...
45576         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45577         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45578         Moved ...
45579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45580         ... here.
45581         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45582         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45583         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45584         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45585         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45586         Moved ...
45587         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45588         ... here.
45589         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45590         Moved ...
45591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45592         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45593         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45594         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45595         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45596         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45597         Moved ...
45598         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45600         Moved ...
45601         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45602         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45603         Moved ...
45604         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45605         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45606         Moved ...
45607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45608         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45609         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45610         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45611         Moved ...
45612         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45613         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45614         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45616         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45617         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45618         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45619         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45620         Moved ...
45621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45622         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45623         Moved ...
45624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45625         ... here.
45626         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45627         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45628         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45629         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45630         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45631         Moved ...
45632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45633         ... here.
45634         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45635         Moved ...
45636         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45637         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45638         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45639         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45640         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45641         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45642         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45643         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45644         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45646         Moved ...
45647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45648         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45649         Moved ...
45650         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45651         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45652         Moved ...
45653         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45654         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45655         Moved ...
45656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45657         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45658         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45659         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45660         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45661         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45662         Moved ...
45663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45664         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45665         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45667         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45668         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45669         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45670         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45671         Moved ...
45672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45673         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45674         Moved ...
45675         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45676         ... here.
45677         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45678         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45679         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45680         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45682         Moved ...
45683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45684         ... here.
45685         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45686         Moved ...
45687         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45688         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45689         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45690         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45691         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45692         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45693         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45694         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45695         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45696         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45697         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45699         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45700         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45702         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45703         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45705         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45706         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45707         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45708         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45709         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45710         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45711         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45712         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45713         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45714         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45716         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45718         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45719         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45721         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45722         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45723         Moved ...
45724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45728         Moved ...
45729         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45732         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45733         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45734         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45735         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45736         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45737         Moved ...
45738         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45739         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45740         Moved ...
45741         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45742         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45743         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45745         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45747         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45748         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45749         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45750         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45751         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45752         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45753         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45754         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45755         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45756         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45757         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45759         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45760         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45761         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45762         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45763         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45765         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45766         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45767         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45768         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45769         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45770         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45771         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45772         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45773         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45774         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45779         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45780         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45781         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45782         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45783         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45784         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45785         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45786         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45787         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45788         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45789         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45790         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45791         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45792         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45794         Update #include.
45795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45796         Likewise.
45797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45798         Likewise.
45799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45800         Likewise.
45801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45802         Likewise.
45803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45804         Likewise.
45805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45806         Likewise.
45807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45808         Likewise.
45809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45810         Likewise.
45811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45812         Likewise.
45813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45818         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45819         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45820         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45821         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45822         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45824         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45830         that was previously under [RESET_PID].
45831         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45832         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45833         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45835         * sysdeps/i386/nptl/Implies: New file.
45836         * sysdeps/x86_64/nptl/Implies: New file.
45837         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45838         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45839         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45840         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45842         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45843         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45844         (__libc_vfork): New strong alias.
45845         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45846         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45848         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45849         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45850         (__libc_vfork): New strong alias.
45851         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45852         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45854         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45855         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45856         (__libc_vfork): New strong alias.
45857         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45858         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45859         * nptl/pt-vfork.c: New file.
45860         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45861         (libpthread: GLIBC_2.20): New version set (empty).
45863 2014-05-14  Will Newton  <will.newton@linaro.org>
45865         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45866         rather than #if.
45868 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45870         [BZ #16564]
45871         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45872         arguments with exponent 65 or above.
45873         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45874         arguments 0x1p113L or above.
45875         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45876         to arguments 0x1p107L or above.
45877         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45878         positive arguments with exponent 65 or above.
45879         * math/auto-libm-test-in: Add more tests of log1p.
45880         * math/auto-libm-test-out: Regenerated.
45882         [BZ #16928]
45883         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45884         non-finite arguments is +0.
45885         * math/s_cacosf.c (__cacosf): Likewise.
45886         * math/s_cacosl.c (__cacosl): Likewise.
45887         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45888         * sysdeps/i386/fpu/libm-test-ulps: Update.
45889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45891         [BZ #16927]
45892         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45893         value.
45894         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45895         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45896         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45897         for explicit high bit of mantissa when testing for argument equal
45898         to 1.
45899         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update.
45901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45903         [BZ #16516]
45904         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45905         (__erf): Scale by 16 instead of 8 in potentially underflowing
45906         case.  Ensure exception if result actually underflows.
45907         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45908         (__erff): Scale by 16 instead of 8 in potentially underflowing
45909         case.  Ensure exception if result actually underflows.
45910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45911         (efx8): Remove variable.
45912         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45913         case.  Ensure exception if result actually underflows.
45914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45915         (efx8): Remove variable.
45916         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45917         case.  Ensure exception if result actually underflows.
45918         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45919         (efx8): Remove variable.
45920         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45921         case.  Ensure exception if result actually underflows.
45922         * math/auto-libm-test-in: Add more tests of erf.
45923         * math/auto-libm-test-out: Regenerated.
45925 2014-05-14  Andreas Schwab  <schwab@suse.de>
45927         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45928         Remove code conditionalized on USE___THREAD.
45930         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45931         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45932         not definedness.
45934 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45937         Define unconditionally.
45938         (__ASSUME_O_CLOEXEC): Likewise.
45939         (__ASSUME_SOCK_CLOEXEC): Likewise.
45940         (__ASSUME_IN_NONBLOCK): Likewise.
45941         (__ASSUME_PIPE2): Likewise.
45942         (__ASSUME_EVENTFD2): Likewise.
45943         (__ASSUME_SIGNALFD4): Likewise.
45944         (__ASSUME_DUP3): Likewise.
45945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45946         (__ASSUME_DUP3): Do not define.
45947         (__ASSUME_EVENTFD2): Likewise.
45948         (__ASSUME_IN_NONBLOCK): Likewise.
45949         (__ASSUME_O_CLOEXEC): Likewise.
45950         (__ASSUME_PIPE2): Likewise.
45951         (__ASSUME_SIGNALFD4): Likewise.
45952         (__ASSUME_SOCK_CLOEXEC): Likewise.
45953         (__ASSUME_UTIMES): Undefine.
45954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45955         (__ASSUME_UTIMES): Do not define.
45956         (__ASSUME_O_CLOEXEC): Likewise.
45957         (__ASSUME_SOCK_CLOEXEC): Likewise.
45958         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45959         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45960         0x020621].
45961         (__ASSUME_PIPE2): Likewise.
45962         (__ASSUME_EVENTFD2): Likewise.
45963         (__ASSUME_SIGNALFD4): Likewise.
45964         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45965         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45966         Do not define.
45967         (__ASSUME_EVENTFD2): Likewise.
45968         (__ASSUME_SIGNALFD4): Likewise.
45969         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45970         (__ASSUME_32BITUIDS): Likewise.
45971         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45972         (__ASSUME_IPC64): Likewise.
45973         (__ASSUME_ST_INO_64_BIT): Likewise.
45974         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45975         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45977         (__ASSUME_UTIMES): Do not define.
45978         (__ASSUME_PSELECT): Likewise.
45979         (__ASSUME_PPOLL): Likewise.
45980         (__ASSUME_O_CLOEXEC): Likewise.
45981         (__ASSUME_SOCK_CLOEXEC): Likewise.
45982         (__ASSUME_IN_NONBLOCK): Likewise.
45983         (__ASSUME_PIPE2): Likewise.
45984         (__ASSUME_EVENTFD2): Likewise.
45985         (__ASSUME_SIGNALFD4): Likewise.
45986         (__ASSUME_DUP3): Likewise.
45987         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45988         (__ASSUME_UTIMES): Likewise.
45989         (__ASSUME_O_CLOEXEC): Likewise.
45990         (__ASSUME_SOCK_CLOEXEC): Likewise.
45991         (__ASSUME_IN_NONBLOCK): Likewise.
45992         (__ASSUME_PIPE2): Likewise.
45993         (__ASSUME_EVENTFD2): Likewise.
45994         (__ASSUME_SIGNALFD4): Likewise.
45995         (__ASSUME_DUP3): Likewise.
45996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45997         (__ASSUME_UTIMES): Likewise.
45998         (__ASSUME_O_CLOEXEC): Likewise.
45999         (__ASSUME_SOCK_CLOEXEC): Likewise.
46000         (__ASSUME_IN_NONBLOCK): Likewise.
46001         (__ASSUME_PIPE2): Likewise.
46002         (__ASSUME_EVENTFD2): Likewise.
46003         (__ASSUME_SIGNALFD4): Likewise.
46004         (__ASSUME_DUP3): Likewise.
46005         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46006         Likewise.
46007         (__ASSUME_UTIMES): Likewise.
46008         (__ASSUME_EVENTFD2): Likewise.
46009         (__ASSUME_SIGNALFD4): Likewise.
46010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46011         (__ASSUME_O_CLOEXEC): Likewise.
46012         (__ASSUME_SOCK_CLOEXEC): Likewise.
46013         (__ASSUME_IN_NONBLOCK): Likewise.
46014         (__ASSUME_PIPE2): Likewise.
46015         (__ASSUME_EVENTFD2): Likewise.
46016         (__ASSUME_SIGNALFD4): Likewise.
46017         (__ASSUME_DUP3): Likewise.
46018         (__ASSUME_UTIMES): Undefine.
46020         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46021         feclearexcept.  Remove symbol versioning code.
46022         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46023         symbol versioning code.
46024         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46025         symbol versioning code.
46026         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46027         feupdateenv.  Remove symbol versioning code.
46028         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46029         fegetexceptflag.  Remove symbol versioning code.
46030         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46031         fesetexceptflag.  Remove symbol versioning code.
46032         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46033         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46034         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46035         (__posix_fadvise64_l32): Remove prototype.
46036         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46037         code.
46039 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46041         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46042         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46043         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46044         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46046 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46048         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46049         current working directory
46051 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46053         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46054         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46055         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46056         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46057         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46058         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46059         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46060         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46061         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46062         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46063         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46064         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46065         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46066         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46067         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46068         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46069         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46070         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46071         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46072         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46074         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46075         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46076         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46077         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46078         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46079         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46080         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46081         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46082         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46084         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46085         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46086         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46087         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46088         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46089         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46090         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46091         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46092         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46093         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46094         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46096         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46097         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46099         * sysdeps/unix/sysv/linux/arm/Makefile
46100         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46101         Add rt-aeabi_unwind_cpp_pr1.
46102         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46103         Add nptl-aeabi_unwind_cpp_pr1.
46104         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46105         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46106         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46107         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46108         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46109         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46111         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46112         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46113         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46114         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46116         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46117         Deconditionalize the code that was previously under [RESET_PID].
46118         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46120         * sysdeps/generic/exit-thread.h: New file.
46121         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46122         * include/unistd.h (__exit_thread): Remove declaration.
46123         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46124         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46125         * csu/libc-start.c: Include <exit-thread.h>.
46126         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46127         * nptl/pthread_create.c: Include <exit-thread.h>.
46128         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46129         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46130         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46131         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46132         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46133         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46134         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46135         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46136         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46137         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46138         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46139         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46140         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46141         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46142         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46143         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46144         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46146 2014-05-13  Andreas Schwab  <schwab@suse.de>
46148         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46150 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46152         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46153         (__ASSUME_UTIMES): Do not condition on kernel version.
46154         (__ASSUME_PSELECT): Define unconditionally.
46155         (__ASSUME_PPOLL): Likewise.
46156         (__ASSUME_ATFCTS): Likewise.
46157         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46158         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46159         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46160         (__ASSUME_UTIMENSAT): Define unconditionally.
46161         (__ASSUME_PRIVATE_FUTEX): Likewise.
46162         (__ASSUME_FALLOCATE): Likewise.
46163         (__ASSUME_O_CLOEXEC): Likewise.
46164         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46165         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46166         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46167         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46168         (__ASSUME_IN_NONBLOCK): Likewise.
46169         (__ASSUME_PIPE2): Likewise.
46170         (__ASSUME_EVENTFD2): Likewise.
46171         (__ASSUME_SIGNALFD4): Likewise.
46172         (__ASSUME_DUP3): Likewise.
46173         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46174         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46175         (__ASSUME_AT_RANDOM): Likewise.
46176         (__ASSUME_PREADV): Likewise.
46177         (__ASSUME_PWRITEV): Likewise.
46178         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46179         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46180         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46181         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46182         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46183         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46184         (__ASSUME_O_CLOEXEC): Define unconditionally.
46185         (__ASSUME_PSELECT): Do not undefine conditionally.
46186         (__ASSUME_PPOLL): Likewise.
46187         (__ASSUME_ATFCTS): Likewise.
46188         (__ASSUME_SET_ROBUST_LIST): Likewise.
46189         (__ASSUME_UTIMENSAT): Likewise.
46190         (__ASSUME_FDATASYNC): Define unconditionally.
46191         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46192         (__ASSUME_SIGFRAME_V2): Likewise.
46193         )__ASSUME_EVENTFD2): Likewise.
46194         (__ASSUME_SIGNALFD4): Likewise.
46195         (__ASSUME_PSELECT): Do not undefine conditionally.
46196         (__ASSUME_PPOLL): Likewise.
46197         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46198         (__ASSUME_PSELECT): Define unconditionally.
46199         (__ASSUME_PPOLL): Likewise.
46200         (__ASSUME_O_CLOEXEC): Likewise.
46201         (__ASSUME_SOCK_CLOEXEC): Likewise.
46202         (__ASSUME_IN_NONBLOCK): Likewise.
46203         (__ASSUME_PIPE2): Likewise.
46204         (__ASSUME_EVENTFD2): Likewise.
46205         (__ASSUME_SIGNALFD4): Likewise.
46206         (__ASSUME_DUP3): Likewise.
46207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46208         (__ASSUME_O_CLOEXEC): Likewise.
46209         (__ASSUME_SOCK_CLOEXEC): Likewise.
46210         (__ASSUME_IN_NONBLOCK): Likewise.
46211         (__ASSUME_PIPE2): Likewise.
46212         (__ASSUME_EVENTFD2): Likewise.
46213         (__ASSUME_SIGNALFD4): Likewise.
46214         (__ASSUME_DUP3): Likewise.
46215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46216         (__ASSUME_EVENTFD2): Likewise.
46217         (__ASSUME_SIGNALFD4): Likewise.
46218         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46220 2014-05-12  Andreas Schwab  <schwab@suse.de>
46222         [BZ #16932]
46223         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46224         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46225         than maximum RPC packet size.
46226         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46227         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46228         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46229         (_nss_nis_getservbyport_r): Likewise.
46231 2014-05-12  Will Newton  <will.newton@linaro.org>
46233         * malloc/Makefile (tests): Add tst-mallopt.
46234         * malloc/tst-mallopt.c: New file.
46236 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46238         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46239         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46241 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46243         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46244         (tst-tlsmod6.so): Likewise.
46246 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46248         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46250 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46252         [BZ #16064]
46253         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46254         and <dl-procinfo.h>.
46255         (__fegetenv): Save SSE state in envp->__eip if supported.
46256         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46257         envp->__eip if supported.
46258         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46259         and <dl-procinfo.h>.
46260         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46261         __data_offset and __data_selector in environment to 0.  Set SSE
46262         state if supported.
46263         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46264         test-fenv-sse.
46265         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46266         -mfpmath=sse.
46267         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46269 2014-05-09  Will Newton  <will.newton@linaro.org>
46271         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46272         and libc_relro_required for ARM.
46273         * sysdeps/arm/preconfigure: Regenerate.
46275 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46276             Stefan Liebler  <stli@linux.vnet.ibm.com>
46278         * config.make.in (enable-lock-elision): New Makefile variable.
46279         * configure.ac: Likewise.
46280         * configure: Regenerate.
46281         * sysdeps/s390/configure.ac:
46282         Add check for gcc transactions support.
46283         * sysdeps/s390/configure: Regenerate.
46284         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46285         Build elision files if enabled.
46286         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46287         Add lock elision support for s390.
46288         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46289         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46290         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46291         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46292         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46293         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46294         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46295         Likewise.
46296         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46297         Likewise.
46298         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46299         Likewise.
46300         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46301         Likewise.
46302         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46303         (__lll_timedlock_elision, __lll_lock_elision)
46304         (__lll_unlock_elision, __lll_trylock_elision)
46305         (lll_timedlock_elision, lll_lock_elision)
46306         (lll_unlock_elision, lll_trylock_elision): Add.
46307         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46308         (pthread_mutex_t): Add lock elision support for s390.
46310 2014-05-14  Wilco  <wdijkstr@arm.com>
46312         * sysdeps/arm/fclrexcpt.c: Cleanup.
46313         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46314         * sysdeps/arm/feenablxcpt.c: Cleanup.
46315         * sysdeps/arm/fegetenv.c: Cleanup.
46316         * sysdeps/arm/fegetexcept.c: Cleanup.
46317         * sysdeps/arm/fegetround.c: Cleanup.
46318         * sysdeps/arm/feholdexcpt.c: Cleanup.
46319         * sysdeps/arm/fesetenv.c: Cleanup.
46320         * sysdeps/arm/fesetround.c: Cleanup.
46321         * sysdeps/arm/feupdateenv.c: Cleanup.
46322         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46323         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46324         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46325         * sysdeps/arm/ftestexcept.c: Cleanup.
46326         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46327         * sysdeps/arm/setfpucw.c: Cleanup.
46329 2014-05-09  Will Newton  <will.newton@linaro.org>
46331         * sysdeps/arm/armv7/strcmp.S: New file.
46332         * NEWS: Mention addition of ARMv7 optimized strcmp.
46334 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46336         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46337         look for %.ac rather than %.in.
46339         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46340         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46341         * sysdeps/mach/hurd/configure: Regenerated.
46342         * sysdeps/unix/sysv/linux/configure: Regenerated.
46344         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46346 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46348         [BZ #16922]
46349         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46350         (LONG_SUB): Ditto.
46351         (PTR_SUB): Ditto.
46353 2014-05-07  Andreas Schwab  <schwab@suse.de>
46355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46356         when skipping over non-matching result from nscd.
46358 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46360         [BZ #16876]
46361         * nptl/sockperf.c (client): Check socket return value.
46363         [BZ #16877]
46364         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46365         nscd security class.
46367 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46369         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46370         * sysdeps/arm/unwind.h: ... here.
46372 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46374         [BZ #16916]
46375         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46376         Define.
46378 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46380         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46381         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46382         multiarch strncpy for PPC64.
46383         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46384         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46386         multiarch optimizations.
46387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46388         (__libc_ifunc_impl_list): Likewise.
46389         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46390         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46391         multiarch stpncpy for PPC64.
46392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46393         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46395 2014-05-06  Andreas Schwab  <schwab@suse.de>
46397         [BZ #16912]
46398         * gmon/mcount.c (_MCOUNT_DECL): Use
46399         atomic_compare_and_exchange_bool_acq instead of
46400         catomic_compare_and_exchange_bool_acq.
46402 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46404         * elf/Makefile (others, install-bin): Remove pldd.
46405         (pldd-modules): Variable removed.
46406         ($(objpfx)pldd): Target removed.
46407         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46408         (others, install-bin): Append pldd here.
46409         ($(objpfx)pldd): New target.
46411         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46412         to 0, so the first #if test emitted later doesn't see it undefined.
46413         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46414         * sysdeps/gnu/errlist.c: Regenerated.
46416 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46418         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46419         [libc_hidden_builtin_def]: Define to empty value.
46420         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46421         [libc_hidden_builtin_def]: Likewise.
46422         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46423         [libc_hidden_builtin_def]: Likewise.
46424         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46425         [libc_hidden_builtin_def]: Likewise.
46426         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46427         __redirect_memcpy and define ifunc as default hidden symbol.
46428         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46429         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46431 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46433         * locale/iso-4217.def: Reintroduce XDR currency.
46435 2014-05-04  Allan McRae  <allan@archlinux.org>
46437         * po/eo.po: Update Esperanto translation from translation project.
46439 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46441         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46442         and FEATURE_INDEX_MAX to 1.
46443         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46445 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46447         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46448         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46449         * iconvdata/big5.c (ONE_DIRECTION): Define.
46450         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46451         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46452         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46453         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46454         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46455         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46456         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46457         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46458         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46459         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46460         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46461         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46462         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46463         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46464         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46465         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46466         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46467         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46468         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46469         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46470         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46471         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46472         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46473         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46474         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46475         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46476         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46477         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46478         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46479         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46480         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46481         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46482         * iconvdata/johab.c (ONE_DIRECTION): Define.
46483         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46484         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46485         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46486         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46487         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46488         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46489         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46490         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46491         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46492         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46494 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46496         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46497         (_IO_JUMPS_OFFSET): Define to 0.
46499         * nptl/sysdeps/pthread/bits/libc-lock.h
46500         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46501         (__libc_lock_define_initialized_recursive): Always define using
46502         initializer.  Modern compilers treat uninitialized (implicit zero) and
46503         explicit zero initializers the same (i.e. put the datum in bss).
46505 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46507         * nscd/nscd-client.h: Include <string.h>.
46509 2014-05-01  David S. Miller  <davem@davemloft.net>
46511         [BZ #16885]
46512         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46513         multiple zero bytes exist at the end of a string.
46514         Reported by Aurelien Jarno <aurelien@aurel32.net>
46516         * string/test-strcmp.c (check): Add explicit test for situations where
46517         there are multiple zero bytes after the first.
46519 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46521         [BZ #16890]
46522         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46523         when compiling wprintf.
46524         * stdio-common/tstdiomisc.c (t3): New function.
46525         (main): Call it.
46527 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46529         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46530         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46531         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46532         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46534 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46536         * stdlib/longlong.h: Updated from GCC.
46538 2014-05-01  Will Newton  <will.newton@linaro.org>
46539             Bernard Ogden  <bernie.ogden@linaro.org>
46541         * NEWS: Update fixed bug list.
46543         [BZ #15119]
46544         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46546 2014-04-30  David S. Miller  <davem@davemloft.net>
46548         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46549         (libc_feholdexcept_setround_sparc_ctx): New function.
46550         (libc_fesetenv_sparc_ctx): Likewise.
46551         (libc_feupdateenv_sparc_ctx): Likewise.
46552         (libc_feholdsetround_sparc_ctx): Likewise.
46553         (libc_feholdexcept_setround_ctx): Define.
46554         (libc_feholdexcept_setroundf_ctx): Likewise.
46555         (libc_feholdexcept_setroundl_ctx): Likewise.
46556         (libc_fesetenv_ctx): Likewise.
46557         (libc_fesetenvf_ctx): Likewise.
46558         (libc_fesetenvl_ctx): Likewise.
46559         (libc_feupdateenv_ctx): Likewise.
46560         (libc_feupdateenvf_ctx): Likewise.
46561         (libc_feupdateenvl_ctx): Likewise.
46562         (libc_feresetround_ctx): Likewise.
46563         (libc_feresetroundf_ctx): Likewise.
46564         (libc_feresetroundl_ctx): Likewise.
46565         (libc_feholdsetround_ctx): Likewise.
46566         (libc_feholdsetroundf_ctx): Likewise.
46567         (libc_feholdsetroundl_ctx): Likewise.
46569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46570         with __USE_GNU instead of XOPEN cpp guards.
46572         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46573         0.
46575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46576         with XOPEN cpp guards.
46578 2014-04-30  Julian Brown  <julian@codesourcery.com>
46580         [BZ #16888]
46581         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46582         handling.
46584 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46586         [BZ #9894]
46587         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46588         Change to 2.6.32.
46589         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46590         * sysdeps/unix/sysv/linux/configure: Regenerated.
46591         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46592         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46593         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46594         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46595         * README: Update reference to required Linux kernel version.
46596         * manual/install.texi (Linux): Update reference to required Linux
46597         kernel headers version.
46598         * INSTALL: Regenerated.
46600         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46601         header inclusion.
46602         [POSIX] (limits.h): Likewise.
46603         [POSIX] (math.h): Likewise.
46604         [POSIX] (sys/wait.h): Likewise.
46605         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46606         function.
46607         [POSIX] (stddef.h): Do not allow header inclusion.
46609 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46611         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46613 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46615         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46616         Return immediately after lll_futex_wake.
46618 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46620         [BZ #16791]
46621         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46622         structure.
46623         (datahead_init_pos): Call datahead_init_common early.
46624         (datahead_init_neg): Likewise.
46626         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46627         datahead_init_neg): New functions.
46628         * nscd/aicache.c (addhstaiX): Use them.
46629         * nscd/grpcache.c (cache_addgr): Likewise.
46630         * nscd/hstcache.c (cache_addhst): Likewise.
46631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46632         * nscd/netgroupcache.c (do_notfound): Likewise.
46633         (addgetnetgrentX): Likewise.
46634         (addinnetgrX): Likewise.
46635         * nscd/pwdcache.c (cache_addpw): Likewise.
46636         * nscd/servicescache.c (cache_addserv): Likewise.
46638 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46639             Atsushi Onoe  <atsushi@onoe.org>
46641         [BZ #14308]
46642         [BZ #12994]
46643         [BZ #13651]
46644         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46645         one response is valid.
46646         * resolv/res_send.c (send_dg): Check for validity of other
46647         response if the current response is a referral.
46649 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46651         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46653 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46655         [BZ #16823]
46656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46657         Always divide by positive zero when computing -Inf result.
46658         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46659         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46661 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46663         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46664         FPSCR if value do not change.
46665         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46666         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46667         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46668         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46669         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46670         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46671         function.
46673 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46675         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46676         * sysdeps/unix/sysv/linux/hppa: Move directory from
46677         ports/systeps/unix/sysv/linux/hppa.
46678         * README: Update listing for hppa-*-linux-gnu.
46680 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46682         [BZ #16754]
46683         * manual/stdio.texi (Hook functions): Fix types of stream hook
46684         functions.
46685         [BZ #16854]
46686         * socket/sys/socket.h: Fix typo in comment.
46688 2014-04-28  Wilco  <wdijkstr@arm.com>
46690         * sysdeps/arm/fenv_private.h: New file.
46691         * sysdeps/arm/math_private.h: New file.
46692         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46694 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46696         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46697         with __int128_t.
46698         (La_x86_64_retval): Likewise.
46700 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46702         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46703         fpsr if value didn't change.
46704         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46705         to fpcr if value didn't change.
46706         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46707         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46708         fpsr or fpcr if value didn't change.
46709         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46710         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46711         fpcr if value didn't change.
46712         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46713         to fpsr if value didn't change.
46715 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46717         * nptl/tst-sem3.c: Use test-skeleton.c
46718         (main): Rename to do_test.  Use return instead of
46719         exit.
46720         * nptl/tst-sem4.c: Use test-skeleton.c
46721         (main): Rename to do_test.
46723 2014-04-22  David S. Miller  <davem@davemloft.net>
46725         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46726         (struct sigaction): New struct member __glibc_reserved0, change
46727         type of sa_flags to int.
46729 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46731         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46732         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46734 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46736         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46737         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46739 2014-04-22  Will Newton  <will.newton@linaro.org>
46740             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46742         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46743         (__longjmp): Add longjmp and longjmp_target SystemTap
46744         probes.
46745         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46746         (__sigsetjmp): Add setjmp SystemTap probe.
46748 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46750         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46751         match manual order.
46753 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46755         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46757         * sysdeps/powerpc/fpu/fenv_private.h
46758         (libc_feholdexcept_setroundl_ctx): Define to
46759         libc_feholdexcept_setround_ppc_ctx.
46760         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46761         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46762         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46763         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46765 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46767         * sysdeps/aarch64/math-tests.h: New file.
46769 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46771         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46772         New.
46773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46774         Check and set bit_AVX2_Usable.
46775         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46776         macro.
46777         (bit_AVX2): Likewise.
46778         (index_AVX2_Usable): Likewise.
46779         (CPUID_AVX2): Likewise.
46780         (HAS_AVX2): Likewise.
46782 2014-04-17  Will Newton  <will.newton@linaro.org>
46784         * manual/setjmp.texi (System V contexts): Add note that
46785         calling setcontext on a context created by a call to a
46786         signal handler is undefined.  Update text to note that
46787         setcontext from a signal handler is possible but not
46788         recommended.
46790         [BZ #16629]
46791         * stdlib/tst-setcontext.c: Include signal.h.
46792         (main): Check that the signal stack before and
46793         after swapcontext is the same.
46795         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46796         Re-implement to restore registers in user code and avoid
46797         rt_sigreturn system call.
46799 2014-04-17  Wilco  <wdijkstr@arm.com>
46801         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46802         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46803         * math/test-fenv.c: Skip exception trap tests on targets which only
46804         support non-stop mode.
46806 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46807             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46809         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46810         (libc_feholdsetround_aarch64_ctx)
46811         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46812         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46813         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46814         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46815         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46816         (libc_feresetround_noexl_ctx): Define.
46818 2014-04-16  Richard Henderson  <rth@redhat.com>
46820         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46822         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46823         unwind tables.
46825         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46826         const from the non-libc, non-ldso copy.
46828         * sysdeps/alpha/libm-test-ulps: Regenerate.
46830 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46831             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46833         * sysdeps/aarch64/fpu/math_private.h: New file.
46835 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46837         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46839 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46841         [BZ #16275]
46842         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46843         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46845         Intel MPX bound registers before _dl_profile_fixup.
46846         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46847         registers after _dl_profile_fixup.  Save and restore bound
46848         registers bnd0/bnd1 when calling _dl_call_pltexit.
46849         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46850         (LR_BND_OFFSET): Likewise.
46851         (LRV_BND0_OFFSET): Likewise.
46852         (LRV_BND1_OFFSET): Likewise.
46854 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46856         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46857         to...
46858         * sysdeps/mach/hurd/i386/tls.h: ... here.
46859         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46860         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46861         fields.
46863 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46865         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46867 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46869         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46871 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46873         [BZ #14770]
46874         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46875         * sysdeps/s390/configure: Regenerate.
46877         [BZ #16824]
46878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46879         Set round-to-nearest internally to reduce error accumulation.
46881 2014-04-16  Alan Modra  <amodra@gmail.com>
46883         [BZ #16740]
46884         [BZ #16619]
46885         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46886         * math/libm-test.inc (frexp_test_data): Add tests.
46887         * NEWS: Update fixed bug list.
46889 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46891         * benchtests/Makefile: Depend on libraries in build directory.
46892         (bench-math): Separate out math tests.
46893         (bench-pthread): Separate out pthread tests.
46894         (bench): Include math and pthread tests.
46896 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46898         [BZ #16831]
46899         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46900         _dl_debug_initialize.
46902         * configure.ac: Remove SELinux header check.
46903         * configure: Regenerate.
46904         * nscd/selinux.c (perms): Array of const char* to permission names.
46905         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46906         default policy. Call string_to_security_class and string_to_av_perm to
46907         translate strings. Enforce default policy and call avs_has_perm with
46908         results of translated strings.
46910 2014-04-13  David S. Miller  <davem@davemloft.net>
46912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46914 2014-04-12  Allan McRae  <allan@archlinux.org>
46916         [BZ #16838]
46917         * manual/string.texi (Collation Functions): Fix qsort argument
46918         order in example.
46919         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46921 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46923         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46924         Make the test a no-op if there are no exceptions defined.
46926 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46928         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46929         enable-hardcoded-path-in-tests
46931 2014-04-11  Will Newton  <will.newton@linaro.org>
46933         * benchtests/Makefile (extra-objs): Add json-lib.o.
46934         (bench-func): Tidy up JSON output.
46935         * benchtests/bench-skeleton.c: Include json-lib.h.
46936         (main): Use JSON library functions to do output of
46937         benchmark results.
46938         * benchtests/bench-timing-type.c (main): Output the
46939         timing type simply, leaving formatting to the user.
46940         * benchtests/json-lib.c: New file.
46941         * benchtests/json-lib.h: Likewise.
46943 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46945         [BZ #15215]
46946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46947         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46948         memory barriers.  Add comments.
46949         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46950         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46951         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46952         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46953         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46954         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46956 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46958         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46959         * sysdeps/s390/s390-64/configure.ac: ... this ...
46960         * sysdeps/s390/configure.ac: ... to here.
46961         * sysdeps/s390/s390-32/configure: Delete file.
46962         * sysdeps/s390/s390-64/configure: Delete file.
46963         * sysdeps/s390/configure: Regenerate.
46965 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46967         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46969 2014-04-11  Will Newton  <will.newton@linaro.org>
46971         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46972         to zero if it is not defined elsewhere.  (mtrim): Test
46973         the value of MALLOC_DEBUG with #if rather than #ifdef.
46975 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46977         * benchtests/pthread_once-inputs: New file.
46978         * benchtests/pthread_once-source.c: New file.
46979         * benchtests/README: Update documentation.
46981 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46982             H.J. Lu  <hongjiu.lu@intel.com>
46984         [BZ #16275]
46985         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46986         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46987         * sysdeps/x86_64/configure: Regenerated.
46988         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46989         macro.
46990         (REGISTER_SAVE_RAX): Likewise.
46991         (REGISTER_SAVE_RCX): Likewise.
46992         (REGISTER_SAVE_RDX): Likewise.
46993         (REGISTER_SAVE_RSI): Likewise.
46994         (REGISTER_SAVE_RDI): Likewise.
46995         (REGISTER_SAVE_R8): Likewise.
46996         (REGISTER_SAVE_R9): Likewise.
46997         (REGISTER_SAVE_BND0): Likewise.
46998         (REGISTER_SAVE_BND1): Likewise.
46999         (REGISTER_SAVE_BND2): Likewise.
47000         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47001         bound registers when calling _dl_fixup.
47003 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47005         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47006         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47007         of its definition.
47008         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47009         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47010         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47011         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47012         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47013         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47014         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47016 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47018         [BZ #15514]
47019         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47020         pathconf(_PC_NAME_MAX).
47022 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47024         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47025         Remove macro usage.
47026         (__PTHREAD_SPINS): Move definition to ...
47027         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47028         (__PTHREAD_SPINS): ... here.
47029         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47030         (__PTHREAD_SPIN): Likewise.
47031         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47032         (__PTHREAD_SPIN): Likewise.
47033         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47034         (__PTHREAD_SPIN): Likewise.
47035         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47036         (__PTHREAD_SPIN): Likewise.
47037         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47038         (__PTHREAD_SPIN): Likewise.
47039         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47040         (__PTHREAD_SPIN): Likewise.
47041         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47042         (__PTHREAD_SPIN): Likewise.
47043         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47044         (__PTHREAD_SPIN): Likewise.
47045         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47046         (__PTHREAD_SPIN): Likewise.
47047         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47048         (__PTHREAD_SPIN): Likewise.
47049         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47050         (__PTHREAD_SPIN): Likewise.
47051         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47052         (__PTHREAD_SPIN): Likewise.
47054         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47055         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47056         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47057         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47058         imply folder.
47059         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47060         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47061         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47062         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47063         correct imply path.
47064         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47065         strlen symbol for non multi-arch builds.
47066         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47067         missing hidden_def and weak_alias.
47069 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47071         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47073 2014-04-07  Will Newton  <will.newton@linaro.org>
47075         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47076         and contents.  [!_LIBC] Remove #ifndef and contents.
47077         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47078         * string/memccpy.c (__memccpy): Use ANSI prototype.
47079         * string/memfrob.c (memfrob): Likewise.
47080         * string/strcoll.c (STRCOLL): Likewise.
47081         * string/strlen.c (strlen): Likewise.
47082         * string/strtok.c (STRTOK): Likewise.
47083         * string/strcat.c: Remove unused #include of memcopy.h.
47084         (strcat): Use ANSI prototype.
47085         * string/strchr.c: Remove unused #include of memcopy.h.
47086         (strchr): Use ANSI prototype.
47087         * string/strcmp.c: Remove unused #include of memcopy.h.
47088         (strcmp): Use ANSI prototype.
47089         * string/strcpy.c: Remove unused #include of memcopy.h.
47090         (strcpy): Use ANSI prototype.
47092 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47094         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47095         * config.make.in (config-extra-cppflags): Set it from
47096         libc_extra_cppflags.
47097         * configure.ac (libc_extra_cflags): Make it accumulate over
47098         configure fragments.
47099         (libc_extra_cppflags): New flag.
47100         * configure. Regenerate.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47102         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47103         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47106         [BZ #16815]
47107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47108         result for FE_DOWNWARD rounding mode.
47109         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47110         Likewise.
47111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47113 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47115         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47116         in function argument name.
47118 2014-04-03  David Svoboda  <svoboda@cert.org>
47120         [BZ #5666]
47121         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47122         explicitly.
47124 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47126         * elf/dl-unmap-segments.h: New file.
47127         * sysdeps/generic/ldsodefs.h
47128         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47129         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47130         * elf/dl-fptr.c: Likewise.
47131         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47132         * sysdeps/aarch64/tlsdesc.c: Likewise.
47133         * sysdeps/arm/tlsdesc.c: Likewise.
47134         * sysdeps/i386/tlsdesc.c: Likewise.
47135         * sysdeps/tile/dl-runtime.c: Likewise.
47136         * sysdeps/x86_64/tlsdesc.c: Likewise.
47137         * elf/dl-load.h: New file.
47138         * elf/dl-load.c: Include it.
47139         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47140         Macros moved to dl-load.h.
47141         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47142         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47143         Use _dl_unmap_segments in place of __munmap.
47144         Break out segment-mapping loop into ...
47145         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47147 2014-04-03  Will Newton  <will.newton@linaro.org>
47149         * elf/dl-lookup.c (do_lookup_x): Remove comment
47150         referring to nested function and move variable
47151         declarations down to before first use.
47153 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47155         [BZ #16799]
47156         [BZ #16800]
47157         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47158         with 0 numerator.
47159         * math/s_catanf.c (__catanf): Likewise.
47160         * math/s_catanh.c (__catanh): Likewise.
47161         * math/s_catanhf.c (__catanhf): Likewise.
47162         * math/s_catanhl.c (__catanhl): Likewise.
47163         * math/s_catanl.c (__catanl): Likewise.
47164         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47165         by positive zero when computing -Inf result.
47166         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47167         (catanh_test): Likewise.
47168         * sysdeps/i386/fpu/libm-test-ulps: Update.
47169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47171         [BZ #16789]
47172         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47173         instead of using underflowing value in computing result.
47174         * math/s_clog10.c (__clog10): Likewise.
47175         * math/s_clog10f.c (__clog10f): Likewise.
47176         * math/s_clog10l.c (__clog10l): Likewise.
47177         * math/s_clogf.c (__clogf): Likewise.
47178         * math/s_clogl.c (__clogl): Likewise.
47179         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47180         (clog10_test): Likewise.
47181         * sysdeps/i386/fpu/libm-test-ulps: Update.
47182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47184 2014-04-02  Alan Modra  <amodra@gmail.com>
47186         [BZ #16739]
47187         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47188         output when value is near a power of two.  Use int64_t for lx and
47189         remove casts.  Use decimal rather than hex exponent constants.
47190         Don't use long double multiplication when double will suffice.
47191         * math/libm-test.inc (nextafter_test_data): Add tests.
47192         * NEWS: Add 16739 and 16786 to bug list.
47194         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47196         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47198 2014-04-01  Will Newton  <will.newton@linaro.org>
47200         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47201         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47203 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47205         [BZ #13347]
47206         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47207         * nptl/tst-setuid2.c: New file.
47208         * nptl/Makefile (xtests): Add tst-setuid2.
47210 2014-04-01  Alan Modra  <amodra@gmail.com>
47212         [BZ #16786]
47213         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47215 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47217         [BZ #6803]
47218         [BZ #6804]
47219         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47220         set errno as appropriate.
47221         * math/w_scalbf.c (__scalbf): Likewise.
47222         * math/w_scalbl.c (__scalbl): Likewise.
47223         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47224         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47225         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47226         Add more NaN tests.
47228         [BZ #16349]
47229         * math/w_atan2.c: Include <errno.h>.
47230         (__atan2): Set errno for result underflowing to zero.
47231         * math/w_atan2f.c: Include <errno.h>.
47232         (__atan2f): Set errno for result underflowing to zero.
47233         * math/w_atan2l.c: Include <errno.h>.
47234         (__atan2l): Set errno for result underflowing to zero.
47235         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47236         tests.
47237         * math/auto-libm-test-out: Regenerated.
47239 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47241         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47242         Encode instruction correctly in little endian.
47243         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47244         Likewise.
47245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47246         Likewise.
47247         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47248         Likewise.
47249         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47250         Likewise.
47252 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #9894]
47255         * sysdeps/unix/sysv/linux/kernel-features.h
47256         [__sparc__ && !__arch64__ && !__sparc_v9__]
47257         (__ASSUME_SET_ROBUST_LIST): Do not define.
47258         [__sparc__ && !__arch64__ && !__sparc_v9__]
47259         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47260         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47261         Likewise.
47262         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47263         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47264         (__ASSUME_REQUEUE_PI): Likewise.
47265         (__ASSUME_SET_ROBUST_LIST): Likewise.
47266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47267         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47268         Undefine.
47269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47270         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47271         Likewise.
47272         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47273         Likewise.
47274         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47275         Likewise.
47276         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47277         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47278         Undefine.
47279         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47280         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47281         Likewise.
47283         [BZ #16648]
47284         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47286         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47288 2014-03-31  Will Newton  <will.newton@linaro.org>
47290         * benchtests/Makefile (bench): Add ffs and ffsll to list
47291         of tests.
47292         * benchtests/ffs-inputs: New file.
47293         * benchtests/ffsll-inputs: Likewise.
47295 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47297         [BZ #16770]
47298         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47299         too large before casting to int.
47300         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47301         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47302         * math/libm-test.inc (scalb_test_data): Add more tests.
47304 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47306         * benchtests/Makefile (DETAILED_OPT): New make option.
47307         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47308         set.
47309         * benchtests/bench-skeleton.c: Include stdbool.h.
47310         (main): Store and print timings per input.
47311         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47312         member to each argument value.
47313         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47314         (_print_arg_data): Initialize per-input timing to 0.
47316         * benchtests/Makefile (timing-type): New binary.
47317         (bench-clean): Also remove bench-timing-type.
47318         (bench): New target for timing-type.
47319         (bench-func): Print output in JSON format.
47320         * benchtests/bench-skeleton.c (main): Print output in JSON
47321         format.
47322         * benchtests/bench-timing-type.c: New file.
47323         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47324         (TIMING_PRINT_STATS): Remove.
47325         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47326         name separately.
47328         * benchtests/bench-modf.c: Remove.
47329         * benchtests/modf-inputs: New inputs file.
47331 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47333         [BZ #16362]
47334         * math/s_clog10.c (M_PI_LOG10E): New macro.
47335         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47336         imaginary parts are 0.
47337         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47338         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47339         imaginary parts are 0.
47340         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47341         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47342         imaginary parts are 0.
47343         * math/libm-test.inc (clog10_test_data): Update expected results
47344         for when real and imaginary parts are 0.
47346 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47348         * elf/dl-load.c: Finish conversion of __builtin_expect into
47349         __glibc_{un}likely.
47351 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47353         [BZ #16348]
47354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47355         1+x for argument with exponent below -67.
47356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47357         Likewise.
47358         * math/auto-libm-test-in: Add more tests of exp.
47359         * math/auto-libm-test-out: Regenerated.
47361 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47363         [BZ #16759]
47364         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47365         (nscd_getnetgrent): Use it.
47367         [BZ #16760]
47368         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47369         of stpcpy.
47371 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47373         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47374         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47375         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47376         (lll_robust_unlock): Remove out of line section. Use cfi
47377         intrinsics.
47378         (LLL_STUB_UNWIND_INFO*): Remove.
47379         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47380         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47381         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47382         (lll_robust_unlock): Remove out of line section. Use cfi
47383         intrinsics.
47384         (LLL_STUB_UNWIND_INFO*): Remove.
47386 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47388         [BZ #16758]
47389         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47390         blank values.
47392 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47394         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47396 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47398         [BZ #16198]
47399         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47400         fnstenv.
47401         * math/test-fenv-preserve.c: New file.
47402         * math/Makefile (tests): Add test-fenv-preserve.
47404 2014-03-26  Will Newton <will.newton@linaro.org>
47406         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47408 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47410         * scripts/versionlist.awk: Partition the version sets and emit all
47411         GLIBC_* (sorted) before all others (sorted).
47413 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47415         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47416         GLIBC_2.2.5 version.
47418 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47420         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47421         calls.
47423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47424         previous change.
47426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47428 2014-03-25  Andreas Schwab  <schwab@suse.de>
47430         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47431         label to be used after in6ailist is initialized.
47433 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47435         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47436         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47438 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47440         [BZ #16357]
47441         [BZ #16599]
47442         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47443         min_plus_half.
47444         (fp_formats): Update initializers.
47445         (init_fp_formats): Initialize new field.
47446         (output_for_one_input_case): Allow underflow for results up to
47447         min_plus_half.
47448         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47449         * math/auto-libm-test-in: Don't mark some underflows from asin and
47450         atanh as spurious.
47451         * math/auto-libm-test-out: Regenerated.
47452         * sysdeps/i386/fpu/libm-test-ulps: Update.
47453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47455 2014-03-25  Andreas Schwab  <schwab@suse.de>
47457         * libio/Makefile (tst-ftell-partial-wide-ENV)
47458         (tst-ftell-active-handler-ENV): Define.
47460 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47462         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47464 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47466         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47468 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47470         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47471         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47474 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47476         [BZ #16634]
47477         * elf/dl-load.c (open_verify): Add mode parameter.
47478         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47479         (open_path): Change from boolean 'secure' to complete flag 'mode'
47480         (_dl_map_object): Adjust.
47481         * elf/Makefile (tests): Add tst-dlopen-aout.
47482         * elf/tst-dlopen-aout.c: New test.
47484 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47486         [BZ #16714]
47487         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47488         (struct stat): Rename member pad0 to __glibc_reserved0.
47490         [BZ #16712]
47491         * sysdeps/s390/s390-32/bits/wordsize.h
47492         (__WORDSIZE32_SIZE_ULONG): New define.
47493         * sysdeps/s390/s390-64/bits/wordsize.h
47494         (__WORDSIZE32_SIZE_ULONG): Likewise.
47495         * sysdeps/generic/stdint.h (SIZE_MAX):
47496         Define as UL if __WORDSIZE32_SIZE_ULONG.
47498         [BZ #16713]
47499         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47500         (__glibc_reserved0): New variable.
47501         (sa_flags): Change type to int.
47503         * posix/Makefile (before-compile): Use += before-compile instead
47504         of a :=.
47506         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47507         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47509 2014-03-20  Andreas Schwab  <schwab@suse.de>
47511         [BZ #16743]
47512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47513         non-matching result from nscd.
47515 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47517         * scripts/bench.py: Moved to ...
47518         * benchtests/scripts/bench.py: ... here.
47519         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47521 2014-03-24  Andreas Schwab  <schwab@suse.de>
47523         [BZ #16002]
47524         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47525         alloca_account and account alloca use for struct in6ailist.
47527 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47529         [BZ #16284]
47530         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47531         rounding mode to recompute results that overflow to infinity or
47532         underflow to zero.
47533         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47534         bug 16284.
47535         * math/auto-libm-test-out: Regenerated.
47536         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47537         (ccosh_test): Likewise.
47538         (csin_test_data): Use plus_oflow.
47539         (csin_test): Use ALL_RM_TEST.
47540         (csinh_test_data): Use plus_oflow.
47541         (csinh_test): Use ALL_RM_TEST.
47542         * sysdeps/i386/fpu/libm-test-ulps: Update.
47543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47545 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47547         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47548         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47549         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47551         [BZ #16731]
47552         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47553         when x - 1 is zero.
47554         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47555         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47556         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47557         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47558         argument is 1.
47559         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47560         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47561         zero.
47562         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47563         * sysdeps/i386/fpu/libm-test-ulps: Update.
47564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47568         * scripts/bench.pl: Remove file.
47569         * scripts/bench.py: New benchmark script.
47570         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47571         * benchtests/README: Mention python dependency.
47572         * scripts/pylintrc: New file.
47573         * scripts/pylint: New file.
47575         * bits/mathdef.h: Use #ifdef instead of #if.
47576         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47577         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47578         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47579         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47580         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47581         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47583 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47584             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47586         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47588         and strpbrk-ppc64 objects.
47589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47590         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47591         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47592         multiarch strpbrk for POWER7.
47593         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47594         multiarch strpbrk for PPC64.
47595         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47596         ifunc selector.
47597         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47598         strpbrk for POWER7.
47600 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47602         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47603         (atan_test): Likewise.
47604         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47605         (atanh_test): Use ALL_RM_TEST.
47606         (atan2_test_data): Likewise.
47607         (cabs_test): Likewise.
47608         (cacosh_test): Likewise.
47609         (carg_test): Likewise.
47610         (casin_test): Likewise.
47611         (casinh_test): Likewise.
47612         (cbrt_test): Likewise.
47613         (csqrt_test): Likewise.
47614         (erf_test): Likewise.
47615         (erfc_test): Likewise.
47616         (pow10_test): Likewise.
47617         (exp2_test): Likewise.
47618         (hypot_test): Likewise.
47619         (j0_test): Likewise.
47620         (j1_test): Likewise.
47621         (lgamma_test): Likewise.
47622         (gamma_test): Likewise.
47623         (sincos_test): Likewise.
47624         (tanh_test): Likewise.
47625         (y0_test): Likewise.
47626         (y1_test): Likewise.
47627         * sysdeps/i386/fpu/libm-test-ulps: Update.
47628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47630 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47632         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47634         and strcspn-ppc64 objects.
47635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47636         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47637         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47638         multiarch strcspn for POWER7.
47639         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47640         multiarch strcspn for PPC64.
47641         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47642         ifunc selector.
47643         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47644         strcspn for POWER7.
47646 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47648         * math/gen-libm-test.pl (generate_testfile): Expect only function
47649         name as argument to AUTO_TESTS_* and pass results for all rounding
47650         modes to parse_args.
47651         (parse_auto_input): Separate inputs of automatic tests from
47652         outputs before storing in %auto_tests.
47653         * math/libm-test.inc (acos_test_data): Update call to
47654         AUTO_TESTS_f_f.
47655         (acos_test): Use ALL_RM_TEST.
47656         (acos_tonearest_test_data): Remove.
47657         (acos_test_tonearest): Likewise.
47658         (acos_towardzero_test_data): Likewise.
47659         (acos_test_towardzero): Likewise.
47660         (acos_downward_test_data): Likewise.
47661         (acos_test_downward): Likewise.
47662         (acos_upward_test_data): Likewise.
47663         (acos_test_upward): Likewise.
47664         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47665         (asin_test_data): Likewise.
47666         (asin_test): Use ALL_RM_TEST.
47667         (asin_tonearest_test_data): Remove.
47668         (asin_test_tonearest): Likewise.
47669         (asin_towardzero_test_data): Likewise.
47670         (asin_test_towardzero): Likewise.
47671         (asin_downward_test_data): Likewise.
47672         (asin_test_downward): Likewise.
47673         (asin_upward_test_data): Likewise.
47674         (asin_test_upward): Likewise.
47675         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47676         (atan_test_data): Likewise.
47677         (atanh_test_data): Likewise.
47678         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47679         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47680         (carg_test_data): Likewise.
47681         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47682         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47683         (ccosh_test_data): Likewise.
47684         (cexp_test_data): Likewise.
47685         (clog_test_data): Likewise.
47686         (clog10_test_data): Likewise.
47687         (cos_test_data): Update call to AUTO_TESTS_f_f.
47688         (cos_test): Use ALL_RM_TEST.
47689         (cos_tonearest_test_data): Remove.
47690         (cos_test_tonearest): Likewise.
47691         (cos_towardzero_test_data): Likewise.
47692         (cos_test_towardzero): Likewise.
47693         (cos_downward_test_data): Likewise.
47694         (cos_test_downward): Likewise.
47695         (cos_upward_test_data): Likewise.
47696         (cos_test_upward): Likewise.
47697         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47698         (cosh_test): Use ALL_RM_TEST.
47699         (cosh_tonearest_test_data): Remove.
47700         (cosh_test_tonearest): Likewise.
47701         (cosh_towardzero_test_data): Likewise.
47702         (cosh_test_towardzero): Likewise.
47703         (cosh_downward_test_data): Likewise.
47704         (cosh_test_downward): Likewise.
47705         (cosh_upward_test_data): Likewise.
47706         (cosh_test_upward): Likewise.
47707         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47708         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47709         (ctan_test_data): Likewise.
47710         (ctan_test): Use ALL_RM_TEST.
47711         (ctan_tonearest_test_data): Remove.
47712         (ctan_test_tonearest): Likewise.
47713         (ctan_towardzero_test_data): Likewise.
47714         (ctan_test_towardzero): Likewise.
47715         (ctan_downward_test_data): Likewise.
47716         (ctan_test_downward): Likewise.
47717         (ctan_upward_test_data): Likewise.
47718         (ctan_test_upward): Likewise.
47719         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47720         (ctanh_test): Use ALL_RM_TEST.
47721         (ctanh_tonearest_test_data): Remove.
47722         (ctanh_test_tonearest): Likewise.
47723         (ctanh_towardzero_test_data): Likewise.
47724         (ctanh_test_towardzero): Likewise.
47725         (ctanh_downward_test_data): Likewise.
47726         (ctanh_test_downward): Likewise.
47727         (ctanh_upward_test_data): Likewise.
47728         (ctanh_test_upward): Likewise.
47729         (erf_test_data): Update call to AUTO_TESTS_f_f.
47730         (erfc_test_data): Likewise.
47731         (exp_test_data): Likewise.
47732         (exp_test): Use ALL_RM_TEST.
47733         (exp_tonearest_test_data): Remove.
47734         (exp_test_tonearest): Likewise.
47735         (exp_towardzero_test_data): Likewise.
47736         (exp_test_towardzero): Likewise.
47737         (exp_downward_test_data): Likewise.
47738         (exp_test_downward): Likewise.
47739         (exp_upward_test_data): Likewise.
47740         (exp_test_upward): Likewise.
47741         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47742         (exp10_test): Use ALL_RM_TEST.
47743         (exp10_tonearest_test_data): Remove.
47744         (exp10_test_tonearest): Likewise.
47745         (exp10_towardzero_test_data): Likewise.
47746         (exp10_test_towardzero): Likewise.
47747         (exp10_downward_test_data): Likewise.
47748         (exp10_test_downward): Likewise.
47749         (exp10_upward_test_data): Likewise.
47750         (exp10_test_upward): Likewise.
47751         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47752         (expm1_test_data): Likewise.
47753         (expm1_test): Use ALL_RM_TEST.
47754         (expm1_tonearest_test_data): Remove.
47755         (expm1_test_tonearest): Likewise.
47756         (expm1_towardzero_test_data): Likewise.
47757         (expm1_test_towardzero): Likewise.
47758         (expm1_downward_test_data): Likewise.
47759         (expm1_test_downward): Likewise.
47760         (expm1_upward_test_data): Likewise.
47761         (expm1_test_upward): Likewise.
47762         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47763         (fma_test): Use ALL_RM_TEST.
47764         (fma_towardzero_test_data): Remove.
47765         (fma_test_towardzero): Likewise.
47766         (fma_downward_test_data): Likewise.
47767         (fma_test_downward): Likewise.
47768         (fma_upward_test_data): Likewise.
47769         (fma_test_upward): Likewise.
47770         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47771         (j0_test_data): Update call to AUTO_TESTS_f_f.
47772         (j1_test_data): Likewise.
47773         (jn_test_data): Update call to AUTO_TESTS_if_f.
47774         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47775         (log_test_data): Update call to AUTO_TESTS_f_f.
47776         (log10_test_data): Likewise.
47777         (log1p_test_data): Likewise.
47778         (log2_test_data): Likewise.
47779         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47780         (pow_tonearest_test_data): Likewise.
47781         (sin_test_data): Update call to AUTO_TESTS_f_f.
47782         (sin_test): Use ALL_RM_TEST.
47783         (sin_tonearest_test_data): Remove.
47784         (sin_test_tonearest): Likewise.
47785         (sin_towardzero_test_data): Likewise.
47786         (sin_test_towardzero): Likewise.
47787         (sin_downward_test_data): Likewise.
47788         (sin_test_downward): Likewise.
47789         (sin_upward_test_data): Likewise.
47790         (sin_test_upward): Likewise.
47791         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47792         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47793         (sinh_test): Use ALL_RM_TEST.
47794         (sinh_tonearest_test_data): Remove.
47795         (sinh_test_tonearest): Likewise.
47796         (sinh_towardzero_test_data): Likewise.
47797         (sinh_test_towardzero): Likewise.
47798         (sinh_downward_test_data): Likewise.
47799         (sinh_test_downward): Likewise.
47800         (sinh_upward_test_data): Likewise.
47801         (sinh_test_upward): Likewise.
47802         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47803         (sqrt_test): Use ALL_RM_TEST.
47804         (sqrt_tonearest_test_data): Remove.
47805         (sqrt_test_tonearest): Likewise.
47806         (sqrt_towardzero_test_data): Likewise.
47807         (sqrt_test_towardzero): Likewise.
47808         (sqrt_downward_test_data): Likewise.
47809         (sqrt_test_downward): Likewise.
47810         (sqrt_upward_test_data): Likewise.
47811         (sqrt_test_upward): Likewise.
47812         (tan_test_data): Update call to AUTO_TESTS_f_f.
47813         (tan_test): Use ALL_RM_TEST.
47814         (tan_tonearest_test_data): Remove.
47815         (tan_test_tonearest): Likewise.
47816         (tan_towardzero_test_data): Likewise.
47817         (tan_test_towardzero): Likewise.
47818         (tan_downward_test_data): Likewise.
47819         (tan_test_downward): Likewise.
47820         (tan_upward_test_data): Likewise.
47821         (tan_test_upward): Likewise.
47822         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47823         (tgamma_test_data): Likewise.
47824         (y0_test_data): Likewise.
47825         (y1_test_data): Likewise.
47826         (yn_test_data): Update call to AUTO_TESTS_if_f.
47827         (main): Do not call removed functions.
47829 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47831         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47832         (ldexp_test_data): Remove.
47833         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47834         scalbn_test_data.
47835         (scalb_test): Use ALL_RM_TEST.
47837 2014-03-19  Andreas Schwab  <schwab@suse.de>
47839         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47841 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47843         [BZ #16649]
47844         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47846         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47848         (__ASSUME_PREADV): Undefine.
47849         (__ASSUME_PWRITEV): Likewise.
47851 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47853         * bits/mman-linux.h: Add comment about non-Linux use.
47854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47855         bits/mman-linux.h resting place.
47857         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47858         * bits/mman-linux.h: ... here.
47860 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47862         * conform/conformtest.pl: Add standard definition when calling C
47863         preprocessor on data files.
47864         (checknamespace): Remove unused variable.
47866 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47868         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47869         minus_oflow, plus_uflow and minus_uflow in expected results.
47870         * math/libm-test.inc (scalbn_test_data): Add more tests of
47871         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47872         minus_uflow.
47873         (scalbn_test): Use ALL_RM_TEST.
47874         (scalbln_test_data): Add more tests of negative arguments.  Use
47875         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47876         (scalbln_test): Use ALL_RM_TEST.
47878 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47880         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47882 2014-03-18  Will Newton  <will.newton@linaro.org>
47884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47885         inaccurate comment.
47887 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47889         * Makerules [!subdir] (check-abi): Exit with error status if a
47890         test failed.
47892 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47894         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47895         for rint.  Include results for all rounding modes.
47896         (nearbyint_test): Use ALL_RM_TEST.
47897         (rint_test_data): Include all tests used for nearbyint.
47899 2014-03-17  Will Newton  <will.newton@linaro.org>
47901         * nptl/sysdeps/pthread/pthread.h: Revert previous
47902         change.
47904         * sysdeps/generic/ldsodefs.h: Revert previous
47905         change.
47907         * libio/genops.c: Revert previous change.
47908         * libio/libioP.h: Likewise.
47909         * stdio-common/vfprintf.c: Likewise.
47911         * sysdeps/generic/math_private.h: Revert previous
47912         change.
47914         * sysdeps/generic/math_private.h: Check whether
47915         HAVE_RM_CTX is defined with #ifdef rather
47916         than #if.
47918         * argp/argp-fmtstream.h: Check whether
47919         __STRICT_ANSI__ is defined with #ifdef rather
47920         than #if.
47921         * argp/argp.h: Likewise.
47923         * libio/genops.c: Check whether
47924         _IO_JUMPS_OFFSET is defined with #ifdef rather
47925         than #if.
47926         * libio/libioP.h: Likewise.
47927         * stdio-common/vfprintf.c: Likewise.
47929         * sysdeps/generic/ldsodefs.h: Check whether
47930         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47931         than #if.
47933         * nptl/sysdeps/pthread/pthread.h: Check
47934         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47935         its value.
47937 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47939         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47940         setting O_APPEND.
47941         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47942         test case.
47944         [BZ #16680]
47945         * libio/fileops.c (_IO_file_open): Seek to end of file but
47946         don't cache the offset.
47947         (get_file_offset): Remove function.
47948         (do_ftell): Use cached offset when available.
47949         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47950         don't cache the offset.
47951         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47952         case.
47953         (do_one_test): Call it.
47954         (do_ftell_test): Fix up expected old offset for a+ mode.
47955         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47956         available.
47958         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47959         up test status with function return status.
47960         (do_write_test): Likewise.
47961         (do_append_test): Likewise.
47963         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47964         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47965         Remove.
47967 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47969         * math/gen-libm-test.pl (parse_args): Handle results specified for
47970         each rounding mode separately.
47971         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47972         tests and results from lrint_tonearest_test_data,
47973         lrint_towardzero_test_data, lrint_downward_test_data and
47974         lrint_upward_test_data.
47975         (lrint_test): Use ALL_RM_TEST.
47976         (lrint_tonearest_test_data): Remove.
47977         (lrint_test_tonearest): Likewise.
47978         (lrint_towardzero_test_data): Likewise.
47979         (lrint_test_towardzero): Likewise.
47980         (lrint_downward_test_data): Likewise.
47981         (lrint_test_downward): Likewise.
47982         (lrint_upward_test_data): Likewise.
47983         (lrint_test_upward): Likewise.
47984         (llrint_test_data): Merge in per-rounding-mode tests and results
47985         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47986         llrint_downward_test_data and llrint_upward_test_data.
47987         (llrint_test): Use ALL_RM_TEST.
47988         (llrint_tonearest_test_data): Remove.
47989         (llrint_test_tonearest): Likewise.
47990         (llrint_towardzero_test_data): Likewise.
47991         (llrint_test_towardzero): Likewise.
47992         (llrint_downward_test_data): Likewise.
47993         (llrint_test_downward): Likewise.
47994         (llrint_upward_test_data): Likewise.
47995         (llrint_test_upward): Likewise.
47996         (rint_test_data): Merge in per-rounding-mode tests and results
47997         from rint_tonearest_test_data, rint_towardzero_test_data,
47998         rint_downward_test_data and rint_upward_test_data.  Add
47999         per-rounding-mode results for tests not in those arrays.
48000         (rint_test): Use ALL_RM_TEST.
48001         (rint_tonearest_test_data): Remove.
48002         (rint_test_tonearest): Likewise.
48003         (rint_towardzero_test_data): Likewise.
48004         (rint_test_towardzero): Likewise.
48005         (rint_downward_test_data): Likewise.
48006         (rint_test_downward): Likewise.
48007         (rint_upward_test_data): Likewise.
48008         (rint_test_upward): Likewise.
48009         (main): Don't call removed functions.
48011 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48013         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48014         "Compiled on ..." crapola.  It is anti-useful.
48016 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48018         * scripts/evaluate-test.sh: Handle fourth argument to determine
48019         whether test run should stop on failure.
48020         * Makeconfig (stop-on-test-failure): New variable.
48021         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48022         $(stop-on-test-failure).
48023         * Makefile (tests): Give a summary of results from testing and
48024         exit with failure status if they include an ERROR or FAIL.
48025         (xtests): Likewise.
48026         * manual/install.texi (Configuring and compiling): Mention
48027         stop-on-test-failure=y.
48028         * INSTALL: Regenerated.
48030 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48032         * scripts/versionlist.awk: New file.
48033         * Makerules [$(build-shared) = yes]
48034         (postclean-generated): Add Versions.def, not Versions.def.v and
48035         Versions.def.v.i.
48036         ($(common-objpfx)Versions.def.v.i): Target removed.
48037         ($(common-objpfx)Versions.def): New target.
48038         ($(common-objpfx)Versions.all): Depend on that rather that
48039         $(common-objpfx)Versions.def.v.
48040         * Versions.def: File removed.
48042         * Makeconfig (+gccwarn): Add -Wundef.
48043         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48044         a dl-sysdep.h breaking its contract.
48045         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48046         * include/stackinfo.h: New file.
48047         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48048         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48049         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48050         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48051         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48052         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48053         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48054         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48055         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48056         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48057         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48058         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48059         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48060         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48061         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48063 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48065         [BZ #16707]
48066         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48067         implementation.
48068         * math/libm-test.inc (round_test_data): Add more tests.
48070         [BZ #16706]
48071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48072         implementation.
48073         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48075         [BZ #16701]
48076         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48077         implementation.
48078         * math/libm-test.inc (ceil_test_data): Add more tests.
48080         * math/libm-test.inc (trunc_test_data): Add more tests related to
48081         BZ#16414.
48083 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48085         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48086         with #if rather than #ifdef.
48087         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48089 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48091         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48092         first.  Disable AVX-512 GCC support if assembler doesn't support
48093         it.
48094         * sysdeps/x86_64/configure: Regenerated.
48096 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48098         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48099         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48100         (__old_pthread_attr_setstack): Likewise.
48101         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48102         [!_STACK_GROWS_DOWN]: Likewise.
48104 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48106         * config.make.in (have-bash2): Delete.
48107         * configure.ac (libc_cv_have_bash2): Delete.
48108         * configure: Regenerate.
48109         * elf/Makefile (common-ldd-rewrite): Rename to ...
48110         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48111         (sh-ldd-rewrite): Delete.
48112         (bash-ldd-rewrite): Delete.
48113         (have-bash2): Delete checks.
48114         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48115         ldd-rewrite.
48117         * config.make.in (have-ksh): Delete.
48118         (KSH): Delete.
48119         * configure.ac (libc_cv_have_ksh): Delete.
48120         * configure: Regenerate.
48122         * elf/Makefile: Delete $(have-ksh) check.
48123         ($(objpfx)sotruss): Change KSH to BASH.
48124         * elf/sotruss.ksh: Rename to ...
48125         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48126         function style to match POSIX.  Drop ksh vim mode setting.
48128         * manual/time.texi (Specifying the Time Zone with TZ): Change
48129         Tuesday to Thursday.
48131         * debug/tst-longjmp_chk2.c: Update header comment.
48132         (stackoverflow_handler): Add comment.  Call assert on pass value.
48134 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48136         [BZ #16194]
48137         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48138         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48139         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48140         (La_x86_64_vector): Add zmm.
48141         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48142         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48143         ($(objpfx)tst-audit10): New target.
48144         ($(objpfx)tst-audit10.out): Likewise.
48145         (tst-audit10-ENV): New.
48146         (AVX512-CFLAGS): Likewise.
48147         (CFLAGS-tst-audit10.c): Likewise.
48148         (CFLAGS-tst-auditmod10a.c): Likewise.
48149         (CFLAGS-tst-auditmod10b.c): Likewise.
48150         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48151         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48152         * sysdeps/x86_64/configure: Regenerated.
48153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48154         AVX-512 zmm register support.
48155         (_dl_x86_64_save_sse): Likewise.
48156         (_dl_x86_64_restore_sse): Likewise.
48157         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48158         size vector registers.
48159         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48160         (ZMM_SIZE): Likewise.
48161         * sysdeps/x86_64/tst-audit10.c: New file.
48162         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48163         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48165 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48167         * configure.ac (HAVE_EHDR_START): New check.
48168         * configure: Regenerated.
48169         * config.h.in (HAVE_EHDR_START): New #undef.
48170         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48171         assuming the lowest-addressed segment maps the start of the file.
48173 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48175         * INSTALL: Regenerated.
48177 2014-03-13  Will Newton  <will.newton@linaro.org>
48179         * manual/setjmp.texi (System V contexts): Improve
48180         clarity and grammar of documentation.
48182 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48184         [BZ #16381]
48185         * elf/Makefile (tests): Add tst-pie2.
48186         (tests-pie): Add tst-pie2.
48187         * elf/tst-pie2.c: New file.
48188         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48189         for ET_EXEC.
48190         * elf/rtld.c (map_doit): Load executable as lt_executable.
48191         (dl_main): Likewise.
48193 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48195         [BZ #16642]
48196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48197         (__ASSUME_PSELECT): Undefine.
48199 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48201         [BZ #16689]
48202         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48203         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48204         static build.
48205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48206         selector for static builds.
48208 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48210         [BZ #16695]
48211         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48212         key in the buffer.
48214 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48216         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48217         IFUNC selector for static builds.
48219 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48221         * sysdeps/mips/math_private.h [__mips_hard_float]
48222         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48223         libc_feresetround_mips_ctx.
48224         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48225         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48226         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48228         [BZ #16677]
48229         * math/s_nextafter.c (__nextafter): Do not return value from
48230         overflowing computation.
48231         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48232         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48233         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48234         Likewise.
48235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48236         Likewise.
48237         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48238         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48240 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48242         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48243         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48244         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48245         the new mov targetting sp.
48247 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48249         [BZ #16683]
48250         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48251         Define it for static builds as well.
48252         (NO_BZERO_IMPL): Likewise.
48254 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48256         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48257         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48258         multiarch strspn for PPC64.
48259         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48260         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48262         (__libc_ifunc_impl_list): Likewise.
48263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48264         multiarch optimizations
48265         * string/strspn.c (strspn): Using macro to redefine symbol name.
48267 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48270         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48271         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48272         multiarch strncat for PPC64.
48273         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48274         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48276         (__libc_ifunc_impl_list): Likewise.
48277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48278         multiarch optimizations
48280 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48282         [BZ #16639]
48283         * nscd/nscd.service: Make service type forking.
48285 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48287         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48288         sign in non default rounding modes.
48289         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48291 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48293         * math/libm-test.inc (ALL_RM_TEST): New macro.
48294         (ceil_test): Use ALL_RM_TEST.
48295         (cimag_test): Likewise.
48296         (conj_test): Likewise.
48297         (copysign_test): Likewise.
48298         (cproj_test): Likewise.
48299         (creal_test): Likewise.
48300         (fabs_test): Likewise.
48301         (floor_test): Likewise.
48302         (fmax_test): Likewise.
48303         (fmin_test): Likewise.
48304         (fmod_test): Likewise.
48305         (fpclassify_test): Likewise.
48306         (frexp_test): Likewise.
48307         (ilogb_test): Likewise.
48308         (isfinite_test): Likewise.
48309         (finite_test): Likewise.
48310         (isgreater_test): Likewise.
48311         (isgreaterequal_test): Likewise.
48312         (isinf_test): Likewise.
48313         (isless_test): Likewise.
48314         (islessequal_test): Likewise.
48315         (islessgreater_test): Likewise.
48316         (isnan_test): Likewise.
48317         (isnormal_test): Likewise.
48318         (issignaling_test): Likewise.
48319         (isunordered_test): Likewise.
48320         (logb_test): Likewise.
48321         (logb_downward_test_data): Remove.
48322         (logb_test_downward): Likewise.
48323         (lround_test): Use ALL_RM_TEST.
48324         (llround_test): Likewise.
48325         (modf_test): Likewise.
48326         (nexttoward_test): Likewise.
48327         (remainder_test): Likewise.
48328         (drem_test): Likewise.
48329         (remainder_tonearest_test_data): Likewise.
48330         (remainder_test_tonearest): Likewise.
48331         (drem_test_tonearest): Likewise.
48332         (remainder_towardzero_test_data): Likewise.
48333         (remainder_test_towardzero): Likewise.
48334         (drem_test_towardzero): Likewise.
48335         (remainder_downward_test_data): Likewise.
48336         (remainder_test_downward): Likewise.
48337         (drem_test_downward): Likewise.
48338         (remainder_upward_test_data): Likewise.
48339         (remainder_test_upward): Likewise.
48340         (drem_test_upward): Likewise.
48341         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48342         (round_test): Use ALL_RM_TEST.
48343         (signbit_test): Likewise.
48344         (trunc_test): Likewise.
48345         (significand_test): Likewise.
48346         (main): Don't call removed functions.
48348 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48350         [BZ #16674]
48351         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48352         || __USE_XOPEN2K8].
48353         (ILL_ILLOPN): Likewise.
48354         (ILL_ILLADR): Likewise.
48355         (ILL_ILLTRP): Likewise.
48356         (ILL_PRVOPC): Likewise.
48357         (ILL_PRVREG): Likewise.
48358         (ILL_COPROC): Likewise.
48359         (ILL_BADSTK): Likewise.
48360         (FPE_INTDIV): Likewise.
48361         (FPE_INTOVF): Likewise.
48362         (FPE_FLTDIV): Likewise.
48363         (FPE_FLTOVF): Likewise.
48364         (FPE_FLTUND): Likewise.
48365         (FPE_FLTRES): Likewise.
48366         (FPE_FLTINV): Likewise.
48367         (FPE_FLTSUB): Likewise.
48368         (SEGV_MAPERR): Likewise.
48369         (SEGV_ACCERR): Likewise.
48370         (BUS_ADRALN): Likewise.
48371         (BUS_ADRERR): Likewise.
48372         (BUS_OBJERR): Likewise.
48373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48374         (TRAP_TRACE): Likewise.
48375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48376         __USE_XOPEN2K8].
48377         (CLD_KILLED): Likewise.
48378         (CLD_DUMPED): Likewise.
48379         (CLD_TRAPPED): Likewise.
48380         (CLD_STOPPED): Likewise.
48381         (CLD_CONTINUED): Likewise.
48382         (POLL_IN): Likewise.
48383         (POLL_OUT): Likewise.
48384         (POLL_MSG): Likewise.
48385         (POLL_ERR): Likewise.
48386         (POLL_PRI): Likewise.
48387         (POLL_HUP): Likewise.
48388         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48389         Likewise.
48390         (ILL_ILLOPN): Likewise.
48391         (ILL_ILLADR): Likewise.
48392         (ILL_ILLTRP): Likewise.
48393         (ILL_PRVOPC): Likewise.
48394         (ILL_PRVREG): Likewise.
48395         (ILL_COPROC): Likewise.
48396         (ILL_BADSTK): Likewise.
48397         (FPE_INTDIV): Likewise.
48398         (FPE_INTOVF): Likewise.
48399         (FPE_FLTDIV): Likewise.
48400         (FPE_FLTOVF): Likewise.
48401         (FPE_FLTUND): Likewise.
48402         (FPE_FLTRES): Likewise.
48403         (FPE_FLTINV): Likewise.
48404         (FPE_FLTSUB): Likewise.
48405         (SEGV_MAPERR): Likewise.
48406         (SEGV_ACCERR): Likewise.
48407         (BUS_ADRALN): Likewise.
48408         (BUS_ADRERR): Likewise.
48409         (BUS_OBJERR): Likewise.
48410         (BUS_MCEERR_AR): Likewise.
48411         (BUS_MCEERR_AO): Likewise.
48412         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48413         (TRAP_TRACE): Likewise.
48414         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48415         __USE_XOPEN2K8].
48416         (CLD_KILLED): Likewise.
48417         (CLD_DUMPED): Likewise.
48418         (CLD_TRAPPED): Likewise.
48419         (CLD_STOPPED): Likewise.
48420         (CLD_CONTINUED): Likewise.
48421         (POLL_IN): Likewise.
48422         (POLL_OUT): Likewise.
48423         (POLL_MSG): Likewise.
48424         (POLL_ERR): Likewise.
48425         (POLL_PRI): Likewise.
48426         (POLL_HUP): Likewise.
48427         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48428         (ILL_ILLOPN): Likewise.
48429         (ILL_ILLADR): Likewise.
48430         (ILL_ILLTRP): Likewise.
48431         (ILL_PRVOPC): Likewise.
48432         (ILL_PRVREG): Likewise.
48433         (ILL_COPROC): Likewise.
48434         (ILL_BADSTK): Likewise.
48435         (FPE_INTDIV): Likewise.
48436         (FPE_INTOVF): Likewise.
48437         (FPE_FLTDIV): Likewise.
48438         (FPE_FLTOVF): Likewise.
48439         (FPE_FLTUND): Likewise.
48440         (FPE_FLTRES): Likewise.
48441         (FPE_FLTINV): Likewise.
48442         (FPE_FLTSUB): Likewise.
48443         (SEGV_MAPERR): Likewise.
48444         (SEGV_ACCERR): Likewise.
48445         (BUS_ADRALN): Likewise.
48446         (BUS_ADRERR): Likewise.
48447         (BUS_OBJERR): Likewise.
48448         (BUS_MCEERR_AR): Likewise.
48449         (BUS_MCEERR_AO): Likewise.
48450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48451         (TRAP_TRACE): Likewise.
48452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48453         __USE_XOPEN2K8].
48454         (CLD_KILLED): Likewise.
48455         (CLD_DUMPED): Likewise.
48456         (CLD_TRAPPED): Likewise.
48457         (CLD_STOPPED): Likewise.
48458         (CLD_CONTINUED): Likewise.
48459         (POLL_IN): Likewise.
48460         (POLL_OUT): Likewise.
48461         (POLL_MSG): Likewise.
48462         (POLL_ERR): Likewise.
48463         (POLL_PRI): Likewise.
48464         (POLL_HUP): Likewise.
48465         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48466         Likewise.
48467         (ILL_ILLOPN): Likewise.
48468         (ILL_ILLADR): Likewise.
48469         (ILL_ILLTRP): Likewise.
48470         (ILL_PRVOPC): Likewise.
48471         (ILL_PRVREG): Likewise.
48472         (ILL_COPROC): Likewise.
48473         (ILL_BADSTK): Likewise.
48474         (ILL_BADIADDR): Likewise.
48475         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
48485         (FPE_DECDIV): Likewise.
48486         (FPE_DECERR): Likewise.
48487         (FPE_INVASC): Likewise.
48488         (FPE_INVDEC): Likewise.
48489         (SEGV_MAPERR): Likewise.
48490         (SEGV_ACCERR): Likewise.
48491         (SEGV_PSTKOVF): Likewise.
48492         (BUS_ADRALN): Likewise.
48493         (BUS_ADRERR): Likewise.
48494         (BUS_OBJERR): Likewise.
48495         (BUS_MCEERR_AR): Likewise.
48496         (BUS_MCEERR_AO): Likewise.
48497         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48498         (TRAP_TRACE): Likewise.
48499         (TRAP_BRANCH): Likewise.
48500         (TRAP_HWBKPT): Likewise.
48501         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48502         __USE_XOPEN2K8].
48503         (CLD_KILLED): Likewise.
48504         (CLD_DUMPED): Likewise.
48505         (CLD_TRAPPED): Likewise.
48506         (CLD_STOPPED): Likewise.
48507         (CLD_CONTINUED): Likewise.
48508         (POLL_IN): Likewise.
48509         (POLL_OUT): Likewise.
48510         (POLL_MSG): Likewise.
48511         (POLL_ERR): Likewise.
48512         (POLL_PRI): Likewise.
48513         (POLL_HUP): Likewise.
48514         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48515         (ILL_ILLOPN): Likewise.
48516         (ILL_ILLADR): Likewise.
48517         (ILL_ILLTRP): Likewise.
48518         (ILL_PRVOPC): Likewise.
48519         (ILL_PRVREG): Likewise.
48520         (ILL_COPROC): Likewise.
48521         (ILL_BADSTK): Likewise.
48522         (FPE_INTDIV): Likewise.
48523         (FPE_INTOVF): Likewise.
48524         (FPE_FLTDIV): Likewise.
48525         (FPE_FLTOVF): Likewise.
48526         (FPE_FLTUND): Likewise.
48527         (FPE_FLTRES): Likewise.
48528         (FPE_FLTINV): Likewise.
48529         (FPE_FLTSUB): Likewise.
48530         (SEGV_MAPERR): Likewise.
48531         (SEGV_ACCERR): Likewise.
48532         (BUS_ADRALN): Likewise.
48533         (BUS_ADRERR): Likewise.
48534         (BUS_OBJERR): Likewise.
48535         (BUS_MCEERR_AR): Likewise.
48536         (BUS_MCEERR_AO): Likewise.
48537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48538         (TRAP_TRACE): Likewise.
48539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48540         __USE_XOPEN2K8].
48541         (CLD_KILLED): Likewise.
48542         (CLD_DUMPED): Likewise.
48543         (CLD_TRAPPED): Likewise.
48544         (CLD_STOPPED): Likewise.
48545         (CLD_CONTINUED): Likewise.
48546         (POLL_IN): Likewise.
48547         (POLL_OUT): Likewise.
48548         (POLL_MSG): Likewise.
48549         (POLL_ERR): Likewise.
48550         (POLL_PRI): Likewise.
48551         (POLL_HUP): Likewise.
48552         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48553         (ILL_ILLOPN): Likewise.
48554         (ILL_ILLADR): Likewise.
48555         (ILL_ILLTRP): Likewise.
48556         (ILL_PRVOPC): Likewise.
48557         (ILL_PRVREG): Likewise.
48558         (ILL_COPROC): Likewise.
48559         (ILL_BADSTK): Likewise.
48560         (FPE_INTDIV): Likewise.
48561         (FPE_INTOVF): Likewise.
48562         (FPE_FLTDIV): Likewise.
48563         (FPE_FLTOVF): Likewise.
48564         (FPE_FLTUND): Likewise.
48565         (FPE_FLTRES): Likewise.
48566         (FPE_FLTINV): Likewise.
48567         (FPE_FLTSUB): Likewise.
48568         (SEGV_MAPERR): Likewise.
48569         (SEGV_ACCERR): Likewise.
48570         (BUS_ADRALN): Likewise.
48571         (BUS_ADRERR): Likewise.
48572         (BUS_OBJERR): Likewise.
48573         (BUS_MCEERR_AR): Likewise.
48574         (BUS_MCEERR_AO): Likewise.
48575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48576         (TRAP_TRACE): Likewise.
48577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48578         __USE_XOPEN2K8].
48579         (CLD_KILLED): Likewise.
48580         (CLD_DUMPED): Likewise.
48581         (CLD_TRAPPED): Likewise.
48582         (CLD_STOPPED): Likewise.
48583         (CLD_CONTINUED): Likewise.
48584         (POLL_IN): Likewise.
48585         (POLL_OUT): Likewise.
48586         (POLL_MSG): Likewise.
48587         (POLL_ERR): Likewise.
48588         (POLL_PRI): Likewise.
48589         (POLL_HUP): Likewise.
48590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48591         (ILL_ILLOPN): Likewise.
48592         (ILL_ILLADR): Likewise.
48593         (ILL_ILLTRP): Likewise.
48594         (ILL_PRVOPC): Likewise.
48595         (ILL_PRVREG): Likewise.
48596         (ILL_COPROC): Likewise.
48597         (ILL_BADSTK): Likewise.
48598         (FPE_INTDIV): Likewise.
48599         (FPE_INTOVF): Likewise.
48600         (FPE_FLTDIV): Likewise.
48601         (FPE_FLTOVF): Likewise.
48602         (FPE_FLTUND): Likewise.
48603         (FPE_FLTRES): Likewise.
48604         (FPE_FLTINV): Likewise.
48605         (FPE_FLTSUB): Likewise.
48606         (SEGV_MAPERR): Likewise.
48607         (SEGV_ACCERR): Likewise.
48608         (BUS_ADRALN): Likewise.
48609         (BUS_ADRERR): Likewise.
48610         (BUS_OBJERR): Likewise.
48611         (BUS_MCEERR_AR): Likewise.
48612         (BUS_MCEERR_AO): Likewise.
48613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48614         (TRAP_TRACE): Likewise.
48615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48616         __USE_XOPEN2K8].
48617         (CLD_KILLED): Likewise.
48618         (CLD_DUMPED): Likewise.
48619         (CLD_TRAPPED): Likewise.
48620         (CLD_STOPPED): Likewise.
48621         (CLD_CONTINUED): Likewise.
48622         (POLL_IN): Likewise.
48623         (POLL_OUT): Likewise.
48624         (POLL_MSG): Likewise.
48625         (POLL_ERR): Likewise.
48626         (POLL_PRI): Likewise.
48627         (POLL_HUP): Likewise.
48628         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48629         (ILL_ILLOPN): Likewise.
48630         (ILL_ILLADR): Likewise.
48631         (ILL_ILLTRP): Likewise.
48632         (ILL_PRVOPC): Likewise.
48633         (ILL_PRVREG): Likewise.
48634         (ILL_COPROC): Likewise.
48635         (ILL_BADSTK): Likewise.
48636         (ILL_DBLFLT): Likewise.
48637         (ILL_HARDWALL): Likewise.
48638         (FPE_INTDIV): Likewise.
48639         (FPE_INTOVF): Likewise.
48640         (FPE_FLTDIV): Likewise.
48641         (FPE_FLTOVF): Likewise.
48642         (FPE_FLTUND): Likewise.
48643         (FPE_FLTRES): Likewise.
48644         (FPE_FLTINV): Likewise.
48645         (FPE_FLTSUB): Likewise.
48646         (SEGV_MAPERR): Likewise.
48647         (SEGV_ACCERR): Likewise.
48648         (BUS_ADRALN): Likewise.
48649         (BUS_ADRERR): Likewise.
48650         (BUS_OBJERR): Likewise.
48651         (BUS_MCEERR_AR): Likewise.
48652         (BUS_MCEERR_AO): Likewise.
48653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48654         (TRAP_TRACE): Likewise.
48655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48656         __USE_XOPEN2K8].
48657         (CLD_KILLED): Likewise.
48658         (CLD_DUMPED): Likewise.
48659         (CLD_TRAPPED): Likewise.
48660         (CLD_STOPPED): Likewise.
48661         (CLD_CONTINUED): Likewise.
48662         (POLL_IN): Likewise.
48663         (POLL_OUT): Likewise.
48664         (POLL_MSG): Likewise.
48665         (POLL_ERR): Likewise.
48666         (POLL_PRI): Likewise.
48667         (POLL_HUP): Likewise.
48668         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48669         (ILL_ILLOPN): Likewise.
48670         (ILL_ILLADR): Likewise.
48671         (ILL_ILLTRP): Likewise.
48672         (ILL_PRVOPC): Likewise.
48673         (ILL_PRVREG): Likewise.
48674         (ILL_COPROC): Likewise.
48675         (ILL_BADSTK): Likewise.
48676         (FPE_INTDIV): Likewise.
48677         (FPE_INTOVF): Likewise.
48678         (FPE_FLTDIV): Likewise.
48679         (FPE_FLTOVF): Likewise.
48680         (FPE_FLTUND): Likewise.
48681         (FPE_FLTRES): Likewise.
48682         (FPE_FLTINV): Likewise.
48683         (FPE_FLTSUB): Likewise.
48684         (SEGV_MAPERR): Likewise.
48685         (SEGV_ACCERR): Likewise.
48686         (BUS_ADRALN): Likewise.
48687         (BUS_ADRERR): Likewise.
48688         (BUS_OBJERR): Likewise.
48689         (BUS_MCEERR_AR): Likewise.
48690         (BUS_MCEERR_AO): Likewise.
48691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48692         (TRAP_TRACE): Likewise.
48693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48694         __USE_XOPEN2K8].
48695         (CLD_KILLED): Likewise.
48696         (CLD_DUMPED): Likewise.
48697         (CLD_TRAPPED): Likewise.
48698         (CLD_STOPPED): Likewise.
48699         (CLD_CONTINUED): Likewise.
48700         (POLL_IN): Likewise.
48701         (POLL_OUT): Likewise.
48702         (POLL_MSG): Likewise.
48703         (POLL_ERR): Likewise.
48704         (POLL_PRI): Likewise.
48705         (POLL_HUP): Likewise.
48706         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48707         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48709         [BZ #16670]
48710         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48711         before #include of <time.h>.
48712         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48713         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48714         (test-xfail-UNIX98/sched.h/conform): Likewise.
48716 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48718         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48719         error absence of trapping exception support.
48720         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48722 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48724         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48725         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48726         * timezone/Makefile (testdata): Move definition above include of
48727         Rules.
48728         (test-zones): New variable.
48729         (tests-special): Add zone files.
48730         (build-testdata): Use $(evaluate-test).
48732         * elf/Makefile (tests-special): Rename tests to end with .out.
48733         ($(objpfx)noload-mem): Likewise.
48734         ($(objpfx)tst-leaks1-mem): Likewise.
48735         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48736         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48737         $(objpfx)test-iconvconfig.out.
48738         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48739         set -e inside subshell and redirect output to file.
48740         * iconvdata/Makefile (generated): Rename tests to end with .out.
48741         Correct type.
48742         (tests-special): Rename tests to end with .out.
48743         ($(objpfx)mtrace-tst-loading): Likewise.
48744         * intl/Makefile (generated): Likewise.
48745         (tests-special): Likewise.
48746         ($(objpfx)mtrace-tst-gettext): Likewise.
48747         * misc/Makefile (generated): Likewise.
48748         (tests-special): Likewise.
48749         ($(objpfx)tst-error1-mem): Likewise.
48750         * nptl/Makefile (tests-special): Likewise.
48751         ($(objpfx)tst-stack3-mem): Likewise.
48752         (generated): Likewise.
48753         * posix/Makefile (generated): Likewise.
48754         (tests-special): Likewise.
48755         (xtests-special): Likewise.
48756         ($(objpfx)tst-fnmatch-mem): Likewise.
48757         ($(objpfx)bug-regex2-mem): Likewise.
48758         ($(objpfx)bug-regex14-mem): Likewise.
48759         ($(objpfx)bug-regex21-mem): Likewise.
48760         ($(objpfx)bug-regex31-mem): Likewise.
48761         ($(objpfx)tst-vfork3-mem): Likewise.
48762         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48763         ($(objpfx)tst-pcre-mem): Likewise.
48764         ($(objpfx)tst-boost-mem): Likewise.
48765         ($(objpfx)bug-ga2-mem): Likewise.
48766         ($(objpfx)bug-glob2-mem): Likewise.
48767         * resolv/Makefile (generate): Likewise.
48768         (tests-special): Likewise.
48769         (xtests-special): Likewise.
48770         (generated): Likewise.
48771         ($(objpfx)mtrace-tst-leaks): Likewise.
48772         ($(objpfx)mtrace-tst-leaks2): Likewise.
48774         * scripts/merge-test-results.sh: New file.
48775         * Makefile (tests-special-notdir): New variable.
48776         (tests): Run merge-test-results.sh.
48777         (xtests): Likewise.
48778         * Rules (tests-special-notdir): New variable.
48779         (xtests-special-notdir): Likewise.
48780         (tests): Run merge-test-results.sh
48781         (xtests): Likewise.
48783         * Makeconfig (test-xfail-name): New variable.
48784         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48785         compute variable name for expected failures.
48786         * conform/Makefile (conformtest-headers-data): New variable.
48787         (conformtest-standards): Likewise.
48788         (conformtest-headers-ISO): Likewise.
48789         (conformtest-headers-ISO99): Likewise.
48790         (conformtest-headers-ISO11): Likewise.
48791         (conformtest-headers-POSIX): Likewise.
48792         (conformtest-headers-XPG3): Likewise.
48793         (conformtest-headers-XPG4): Likewise.
48794         (conformtest-headers-UNIX98): Likewise.
48795         (conformtest-headers-XOPEN2K): Likewise.
48796         (conformtest-headers-POSIX2008): Likewise.
48797         (conformtest-headers-XOPEN2K8): Likewise.
48798         (conformtest-header-list-base): Likewise.
48799         (conformtest-header-list-tests): Likewise.
48800         (conformtest-header-base): Likewise.
48801         (conformtest-header-tests): Likewise.
48802         (tests-special): Add $(conformtest-header-list-tests).  If
48803         [$(fast-check) && !$(cross-compiling)], add
48804         $(conformtest-header-tests) instead of
48805         $(objpfx)run-conformtest.out.
48806         (generated): Add $(conformtest-header-list-base).  If
48807         [$(fast-check) && !$(cross-compiling)], add
48808         $(conformtest-header-base).  Remove previous setting.
48809         ($(conformtest-header-list-tests)): New target.
48810         (test-xfail-run-conformtest): Remove variable.
48811         ($(objpfx)run-conformtest.out): Remove target.
48812         (test-xfail-ISO11/complex.h/conform): New variable.
48813         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48814         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48815         (test-xfail-XPG3/varargs.h/conform): Likewise.
48816         (test-xfail-XPG4/varargs.h/conform): Likewise.
48817         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48818         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48819         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48820         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48821         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48822         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48823         (test-xfail-XPG3/ftw.h/conform): Likewise.
48824         (test-xfail-XPG3/grp.h/conform): Likewise.
48825         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48826         (test-xfail-XPG3/limits.h/conform): Likewise.
48827         (test-xfail-XPG3/pwd.h/conform): Likewise.
48828         (test-xfail-XPG3/search.h/conform): Likewise.
48829         (test-xfail-XPG3/signal.h/conform): Likewise.
48830         (test-xfail-XPG3/stdio.h/conform): Likewise.
48831         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48832         (test-xfail-XPG3/string.h/conform): Likewise.
48833         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48834         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48835         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48836         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48837         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48838         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48839         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48840         (test-xfail-XPG3/termios.h/conform): Likewise.
48841         (test-xfail-XPG3/time.h/conform): Likewise.
48842         (test-xfail-XPG3/unistd.h/conform): Likewise.
48843         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48844         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48845         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48846         (test-xfail-XPG4/netdb.h/conform): Likewise.
48847         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48848         (test-xfail-XPG4/signal.h/conform): Likewise.
48849         (test-xfail-XPG4/stdio.h/conform): Likewise.
48850         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48851         (test-xfail-XPG4/stropts.h/conform): Likewise.
48852         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48853         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48854         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48855         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48856         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48857         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48858         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48859         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48860         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48861         (test-xfail-XPG4/termios.h/conform): Likewise.
48862         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48863         (test-xfail-XPG4/unistd.h/conform): Likewise.
48864         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48865         (test-xfail-POSIX/sched.h/conform): Likewise.
48866         (test-xfail-POSIX/signal.h/conform): Likewise.
48867         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48868         (test-xfail-POSIX/tar.h/conform): Likewise.
48869         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48870         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48871         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48872         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48873         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48874         (test-xfail-UNIX98/sched.h/conform): Likewise.
48875         (test-xfail-UNIX98/signal.h/conform): Likewise.
48876         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48877         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48878         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48879         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48880         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48881         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48882         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48883         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48884         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48885         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48886         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48887         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48888         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48889         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48890         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48891         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48892         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48893         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48894         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48895         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48896         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48897         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48898         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48899         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48900         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48901         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48902         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48903         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48904         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48905         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48906         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48907         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48908         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48909         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48910         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48911         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48912         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48913         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48914         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48915         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48916         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48917         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48918         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48919         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48920         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48921         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48922         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48923         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48924         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48925         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48926         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48927         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48928         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48929         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48930         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48931         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48932         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48933         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48934         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48935         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48936         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48937         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48938         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48939         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48940         (conformtest-cc-flags): Likewise.
48941         ($(conformtest-header-tests): New target.
48942         * conform/check-header-lists.sh: New file.
48943         * conform/run-conformtest.sh: Remove.
48945         * conform/conformtest.pl: Allow ' and \ in values given for
48946         constants.
48947         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48948         inclusion.
48949         [POSIX] (sys/types.h): Likewise.
48950         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48951         inclusion.
48952         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48953         inclusion.
48954         * conform/data/signal.h-data (SIGIO): Remove expectation.
48955         [XPG3] (SIGBUS): Do not expect.
48956         [POSIX || XPG3] (SIGPOLL): Likewise.
48957         [POSIX || XPG3] (SIGPROF): Likewise.
48958         [POSIX || XPG3] (SIGSYS): Likewise.
48959         [XPG3] (SIGTRAP): Likewise.
48960         [POSIX || XPG3] (SIGURG): Likewise.
48961         [POSIX || XPG3] (SIGVTALRM): Likewise.
48962         [POSIX || XPG3] (SIGXCPU): Likewise.
48963         [POSIX || XPG3] (SIGXFSZ): Likewise.
48964         [POSIX] (SA_SIGINFO): Expect.
48965         [XPG3] (siginfo_t): Do not expect type or contents.
48966         [POSIX] (si_pid): Do not expect element.
48967         [POSIX] (si_uid): Likewise.
48968         [POSIX] (si_addr): Likewise.
48969         [POSIX] (si_status): Likewise.
48970         [POSIX] (si_band): Likewise.
48971         [XPG4] (si_value): Likewise.
48972         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48973         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48974         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48975         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48976         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48977         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48978         [POSIX || XPG3] (ILL_COPROC): Likewise.
48979         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48980         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48981         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48982         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48983         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48984         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48985         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48986         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48987         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48988         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48989         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48990         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48991         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48992         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48993         [POSIX || XPG3] (CLD_EXITED): Likewise.
48994         [POSIX || XPG3] (CLD_KILLED): Likewise.
48995         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48996         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48997         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48998         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48999         [POSIX || XPG3] (POLL_IN): Likewise.
49000         [POSIX || XPG3] (POLL_OUT): Likewise.
49001         [POSIX || XPG3] (POLL_MSG): Likewise.
49002         [POSIX || XPG3] (POLL_ERR): Likewise.
49003         [POSIX || XPG3] (POLL_PRI): Likewise.
49004         [POSIX || XPG3] (POLL_HUP): Likewise.
49005         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49006         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49007         (SIG*): Do not allow.
49008         [XPG3] (si_*): Likewise.
49009         [XPG3] (SI_*): Likewise.
49010         [XPG3 || XPG4] (sigev_*): Likewise.
49011         [XPG3 || XPG4] (SIGEV_*): Likewise.
49012         [XPG3 || XPG4] (sival_*): Likewise.
49013         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49014         [POSIX || XPG3] (BUS_*): Likewise.
49015         [POSIX || XPG3] (CLD_*): Likewise.
49016         [POSIX || XPG3] (FPE_*): Likewise.
49017         [POSIX || XPG3] (ILL_*): Likewise.
49018         [POSIX || XPG3] (POLL_*): Likewise.
49019         [POSIX || XPG3] (SEGV_*): Likewise.
49020         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49021         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49022         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49023         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49024         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49025         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49026         Specify type and value.
49027         (TVERSLEN): Likewise.
49028         (REGTYPE): Likewise.
49029         (AREGTYPE): Likewise.
49030         (LNKTYPE): Likewise.
49031         (SYMTYPE): Likewise.
49032         (CHRTYPE): Likewise.
49033         (BLKTYPE): Likewise.
49034         (DIRTYPE): Likewise.
49035         (FIFOTYPE): Likewise.
49036         (CONTTYPE): Likewise.
49037         (TSUID): Likewise.
49038         (TSGID): Likewise.
49039         (TSVTX): Likewise.
49040         (TUREAD): Likewise.
49041         (TUWRITE): Likewise.
49042         (TUEXEC): Likewise.
49043         (TGREAD): Likewise.
49044         (TGWRITE): Likewise.
49045         (TGEXEC): Likewise.
49046         (TOREAD): Likewise.
49047         (TOWRITE): Likewise.
49048         (TOEXEC): Likewise.
49049         [POSIX] (TSVTX): Expect constant.
49051 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49053         * Makefile (tests): Change dependencies to ....
49054         (tests-special): ... additions to this variable.
49055         (tests): Depend on $(tests-special).
49056         * Makerules (check-abi-list): New variable.
49057         (check-abi): Depend on $(check-abi-list).
49058         [$(subdir) = elf] (tests-special): Add
49059         $(objpfx)check-abi-libc.out.
49060         [$(build-shared) = yes && subdir] (tests-special): Add
49061         $(check-abi-list).
49062         [$(build-shared) = yes && subdir] (tests): Do not depend on
49063         check-abi.
49064         * Rules (tests): Depend on $(tests-special).
49065         (xtests): Depend on $(xtests-special).
49066         * catgets/Makefile (tests): Change dependencies to ....
49067         (tests-special): ... additions to this variable.
49068         * conform/Makefile (tests): Change dependencies to ....
49069         (tests-special): ... additions to this variable.
49070         * elf/Makefile (tests): Change dependencies to ....
49071         (tests-special): ... additions to this variable.
49072         * grp/Makefile (tests): Change dependencies to ....
49073         (tests-special): ... additions to this variable.
49074         * iconv/Makefile (xtests): Change dependencies to ....
49075         (xtests-special): ... additions to this variable.
49076         * iconvdata/Makefile (tests): Change dependencies to ....
49077         (tests-special): ... additions to this variable.
49078         * intl/Makefile (tests): Change dependencies to ....
49079         (tests-special): ... additions to this variable.  Also add
49080         $(objpfx)tst-gettext.out.
49081         * io/Makefile (tests): Change dependencies to ....
49082         (tests-special): ... additions to this variable.
49083         * libio/Makefile (tests): Change dependencies to ....
49084         (tests-special): ... additions to this variable.
49085         * malloc/Makefile (tests): Change dependencies to ....
49086         (tests-special): ... additions to this variable.
49087         * misc/Makefile (tests): Change dependencies to ....
49088         (tests-special): ... additions to this variable.
49089         * nptl/Makefile (tests): Change dependencies to ....
49090         (tests-special): ... additions to this variable.
49091         * nptl_db/Makefile (tests): Change dependencies to ....
49092         (tests-special): ... additions to this variable.
49093         * posix/Makefile (tests): Change dependencies to ....
49094         (tests-special): ... additions to this variable.
49095         (xtests): Change dependencies to ....
49096         (xtests-special): ... additions to this variable.
49097         * resolv/Makefile (tests): Change dependencies to ....
49098         (tests-special): ... additions to this variable.
49099         (xtests): Change dependencies to ....
49100         (xtests-special): ... additions to this variable.
49101         * stdio-common/Makefile (tests): Change dependencies to ....
49102         (tests-special): ... additions to this variable.
49103         (do-tst-unbputc): Remove target.
49104         (do-tst-printf): Likewise.
49105         * stdlib/Makefile (tests): Change dependencies to ....
49106         (tests-special): ... additions to this variable.
49107         * string/Makefile (tests): Change dependencies to ....
49108         (tests-special): ... additions to this variable.
49109         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49110         (tests-special): ... additions to this variable.
49112         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49113         whole file.
49114         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49115         whole file.
49116         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49117         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49119         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49120         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49121         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49122         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49123         * conform/data/libgen.h-data [XPG3]: Likewise.
49124         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49125         * conform/data/ndbm.h-data [XPG3]: Likewise.
49126         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49127         * conform/data/netdb.h-data [XPG3]: Likewise.
49128         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49129         * conform/data/poll.h-data [XPG3]: Likewise.
49130         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49131         * conform/data/strings.h-data [XPG3]: Likewise.
49132         * conform/data/stropts.h-data [XPG3]: Likewise.
49133         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49134         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49135         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49136         Likewise.
49137         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49138         * conform/data/sys/time.h-data [XPG3]: Likewise.
49139         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49140         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49141         * conform/data/sys/un.h-data [XPG3]: Likewise.
49142         * conform/data/syslog.h-data [XPG3]: Likewise.
49143         * conform/data/ucontext.h-data [XPG3]: Likewise.
49144         * conform/data/utmpx.h-data [XPG3]: Likewise.
49145         * conform/data/varargs.h-data [UNIX98]: Enable file.
49147         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49149         * math/libm-test.inc (struct test_f_f_data): Move expected results
49150         into structure for each rounding mode.
49151         (struct test_ff_f_data): Likewise.
49152         (struct test_ff_f_data_nexttoward): Likewise.
49153         (struct test_fi_f_data): Likewise.
49154         (struct test_fl_f_data): Likewise.
49155         (struct test_if_f_data): Likewise.
49156         (struct test_fff_f_data): Likewise.
49157         (struct test_c_f_data): Likewise.
49158         (struct test_f_f1_data): Likewise.
49159         (struct test_fF_f1_data): Likewise.
49160         (struct test_ffI_f1_data): Likewise.
49161         (struct test_c_c_data): Likewise.
49162         (struct test_cc_c_data): Likewise.
49163         (struct test_f_i_data): Likewise.
49164         (struct test_ff_i_data): Likewise.
49165         (struct test_f_l_data): Likewise.
49166         (struct test_f_L_data): Likewise.
49167         (struct test_fFF_11_data): Likewise.
49168         (RM_): New macro.
49169         (RM_FE_DOWNWARD): Likewise.
49170         (RM_FE_TONEAREST): Likewise.
49171         (RM_FE_TOWARDZERO): Likewise.
49172         (RM_FE_UPWARD): Likewise.
49173         (RUN_TEST_LOOP_f_f): Update references to expected results.
49174         (RUN_TEST_LOOP_2_f): Likewise.
49175         (RUN_TEST_LOOP_fff_f): Likewise.
49176         (RUN_TEST_LOOP_c_f): Likewise.
49177         (RUN_TEST_LOOP_f_f1): Likewise.
49178         (RUN_TEST_LOOP_fF_f1): Likewise.
49179         (RUN_TEST_LOOP_fI_f1): Likewise.
49180         (RUN_TEST_LOOP_ffI_f1): Likewise.
49181         (RUN_TEST_LOOP_c_c): Likewise.
49182         (RUN_TEST_LOOP_cc_c): Likewise.
49183         (RUN_TEST_LOOP_f_i): Likewise.
49184         (RUN_TEST_LOOP_f_i_tg): Likewise.
49185         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49186         (RUN_TEST_LOOP_f_b): Likewise.
49187         (RUN_TEST_LOOP_f_b_tg): Likewise.
49188         (RUN_TEST_LOOP_f_l): Likewise.
49189         (RUN_TEST_LOOP_f_L): Likewise.
49190         (RUN_TEST_LOOP_fFF_11): Likewise.
49191         * math/gen-libm-test.pl (parse_args): Output four copies of
49192         expected results for each test.
49194         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49195         (__ASSUME_UTIMES): Remove.
49196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49197         (__ASSUME_UTIMES): Likewise.
49199         * math/gen-auto-libm-tests.c: Update comment on output format.
49200         (output_for_one_input_case): Generate before-rounding and
49201         after-rounding information as conditions on output flags not
49202         floating-point format.
49203         * math/auto-libm-test-out: Regenerated.
49204         * math/gen-libm-test.pl (cond_value): New function.
49205         (or_cond_value): Use cond_value.
49206         (generate_testfile): Handle conditional exceptions.
49208 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49210         * math/libm-test.inc (max_valid_error): New variable.
49211         (init_max_error): Take new argument specifying whether function
49212         results are exactly determined.  Set max_valid_error and bound
49213         other variables for errors based on this argument.
49214         (set_max_error): Do not record results above max_valid_error.
49215         (check_float_internal): Only accept errors of up to 0.5ulps if
49216         also at most max_valid_error.
49217         (START): Take new argument EXACT and pass it to init_max_error.
49218         (acos_test): Update call to START.
49219         (acos_test_tonearest): Likewise.
49220         (acos_test_towardzero): Likewise.
49221         (acos_test_downward): Likewise.
49222         (acos_test_upward): Likewise.
49223         (acosh_test): Likewise.
49224         (asin_test): Likewise.
49225         (asin_test_tonearest): Likewise.
49226         (asin_test_towardzero): Likewise.
49227         (asin_test_downward): Likewise.
49228         (asin_test_upward): Likewise.
49229         (asinh_test): Likewise.
49230         (atan_test): Likewise.
49231         (atanh_test): Likewise.
49232         (atan2_test): Likewise.
49233         (cabs_test): Likewise.
49234         (cacos_test): Likewise.
49235         (cacosh_test): Likewise.
49236         (carg_test): Likewise.
49237         (casin_test): Likewise.
49238         (casinh_test): Likewise.
49239         (catan_test): Likewise.
49240         (catanh_test): Likewise.
49241         (cbrt_test): Likewise.
49242         (ccos_test): Likewise.
49243         (ccosh_test): Likewise.
49244         (ceil_test): Likewise.
49245         (cexp_test): Likewise.
49246         (cimag_test): Likewise.
49247         (clog_test): Likewise.
49248         (clog10_test): Likewise.
49249         (conj_test): Likewise.
49250         (copysign_test): Likewise.
49251         (cos_test): Likewise.
49252         (cos_test_tonearest): Likewise.
49253         (cos_test_towardzero): Likewise.
49254         (cos_test_downward): Likewise.
49255         (cos_test_upward): Likewise.
49256         (cosh_test): Likewise.
49257         (cosh_test_tonearest): Likewise.
49258         (cosh_test_towardzero): Likewise.
49259         (cosh_test_downward): Likewise.
49260         (cosh_test_upward): Likewise.
49261         (cpow_test): Likewise.
49262         (cproj_test): Likewise.
49263         (creal_test): Likewise.
49264         (csin_test): Likewise.
49265         (csinh_test): Likewise.
49266         (csqrt_test): Likewise.
49267         (ctan_test): Likewise.
49268         (ctan_test_tonearest): Likewise.
49269         (ctan_test_towardzero): Likewise.
49270         (ctan_test_downward): Likewise.
49271         (ctan_test_upward): Likewise.
49272         (ctanh_test): Likewise.
49273         (ctanh_test_tonearest): Likewise.
49274         (ctanh_test_towardzero): Likewise.
49275         (ctanh_test_downward): Likewise.
49276         (ctanh_test_upward): Likewise.
49277         (erf_test): Likewise.
49278         (erfc_test): Likewise.
49279         (exp_test): Likewise.
49280         (exp_test_tonearest): Likewise.
49281         (exp_test_towardzero): Likewise.
49282         (exp_test_downward): Likewise.
49283         (exp_test_upward): Likewise.
49284         (exp10_test): Likewise.
49285         (exp10_test_tonearest): Likewise.
49286         (exp10_test_towardzero): Likewise.
49287         (exp10_test_downward): Likewise.
49288         (exp10_test_upward): Likewise.
49289         (pow10_test): Likewise.
49290         (exp2_test): Likewise.
49291         (expm1_test): Likewise.
49292         (expm1_test_tonearest): Likewise.
49293         (expm1_test_towardzero): Likewise.
49294         (expm1_test_downward): Likewise.
49295         (expm1_test_upward): Likewise.
49296         (fabs_test): Likewise.
49297         (fdim_test): Likewise.
49298         (floor_test): Likewise.
49299         (fma_test): Likewise.
49300         (fma_test_towardzero): Likewise.
49301         (fma_test_downward): Likewise.
49302         (fma_test_upward): Likewise.
49303         (fmax_test): Likewise.
49304         (fmin_test): Likewise.
49305         (fmod_test): Likewise.
49306         (fpclassify_test): Likewise.
49307         (frexp_test): Likewise.
49308         (hypot_test): Likewise.
49309         (ilogb_test): Likewise.
49310         (isfinite_test): Likewise.
49311         (finite_test): Likewise.
49312         (isgreater_test): Likewise.
49313         (isgreaterequal_test): Likewise.
49314         (isinf_test): Likewise.
49315         (isless_test): Likewise.
49316         (islessequal_test): Likewise.
49317         (islessgreater_test): Likewise.
49318         (isnan_test): Likewise.
49319         (isnormal_test): Likewise.
49320         (issignaling_test): Likewise.
49321         (isunordered_test): Likewise.
49322         (j0_test): Likewise.
49323         (j1_test): Likewise.
49324         (jn_test): Likewise.
49325         (ldexp_test): Likewise.
49326         (lgamma_test): Likewise.
49327         (gamma_test): Likewise.
49328         (lrint_test): Likewise.
49329         (lrint_test_tonearest): Likewise.
49330         (lrint_test_towardzero): Likewise.
49331         (lrint_test_downward): Likewise.
49332         (lrint_test_upward): Likewise.
49333         (llrint_test): Likewise.
49334         (llrint_test_tonearest): Likewise.
49335         (llrint_test_towardzero): Likewise.
49336         (llrint_test_downward): Likewise.
49337         (llrint_test_upward): Likewise.
49338         (log_test): Likewise.
49339         (log10_test): Likewise.
49340         (log1p_test): Likewise.
49341         (log2_test): Likewise.
49342         (logb_test): Likewise.
49343         (logb_test_downward): Likewise.
49344         (lround_test): Likewise.
49345         (llround_test): Likewise.
49346         (modf_test): Likewise.
49347         (nearbyint_test): Likewise.
49348         (nextafter_test): Likewise.
49349         (nexttoward_test): Likewise.
49350         (pow_test): Likewise.
49351         (pow_test_tonearest): Likewise.
49352         (pow_test_towardzero): Likewise.
49353         (pow_test_downward): Likewise.
49354         (pow_test_upward): Likewise.
49355         (remainder_test): Likewise.
49356         (drem_test): Likewise.
49357         (remainder_test_tonearest): Likewise.
49358         (drem_test_tonearest): Likewise.
49359         (remainder_test_towardzero): Likewise.
49360         (drem_test_towardzero): Likewise.
49361         (remainder_test_downward): Likewise.
49362         (drem_test_downward): Likewise.
49363         (remainder_test_upward): Likewise.
49364         (drem_test_upward): Likewise.
49365         (remquo_test): Likewise.
49366         (rint_test): Likewise.
49367         (rint_test_tonearest): Likewise.
49368         (rint_test_towardzero): Likewise.
49369         (rint_test_downward): Likewise.
49370         (rint_test_upward): Likewise.
49371         (round_test): Likewise.
49372         (scalb_test): Likewise.
49373         (scalbn_test): Likewise.
49374         (scalbln_test): Likewise.
49375         (signbit_test): Likewise.
49376         (sin_test): Likewise.
49377         (sin_test_tonearest): Likewise.
49378         (sin_test_towardzero): Likewise.
49379         (sin_test_downward): Likewise.
49380         (sin_test_upward): Likewise.
49381         (sincos_test): Likewise.
49382         (sinh_test): Likewise.
49383         (sinh_test_tonearest): Likewise.
49384         (sinh_test_towardzero): Likewise.
49385         (sinh_test_downward): Likewise.
49386         (sinh_test_upward): Likewise.
49387         (sqrt_test): Likewise.
49388         (sqrt_test_tonearest): Likewise.
49389         (sqrt_test_towardzero): Likewise.
49390         (sqrt_test_downward): Likewise.
49391         (sqrt_test_upward): Likewise.
49392         (tan_test): Likewise.
49393         (tan_test_tonearest): Likewise.
49394         (tan_test_towardzero): Likewise.
49395         (tan_test_downward): Likewise.
49396         (tan_test_upward): Likewise.
49397         (tanh_test): Likewise.
49398         (tgamma_test): Likewise.
49399         (trunc_test): Likewise.
49400         (y0_test): Likewise.
49401         (y1_test): Likewise.
49402         (yn_test): Likewise.
49403         (significand_test): Likewise.
49405         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49406         individual tests in comment.
49407         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49408         (prev_max_error): New variable.
49409         (prev_real_max_error): Likewise.
49410         (prev_imag_max_error): Likewise.
49411         (compare_ulp_data): Don't refer to test names in comment.
49412         (find_test_ulps): Remove function.
49413         (find_function_ulps): Likewise.
49414         (find_complex_function_ulps): Likewise.
49415         (init_max_error): Take function name as argument.  Look up ulps
49416         for that function.
49417         (print_ulps): Remove function.
49418         (print_max_error): Use prev_max_error instead of calling
49419         find_function_ulps.
49420         (print_complex_max_error): Use prev_real_max_error and
49421         prev_imag_max_error instead of calling find_complex_function_ulps.
49422         (check_float_internal): Take max_ulp parameter instead of calling
49423         find_test_ulps.  Don't call print_ulps.
49424         (check_float): Update call to check_float_internal.
49425         (check_complex): Update calls to check_float_internal.
49426         (START): Pass argument to init_max_error.
49427         * math/gen-libm-test.pl (%results): Don't include "kind"
49428         information.
49429         (parse_ulps): Don't handle ulps of individual tests.
49430         (print_ulps_file): Likewise.
49431         (output_ulps): Likewise.
49432         * math/README.libm-test: Update.
49433         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49434         individual tests.
49435         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49436         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49437         * sysdeps/arm/libm-test-ulps: Likewise.
49438         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49439         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49440         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49441         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49442         * sysdeps/microblaze/libm-test-ulps: Likewise.
49443         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49444         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49445         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49446         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49447         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49448         * sysdeps/sh/libm-test-ulps: Likewise.
49449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49450         * sysdeps/tile/libm-test-ulps: Likewise.
49451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49453 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49455         * math/libm-test.inc (print_complex_max_error): Check separately
49456         whether real and imaginary errors are within allowed range and
49457         pass 0 to print_complex_function_ulps instead of value within
49458         allowed range.
49460 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49462         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49463         formatting.
49464         (get_handles_fopen): Likewise.
49465         (do_write_test): Likewise.
49467         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49469         * libio/fileops.c (do_ftell): Use cached offset when
49470         available.
49471         * libio/iofwide.c (do_ftell_wide): Likewise.
49472         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49473         _IO_file_attach.
49474         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49476         [BZ #16532]
49477         * libio/libioP.h (get_file_offset): New function.
49478         * libio/fileops.c (get_file_offset): Likewise.
49479         (do_ftell): Likewise.
49480         (_IO_new_file_seekoff): Split out ftell logic.
49481         * libio/wfileops.c (do_ftell_wide): Likewise.
49482         (_IO_wfile_seekoff): Split out ftell logic.
49483         * libio/tst-ftell-active-handler.c: New test case.
49484         * libio/Makefile (tests): Add it.
49486 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49488         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49489         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49491 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49493         [BZ #16639]
49494         * nscd/connections.c (nscd_init): Call do_exit.
49495         (start_threads): Call do_exit and notify_parent.
49496         (begin_drop_privileges): Call do_exit.
49497         (finish_drop_privileges): Likewise.
49498         * nscd/selinux.c (preserve_capabilities): Likewise.
49499         (install_real_capabilities): Likewise.
49500         (nscd_selinux_enabled): Likewise.
49501         (avc_create_thread): Likewise.
49502         (avc_alloc_lock): Likewise.
49503         (nscd_avc_init): Likewise.
49504         * nscd/nscd.c (parent_fd): New static variable.
49505         (main): Create a pipe between parent and child processes.
49506         Skip closing parent_fd.
49507         (monitor_child): New function.
49508         (do_exit): Likewise.
49509         (notify_parent): Likewise.
49510         * nscd/nscd.h (notify_parent): Likewise.
49511         (do_exit): Likewise.
49513 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49515         * malloc/malloc.c (__libc_calloc): Revert last change.
49517 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49521 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49523         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49525         implementation.
49526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49527         (__libc_ifunc_impl_list): Likewise.
49528         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49530         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49531         * string/strrchr.c: Define STRRCHR.
49533 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49535         * benchtest/bench-strtok.c (simple_strtok): Delete.
49536         (strtok_string): Use as benchmark.
49537         * string/strtok (STRTOK): New macro.
49539 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49541         * manual/threads.texi: Add header and standard comments to all
49542         functions.
49544         * elf/dl-lookup.c (check_match): New function.
49545         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49546         (do_lookup_x): Remove nested function check_match. Use non-nested
49547         function check_match.
49549 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49551         * csu/Makefile (generated, before-compile): Use += rather than =.
49552         * catgets/Makefile (generated, generated-dirs): Likewise.
49553         * debug/Makefile (generated): Likewise.
49554         * dlfcn/Makefile (generated): Likewise.
49555         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49556         * iconvdata/Makefile (before-compile, generated): Likewise.
49557         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49558         * libio/Makefile (generated): Likewise.
49559         * malloc/Makefile (generated): Likewise.
49560         * manual/Makefile (generated, generated-dirs): Likewise.
49561         * misc/Makefile (generated): Likewise.
49562         * posix/Makefile (generated): Likewise.
49563         * resolv/Makefile (generated): Likewise.
49564         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49565         * timezone/Makefile (generated, generated-dirs): Likewise.
49567         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49569 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49572         power8 implementation.
49573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49574         file: POWER8 llround ifunc implementation.
49575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49576         (__lllround): Add POWER8 implementation.
49577         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49578         POWER8 llround implementation.
49580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49581         power8 implementation.
49582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49583         file: POWER8 llrint ifunc implementation.
49584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49585         Add POWER8 implementation.
49586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49587         POWER8 llrint implementation.
49589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49590         power8 implementation.
49591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49592         file: POWER8 finite ifunc implementation.
49593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49594         Add POWER8 implementation.
49595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49596         Likewise.
49597         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49598         POWER8 finite implementation.
49599         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49602         power8 implementation.
49603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49604         file: POWER8 isinf ifunc implementation.
49605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49606         POWER8 implementation.
49607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49608         Likewise.
49609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49610         isinf implementation.
49611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49613         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49614         (INIT_ARCH): Add hwcap2 initialization.
49615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49616         power8 implementation.
49617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49618         file: POWER8 isnan ifunc implementation.
49619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49620         POWER8 implementation.
49621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49622         Likewise.
49623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49624         isnan implementation.
49625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49627 2014-02-27  Joey Ye  <joey.ye@arm.com>
49629         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49630         (_FP_NANFRAC_Q): Set to zero.
49632 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49634         [BZ #16623]
49635         * math/auto-libm-test-in: New test inputs.
49636         * math/auto-libm-test-out: Regenerate.
49637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49638         and DA.
49639         (__cos): Likewise.
49640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49642 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49644         * scripts/evaluate-test.sh: Take new argument indicating whether
49645         failure is expected.
49646         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49647         indicating whether failure is expected.
49648         * conform/Makefile (test-xfail-run-conformtest): New variable.
49649         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49650         level.
49651         * posix/Makefile (test-xfail-annexc): New variable.
49652         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49654 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49656         * argp/Makefile: Include Makeconfig immediately after defining
49657         subdir.
49658         * assert/Makefile: Likewise.
49659         * benchtests/Makefile: Likewise.
49660         * catgets/Makefile: Likewise.
49661         * conform/Makefile: Likewise.
49662         * crypt/Makefile: Likewise.
49663         * csu/Makefile: Likewise.
49664         (all): Remove target.
49665         * ctype/Makefile: Include Makeconfig immediately after defining
49666         subdir.
49667         * debug/Makefile: Likewise.
49668         * dirent/Makefile: Likewise.
49669         * dlfcn/Makefile: Likewise.
49670         * gmon/Makefile: Likewise.
49671         * gnulib/Makefile: Likewise.
49672         * grp/Makefile: Likewise.
49673         * gshadow/Makefile: Likewise.
49674         * hesiod/Makefile: Likewise.
49675         * hurd/Makefile: Likewise.
49676         (all): Remove target.
49677         * iconvdata/Makefile: Include Makeconfig immediately after
49678         defining subdir.
49679         * inet/Makefile: Likewise.
49680         * intl/Makefile: Likewise.
49681         * io/Makefile: Likewise.
49682         * libio/Makefile: Likewise.
49683         (all): Remove target.
49684         * locale/Makefile: Include Makeconfig immediately after defining
49685         subdir.
49686         * login/Makefile: Likewise.
49687         * mach/Makefile: Likewise.
49688         (all): Remove target.
49689         * malloc/Makefile: Include Makeconfig immediately after defining
49690         subdir.
49691         (all): Remove target.
49692         * manual/Makefile: Include Makeconfig immediately after defining
49693         subdir.
49694         * math/Makefile: Likewise.
49695         * misc/Makefile: Likewise.
49696         * nis/Makefile: Likewise.
49697         * nss/Makefile: Likewise.
49698         * po/Makefile: Likewise.
49699         (all): Remove target.
49700         * posix/Makefile: Include Makeconfig immediately after defining
49701         subdir.
49702         * pwd/Makefile: Likewise.
49703         * resolv/Makefile: Likewise.
49704         * resource/Makefile: Likewise.
49705         * rt/Makefile: Likewise.
49706         * setjmp/Makefile: Likewise.
49707         * shadow/Makefile: Likewise.
49708         * signal/Makefile: Likewise.
49709         * socket/Makefile: Likewise.
49710         * soft-fp/Makefile: Likewise.
49711         * stdio-common/Makefile: Likewise.
49712         * stdlib/Makefile: Likewise.
49713         * streams/Makefile: Likewise.
49714         * string/Makefile: Likewise.
49715         * sunrpc/Makefile: Likewise.
49716         (all): Remove target.
49717         * sysvipc/Makefile: Include Makeconfig immediately after defining
49718         subdir.
49719         * termios/Makefile: Likewise.
49720         * time/Makefile: Likewise.
49721         * timezone/Makefile: Likewise.
49722         (all): Remove target.
49723         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49724         subdir.
49725         * wctype/Makefile: Likewise.
49727 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49729         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49730         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49731         (libc_feholdexcept_setround_mips): Ditto.
49732         (libc_feholdsetround): New.
49733         (libc_feholdsetroundf): New.
49734         (libc_feholdsetroundl): New.
49735         (libc_feupdateenv_test_mips): New.
49736         (libc_feupdateenv_test): New.
49737         (libc_feupdateenv_testf): New.
49738         (libc_feupdateenv_testl): New.
49739         (libc_feresetround): New.
49740         (libc_feresetroundf): New.
49741         (libc_feresetroundl): New.
49742         (libc_fetestexcept_mips): New.
49743         (libc_fetestexcept): New.
49744         (libc_fetestexceptf): New.
49745         (libc_fetestexceptl): New.
49746         (HAVE_RM_CTX): New.
49747         (libc_feholdexcept_setround_mips_ctx): New.
49748         (libc_feholdexcept_setround_ctx): New.
49749         (libc_feholdexcept_setroundf_ctx): New.
49750         (libc_feholdexcept_setroundl_ctx): New.
49751         (libc_fesetenv_mips_ctx): New.
49752         (libc_fesetenv_ctx): New.
49753         (libc_fesetenv_ctxf): New.
49754         (libc_fesetenv_ctxl): New.
49755         (libc_feupdateenv_mips_ctx): New.
49756         (libc_feupdateenv_ctx): New.
49757         (libc_feupdateenvf_ctx): New.
49758         (libc_feupdateenvl_ctx): New.
49759         (libc_feholdsetround_mips_ctx): New.
49760         (libc_feholdsetround_ctx): New.
49761         (libc_feholdsetroundf_ctx): New.
49762         (libc_feholdsetroundl_ctx): New.
49763         (libc_feresetround_mips_ctx): New.
49764         (libc_feresetround_ctx): New.
49765         (libc_feresetroundf_ctx): New.
49766         (libc_feresetroundl_ctx): New.
49768 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49770         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49772         * manual/ipc.texi: New file.
49773         * manual/Makefile (chapters): Add ipc.
49774         * manual/job.texi: Add "Inter-Process Communication" to next.
49775         * manual/process.texi: Add "Inter-Process Communication" to prev.
49777 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49781 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49783         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49785         * manual/arith.texi: Fix spaces after sentences.
49786         * manual/charset.texi: Likewise.
49787         * manual/errno.texi: Likewise.
49788         * manual/install.texi: Likewise.
49789         * manual/llio.texi: Likewise.
49790         * manual/locale.texi: Likewise.
49791         * manual/maint.texi: Likewise.
49792         * manual/math.texi: Likewise.
49793         * manual/memory.texi: Likewise.
49794         * manual/message.texi: Likewise.
49795         * manual/probes.texi: Likewise.
49796         * manual/resource.texi: Likewise.
49797         * manual/signal.texi: Likewise.
49798         * manual/socket.texi: Likewise.
49799         * manual/stdio.texi: Likewise.
49800         * manual/string.texi: Likewise.
49801         * manual/time.texi: Likewise.
49802         * manual/users.texi: Likewise.
49804 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49806         [BZ #16632]
49807         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49808         _DEFAULT_SOURCE is defined.
49810 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49811             Carlos O'Donell  <carlos@redhat.com>
49813         [BZ #16613]
49814         * elf/dl-tls.c (_dl_count_modids): New function.
49815         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49816         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49817         audit library and increment generation counter.
49818         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49819         * elf/tst-audit9.c: New file.
49820         * elf/tst-auditmod9a.c: New file.
49821         * elf/tst-auditmod9b.c: New file.
49822         * elf/Makefile: Add rules to build and run tst-audit9.
49824 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49826         [BZ #15347]
49827         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49829 2014-02-25  Will Newton  <will.newton@linaro.org>
49831         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49832         (__longjmp): Restore sp and lr before restoring callee
49833         saved registers.  Add longjmp and longjmp_target
49834         SystemTap probe point.
49835         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49836         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49837         Define to zero to match jmpbuf layout.
49838         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49839         (__sigsetjmp): Save sp and lr before saving callee
49840         saved registers.  Add setjmp SystemTap probe point.
49842 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49844         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49846 2014-02-24  Andreas Schwab  <schwab@suse.de>
49848         [BZ #15804]
49849         * elf/pldd.c (wait_for_ptrace_stop): New function.
49850         (main): Call it after attaching.
49852 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49854         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49855         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49856         Versions files is now verboten.
49857         * hurd/Versions (libc: GLIBC_2.0):
49858         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49859         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49860         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49861         * mach/Versions: Likewise.
49863         * csu/Versions: Remove unused %include.
49864         * resolv/Versions: Likewise.
49866 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49868         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49869         ($(objpfx)check-local-headers.out): Likewise.
49870         ($(objpfx)begin-end-check.out): Likewise.
49871         * Makerules (check-abi-%.out): Likewise.
49872         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49873         ($(objpfx)test2.cat): Likewise.
49874         ($(objpfx)de/libc.cat): Likewise.
49875         ($(objpfx)test-gencat.out): Likewise.
49876         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49877         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49878         ($(objpfx)noload-mem): Likewise.
49879         ($(objpfx)tst-pathopt.out): Likewise.
49880         ($(objpfx)tst-rtld-load-self.out): Likewise.
49881         ($(objpfx)tst-array1-cmp.out): Likewise.
49882         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49883         ($(objpfx)tst-array2-cmp.out): Likewise.
49884         ($(objpfx)tst-array3-cmp.out): Likewise.
49885         ($(objpfx)tst-array4-cmp.out): Likewise.
49886         ($(objpfx)tst-array5-cmp.out): Likewise.
49887         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49888         ($(objpfx)check-textrel.out): Likewise.
49889         ($(objpfx)check-execstack.out): Likewise.
49890         ($(objpfx)check-localplt.out): Likewise.
49891         ($(objpfx)order2-cmp.out): Likewise.
49892         ($(objpfx)tst-leaks1-mem): Likewise.
49893         ($(objpfx)tst-leaks1-static-mem): Likewise.
49894         ($(objpfx)tst-initorder-cmp.out): Likewise.
49895         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49896         ($(objpfx)tst-unused-dep.out): Likewise.
49897         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49898         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49899         * iconv/Makefile (test-iconvconfig): Likewise.
49900         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49901         ($(objpfx)iconv-test.out): Likewise.
49902         ($(objpfx)tst-tables.out): Likewise.
49903         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49904         ($(objpfx)tst-gettext.out): Likewise.
49905         ($(objpfx)tst-translit.out): Likewise.
49906         ($(objpfx)tst-gettext2.out): Likewise.
49907         ($(objpfx)tst-gettext4.out): Likewise.
49908         ($(objpfx)tst-gettext6.out): Likewise.
49909         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49910         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49911         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49912         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49913         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49914         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49915         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49916         ($(objpfx)wordexp-tst.out): Likewise.
49917         ($(objpfx)annexc.out): Likewise.
49918         ($(objpfx)tst-fnmatch-mem): Likewise.
49919         ($(objpfx)bug-regex2-mem): Likewise.
49920         ($(objpfx)bug-regex14-mem): Likewise.
49921         ($(objpfx)bug-regex21-mem): Likewise.
49922         ($(objpfx)bug-regex31-mem): Likewise.
49923         ($(objpfx)tst-vfork3-mem): Likewise.
49924         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49925         ($(objpfx)tst-pcre-mem): Likewise.
49926         ($(objpfx)tst-boost-mem): Likewise.
49927         ($(objpfx)tst-getconf.out): Likewise.
49928         ($(objpfx)bug-ga2-mem): Likewise.
49929         ($(objpfx)bug-glob2-mem): Likewise.
49930         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49931         ($(objpfx)mtrace-tst-leaks2): Likewise.
49932         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49933         ($(objpfx)tst-printf.out): Likewise.
49934         ($(objpfx)tst-setvbuf1.out): Likewise.
49935         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49936         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49937         ($(objpfx)tst-fmtmsg.out): Likewise.
49938         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49939         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49941         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49942         * bits/sigaction.h [__USE_MISC]: Likewise.
49943         * bits/waitstatus.h: Update #endif comments.
49944         * ctype/ctype.h: Likewise.
49945         * dirent/dirent.h: Likewise.
49946         [__USE_MISC]: Remove redundant conditionals.
49947         * grp/grp.h: Update #endif comments.
49948         [__USE_GNU]: Remove redundant conditionals.
49949         [__USE_MISC]: Likewise.
49950         * inet/netinet/in.h [__USE_GNU]: Likewise.
49951         * io/sys/stat.h [__USE_MISC]: Likewise.
49952         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49953         * libio/bits/stdio.h: Update #endif comments.
49954         [__USE_MISC]: Remove redundant conditionals.
49955         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49956         * libio/stdio.h: Update #endif comments.
49957         [__USE_MISC]: Remove redundant conditionals.
49958         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49959         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49960         * math/math.h: Update #else and #endif comments.
49961         [__USE_MISC]: Remove redundant conditionals.
49962         * misc/sys/uio.h: Update #endif comments.
49963         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49964         * posix/glob.h [__USE_MISC]: Likewise.
49965         * posix/sys/types.h: Update #endif comments.
49966         [__USE_MISC]: Remove redundant conditionals.
49967         * posix/sys/wait.h: Update #endif comments.
49968         [__USE_MISC]: Remove redundant conditionals.
49969         * posix/unistd.h: Update #endif comments.
49970         [__USE_MISC]: Remove redundant conditionals.
49971         * pwd/pwd.h [__USE_GNU]: Likewise.
49972         [__USE_MISC]: Likewise.
49973         * resolv/netdb.h [__USE_GNU]: Likewise.
49974         * signal/signal.h: Update #endif comments.
49975         [__USE_MISC]: Remove redundant conditionals.
49976         * stdlib/stdlib.h: Update #else and #endif comments.
49977         [__USE_MISC]: Remove redundant conditionals.
49978         [__USE_GNU]: Likewise.
49979         * string/bits/string2.h [__USE_MISC]: Likewise.
49980         * string/string.h: Update #endif comments.
49981         [__USE_MISC]: Remove redundant conditionals.
49982         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49983         Likewise.
49984         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49985         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49986         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49987         Likewise.
49988         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49989         Likewise.
49990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49991         comments.
49992         [__USE_MISC]: Remove redundant conditionals.
49993         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49994         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49995         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49996         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49997         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49998         Likewise.
49999         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50000         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50001         Likewise.
50002         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50003         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50004         Likewise.
50005         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50006         Likewise.
50007         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50008         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50009         Likewise.
50010         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50011         Likewise.
50012         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50013         * sysdeps/x86/bits/string.h: Update #endif comments.
50014         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50015         conditionals.
50016         * time/sys/time.h: Update #endif comments.
50017         * time/time.h: Likewise.
50018         [__USE_MISC]: Remove redundant conditionals.
50020 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50022         [BZ #16600]
50023         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50025 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50027         * Versions.def (librt): Add GLIBC_2.17.
50029 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50031         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50032         synonym for _SYS_AUXV_H to allow direct inclusion.
50033         * sysdeps/sparc/bits/hwcap.h: Likewise.
50034         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50035         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50036         * sysdeps/sparc/sysdep.h: Likewise.
50038 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50040         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50042 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50044         * benchtests/bench-strrchr.c: Print length instead of position.
50046 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50048         [BZ #16611]
50049         * sysdeps/unix/sysv/linux/kernel-features.h
50050         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50051         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50052         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50053         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50054         Likewise.
50055         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50056         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50057         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50058         (__ASSUME_SENDMMSG): Define instead of using previous
50059         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50060         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50061         (__ASSUME_SENDMMSG_SYSCALL): Define.
50062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50063         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50064         Likewise.
50065         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50066         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50067         Likewise.
50068         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50069         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50070         Likewise.
50071         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50072         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50073         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50074         [__ASSUME_SENDMMSG]: Change conditionals to
50075         [__ASSUME_SENDMMSG_SOCKETCALL].
50076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50077         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50078         Define.
50079         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50080         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50081         Likewise.
50082         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50083         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50084         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50085         [!__ASSUME_SENDMMSG]: Change conditional to
50086         [!__ASSUME_SENDMMSG_SOCKETCALL].
50087         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50088         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50089         Define.
50091         [BZ #16610]
50092         * sysdeps/unix/sysv/linux/kernel-features.h
50093         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50094         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50095         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50096         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50097         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50098         [__i386__ || __sparc__]
50099         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50100         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50101         (__ASSUME_RECVMMSG): Define instead of using previous
50102         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50103         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50104         (__ASSUME_RECVMMSG_SYSCALL): Define.
50105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50106         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50107         Likewise.
50108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50109         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50110         Likewise.
50111         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50112         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50113         Likewise.
50114         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50115         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50116         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50117         [__ASSUME_RECVMMSG]: Change condition to
50118         [__ASSUME_RECVMMSG_SOCKETCALL].
50119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50121         Define.
50122         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50125         Likewise.
50126         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50127         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50128         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50129         [!__ASSUME_RECVMMSG]: Change condition to
50130         [!__ASSUME_RECVMMSG_SOCKETCALL].
50131         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50132         (__ASSUME_RECVMMSG_SYSCALL): Define.
50134         [BZ #16609]
50135         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50136         __powerpc__ || __s390__ || __sh__ || __sparc__]
50137         (__ASSUME_SOCKETCALL): Define.
50138         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50139         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50140         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50141         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50142         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50143         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50144         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50145         (__ASSUME_ACCEPT4): Define instead of using previous
50146         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50147         __powerpc__ || __sparc__ || __s390__)] condition.
50148         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50149         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50150         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50151         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50152         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50153         [!__ASSUME_ACCEPT4]: Change condition to
50154         [!__ASSUME_ACCEPT4_SOCKETCALL].
50155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50156         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50157         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50158         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50159         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50160         __ASSUME_ACCEPT4_SYSCALL.
50161         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50162         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50163         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50164         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50165         __ASSUME_ACCEPT4_SYSCALL.
50166         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50167         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50168         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50169         [__ASSUME_ACCEPT4]: Change condition to
50170         [__ASSUME_ACCEPT4_SOCKETCALL].
50171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50172         (__ASSUME_SOCKETCALL): Define.
50173         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50175         (__ASSUME_SOCKETCALL): Define.
50176         (__ASSUME_ACCEPT4): Remove.
50177         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50178         Define.
50179         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50180         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50181         Likewise.
50182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50183         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50185         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50186         macro.
50187         (HWCAP_ARM_LPAE): Likewise.
50188         (HWCAP_ARM_EVTSTRM): Likewise.
50189         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50190         Add vpfd32, lpae and evtstrm.
50191         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50192         Increase to 22.
50194 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50196         * math/auto-libm-test-in: Add tests of clog10.
50197         * math/auto-libm-test-out: Regenerated.
50198         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50199         * sysdeps/i386/fpu/libm-test-ulps: Update.
50200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50202 2014-02-18  Andreas Schwab  <schwab@suse.de>
50204         [BZ #16574]
50205         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50206         Store non-zero if the second buffer was newly allocated.
50207         (send_dg): Likewise.
50208         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50209         to send_vc and send_dg.
50210         (res_nsend): Pass NULL for ansp2_malloced.
50211         * resolv/res_query.c (__libc_res_nquery): Add parameter
50212         answerp2_malloced and pass it down to __libc_res_nsend.
50213         (res_nquery): Pass additional NULL to __libc_res_nquery.
50214         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50215         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50216         second answer buffer if answerp2_malloced was set.
50217         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50218         (__libc_res_nquerydomain): Add parameter
50219         answerp2_malloced and pass it down to __libc_res_nquery.
50220         (res_nquerydomain): Pass additional NULL to
50221         __libc_res_nquerydomain.
50222         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50223         additional NULL to __libc_res_nsend and __libc_res_nquery.
50224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50225         additional NULL to __libc_res_nsearch.
50226         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50227         parameter of __libc_res_nsearch to check for separately allocated
50228         second buffer.
50229         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50230         __libc_res_nquery.
50231         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50232         additional NULL to __libc_res_nquery.
50233         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50234         __libc_res_nsearch.
50235         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50236         * include/resolv.h: Update prototypes of __libc_res_nquery,
50237         __libc_res_nsearch, __libc_res_nsend.
50239 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50241         * math/auto-libm-test-in: Add tests of fma.
50242         * math/auto-libm-test-out: Regenerated.
50243         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50244         (fma_towardzero_test_data): Likewise.
50245         (fma_downward_test_data): Likewise.
50246         (fma_upward_test_data): Likewise.
50247         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50248         mpc_mode.
50249         (rounding_modes): Add values for new field.
50250         (func_calc_method): Add value mpfr_fff_f.
50251         (func_calc_desc): Add mpfr_fff_f union field.
50252         (test_function): Add field exact_args.
50253         (FUNC): Add macro argument EXACT_ARGS.
50254         (FUNC_mpfr_f_f): Update call to FUNC.
50255         (FUNC_mpfr_f_f): Likewise.
50256         (FUNC_mpfr_ff_f): Likewise.
50257         (FUNC_mpfr_if_f): Likewise.
50258         (FUNC_mpc_c_f): Likewise.
50259         (FUNC_mpc_c_c): Likewise.
50260         (test_functions): Add fma.  Update calls to FUNC.
50261         (handle_input_arg): Add argument exact_args.
50262         (add_test): Update call to handle_input_arg.
50263         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50264         (output_for_one_input_case): Update call to calc_generic_results.
50265         Recalculate exact zero results in each rounding mode.
50267         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50268         non-negative before setting low bit.
50269         * math/auto-libm-test-in: Mark one asin test possibly having
50270         spurious underflow.
50271         * math/auto-libm-test-out: Regenerated.
50272         * sysdeps/i386/fpu/libm-test-ulps: Update.
50273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50275 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50277         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50278         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50279         ports/sysdeps/unix/sysv/linux/microblaze.
50280         * README: Add missing listing for microblaze*-*-linux-gnu.
50282 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50285         duplicate code
50287 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50289         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50290         * sysdeps/unix/sysv/linux/ia64: Move directory from
50291         ports/sysdeps/unix/sysv/linux/ia64.
50292         * README: Update listing for ia64-*-linux-gnu.
50294 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50295             Joseph Myers  <joseph@codesourcery.com>
50297         * Makeconfig (test-name): New variable.
50298         (evaluate-test): Likewise.
50299         * Makerules (do-test-clean): Remove .test-result files.
50300         (common-mostlyclean): Likewise.
50301         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50302         * scripts/evaluate-test.sh: New file.
50304 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50306         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50307         separate $(objpfx)tst-fopenloc-cmp.out and
50308         $(objpfx)tst-fopenloc-mem.out targets.
50309         (tests): Update dependencies.
50310         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50311         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50312         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50313         (tst-rxspencer-no-utf8-ARGS): New variable.
50314         (tst-rxspencer-no-utf8-ENV): Likewise.
50315         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50316         instead of $(objpfx)tst-rxspencer-mem.
50317         ($(objpfx)tst-rxspencer-mem): Change target to
50318         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50319         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50320         * posix/tst-rxspencer-no-utf8.c: New file.
50322         * elf/Makefile ($(objpfx)order.out): Remove rule.
50323         [$(run-built-tests) = yes] (tests): Depend on
50324         $(objpfx)order-cmp.out.
50325         ($(objpfx)order-cmp.out): New rule.
50326         [$(run-built-tests) = yes] (tests): Depend on
50327         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50328         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50329         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50330         $(objpfx)tst-array5-static-cmp.out.
50331         ($(objpfx)tst-array1.out): Remove rule.
50332         ($(objpfx)tst-array1-cmp.out): New rule.
50333         ($(objpfx)tst-array1-static.out): Remove rule.
50334         ($(objpfx)tst-array1-static-cmp.out): New rule.
50335         ($(objpfx)tst-array2.out): Remove rule.
50336         ($(objpfx)tst-array2-cmp.out): New rule.
50337         ($(objpfx)tst-array3.out): Remove rule.
50338         ($(objpfx)tst-array3-cmp.out): New rule.
50339         ($(objpfx)tst-array4.out): Remove rule.
50340         ($(objpfx)tst-array4-cmp.out): New rule.
50341         ($(objpfx)tst-array5.out): Remove rule.
50342         ($(objpfx)tst-array5-cmp.out): New rule.
50343         ($(objpfx)tst-array5-static.out): Remove rule.
50344         ($(objpfx)tst-array5-static-cmp.out): New rule.
50345         [$(run-built-tests) = yes] (tests): Depend on
50346         $(objpfx)order2-cmp.out.
50347         ($(objpfx)order2.out): Remove rule.
50348         ($(objpfx)order2-cmp.out): New rule.
50349         ($(objpfx)tst-initorder.out): Remove rule.
50350         [$(run-built-tests) = yes] (tests): Depend on
50351         $(objpfx)tst-initorder-cmp.out.
50352         ($(objpfx)tst-initorder-cmp.out): New rule.
50353         ($(objpfx)tst-initorder2.out): Remove rule.
50354         [$(run-built-tests) = yes] (tests): Depend on
50355         $(objpfx)tst-initorder2-cmp.out.
50356         ($(objpfx)tst-initorder2-cmp.out): New rule.
50357         [$(run-built-tests) = yes] (tests): Depend on
50358         $(objpfx)tst-unused-dep-cmp.out.
50359         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50360         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50361         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50362         on $(objpfx)tst-setvbuf1-cmp.out.
50363         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50364         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50365         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50366         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50367         ($(objpfx)tst-svc.out): Remove rule.
50368         ($(objpfx)tst-svc-cmp.out): New rule.
50370 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50372         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50373         * ctype/ctype.h [__USE_MISC]: Likewise.
50374         * dirent/dirent.h [__USE_MISC]: Likewise.
50375         * grp/grp.h [__USE_MISC]: Likewise.
50376         * io/fcntl.h [__USE_MISC]: Likewise.
50377         * io/sys/stat.h [__USE_MISC]: Likewise.
50378         * libio/stdio.h [__USE_MISC]: Likewise.
50379         * posix/unistd.h [__USE_MISC]: Likewise.
50380         * pwd/pwd.h [__USE_MISC]: Likewise.
50381         * stdlib.h [__USE_MISC]: Likewise.
50382         * string/bits/string2.h [__USE_MISC]: Likewise.
50383         * string/string.h [__USE_MISC]: Likewise.
50384         * time/time.h [__USE_MISC]: Likewise.
50386 2014-02-13  Andreas Schwab  <schwab@suse.de>
50388         [BZ #16574]
50389         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50390         second answer buffer if it was separately allocated.
50392 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50394         * sysdeps/mips/math-tests.h: Include <features.h>.
50395         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50396         (ROUNDING_TESTS_long_double): Do not define.
50397         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50398         (EXCEPTION_TESTS_long_double): Likewise.
50399         * sysdeps/mips/mips64/libm-test-ulps: Update.
50401         * include/features.h (__USE_BSD): Remove macro definitions.
50402         (__USE_SVID): Likewise.
50403         (_BSD_SOURCE): Likewise.
50404         (_SVID_SOURCE): Likewise.
50405         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50406         from definition of _DEFAULT_SOURCE.
50407         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50408         [_DEFAULT_SOURCE].
50409         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50410         * bits/mman.h [__USE_BSD]: Likewise.
50411         * bits/termios.h [__USE_BSD]: Likewise.
50412         * bits/waitstatus.h [__USE_BSD]: Likewise.
50413         * ctype/ctype.h [__USE_SVID]: Likewise.
50414         * dirent/dirent.h [__USE_BSD]: Likewise.
50415         * grp/grp.h [__USE_SVID]: Likewise.
50416         [__USE_BSD]: Likewise.
50417         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50418         * io/fcntl.h [__USE_BSD]: Likewise.
50419         * io/ftw.h [__USE_BSD]: Likewise.
50420         * io/sys/stat.h [__USE_BSD]: Likewise.
50421         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50422         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50423         * libio/stdio.h [__USE_SVID]: Likewise.
50424         [__USE_BSD]: Likewise.
50425         * math/math.h [__USE_SVID]: Likewise.
50426         [__USE_BSD]: Likewise.
50427         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50428         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50429         * misc/search.h [__USE_SVID]: Likewise.
50430         * misc/sys/mman.h [__USE_BSD]: Likewise.
50431         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50432         * misc/sys/uio.h [__USE_BSD]: Likewise.
50433         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50434         * posix/glob.h [__USE_BSD]: Likewise.
50435         * posix/regex.h [__USE_BSD]: Likewise.
50436         * posix/sys/types.h [__USE_BSD]: Likewise.
50437         [__USE_SVID]: Likewise.
50438         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50439         * posix/sys/wait.h [__USE_BSD]: Likewise.
50440         [__USE_SVID]: Likewise.
50441         * posix/unistd.h [__USE_BSD]: Likewise.
50442         [__USE_SVID]: Likewise.
50443         * pwd/pwd.h [__USE_SVID]: Likewise.
50444         * resolv/netdb.h [__USE_BSD]: Likewise.
50445         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50446         * signal/signal.h [__USE_BSD]: Likewise.
50447         [__USE_SVID]: Likewise.
50448         * socket/sys/socket.h [__USE_BSD]: Likewise.
50449         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50450         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50451         [__USE_SVID]: Likewise.
50452         * string/bits/string2.h [__USE_BSD]: Likewise.
50453         [__USE_SVID]: Likewise.
50454         * string/bits/string3.h [__USE_BSD]: Likewise.
50455         * string/endian.h [__USE_BSD]: Likewise.
50456         * string/string.h [__USE_SVID]: Likewise.
50457         [__USE_BSD]: Likewise.
50458         * string/strings.h [__USE_BSD]: Likewise.
50459         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50460         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50461         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50462         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50463         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50464         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50465         Likewise.
50466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50467         Likewise.
50468         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50469         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50470         Likewise.
50471         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50472         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50473         Likewise.
50474         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50475         Likewise.
50476         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50477         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50478         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50479         Likewise.
50480         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50481         Likewise.
50482         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50483         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50484         * termios/termios.h [__USE_BSD]: Likewise.
50485         * time/sys/time.h [__USE_BSD]: Likewise.
50486         * time/time.h [__USE_BSD]: Likewise.
50487         [__USE_SVID]: Likewise.
50489         * Makefile (subdir_targets): Remove subdir_lint.out.
50491         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50492         (do-tst-printf): Likewise.
50493         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50494         $(objpfx)tst-printf.out.
50496         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50498         * Makerules (check-abi-%): Change target to
50499         $(objpfx)check-abi-%.out.
50500         (check-abi target): Update dependencies.
50501         (check-abi-pattern variable): Redirect output of diff to $@.
50502         (check-abi variable): Likewise.
50503         * elf/Makefile (check-abi): Update dependencies.
50505         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50506         unused.
50507         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50508         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50509         subnormal range.
50510         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50511         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50512         value has largest subnormal exponent.
50513         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50514         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50515         * sysdeps/aarch64/soft-fp/sfp-machine.h
50516         (_FP_TININESS_AFTER_ROUNDING): New macro.
50517         * sysdeps/alpha/soft-fp/sfp-machine.h
50518         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50519         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50520         Likewise.
50521         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50522         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50523         * sysdeps/mips/soft-fp/sfp-machine.h
50524         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50525         * sysdeps/powerpc/soft-fp/sfp-machine.h
50526         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50527         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50528         Likewise.
50529         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50530         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50532         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50533         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50534         Likewise.
50536 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50538         [BZ #16545]
50539         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50540         model 1.
50542 2014-02-12  Richard Henderson  <rth@redhat.com>
50544         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50545         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50546         * sysdeps/unix/sysv/linux/alpha: Move directory from
50547         ports/sysdeps/unix/sysv/linux/alpha.
50548         * README: Update listing for alpha-*-linux-gnu.
50550 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50552         * include/features.h: Update comment documenting feature test
50553         macros.
50554         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50555         _DEFAULT_SOURCE.
50556         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50557         (_SVID_SOURCE): Likewise.
50558         (_DEFAULT_SOURCE): Update description of default features.
50559         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50560         with _GNU_SOURCE.
50561         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50562         (S_ISVTX): Likewise.
50563         * manual/math.texi (Mathematical Constants): Likewise.
50564         * manual/signal.texi (Interrupted Primitives): Likewise.
50565         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50566         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50567         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50568         Don't refer to _SVID_SOURCE in warning text.
50570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50572         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50573         already defined.
50574         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50575         * sysdeps/mips/dl-lookup.c: Remove.
50576         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50578 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50580         [BZ #16447]
50581         * math/auto-libm-test-in: Add testcase for expl.
50582         * math/auto-libm-test-out: Regenerate.
50583         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50584         calculation of unsafe.
50585         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50587 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50589         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50590         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50591         ports/sysdeps/unix/sysv/linux/aarch64.
50592         * README: Update listing for aarch64*-*-linux-gnu.
50594 2014-02-11  Will Newton  <will.newton@linaro.org>
50596         * manual/probes.texi (Mathematical Function Probes): Use
50597         "triggered" instead of "hit".
50599         * manual/probes.texi (Internal Probes): Add documentation
50600         of setjmp, longjmp and longjmp_target probes.
50602         * include/stap-probe.h: Add comment about probe argument
50603         format.
50605         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50606         definition.  (tr_where, tr_freehook, tr_mallochook,
50607         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50609 2014-02-11  David S. Miller  <davem@davemloft.net>
50611         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50612         processing int_tests.
50614 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50616         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50617         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50618         * sysdeps/unix/sysv/linux/mips: Move directory from
50619         ports/sysdeps/unix/sysv/linux/mips.
50620         * README: Update listing for mips-*-linux-gnu and
50621         mips64-*-linux-gnu.
50623 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50625         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50626         * sysdeps/unix/sysv/linux/m68k: Move directory from
50627         ports/sysdeps/unix/sysv/linux/m68k.
50628         * README: Update listing for m68k-*-linux-gnu.
50630 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50632         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50633         * sysdeps/unix/sysv/linux/generic: Move directory from
50634         ports/sysdeps/unix/sysv/linux/generic.
50635         * sysdeps/unix/sysv/linux/tile: Move directory from
50636         ports/sysdeps/unix/sysv/linux/tile.
50637         * README: Update listing for tile*-*-linux-gnu.
50639 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50641         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50642         __builtin_expect.
50643         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50644         * catgets/open_catalog.c (__open_catalog): Likewise.
50645         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50646         * debug/confstr_chk.c: Likewise.
50647         * debug/fread_chk.c (__fread_chk): Likewise.
50648         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50649         * debug/getgroups_chk.c: Likewise.
50650         * debug/mbsnrtowcs_chk.c: Likewise.
50651         * debug/mbsrtowcs_chk.c: Likewise.
50652         * debug/mbstowcs_chk.c: Likewise.
50653         * debug/memcpy_chk.c: Likewise.
50654         * debug/memmove_chk.c: Likewise.
50655         * debug/mempcpy_chk.c: Likewise.
50656         * debug/memset_chk.c: Likewise.
50657         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50658         * debug/strcat_chk.c (__strcat_chk): Likewise.
50659         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50660         * debug/strncat_chk.c (__strncat_chk): Likewise.
50661         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50662         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50663         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50664         * debug/wcpncpy_chk.c: Likewise.
50665         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50666         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50667         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50668         * debug/wcsncpy_chk.c: Likewise.
50669         * debug/wcsnrtombs_chk.c: Likewise.
50670         * debug/wcsrtombs_chk.c: Likewise.
50671         * debug/wcstombs_chk.c: Likewise.
50672         * debug/wmemcpy_chk.c: Likewise.
50673         * debug/wmemmove_chk.c: Likewise.
50674         * debug/wmempcpy_chk.c: Likewise.
50675         * debug/wmemset_chk.c: Likewise.
50676         * dirent/scandirat.c (SCANDIRAT): Likewise.
50677         * dlfcn/dladdr1.c (dladdr1): Likewise.
50678         * dlfcn/dladdr.c (dladdr): Likewise.
50679         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50680         * dlfcn/dlerror.c (__dlerror): Likewise.
50681         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50682         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50683         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50684         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50685         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50686         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50687         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50688         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50689         Likewise.
50690         * elf/dl-conflict.c: Likewise.
50691         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50692         * elf/dl-dst.h: Likewise.
50693         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50694         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50695         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50696         * elf/dl-init.c (call_init, _dl_init): Likewise.
50697         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50698         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50699         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50700         Likewise.
50701         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50702         Likewise.
50703         * elf/dl-minimal.c (__libc_memalign): Likewise.
50704         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50705         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50706         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50707         * elf/dl-sym.c (do_sym): Likewise.
50708         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50709         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50710         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50711         * elf/dl-writev.h (_dl_writev): Likewise.
50712         * elf/ldconfig.c (search_dir): Likewise.
50713         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50714         (dl_main): Likewise.
50715         * elf/setup-vdso.h (setup_vdso): Likewise.
50716         * grp/compat-initgroups.c (compat_call): Likewise.
50717         * grp/fgetgrent.c (fgetgrent): Likewise.
50718         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50719         * grp/putgrent.c (putgrent): Likewise.
50720         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50721         Likewise.
50722         * hurd/hurdinit.c: Likewise.
50723         * iconvdata/8bit-gap.c (struct): Likewise.
50724         * iconvdata/ansi_x3.110.c : Likewise.
50725         * iconvdata/big5.c : Likewise.
50726         * iconvdata/big5hkscs.c : Likewise.
50727         * iconvdata/cp1255.c: Likewise.
50728         * iconvdata/cp1258.c : Likewise.
50729         * iconvdata/cp932.c : Likewise.
50730         * iconvdata/euc-cn.c: Likewise.
50731         * iconvdata/euc-jisx0213.c : Likewise.
50732         * iconvdata/euc-jp.c: Likewise.
50733         * iconvdata/euc-jp-ms.c : Likewise.
50734         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50735         * iconvdata/gb18030.c : Likewise.
50736         * iconvdata/gbbig5.c (const): Likewise.
50737         * iconvdata/gbgbk.c: Likewise.
50738         * iconvdata/gbk.c : Likewise.
50739         * iconvdata/ibm1364.c : Likewise.
50740         * iconvdata/ibm930.c : Likewise.
50741         * iconvdata/ibm932.c: Likewise.
50742         * iconvdata/ibm933.c : Likewise.
50743         * iconvdata/ibm935.c : Likewise.
50744         * iconvdata/ibm937.c : Likewise.
50745         * iconvdata/ibm939.c : Likewise.
50746         * iconvdata/ibm943.c: Likewise.
50747         * iconvdata/iso_11548-1.c: Likewise.
50748         * iconvdata/iso-2022-cn.c : Likewise.
50749         * iconvdata/iso-2022-cn-ext.c : Likewise.
50750         * iconvdata/iso-2022-jp-3.c: Likewise.
50751         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50752         * iconvdata/iso-2022-kr.c : Likewise.
50753         * iconvdata/iso646.c (gconv_end): Likewise.
50754         * iconvdata/iso_6937-2.c : Likewise.
50755         * iconvdata/iso_6937.c : Likewise.
50756         * iconvdata/iso8859-1.c: Likewise.
50757         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50758         * iconvdata/shift_jisx0213.c : Likewise.
50759         * iconvdata/sjis.c : Likewise.
50760         * iconvdata/t.61.c : Likewise.
50761         * iconvdata/tcvn5712-1.c : Likewise.
50762         * iconvdata/tscii.c: Likewise.
50763         * iconvdata/uhc.c : Likewise.
50764         * iconvdata/unicode.c (gconv_end): Likewise.
50765         * iconvdata/utf-16.c (gconv_end): Likewise.
50766         * iconvdata/utf-32.c (gconv_end): Likewise.
50767         * iconvdata/utf-7.c (base64): Likewise.
50768         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50769         * iconv/gconv_close.c (__gconv_close): Likewise.
50770         * iconv/gconv_open.c (__gconv_open): Likewise.
50771         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50772         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50773         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50774         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50775         (ucs4le_internal_loop_single): Likewise.
50776         * iconv/iconv.c (iconv): Likewise.
50777         * iconv/iconv_close.c: Likewise.
50778         * iconv/loop.c (SINGLE): Likewise.
50779         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50780         * include/atomic.h: Likewise.
50781         * inet/inet6_option.c (option_alloc): Likewise.
50782         * intl/bindtextdom.c (set_binding_values): Likewise.
50783         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50784         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50785         * intl/localealias.c (read_alias_file): Likewise.
50786         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50787         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50788         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50789         * libio/fmemopen.c (fmemopen): Likewise.
50790         * libio/iofgets.c (_IO_fgets): Likewise.
50791         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50792         * libio/iofgetws.c (fgetws): Likewise.
50793         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50794         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50795         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50796         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50797         * locale/findlocale.c (_nl_find_locale): Likewise.
50798         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50799         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50800         Likewise.
50801         * locale/setlocale.c (setlocale): Likewise.
50802         * login/programs/pt_chown.c (main): Likewise.
50803         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50804         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50805         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50806         (mmap, mmap64, mremap, munmap): Likewise.
50807         * math/e_exp2l.c: Likewise.
50808         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50809         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50810         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50811         * math/s_catan.c (__catan): Likewise.
50812         * math/s_catanf.c (__catanf): Likewise.
50813         * math/s_catanh.c (__catanh): Likewise.
50814         * math/s_catanhf.c (__catanhf): Likewise.
50815         * math/s_catanhl.c (__catanhl): Likewise.
50816         * math/s_catanl.c (__catanl): Likewise.
50817         * math/s_ccosh.c (__ccosh): Likewise.
50818         * math/s_ccoshf.c (__ccoshf): Likewise.
50819         * math/s_ccoshl.c (__ccoshl): Likewise.
50820         * math/s_cexp.c (__cexp): Likewise.
50821         * math/s_cexpf.c (__cexpf): Likewise.
50822         * math/s_cexpl.c (__cexpl): Likewise.
50823         * math/s_clog10.c (__clog10): Likewise.
50824         * math/s_clog10f.c (__clog10f): Likewise.
50825         * math/s_clog10l.c (__clog10l): Likewise.
50826         * math/s_clog.c (__clog): Likewise.
50827         * math/s_clogf.c (__clogf): Likewise.
50828         * math/s_clogl.c (__clogl): Likewise.
50829         * math/s_csin.c (__csin): Likewise.
50830         * math/s_csinf.c (__csinf): Likewise.
50831         * math/s_csinh.c (__csinh): Likewise.
50832         * math/s_csinhf.c (__csinhf): Likewise.
50833         * math/s_csinhl.c (__csinhl): Likewise.
50834         * math/s_csinl.c (__csinl): Likewise.
50835         * math/s_csqrt.c (__csqrt): Likewise.
50836         * math/s_csqrtf.c (__csqrtf): Likewise.
50837         * math/s_csqrtl.c (__csqrtl): Likewise.
50838         * math/s_ctan.c (__ctan): Likewise.
50839         * math/s_ctanf.c (__ctanf): Likewise.
50840         * math/s_ctanh.c (__ctanh): Likewise.
50841         * math/s_ctanhf.c (__ctanhf): Likewise.
50842         * math/s_ctanhl.c (__ctanhl): Likewise.
50843         * math/s_ctanl.c (__ctanl): Likewise.
50844         * math/w_pow.c: Likewise.
50845         * math/w_powf.c: Likewise.
50846         * math/w_powl.c: Likewise.
50847         * math/w_scalb.c (sysv_scalb): Likewise.
50848         * math/w_scalbf.c (sysv_scalbf): Likewise.
50849         * math/w_scalbl.c (sysv_scalbl): Likewise.
50850         * misc/error.c (error_tail): Likewise.
50851         * misc/pselect.c (__pselect): Likewise.
50852         * nis/nis_callback.c (__nis_create_callback): Likewise.
50853         * nis/nis_call.c (__nisfind_server): Likewise.
50854         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50855         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50856         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50857         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50858         * nis/nis_lookup.c (nis_lookup): Likewise.
50859         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50860         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50861         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50862         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50863         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50864         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50865         * nis/nss_compat/compat-initgroups.c (add_group)
50866         (internal_getgrent_r): Likewise.
50867         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50868         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50869         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50870         (internal_getspnam_r): Likewise.
50871         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50872         (_nss_nis_getaliasbyname_r): Likewise.
50873         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50874         (_nss_nis_getntohost_r): Likewise.
50875         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50876         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50877         (_nss_nis_getgrgid_r): Likewise.
50878         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50879         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50880         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50881         (_nss_nis_gethostbyname4_r): Likewise.
50882         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50883         (initgroups_netid): Likewise.
50884         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50885         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50886         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50887         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50888         (_nss_nis_getprotobynumber_r): Likewise.
50889         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50890         (_nss_nis_getsecretkey): Likewise.
50891         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50892         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50893         (_nss_nis_getpwuid_r): Likewise.
50894         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50895         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50896         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50897         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50898         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50899         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50900         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50901         Likewise.
50902         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50903         (_nss_nisplus_getntohost_r): Likewise.
50904         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50905         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50906         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50907         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50908         Likewise.
50909         * nis/nss_nisplus/nisplus-initgroups.c
50910         (_nss_nisplus_initgroups_dyn): Likewise.
50911         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50912         (_nss_nisplus_getnetbyaddr_r): Likewise.
50913         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50914         (_nss_nisplus_getprotobynumber_r): Likewise.
50915         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50916         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50917         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50918         Likewise.
50919         * nis/nss_nisplus/nisplus-service.c
50920         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50921         (_nss_nisplus_getservbyport_r): Likewise.
50922         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50923         (_nss_nisplus_getspnam_r): Likewise.
50924         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50925         Likewise.
50926         * nscd/aicache.c (addhstaiX): Likewise.
50927         * nscd/cache.c (cache_search, prune_cache): Likewise.
50928         * nscd/connections.c (register_traced_file, send_ro_fd)
50929         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50930         (main_loop_epoll): Likewise.
50931         * nscd/grpcache.c (addgrbyX): Likewise.
50932         * nscd/hstcache.c (addhstbyX): Likewise.
50933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50934         * nscd/mem.c (gc, mempool_alloc): Likewise.
50935         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50936         (addinnetgrX): Likewise.
50937         * nscd/nscd-client.h (__nscd_acquire_maplock)
50938         (__nscd_drop_map_ref): Likewise.
50939         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50940         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50941         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50942         Likewise.
50943         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50945         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50946         (__nscd_get_map_ref): Likewise.
50947         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50948         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50949         Likewise.
50950         * nscd/pwdcache.c (addpwbyX): Likewise.
50951         * nscd/selinux.c (preserve_capabilities): Likewise.
50952         * nscd/servicescache.c (addservbyX): Likewise.
50953         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50954         * posix/fnmatch.c (fnmatch): Likewise.
50955         * posix/getopt.c (_getopt_internal_r): Likewise.
50956         * posix/glob.c (glob, glob_in_dir): Likewise.
50957         * posix/wordexp.c (exec_comm_child): Likewise.
50958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50959         (getanswer_r, gaih_getanswer_slice): Likewise.
50960         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50961         * resolv/res_init.c: Likewise.
50962         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50963         * resolv/res_query.c (__libc_res_nquery): Likewise.
50964         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50965         Likewise.
50966         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50967         * stdio-common/perror.c (perror): Likewise.
50968         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50969         * stdio-common/tmpnam.c (tmpnam): Likewise.
50970         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50971         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50972         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50973         Likewise.
50974         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50975         * stdlib/putenv.c (putenv): Likewise.
50976         * stdlib/setenv.c (__add_to_environ): Likewise.
50977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50978         * stdlib/strtol_l.c (INTERNAL): Likewise.
50979         * string/memmem.c (memmem): Likewise.
50980         * string/strerror.c (strerror): Likewise.
50981         * string/strnlen.c (__strnlen): Likewise.
50982         * string/test-memmem.c (simple_memmem): Likewise.
50983         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50984         * sunrpc/pm_getport.c (__get_socket): Likewise.
50985         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50986         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50987         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50988         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50989         Likewise.
50990         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50991         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50992         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50993         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50994         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50995         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50996         Likewise.
50997         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50998         Likewise.
50999         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51000         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51001         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51002         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51003         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51006         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51007         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51008         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51009         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51010         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51011         Likewise.
51012         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51013         Likewise.
51014         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51015         Likewise.
51016         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51017         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51018         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51020         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51021         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51022         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51025         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51026         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51028         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51029         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51031         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51032         Likewise.
51033         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51034         Likewise.
51035         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51036         Likewise.
51037         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51038         Likewise.
51039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51041         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51042         Likewise.
51043         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51044         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51045         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51046         * sysdeps/posix/sleep.c: Likewise.
51047         * sysdeps/posix/tempname.c: Likewise.
51048         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51049         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51050         Likewise.
51051         * sysdeps/powerpc/powerpc32/dl-machine.h
51052         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51053         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51054         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51055         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51056         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51057         Likewise.
51058         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51059         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51060         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51061         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51062         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51063         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51064         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51065         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51066         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51067         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51069         (elf_machine_lazy_rel): Likewise.
51070         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51071         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51072         (elf_machine_lazy_rel): Likewise.
51073         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51074         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51075         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51076         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51077         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51078         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51079         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51081         Likewise.
51082         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51083         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51084         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51085         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51086         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51087         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51088         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51089         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51090         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51091         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51092         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51093         Likewise.
51094         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51095         (__posix_fallocate64_l64): Likewise.
51096         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51097         (posix_fallocate): Likewise.
51098         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51099         Likewise.
51100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51101         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51102         (getifaddrs_internal): Likewise.
51103         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51104         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51105         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51106         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51107         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51108         (__posix_fallocate64_l64): Likewise.
51109         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51110         Likewise.
51111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51112         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51113         (__get_clockfreq): Likewise.
51114         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51115         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51116         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51119         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51120         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51121         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51122         Likewise.
51123         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51124         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51125         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51126         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51127         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51128         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51129         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51130         Likewise.
51131         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51132         (posix_fallocate): Likewise.
51133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51134         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51135         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51136         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51137         (elf_machine_rela, elf_machine_rela_relative)
51138         (elf_machine_lazy_rel): Likewise.
51139         * time/asctime.c (asctime_internal): Likewise.
51140         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51141         * time/tzset.c (__tzset_parse_tz): Likewise.
51142         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51143         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51144         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51145         * wcsmbs/wcsmbsload.h: Likewise.
51147         [BZ #15894]
51148         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51150         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51151         (arena_get2): Remove THREAD_STATS conditionals.
51152         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51153         (__malloc_stats, int): Likewise.
51155 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51157         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51158         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51160         * manual/setjmp.texi: Fix typos/grammar errors.
51162         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51163         Only return early when n is <= 0.  Delete unused return statement.
51165         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51166         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51167         * debug/tst-longjmp_chk3.c: New file.
51169         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51170         (test_main): Replace code with set_fortify_handler call.
51171         * debug/test-strcpy_chk.c: Likewise.
51172         * debug/tst-chk1.c: Likewise.
51173         * debug/tst-longjmp_chk.c: Likewise.
51174         * test-skeleton.c: Include fcntl.h & paths.h
51175         (set_fortify_handler): Define.
51177         * debug/tst-longjmp_chk.c: Add header comment and include
51178         ../test-skeleton.c.
51179         (do_test): Mark static.
51180         (TEST_FUNCTION): Define.
51182         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51183         (IP_PMTUDISC_INTERFACE): Likewise.
51184         (IP_MULTICAST_IF): Likewise.
51185         (IP_MULTICAST_TTL): Likewise.
51186         (IP_MULTICAST_LOOP): Likewise.
51187         (IP_ADD_MEMBERSHIP): Likewise.
51188         (IP_DROP_MEMBERSHIP): Likewise.
51189         (IP_UNBLOCK_SOURCE): Likewise.
51190         (IP_BLOCK_SOURCE): Likewise.
51191         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51192         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51193         (IP_MSFILTER): Likewise.
51194         (MCAST_JOIN_GROUP): Likewise.
51195         (MCAST_BLOCK_SOURCE): Likewise.
51196         (MCAST_UNBLOCK_SOURCE): Likewise.
51197         (MCAST_LEAVE_GROUP): Likewise.
51198         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51199         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51200         (MCAST_MSFILTER): Likewise.
51201         (IP_MULTICAST_ALL): Likewise.
51202         (IP_UNICAST_IF): Likewise.
51204         * timezone/Makefile: Delete $(have-ksh) check.
51205         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51206         * timezone/tzselect.ksh: Add +x mode bits.
51208         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51209         (ANON_INODE_FS_MAGIC): Likewise.
51210         (BDEVFS_MAGIC): Likewise.
51211         (BINFMTFS_MAGIC): Likewise.
51212         (BTRFS_TEST_MAGIC): Likewise.
51213         (CRAMFS_MAGIC_WEND): Likewise.
51214         (DEBUGFS_MAGIC): Likewise.
51215         (ECRYPTFS_SUPER_MAGIC): Likewise.
51216         (EXT3_SUPER_MAGIC): Likewise.
51217         (EXT4_SUPER_MAGIC): Likewise.
51218         (FUTEXFS_SUPER_MAGIC): Likewise.
51219         (HOSTFS_SUPER_MAGIC): Likewise.
51220         (HUGETLBFS_MAGIC): Likewise.
51221         (MINIX3_SUPER_MAGIC): Likewise.
51222         (MTD_INODE_FS_MAGIC): Likewise.
51223         (NILFS_SUPER_MAGIC): Likewise.
51224         (OPENPROM_SUPER_MAGIC): Likewise.
51225         (PIPEFS_MAGIC): Likewise.
51226         (PSTOREFS_MAGIC): Likewise.
51227         (QNX6_SUPER_MAGIC): Likewise.
51228         (RAMFS_MAGIC): Likewise.
51229         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51230         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51231         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51232         (SECURITYFS_MAGIC): Likewise.
51233         (SELINUX_MAGIC): Likewise.
51234         (SMACK_MAGIC): Likewise.
51235         (SOCKFS_MAGIC): Likewise.
51236         (SQUASHFS_MAGIC): Likewise.
51237         (STACK_END_MAGIC): Likewise.
51238         (TMPFS_MAGIC): Likewise.
51239         (USBDEVICE_SUPER_MAGIC): Likewise.
51240         (V9FS_MAGIC): Likewise.
51241         (XENFS_SUPER_MAGIC): Likewise.
51242         (CRAMFS_MAGIC): Fix typo in comment.
51243         (EXT2_SUPER_MAGIC): Update comment.
51244         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51246 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51248         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51249         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51250         * sysdeps/unix/sysv/linux/arm: Move directory from
51251         ports/sysdeps/unix/sysv/linux/arm.
51252         * README: Update listing for arm-*-linux-gnueabi.
51254         * README: Remove mention of am33.
51256 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51258         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51259         than the comma operator, to avoid "rhs of comma has no effect"
51260         compiler warnings.
51261         (__sigfillset, __sigandset, __sigorset): Likewise.
51262         * include/signal.h (__sigemptyset): Likewise.
51263         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51265 2014-02-07  Allan McRae  <allan@archlinux.org>
51267         * version.h (RELEASE): Set to "development".
51268         (VERSION): Set to "2.19.90"
51269         * NEWS: Add 2.20 section.
51271 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51273         [BZ #16529]
51274         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51276 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51278         * manual/contrib.texi: Update entry for Carlos O'Donell,
51279         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51281 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51283         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51285         * sysdeps/unix/sysv/linux/kernel-features.h
51286         [__LINUX_KERNEL_VERSION >= 0x020621]
51287         (__ASSUME_PROC_PID_TASK_COMM): Define.
51289 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51291         [BZ #16398]
51292         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51293         conversion when destination buffer does not have enough space.
51294         * libio/tst-ftell-partial-wide.c: New test case.
51295         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51297         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51298         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51299         Leonard and Allan McRae.
51301 2014-02-04  David S. Miller  <davem@davemloft.net>
51303         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51304         32-bit.
51306 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51309         New file
51310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51311         New file
51312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51313         New file.
51314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51315         New file.
51316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51317         New file.
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51319         New file.
51320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51321         New file.
51322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51323         New file.
51324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51325         New file.
51326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51327         New file.
51328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51329         New file.
51330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51331         New file.
51332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51333         New file.
51335 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51337         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51338         * shlib-versions: Likewise.
51340 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51343         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51344         (abilist-pattern): New variable, set to %-le.abilist.
51346         * Makerules (abilist-pattern): New variable.
51347         (vpath): Use $(abilist-pattern) in place of %.abilist.
51348         (check-abi-% pattern rule): Likewise.
51349         (check-abi, update-abi): Likewise.
51351 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51355 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51357         * manual/startup.texi: Add next, previous, and top entries for
51358         the `Program Arguments' and `Environment Variables' nodes.
51360 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51362         * manual/macros.texi: Add comments before MTASC-safety macros.
51364         * manual/users.texi: Document MTASC-safety properties.
51366         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51367         (pthread_getspecific, pthread_setspecific): Format with
51368         @deftypefun, and add @safety note.
51369         * manual/signal.texi: Move comments that analyze the above
51370         functions to their home place.
51372 2014-02-03  Allan McRae  <allan@archlinux.org>
51374         * po/sl.po: Update Slovenian translation from translation project.
51376 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51378         * manual/time.texi (timegm): Add missing blank after @c.
51379         Reported by Joseph Myers <joseph@codesourcery.com>.
51381 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51383         * manual/check-safety.sh: New.
51384         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51386         * manual/terminal.texi: Document MTASC-safety properties.
51388         * manual/filesys.texi: Document MTASC-safety properties.
51390         * manual/errno.texi: Document MTASC-safety properties.
51392         * manual/intro.texi: Document safety identifiers and
51393         conditionals.
51395         * manual/string.texi (wcstok): Fix prototype.
51396         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51398         * manual/time.texi: Document MTASC-safety properties.
51400         * manual/string.texi: Document MTASC-safety properties.
51402         * manual/threads.texi: Document MTASC-safety properties.
51404         * manual/stdio.texi: Document MTASC-safety properties.
51406         * manual/syslog.texi: Document MTASC-safety properties.
51408         * manual/sysinfo.texi: Document MTASC-safety properties.
51410         * manual/startup.texi: Document MTASC-safety properties.
51412         * manual/socket.texi: Document MTASC-safety properties.
51414         * manual/signal.texi: Document MTASC-safety properties.
51416 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51418         * manual/setjmp.texi: Document MTASC-safety properties.
51420         * manual/search.texi: Document MTASC-safety properties.
51422         * manual/resource.texi: Document MTASC-safety properties.
51424         * manual/process.texi: Document MTASC-safety properties.
51426         * manual/platform.texi: Document MTASC-safety properties.
51428         * manual/pipe.texi: Document MTASC-safety properties.
51430         * manual/pattern.texi: Document MTASC-safety properties.
51432         * manual/message.texi: Document MTASC-safety properties.
51434         [BZ #12751]
51435         * manual/memory.texi: Document MTASC-safety properties.
51437         * manual/math.texi: Document MTASC-safety properties.
51439         * manual/locale.texi: Document MTASC-safety properties.
51441         * manual/llio.texi: Document MTASC-safety properties.
51443         * manual/libdl.texi: New.
51445         * manual/lang.texi: Document MTASC-safety properties.
51447         * manual/job.texi: Document MTASC-safety properties.
51449         * manual/getopt.texi: Document MTASC-safety properties.
51451         * manual/ctype.texi: Document MTASC-safety properties.
51453 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51455         [BZ #16046]
51456         * csu/libc-tls.c (static_map): Remove variable.
51457         (__libc_setup_tls): Use main executable's link map for TLS data.
51458         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51459         casing for LM_ID_BASE and GL(dl_nns).
51460         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51461         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51462         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51463         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51464         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51465         member.
51466         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51467         l_phnum members.
51469 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51471         * manual/debug.texi: Document MTASC-safety properties.
51473 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51475         [BZ #16510]
51476         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51477         of __x86_64__ when disabling x87 inline functions.
51479 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51481         * manual/charset.texi: Document MTASC-safety properties.
51483         * manual/crypt.texi: Document MTASC-safety properties.
51485         * manual/conf.texi: Document MTASC-safety properties.
51487         * manual/arith.texi: Document MTASC-safety properties.
51489         * manual/argp.texi: Document MTASC-safety properties.
51491         * manual/macros.texi: Introduce macros to document multi
51492         thread, asynchronous signal and asynchronous cancellation
51493         safety properties.
51494         * manual/intro.texi: Introduce the properties themselves.
51496 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51498         * sysdeps/sh/sh4/Makefile: New file.
51500 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51502         * math/gen-libm-test.pl ($srcdir): New variable.
51503         ($auto_input): Use it.
51505 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51507         [BZ #16506]
51508         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51509         access beyond array bounds when parsing netgroups file.
51511         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51512         the old buffer before realloc.
51514 2014-01-27  Allan McRae  <allan@archlinux.org>
51516         * po/fr.po: Update French translation from translation project.
51518 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51520         * sysdeps/sh/libm-test-ulps: Regenerate.
51522 2014-01-24  David S. Miller  <davem@davemloft.net>
51524         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51526 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51528         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51529         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51531 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51533         [BZ #16474]
51534         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51535         string pointers after reallocation.
51537 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51539         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51540         __SH4A__ instead of __SH_FPU_ANY__.
51542 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51544         * sysdeps/sh/fpu_control.h: New file.
51545         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51546         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51547         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51548         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51549         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51550         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51551         * sysdeps/sh/sys/ucontext.h: Remove.
51552         * sysdeps/sh/sys: Remove directory.
51554 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51556         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51557         s390/sys/ucontext.h.
51558         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51559         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51561 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51563         [BZ #15605]
51564         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51566 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51568         [BZ #16431]
51569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51570         Adjust the vDSO correctly for internal calls.
51571         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51573 2014-01-20  Allan McRae  <allan@archlinux.org>
51575         * po/ca.po: Update Catalan translation from translation project.
51577 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51579         * sysdeps/s390/sotruss-lib.c: New file.
51581 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51583         [BZ #16430]
51584         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51585         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51586         local calls issues by not having a PLT stub required for IFUNC calls.
51587         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51589 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51591         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51592         * math/test-fpucw-static.c: Likewise.
51594 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51596         [BZ #16453]
51597         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51599 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51601         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51602         implementation for powerpc.
51604 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51606         [BZ #14782]
51607         * sysdeps/posix/system.c (__libc_system): Do not enable
51608         asynchronous cancellation.
51610 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51612         [BZ #16427]
51613         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51614         handling only for numbers special also in the IEEE case.
51616 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51618         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51620 2014-01-11  Allan McRae  <allan@archlinux.org>
51622         * po/bg.po: Update Bulgarian translation from translation project.
51624         * po/de.po: Update German translation from translation project.
51626 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51628         * sysdeps/generic/gcc-compat.h: New file.
51630 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51632         * benchtests/asin-inputs: Correct slow inputs.
51633         * benchtests/acos-inputs: Likewise.
51635 2014-01-10  Allan McRae  <allan@archlinux.org>
51637         * po:sv.po: Update Swedish translation from translation project.
51639         * po/vi.po: Update Vietnamese translation from translation project.
51641         * po/eo.po: Update Esperanto translation from translation project.
51643         * po/cs.po: Update Czech translation from translation project.
51645         * po/nl.po: Update Dutch translation from translation project.
51647         * po/pl.po: Update Polish translation from translation project.
51649         * po/ru.po: Update Russian translation from translation project.
51651         * po/uk.po: Update Ukrainian translation from translation project.
51653 2014-01-08  Brooks Moses  <bmoses@google.com>
51655         * elf/dl-load.c: Fix comment typo.
51657 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51659         * po/header.pot: Rename to...
51660         * po/pot.header: ... this.
51661         * po/Makefile: Use pot.header.
51663 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51664             Maxim Kuvyrkov  <maxim@kugelworks.com>
51666         [BZ #16394]
51667         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51668         SRC and DEST against LEN.
51670 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51672         [BZ #16414]
51673         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51674         implementation.
51675         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51677 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51681 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51683         [BZ #16408]
51684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51685         for large positive arguments.
51687 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51689         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51691         * math/auto-libm-test-in: Mark various tests with
51692         xfail-rounding:ldbl-128ibm.
51693         * math/auto-libm-test-out: Regenerated.
51695         [BZ #16407]
51696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51697         Increase overflow threshold.
51699 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51701         [BZ #14286]
51702         * stdio-common/vfprintf.c: Check for integer overflow.
51704 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51706         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51707         the first argument and return value of __tls_get_addr_internal.
51709 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51711         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51712         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51714 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51716         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51717         * sysdeps/s390/rtld-global-offsets.sym: New file.
51718         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51719         GLIBC_2.19 symbol.
51720         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51721         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51722         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51723         ... this.
51724         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51725         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51726         ... this.
51727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51728         Regenerate.
51729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51730         Regenerate.
51731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51732         halfs of GPRs for high_gprs contexts.
51733         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51734         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51735         field.
51736         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51737         uc_flags field.
51738         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51739         64 bit versions:
51740         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51741         for high GPRs (uc_high_gprs) and for future extensions
51742         (__reserved).
51743         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51744         for future extensions (__reserved).
51745         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51746         64 bit versions:
51747         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51748         SC_HIGHGPRS offset definition.
51749         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51750         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51752         * Versions.def: Add GLIBC_2.19 for libpthread.
51753         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51754         siglongjmp for libpthread with GLIBC_2.19 symver.
51755         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51756         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51757         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51758         * sysdeps/s390/__longjmp.c: New file.
51759         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51760         * sysdeps/s390/longjmp.c: New file.
51761         * sysdeps/s390/setjmp.S: New file.
51762         * sysdeps/s390/sigjmp.S: New file.
51763         * sysdeps/s390/v1-longjmp.c: New file.
51764         * sysdeps/s390/v1-setjmp.h: New file.
51765         * sysdeps/s390/v1-sigjmp.c: New file.
51766         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51767         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51768         GLIBC_2.19 version.
51769         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51770         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51771         versioned symbols for ____longjmp_chk.
51772         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51773         Likewise.
51774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51775         Regenerate.
51776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51777         Regenerate.
51778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51779         Regenerate.
51780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51781         Regenerate.
51782         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51783         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51784         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51785         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51786         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51787         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51788         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51789         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51790         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51791         * sysdeps/s390/rtld-__longjmp.c: New file.
51792         * sysdeps/s390/rtld-setjmp.S: New file.
51794 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51796         [BZ #16400]
51797         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51798         Return -__logl (x) for small positive arguments without evaluating
51799         a polynomial.
51801 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51803         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51804         Rename to ...
51805         (__ptrace_peeksiginfo_args): ... this.
51806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51810 2014-01-06  Allan McRae  <allan@archlinux.org>
51812         * inet/netinet/in.h: Fix typo in comment.
51814 2014-01-05  Andreas Jaeger  <aj@suse.de>
51816         * sysdeps/i386/fpu/libm-test-ulps: Update.
51818 2014-01-05  Allan McRae  <allan@archlinux.org>
51820         * po/libc.pot: Regenerated.
51822         * malloc/memusagestat.c: Fix gettext call formatting.
51824 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51826         * nscd/nscd.c: Improve usage() output.
51828 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51830         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51831         * sysdeps/unix/sysv/linux/configure: Regenerated.
51832         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51833         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51835 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51837         [BZ #16390]
51838         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51839         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51841 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51844         extra tokens at end of #undef directive.
51845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51846         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51847         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51849 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51851         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51853         * math/auto-libm-test-in: Mark various tests with
51854         xfail-rounding:ldbl-128ibm.
51855         * math/auto-libm-test-out: Regenerated.
51857 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51859         [BZ #16386]
51860         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51861         numbers with subnormal high part when calculating exponent.
51863         [BZ #16385]
51864         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51865         fabs.
51867         [BZ #16384]
51868         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51869         M_LN2l.
51870         (__ieee754_acoshl): Use __log1pl not __log1p.
51872 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51874         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51875         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51876         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51877         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51878         (reused_arena, arena_get2): Convert to GNU style.
51879         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51880         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51881         (memalign_check, __malloc_set_state): Likewise.
51882         * malloc/mallocbug.c (main): Likewise.
51883         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51884         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51885         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51886         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51887         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51888         (__posix_memalign, malloc_info): Likewise.
51889         * malloc/malloc.h: Likewise.
51890         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51891         (mallochook, memalignhook, reallochook, mabort): Likewise.
51892         * malloc/mcheck.h: Likewise.
51893         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51894         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51895         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51896         * malloc/morecore.c (__default_morecore): Likewise.
51897         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51898         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51899         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51900         (print_and_abort): Likewise.
51901         * malloc/obstack.h: Likewise.
51902         * malloc/set-freeres.c (__libc_freeres): Likewise.
51903         * malloc/tst-mallocstate.c (main): Likewise.
51904         * malloc/tst-mtrace.c (main): Likewise.
51905         * malloc/tst-realloc.c (do_test): Likewise.
51907 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51909         [BZ #16366]
51910         * nscd/netgroupcache.c (do_notfound): New function.
51911         (addgetnetgrentX): Use it.
51913         [BZ # 16365]
51914         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51915         NSS_STATUS_NOTFOUND.
51917 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51919         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51922 2014-01-01  Allan McRae  <allan@archlinux.org>
51924         * scripts/update-copyrights: Update configure input file suffix.
51926         * NEWS: Update copyright year.
51927         * catgets/gencat.c: Likewise.
51928         * csu/version.c: Likewise.
51929         * debug/catchsegv.sh: Likewise.
51930         * debug/pcprofiledump.c: Likewise.
51931         * debug/xtrace.sh: Likewise.
51932         * elf/ldconfig.c: Likewise.
51933         * elf/ldd.bash.in: Likewise.
51934         * elf/pldd.c: Likewise.
51935         * elf/sotruss.ksh: Likewise.
51936         * elf/sprof.c: Likewise.
51937         * iconv/iconv_prog.c: Likewise.
51938         * iconv/iconvconfig.c: Likewise.
51939         * locale/programs/locale.c: Likewise.
51940         * locale/programs/localedef.c: Likewise.
51941         * login/programs/pt_chown.c: Likewise.
51942         * malloc/memusage.sh: Likewise.
51943         * malloc/memusagestat.c: Likewise.
51944         * malloc/mtrace.pl: Likewise.
51945         * manual/libc.texinfo: Likewise.
51946         * nscd/nscd.c: Likewise.
51947         * nss/getent.c: Likewise.
51948         * nss/makedb.c: Likewise.
51949         * posix/getconf.c: Likewise.
51950         * scripts/test-installation.pl: Likewise.
51952         * All files with FSF copyright notices: Update copyright dates
51953         using scripts/update-copyrights.
51954         * intl/plural.c: Regenerated.
51955         * locale/programs/charmap-kw.h: Likewise.
51956         * locale/programs/locfile-kw.h: Likewise.
51958 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51960         * sysdeps/unix/sysv/linux/configure: Regenerated.
51961         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51962         the linux/fanotify.h header.
51963         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51964         HAVE_LINUX_FANOTIFY_H is defined.
51966 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51968         * benchtests/cos-inputs: New inputs.
51969         * benchtests/sin-inputs: Likewise.
51971         * benchtests/atan-inputs: New inputs. Fix name of multiple
51972         precision fallback inputs.
51974         * benchtests/atanh-inputs: New inputs.
51975         * benchtests/tanh-inputs: Likewise.
51977         * benchtests/acosh-inputs: New inputs.
51978         * benchtests/asinh-inputs: Likewise.
51980         * benchtests/cosh-inputs: New inputs.
51981         * benchtests/sinh-inputs: Likewise.
51983         * benchtests/acos-inputs: Add more inputs.
51984         * benchtests/asin-inputs: Likewise.
51986 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51988         [BZ #16375]
51989         * manual/arith.texi: Fix spelling.
51990         * manual/charset.texi: Likewise.
51991         * manual/errno.texi: Likewise.
51992         * manual/filesys.texi: Likewise.
51993         * manual/lang.texi: Likewise.
51994         * manual/llio.texi: Likewise.
51995         * manual/locale.texi: Likewise.
51996         * manual/message.texi: Likewise.
51997         * manual/resource.texi: Likewise.
51998         * manual/search.texi: Likewise.
51999         * manual/setjmp.texi: Likewise.
52000         * manual/stdio.texi: Likewise.
52001         * manual/string.texi: Likewise.
52002         * manual/sysinfo.texi: Likewise.
52003         * manual/time.texi: Likewise.
52005 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52007         * po/sl.po: New file.
52009 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52011         * .gitignore: Add core/.gdbinit/.gdb_history.
52013 2013-12-27  Allan McRae  <allan@archlinux.org>
52015         [BZ #16369]
52016         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52017         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52019 2013-12-24  Brooks Moses  <bmoses@google.com>
52021         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52022         all compilers that claim C++98 compliance, not just GCC.
52023         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52024         Likewise.
52026 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52028         * NEWS: Restore accidentally deleted bug-fix entries.
52030 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52031             Ondřej Bílka  <neleai@seznam.cz>
52033         [BZ #15073]
52034         * malloc/malloc.c (_int_free): Perform sanity check only if we
52035         have_lock.
52037 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52039         [BZ #12986]
52040         * manual/stdio.texi (String Input Conversions): Clarify that character
52041         classes are not supported.
52043 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52047 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52049         [BZ #16337]
52050         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52051         Calculate results for small negative arguments directly rather
52052         than using reflection formula with special underflow handling.
52054         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52055         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52056         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52057         (fchflags): Likewise.
52058         (revoke): Likewise.
52059         (setlogin): Likewise.
52060         (sigaltstack): Likewise.
52061         (wait4): Likewise.
52062         (sigblock): Remove.
52063         (sigsetmask): Likewise.
52064         (wait3): Likewise.
52065         (waitpid): Likewise.
52066         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52067         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52068         file.
52069         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52070         * sysdeps/unix/bsd/Makefile: ... here.
52071         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52072         * sysdeps/unix/bsd/Versions: ... here.
52073         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52074         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52075         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52076         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52077         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52078         * sysdeps/unix/bsd/sigblock.c: ... here.
52079         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52080         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52081         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52082         * sysdeps/unix/bsd/sigvec.c: ... here.
52083         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52084         * sysdeps/unix/bsd/tcdrain.c: ... here.
52085         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52086         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52087         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52088         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52089         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52090         * sysdeps/unix/bsd/wait.c: ... here.
52091         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52092         * sysdeps/unix/bsd/wait3.c: ... here.
52093         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52094         * sysdeps/unix/bsd/waitpid.c: ... here.
52096 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52098         [BZ #16356]
52099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52100         round-to-nearest for [!USE_AS_EXPM1L].
52101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52102         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52103         more tests of exp and exp10.  Expect some exp10 tests to miss
52104         exceptions or fail in directed rounding modes.
52105         * math/auto-libm-test-out: Regenerated.
52106         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52107         (exp10_test_tonearest): New function.
52108         (exp10_towardzero_test_data): New array.
52109         (exp10_test_towardzero): New function.
52110         (exp10_downward_test_data): New array.
52111         (exp10_test_downward): New function.
52112         (exp10_upward_test_data): New array.
52113         (exp10_test_upward): New function.
52114         (main): Call the new functions.
52115         * sysdeps/i386/fpu/libm-test-ulps: Update.
52116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52118 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52120         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52121         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52122         * math/auto-libm-test-out: Regenerated.
52123         * math/libm-test.inc (acosh_test_data): Add more tests.
52124         (atanh_test_data): Likewise.
52125         (ceil_test_data): Likewise.
52126         (copysign_test_data): Likewise.
52127         * sysdeps/i386/fpu/libm-test-ulps: Update.
52128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52130         * timezone/checktab.awk: Update from tzcode 2013i.
52131         * timezone/private.h: Likewise.
52132         * timezone/scheck.c: Likewise.
52133         * timezone/tzfile.h: Likewise.
52134         * timezone/tzselect.ksh: Likewise.
52135         * timezone/zdump.c: Likewise.
52136         * timezone/zic.c: Likewise.
52138         * math/auto-libm-test-in: Add tests of cpow.
52139         * math/auto-libm-test-out: Regenerated.
52140         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52142         mpc_cc_c.
52143         (func_calc_desc): Add mpc_cc_c union field.
52144         (test_functions): Add cpow.
52145         (special_fill_2pi): New function.
52146         (special_real_inputs): Add 2pi.
52147         (calc_generic_results): Handle mpc_cc_c.
52148         * sysdeps/i386/fpu/libm-test-ulps: Update.
52149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52151         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52152         csqrt, ctan and ctanh.
52153         * math/auto-libm-test-out: Regenerated.
52154         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52155         (TEST_COND_x86): Likewise.
52156         (ccos_test_data): Use AUTO_TESTS_c_c.
52157         (ccosh_test_data): Likewise.
52158         (cexp_test_data): Likewise.
52159         (clog_test_data): Likewise.
52160         (csqrt_test_data): Likewise.
52161         (ctan_test_data): Likewise.
52162         (ctan_tonearest_test_data): Likewise.
52163         (ctan_towardzero_test_data): Likewise.
52164         (ctan_downward_test_data): Likewise.
52165         (ctan_upward_test_data): Likewise.
52166         (ctanh_test_data): Likewise.
52167         (ctanh_tonearest_test_data): Likewise.
52168         (ctanh_towardzero_test_data): Likewise.
52169         (ctanh_downward_test_data): Likewise.
52170         (ctanh_upward_test_data): Likewise.
52171         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52172         mpc_c_c.
52173         (func_calc_desc): Add mpc_c_c union field.
52174         (FUNC_mpc_c_c): New macro.
52175         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52176         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52177         ctanh.
52178         (special_fill_min_subnorm_p120): New function.
52179         (special_real_inputs): Add min_subnorm_p120.
52180         (calc_generic_results): Handle mpc_c_c.
52181         * sysdeps/i386/fpu/libm-test-ulps: Update.
52182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52184 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52186         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52187         (do_sin_slow): New functions.
52188         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52189         (cslow2, csloww1, csloww2): Use the new functions.
52191         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52192         Use M to change sign of result instead of X.  Assume X is
52193         positive.
52194         (csloww1): Likewise.
52195         (__sin): Adjust.
52196         (__cos): Adjust.
52198         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52199         arguments A and DA.
52200         (__sin): Adjust.
52201         (__cos): Likewise.
52203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52204         (__cos): Likewise.
52205         (sloww1): Don't adjust sign of DX.
52206         (csloww1): Likewise.
52207         (sloww2): Use X directly and don't adjust sign of DX.
52208         (csloww2): Likewise.
52210 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52212         * math/auto-libm-test-in: Add tests of cabs and carg.
52213         * math/auto-libm-test-out: Regenerated.
52214         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52215         (carg_test_data): Likewise.
52216         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52217         mpc_c_f.
52218         (func_calc_desc): Add mpc_c_f union field.
52219         (test_functions): Add cabs and carg.
52220         (calc_generic_results): Handle mpc_c_f.
52222         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52223         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52224         as a macro and a compat symbol.
52225         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52226         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52227         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52228         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52229         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52230         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52231         not use .hidden.
52232         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52233         Likewise.
52234         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52235         Likewise.
52236         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52237         Likewise.
52238         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52239         Likewise.
52240         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52241         Likewise.
52242         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52243         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52244         from GLIBC_2.3.2.
52246 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52250 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52252         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52253         trailing whitespace removed.
52254         * scripts/config.guess: Update to version 2013-11-29.
52255         * scripts/config.sub: Update to version 2013-10-01.
52257         * math/auto-libm-test-in: Add tests of sincos.
52258         * math/auto-libm-test-out: Regenerated.
52259         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52260         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52261         mpfr_f_11.
52262         (func_calc_desc): Add mpfr_f_11 union field.
52263         (test_functions): Add sincos.
52264         (calc_generic_results): Handle mpfr_f_11.
52265         * sysdeps/i386/fpu/libm-test-ulps: Update.
52266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52268 2013-12-19  Andreas Schwab  <schwab@suse.de>
52270         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52271         CALL_MCOUNT.
52272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52273         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52274         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52276 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52278         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52279         * sysdeps/i386/fpu/libm-test-ulps: Update.
52280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52282         [BZ #16293]
52283         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52284         round-to-nearest mode when using frndint.
52285         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52286         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52288         Likewise.
52289         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52290         sinh test to fail.
52291         * math/auto-libm-test-out: Regenerated.
52292         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52293         (TEST_COND_x86): Likewise.
52294         (expm1_tonearest_test_data): New array.
52295         (expm1_test_tonearest): New function.
52296         (expm1_towardzero_test_data): New array.
52297         (expm1_test_towardzero): New function.
52298         (expm1_downward_test_data): New array.
52299         (expm1_test_downward): New function.
52300         (expm1_upward_test_data): New array.
52301         (expm1_test_upward): New function.
52302         (main): Run the new test functions.
52303         * sysdeps/i386/fpu/libm-test-ulps: Update.
52304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52306         * include/features.h: Update comment documenting feature test
52307         macros.  Mention _DEFAULT_SOURCE in comment.
52308         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52309         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52310         _BSD_SOURCE and _SVID_SOURCE.
52311         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52312         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52313         !_SVID_SOURCE]: Likewise.
52314         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52315         (__USE_POSIX_IMPLICITLY): Define.
52316         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52317         (_POSIX_SOURCE): Undefine and redefine.
52318         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52319         (_POSIX_C_SOURCE): Likewise.
52320         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52321         (Feature Test Macros): Update documentation of default features.
52323 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52325         * benchtests/Makefile: Add bench-strtok.
52326         * benchtests/bench-strtok.c: New file: strtok benchtest.
52328 2013-12-19  Allan McRae  <allan@archlinux.org>
52330         * manual/install.texi: Suppress menu for plain text output.
52331         * INSTALL: Regenerated.
52333 2013-12-18  Brooks Moses  <bmoses@google.com>
52335         [BZ #15846]
52336         * misc/getauxval.c: Include errno.h.
52337         (__getauxval): Set errno to ENOENT if the requested type is not
52338         found.
52339         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52340         don't declare with __attribute_const__.
52341         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52342         * manual/startup.texi: Document that getauxval sets errno.
52344 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52346         * math/auto-libm-test-in: Add tests of jn and yn.
52347         * math/auto-libm-test-out: Regenerated.
52348         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52349         (yn_test_data): Likewise.
52350         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52351         mpfr_if_f.
52352         (func_calc_desc): Add mpfr_if_f union field.
52353         (FUNC_mpfr_if_f): New macro.
52354         (test_functions): Add jn and yn.
52355         (calc_generic_results): Assert type of second input for
52356         mpfr_ff_f.  Handle mpfr_if_f.
52357         (output_for_one_input_case): Disable all checking for arguments
52358         fitting floating-point types in case of an integer argument.
52359         * sysdeps/i386/fpu/libm-test-ulps: Update.
52360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52363         Don't expect fegetround reference in libm.so.
52365 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52367         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52368         $(config-cflags-nofma).
52370 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52372         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52373         * math/auto-libm-test-out: Regenerated.
52375         [BZ #16338]
52376         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52377         to determine exponent and adjust argument to have exponent of -1.
52378         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52379         log2.
52380         * math/auto-libm-test-out: Regenerated.
52381         * sysdeps/i386/fpu/libm-test-ulps: Update.
52382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52384 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52386         * manual/probes.texi: Remove cases when per-thread arenas are
52387         disabled.
52389 2013-12-18  Andreas Schwab  <schwab@suse.de>
52391         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52392         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52393         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52394         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52395         * sysdeps/i386/i686/multiarch/Makefile: Update.
52396         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52398 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52400         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52401         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52403 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52405         [BZ #15968]
52406         Support TZ transition times < 00:00:00.
52407         This is needed for version-3 tz-format files; it supports time
52408         stamps past 2037 for America/Godthab (the only entry in the tz
52409         database for which this change is relevant).
52410         * manual/time.texi (TZ Variable): Document transition times
52411         from -167:59:59 through -00:00:01.
52412         * time/tzset.c (tz_rule): Time of day is now signed.
52413         (__tzset_parse_tz): Parse negative time of day.
52415         Document TZ transition times >= 25:00:00.
52416         * manual/time.texi (TZ Variable): Document transition times from
52417         25:00:00 through 167:59:59.  These are already supported, and this
52418         support will help with version-3 tz-format files.
52420         * manual/time.texi (TZ Variable): Modernize North America example
52421         to reflect current (i.e., 2007-and-later) daylight saving rules.
52423         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52425 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52427         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52428         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52431         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52432         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52433         * sysdeps/unix/bsd/clock.c: Likewise.
52434         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52435         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52436         * sysdeps/unix/bsd/init-posix.c: Likewise.
52437         * sysdeps/unix/bsd/poll.c: Likewise.
52438         * sysdeps/unix/bsd/ptsname.c: Likewise.
52439         * sysdeps/unix/bsd/seekdir.c: Likewise.
52440         * sysdeps/unix/bsd/setegid.c: Likewise.
52441         * sysdeps/unix/bsd/seteuid.c: Likewise.
52442         * sysdeps/unix/bsd/setgid.c: Likewise.
52443         * sysdeps/unix/bsd/setrgid.c: Likewise.
52444         * sysdeps/unix/bsd/setruid.c: Likewise.
52445         * sysdeps/unix/bsd/setsid.c: Likewise.
52446         * sysdeps/unix/bsd/setuid.c: Likewise.
52447         * sysdeps/unix/bsd/sigaction.c: Likewise.
52448         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52449         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52450         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52451         * sysdeps/unix/bsd/telldir.c: Likewise.
52452         * sysdeps/unix/bsd/times.c: Likewise.
52453         * sysdeps/unix/bsd/usleep.c: Likewise.
52455         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52456         ($(objpfx)libbsd-compat.a): Remove rule.
52458         * include/features.h (__FAVOR_BSD): Do not define.
52459         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52460         features conflicting with POSIX.
52461         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52462         (_BSD_SOURCE): Remove description of not being a subset of other
52463         feature test macros.
52464         * manual/job.texi (getpgrp): Do not document BSD version.
52465         (getpgid): Do not document by reference to BSD getpgrp.
52466         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52467         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52468         * signal/signal.h [__FAVOR_BSD]: Likewise.
52469         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52470         instead of making contents conditional on [__FAVOR_BSD].
52471         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52473 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52477 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52479         [BZ #16314]
52480         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52481         values below 2**-450, not 2**-500.
52482         * math/auto-libm-test-in: Don't allow spurious underflow from
52483         hypot.
52484         * math/auto-libm-test-out: Regenerated.
52486         [BZ #16316]
52487         [BZ #16330]
52488         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52489         values of ha and hb and sort them after adjusting subnormal
52490         arguments.
52491         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52492         Likewise.
52493         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52494         values of ea and eb and sort them after adjusting subnormal
52495         arguments.
52496         * math/auto-libm-test-in: Do not expect some hypot tests of
52497         subnormals to fail.  Add more hypot tests.
52498         * math/auto-libm-test-out: Regenerated.
52500 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52502         [BZ #13304]
52503         * sysdeps/sh/s_fma.c: New file.
52504         * sysdeps/sh/s_fmaf.c: New file.
52505         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52506         version.
52507         * sysdeps/sh/Implies: Add sh/soft-fp.
52509 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52511         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52512         level of indirection to members `objname', `errstring', `malloced'.
52513         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52514         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52515         it as the __longjmp argument (just pass 1 instead).
52516         (_dl_catch_error): Initialize C with argument pointers and address of
52517         volatile local ERRCODE rather than copying values out of C at return.
52519 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52521         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52522         * math/auto-libm-test-out: Regenerated.
52523         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52524         (hypot_test_data): Likewise.
52525         (pow_test_data): Likewise.
52526         (pow_tonearest_test_data): Likewise.
52527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52528         mpfr_ff_f.
52529         (func_calc_desc): Add mpfr_ff_f union field.
52530         (FUNC_mpfr_ff_f): New macro.
52531         (test_functions): Add atan2, hypot and pow.
52532         (special_fill_min): New function.
52533         (special_fill_minus_min): Likewise.
52534         (special_fill_min_subnorm): Likewise.
52535         (special_fill_minus_min_subnorm): Likewise.
52536         (special_real_inputs): Add min, -min, min_subnorm and
52537         -min_subnorm.
52538         (calc_generic_results): Handle mpfr_ff_f.
52539         * sysdeps/i386/fpu/libm-test-ulps: Update.
52540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52542 2013-12-16  Will Newton  <will.newton@linaro.org>
52544         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52545         (Aligned Memory Blocks): Add documentation for aligned_alloc
52546         and suggest it as an alternative to posix_memalign.
52547         (Hooks for Malloc): Document __memalign_hook is also called
52548         for aligned_alloc.  (Summary of Malloc): Add summary for
52549         aligned alloc.  Document __memalign_hook is also called
52550         for aligned_alloc.
52552 2013-12-16  Will Newton  <will.newton@linaro.org>
52554         * manual/memory.texi (Malloc Examples): Clarify default
52555         alignment documentation.  Suggest posix_memalign rather
52556         than memalign or valloc.
52557         (Aligned Memory Blocks): Remove suggestion to use memalign
52558         or valloc.  Remove obsolete comment about BSD.
52559         Document memalign errno values and mark the function obsolete.
52560         Document posix_memalign returned error codes.  Mark valloc
52561         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52562         called for posix_memalign and valloc.
52563         (Summary of Malloc): Add posix_memalign to function summary.
52564         __memalign_hook is also called for posix_memalign and valloc.
52566 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52568         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52569         TAYLOR_SIN.
52570         (__sin): Adjust.
52571         (__cos): Likewise.
52572         (sloww): Use mynumber union.  Expand ternary operator into
52573         if-else statements.
52574         (cslow): use mynumber union.
52576 2013-12-16  Allan McRae  <allan@archlinux.org>
52578         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52579         * configure: Regenerated.
52581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52583         [BZ #14120]
52584         * configure.ac: Added --enable-maintainer-mode. Check for
52585         autoconf when enabled.
52586         * configure: Regenerated.
52588         * nscd/nscd.service: New file.
52589         * nscd/nscd.tmpfiles: New file.
52591 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52593         [BZ #12100]
52594         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52595         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52596         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52597         (strstr): Add __strstr_sse2_unaligned ifunc.
52598         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52599         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52600         (strcasestr): Remove __strcasestr_sse42 ifunc.
52601         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52605 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52607         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52608         * sysdeps/sh/bits/fenv.h: ... here.
52609         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52613         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52616         hypotf multiarch implementations.
52617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52618         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52619         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52620         multiarch hypot for PPC64.
52621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52624         multiarch hypotf for PPC64.
52626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52627         modff multiarch implementations.
52628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52631         multiarch modf for PPC64.
52632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52635         multiarch modff for PPC64.
52637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52638         and logl multiarch implementations.
52639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52642         multiarch logb for PPC64.
52643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52646         multiarch logb for PPC64.
52647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52650         multiarch logb for PPC64.
52652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52653         isinff multiarch implementation.
52654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52655         file.
52656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52658         multiarch isinf for PPC64.
52659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52660         file.
52661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52662         multiarch isinff for PPC64.
52664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52665         finitef multiarch implementation.
52666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52667         file.
52668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52670         multiarch finite for PPC64.
52671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52672         file.
52673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52674         multiarch finitef for PPC64.
52676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52677         lrint multiarch implementation.
52678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52679         file.
52680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52682         multiarch llrint for PPC64.
52683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52684         multiarch lrint for PPC64.
52686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52687         copysignf multiarch implementation.
52688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52689         file.
52690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52691         file.
52692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52693         multiarch copysign for PPC64.
52694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52695         multiarch copysignf for PPC64.
52697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52698         multiarch implementation.
52699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52700         file.
52701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52702         file.
52703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52704         file.
52705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52706         file.
52707         multiarch llround for PPC64.
52708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52709         multiarch trunc for PPC64.
52710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52711         multiarch truncf for PPC64.
52713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52714         multiarch implementation.
52715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52716         file.
52717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52718         file.
52719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52720         file.
52721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52722         file.
52723         multiarch llround for PPC64.
52724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52725         multiarch round for PPC64.
52726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52727         multiarch roundf for PPC64.
52729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52730         multiarch implementation.
52731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52732         file.
52733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52734         file.
52735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52736         file.
52737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52738         file.
52739         multiarch llround for PPC64.
52740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52741         multiarch floor for PPC64.
52742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52743         multiarch floorf for PPC64.
52745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52746         multiarch implementation.
52747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52748         file.
52749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52750         file.
52751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52752         file.
52753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52754         file.
52755         multiarch llround for PPC64.
52756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52757         multiarch ceil for PPC64.
52758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52759         multiarch ceilf for PPC64.
52761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52762         multiarch implementation.
52763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52764         file.
52765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52766         file.
52767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52768         file.
52769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52770         multiarch llround for PPC64.
52771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52772         multiarch lround for PPC64.
52774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52775         multiarch implementation.
52776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52779         file.
52780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52783         multiarch isnan for PPC64.
52784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52785         multiarch isnanf for PPC64.
52787         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52788         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52789         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52790         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52791         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52794         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52795         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52800         multiarch implementations.
52801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52802         (__libc_ifunc_impl_list): Likewise.
52803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52806         multiarch stpcpy for PPC64.
52808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52809         multiarch implementations.
52810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52811         (__libc_ifunc_impl_list): Likewise.
52812         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52813         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52814         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52815         multiarch strcpy for PPC64.
52817         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52818         redefine function name.
52819         (_wordcopy_fwd_dest_aligned): Likewise.
52820         (_wordcopy_bwd_aligned): Likewise.
52821         (_wordcopy_bwd_dest_aligned): Likewise.
52822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52823         multiarch implementations.
52824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52825         (__libc_ifunc_impl_list): Likewise.
52826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52829         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52830         multiarch wcscpy for PPC64.
52832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52833         multiarch implementations.
52834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52835         (__libc_ifunc_impl_list): Likewise.
52836         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52837         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52838         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52839         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52840         multiarch wcscpy for PPC64.
52842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52843         multiarch implementations.
52844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52845         (__libc_ifunc_impl_list): Likewise.
52846         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52847         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52848         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52849         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52850         multiarch wcsrchr for PPC64.
52852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52853         multiarch implementations.
52854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52855         (__libc_ifunc_impl_list): Likewise.
52856         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52857         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52858         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52859         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52860         multiarch wcschr for PPC64.
52862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52863         multiarch implementations.
52864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52865         (__libc_ifunc_impl_list): Likewise.
52866         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52867         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52868         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52869         multiarch strchrnul for PPC64.
52871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52872         implementations.
52873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52874         (__libc_ifunc_impl_list): Likewise.
52875         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52876         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52877         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52878         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52879         strchr for PPC64.
52881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52882         implementations.
52883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52884         (__libc_ifunc_impl_list): Likewise.
52885         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52886         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52887         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52888         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52889         strncmp for PPC64.
52891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52892         multiarch implementations.
52893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52894         (__libc_ifunc_impl_list): Likewise.
52895         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52896         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52897         strncasecmp for PPC64.
52898         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52899         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52900         multiarch strncasecmp_l for PPC64.
52902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52903         multiarch implementations.
52904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52905         (__libc_ifunc_impl_list): Likewise.
52906         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52908         multiarch strcasecmp for PPC64.
52909         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52910         file.
52911         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52912         multiarch strcasecmp_l for PPC64.
52914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52915         implementations.
52916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52917         (__libc_ifunc_impl_list): Likewise.
52918         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52919         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52920         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52921         strnlen for PPC64.
52923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52924         implementations.
52925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52926         (__libc_ifunc_impl_list): Likewise.
52927         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52928         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52929         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52930         strlen for PPC64.
52932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52933         implementations.
52934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52935         (__libc_ifunc_impl_list): Likewise.
52936         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52937         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52938         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52939         rawmemrchr for PPC64.
52941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52942         implementation.
52943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52944         (__libc_ifunc_impl_list): Likewise.
52945         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52946         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52947         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52948         memrchr for PPC64.
52950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52951         implementation.
52952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52953         (__libc_ifunc_impl_list): Likewise.
52954         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52955         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52956         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52957         memchr for PPC64.
52959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52960         implementation.
52961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52962         (__libc_ifunc_impl_list): Likewise.
52963         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52964         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52965         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52966         mempcpy for PPC64.
52968         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52969         avoid cretion of __bzero symbol.
52970         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52971         Likewise.
52972         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52973         Likewise.
52974         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52975         Likewise.
52976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52977         multiarch implementations.
52978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52979         (__libc_ifunc_impl_list): Likewise.
52980         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52981         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52982         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52983         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52984         bzero for PPC32.
52985         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52986         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52987         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52988         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52989         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52990         memset for PPC64.
52991         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52993         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52995         implementations.
52996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52997         (__libc_ifunc_impl_list): Likewise.
52998         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52999         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53000         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53001         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53002         memcmp for PPC64.
53004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53005         multiarch for POWER/PPC64.
53006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53007         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53008         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53009         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53013         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53014         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53015         memcpy for PPC64.
53017         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53018         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53019         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53020         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53021         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53022         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53024         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53025         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53026         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53027         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53028         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53029         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53030         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53031         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53040 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53044 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53046         * benchtests/Makefile (bench): Add exp2 and log2.
53047         (LDLIBS-bench-exp2): Add -lm.
53048         (LDLIBS-bench-log2): Likewise.
53049         * benchtests/exp2-inputs: New inputs file.
53050         * benchtests/log2-inputs: New inputs file.
53051         * benchtests/log-inputs: Add new inputs.
53052         * benchtests/tan-inputs: Likewise.
53054 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53056         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53057         definition...
53058         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53059         (csloww2): ... from here.
53061         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53062         instead of structures.
53063         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53064         (POLYNOMIAL): Likewise.
53065         (TAYLOR_SLOW): Likewise.
53066         (__sin): Likewise.
53067         (__cos): Likewise.
53068         (slow1): Likewise.
53069         (slow2): Likewise.
53070         (sloww): Likewise.
53071         (sloww1); Likewise.
53072         (sloww2): Likewise.
53073         (bsloww1): Likewise.
53074         (bsloww2): Likewise.
53075         (cslow2): Likewise.
53076         (csloww): Likewise.
53077         (csloww1): Likewise.
53078         (csloww2): Likewise.
53080 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53082         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53083         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53084         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53085         * malloc/hooks.c (realloc_check): Likewise.
53087         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53088         * malloc/arena.c: Remove PER_THREAD conditional.
53089         [!PER_THREAD]: Remove code.
53090         (ptmalloc_unlock_all2): Likewise.
53091         (ptmalloc_init): Likewise.
53092         (_int_new_arena): Likewise.
53093         (arena_get2): Likewise.
53094         * malloc/hooks.c (__malloc_get_state): Likewise.
53095         (__malloc_set_state): Likewise.
53096         * malloc/malloc.c: Likewise.
53097         (struct malloc_state): Likewise.
53098         (struct malloc_par): Likewise.
53099         (__libc_realloc): Likewise.
53100         (__libc_mallopt): Likewise.
53102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53104         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53106 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53108         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53109         macro to a function.  Check for zero perturb_byte.
53110         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53112         * malloc/malloc.c: (force_reg): Remove.
53113         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53114         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53115         force_reg by atomic_forced_read.
53116         * malloc/arena.c (ptmalloc_init): Likewise.
53117         * malloc/hooks.c (top_check): Likewise.
53119 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53123 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53127 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53129         * math/auto-libm-test-in: Add tests of lgamma.
53130         * math/auto-libm-test-out: Regenerated.
53131         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53132         (M_LOG_2_SQRT_PIl): Likewise.
53133         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53134         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53135         mpfr_f_f1.
53136         (func_calc_desc): Add mpfr_f_f1 union field.
53137         (ARGS1): New macro.
53138         (ARGS2): Likewise.
53139         (ARGS3): Likewise.
53140         (ARGS4): Likewise.
53141         (RET1): Likewise.
53142         (RET2): Likewise.
53143         (CALC): Likewise.
53144         (FUNC): Likewise.
53145         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53146         (test_functions): Add lgamma.
53147         (calc_generic_results): Handle mpfr_f_f1.
53148         * sysdeps/i386/fpu/libm-test-ulps: Update.
53149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53151 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53153         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53154         __mpn_add_n for PowerPC64/POWER7.
53155         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53156         __mpn_sub_n for PowerPC64/POWER7.
53158         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53159         __mpn_addmul_1 for PowerPC64.
53160         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53161         __mpn_submul_1 for PowerPC64.
53162         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53163         for PowerPC64.
53164         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53165         for PowerPC64.
53167 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53169         [BZ #15089]
53170         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53172 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53174         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53176         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53177         add multiarch folders.
53178         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53179         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53180         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53181         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53182         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53183         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53184         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53185         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53186         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53187         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53188         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53197         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53199         New file.
53200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53201         New file.
53202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53203         multiarch __ieee754_hypot for PowerPC32.
53204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53205         New file.
53206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53207         New file.
53208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53209         multiarch __ieee754_hypotf for PowerPC32.
53211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53212         long_double_symbol only if __logbl is defined.
53213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53214         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53216         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53218         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53220         path for implementation.
53221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53222         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53224         logb, and logbl multiarch implementations for PowerPC32.
53225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53226         file.
53227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53228         file.
53229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53230         multiarch logb for PowerPC32.
53231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53232         file.
53233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53234         file.
53235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53236         multiarch logbf for PowerPC32.
53237         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53239         file.
53240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53241         multiarch logbl implementation for PowerPC32.
53243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53244         and modff multiarch implementations.
53245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53246         New file.
53247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53248         New file.
53249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53250         multiarch modf for PowerPC32.
53251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53252         New file.
53253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53254         New file.
53255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53256         multiarch modff for PowerPC32.
53258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53259         and lrintf multiarch implementations.
53260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53261         New file.
53262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53263         New file.
53264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53265         multiarch lrint for PowerPC32.
53266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53267         file: multiarch lrintf for PowerPC32.
53269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53270         and lroundf multiarch implementations.
53271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53272         New file.
53273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53274         New file.
53275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53276         New file.
53277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53278         multiarch lround for PowerPC32.
53279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53280         file: multiarch lroundf for PowerPC32.
53282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53283         copysign and copysignf multiarch implementations.
53284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53285         New file.
53286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53287         New file.
53288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53289         file: multiarch copysign for PowerPC32.
53290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53291         file: multiarch copysignf for PowerPC32.
53293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53294         and truncf multiarch implementations.
53295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53296         New file.
53297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53298         file.
53299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53300         multiarch trunc for PowerPC32.
53301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53302         New file.
53303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53304         New file.
53305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53306         multiarch truncf for PowerPC32.
53308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53309         and roundf multiarch implementations.
53310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53311         New file.
53312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53313         file.
53314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53315         multiarch round for PowerPC32.
53316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53317         New file.
53318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53319         New file.
53320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53321         multiarch roundf for PowerPC32.
53323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53324         and floorf multiarch implementations.
53325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53326         New file.
53327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53328         file.
53329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53330         multiarch floor for PowerPC32.
53331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53332         New file.
53333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53334         New file.
53335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53336         multiarch floorf for PowerPC32.
53338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53339         and ceilf multiarch implementations.
53340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53341         New file.
53342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53343         file.
53344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53345         multiarch ceil for PowerPC32.
53346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53347         New file.
53348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53349         file.
53350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53351         multiarch ceilf for PowerPC32.
53353         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53354         is defined.
53355         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53356         FINITEF is defined.
53357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53358         and finitef multiarch implementations.
53359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53360         New file.
53361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53362         file.
53363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53364         multiarch finite for PowerPC32.
53365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53366         New file.
53367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53368         file: multiarch finitef for PowerPC32.
53370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53371         and isinff multiarch implementations.
53372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53373         file.
53374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53375         file.
53376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53377         multiarch isinf for PowerPC32.
53378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53379         New file.
53380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53381         multiarch isinff for PowerPC32.
53383         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53384         alias when __isnan is defined.
53385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53386         and isnanf multiarch implementations.
53387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53388         file.
53389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53390         file.
53391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53392         file.
53393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53394         file.
53395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53396         multiarch isnan for PowerPC32.
53397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53398         New file.
53399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53400         New file.
53401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53402         multiarch isnanf for PowerPC32.
53404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53405         and sqrtf multiarch implementations.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53407         file.
53408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53409         file.
53410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53411         multiarch sqrt for PowerPC32.
53412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53413         file.
53414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53415         file.
53416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53417         multiarch sqrtf for PowerPC32.
53419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53420         and llroundf multiarch implementations.
53421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53422         New file.
53423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53424         New file.
53425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53426         New file.
53427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53428         file: multiarch llround for PowerPC32.
53429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53430         file: multiarch llroundf for PowerPC32.
53432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53433         multiarch PowerPC32 fpu implementations.
53434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53435         New file.
53436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53437         New file.
53438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53439         multiarch llrint for PowerPC32.
53440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53441         New file.
53442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53443         New file.
53444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53445         file.
53447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53449         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53450         file.
53451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53452         file.
53453         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53454         file.
53455         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53456         multiarch wordcopy for PPC32.
53457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53458         wordcopy objects.
53459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53460         (__libc_ifunc_impl_list): Likewise.
53461         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53462         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53463         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53464         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53465         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53466         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53468         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53470         file.
53471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53472         file.
53473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53474         file.
53475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53476         multiarch wcscpy for PPC32.
53477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53478         multiarch objects.
53479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53480         (__libc_ifunc_impl_list): Likewise.
53481         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53482         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53483         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53484         sysdeps/powerpc/power6/wcscpy.c.
53486         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53488         file.
53489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53490         file.
53491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53492         file.
53493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53494         multiarch wcsrchr for PPC32.
53495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53496         multiarch objects.
53497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53498         (__libc_ifunc_impl_list): Likewise.
53499         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53500         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53501         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53502         sysdeps/powerpc/power6/wcsrchr.c.
53504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53505         file.
53506         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53507         file.
53508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53510         multiarch wcschr for PPc32.
53511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53512         multiarch objects.
53513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53514         (__libc_ifunc_impl_list): Likewise.
53515         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53516         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53517         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53518         sysdeps/powerpc/power6/wcschr.c.
53520         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53521         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53522         file.
53523         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53524         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53525         file: multiarch strchr for PPC32.
53526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53527         multiarch objects.
53528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53529         (__libc_ifunc_impl_list): Likewise.
53531         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53532         name.
53533         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53534         file.
53535         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53536         file.
53537         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53538         multiarch strchrnul for PPC32.
53539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53540         multiarch objects.
53541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53542         (__libc_ifunc_impl_list): Likewise.
53544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53545         file.
53546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53547         multiarch strncasecmp for PPC32.
53548         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53549         file.
53550         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53551         multiarch strncasecmp_l for PPC32.
53552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53553         strncasecmp multiarch objects.
53554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53555         (__libc_ifunc_impl_list): Likewise.
53557         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53558         file.
53559         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53560         multiarch strncasecmp for PPC32.
53561         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53562         New file.
53563         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53564         multiarch strcasecmp_l for PPC32.
53565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53566         multiarch objects.
53567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53568         (__libc_ifunc_impl_list): Likewise.
53570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53571         file.
53572         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53573         file.
53574         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53575         multiarch strncmp for PPC32.
53576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53577         multiarch objects.
53578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53579         (__libc_ifunc_impl_list): Likewise.
53581         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53582         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53583         file.
53584         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53585         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53587         multiarch objects.
53588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53589         (__libc_ifunc_impl_list): Likewise.
53591         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53592         file.
53593         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53594         file.
53595         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53597         multiarch objects.
53598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53599         (__libc_ifunc_impl_list): Likewise.
53601         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53602         file.
53603         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53604         file.
53605         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53606         multiarch rawmemchr for PPC32.
53607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53608         multiarch objects.
53609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53610         (__libc_ifunc_impl_list): Likewise.
53612         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53613         file.
53614         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53615         file.
53616         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53617         file: memrchr multiarch for PPC32.
53618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53619         multiarch objects.
53620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53621         (__libc_ifunc_impl_list): Likewise.
53623         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53625         file.
53626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53628         multiarch memchr for PPC32.
53629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53630         multiarch objects.
53631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53632         (__libc_ifunc_impl_list): Likewise.
53634         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53635         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53636         file.
53637         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53638         file.
53639         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53640         file: multiarch mempcpy for PPC32.
53641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53642         multiarch objects.
53643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53644         (__libc_ifunc_impl_list): Likewise.
53646         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53648         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53650         multiarch bzero for PPC32.
53651         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53652         file.
53653         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53654         file.
53655         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53656         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53657         file: multiarch memset for PPC32.
53658         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53660         memset multiarch objects.
53661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53662         (__libc_ifunc_impl_list): Likewise.
53664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53665         file.
53666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53668         memcmp for PPC32.
53669         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53671         multiarch objects.
53672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53673         (__libc_ifunc_impl_list): Likewise.
53675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53677         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53678         file.
53679         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53680         file.
53681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53682         file.
53683         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53684         multiarch memcpy for PPC32.
53685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53686         multiarch objects.
53687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53688         (__libc_ifunc_impl_list): Likewise.
53690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53691         support multiarch for POWER/PPC32.
53692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53693         Likewise.
53694         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53696         Implies file to make multiarch folder appers before the fpu and
53697         default folder for power4 configuration.
53699 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53701         * scripts/bench.pl: Append volatile keyword to type.
53703 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53705         * sysdeps/sh/sotruss-lib.c: New file.
53706         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53708 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53712 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53714         [BZ #6810]
53715         * math/w_tgamma.c: Include <errno.h>.
53716         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53717         * math/w_tgammaf.c: Include <errno.h>.
53718         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53719         * math/w_tgammal.c: Include <errno.h>.
53720         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53721         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53722         underflow.  Add more tgamma tests.
53723         * math/auto-libm-test-out: Regenerated.
53724         * sysdeps/i386/fpu/libm-test-ulps: Update.
53725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53727         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53728         sin, sinh, tan, tanh, tgamma, y0 and y1.
53729         * math/auto-libm-test-out: Regenerated.
53730         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53731         (TEST_COND_x86): Likewise.
53732         (M_E2l): Remove macro.
53733         (M_E3l): Likewise.
53734         (M_2_SQRT_PIl): Likewise.
53735         (M_SQRT_PIl): Likewise.
53736         (M_1_DIV_El): Likewise.
53737         (log_test_data): Use AUTO_TESTS_f_f.
53738         (log10_test_data): Likewise.
53739         (log1p_test_data): Likewise.
53740         (log2_test_data): Likewise.
53741         (sin_test_data): Likewise.
53742         (sin_tonearest_test_data): Likewise.
53743         (sin_towardzero_test_data): Likewise.
53744         (sin_downward_test_data): Likewise.
53745         (sin_upward_test_data): Likewise.
53746         (sinh_test_data): Likewise.
53747         (sinh_tonearest_test_data): Likewise.
53748         (sinh_towardzero_test_data): Likewise.
53749         (sinh_downward_test_data): Likewise.
53750         (sinh_upward_test_data): Likewise.
53751         (tan_test_data): Likewise.
53752         (tan_tonearest_test_data): Likewise.
53753         (tan_towardzero_test_data): Likewise.
53754         (tan_downward_test_data): Likewise.
53755         (tan_upward_test_data): Likewise.
53756         (tanh_test_data): Likewise.
53757         (tgamma_test_data): Likewise.
53758         (y0_test_data): Likewise.
53759         (y1_test_data): Likewise.
53760         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53761         (special_real_inputs): Add pi/4.
53762         * sysdeps/i386/fpu/libm-test-ulps: Update.
53763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53765 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53767         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53768         "longjmp_target" static probes.
53769         (__longjmp): Rename to __longjmp_symbol.
53770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53771         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53772         on which longjmp to generate.
53773         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53774         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53775         probe.
53776         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53777         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53778         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53779         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53780         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53781         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53783         __longjmp_symbol based on which __longjmp to generate.
53784         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53785         probe.
53786         (setjmp): Rename to setjmp_symbol.
53787         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53788         (_setjmp): Rename to _setjmp_symbol.
53789         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53790         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53791         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53792         which setjmp to generate.
53793         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53794         "longjmp_target" static probes.
53796 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53798         * benchtests/README: Add note about output arguments.
53799         * benchtests/bench-sincos.c: Remove file.
53800         * benchtests/sincos-inputs: New file.
53801         * scripts/bench.pl: Identify output arguments and define
53802         static variables for them.
53804         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53806         [BZ #15941]
53807         * Makefile (INSTALL): Add install-plain.texi as the primary
53808         dependency.
53809         * manual/install-plain.texi: New file.
53810         * manual/install.texi: Include node directive only for
53811         non-plaintext output.
53813 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53815         * stdlib/longlong.h: Update from GCC.
53817         [BZ #6807]
53818         [BZ #15901]
53819         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53820         * math/w_j0f.c (y0f): Likewise.
53821         * math/w_j0l.c (__y0l): Likewise.
53822         * math/w_j1.c (y1): Likewise.
53823         * math/w_j1f.c (y1f): Likewise.
53824         * math/w_j1l.c (__y1l): Likewise.
53825         * math/w_jn.c (yn): Likewise.
53826         * math/w_jnf.c (ynf): Likewise.
53827         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53828         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53829         value for Bessel function domain errors outside _SVID_ mode.
53830         Adjust sign of return value for yn (negative integer, 0).
53831         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53832         by zero in return for negative x and set sign appropriately for
53833         negative n.
53834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53835         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53836         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53837         expectations in error cases.
53838         (y1_test_data): Likewise.
53839         (yn_test_data): Likewise.
53840         * sysdeps/i386/fpu/libm-test-ulps: Update.
53841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53843 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53845         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53846         "64" to "64-v1".  Add "64-v2".
53847         (abi-64-options): Rename to ...
53848         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53849         (abi-64-condition): Rename to ...
53850         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53851         (abi-64-ld-soname): Rename to ...
53852         (abi-64-v1-ld-soname): ... this.
53853         (abi-64-v2-options): Define.
53854         (abi-64-v2-condition): Likewise.
53855         (abi-64-v2-ld-soname): Likewise.
53856         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53857         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53862 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53863             Alan Modra  <amodra@gmail.com>
53865         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53866         New versions for use with the ELFv2 ABI.
53867         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53868         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53869         declaration.
53870         (struct La_ppc64v2_retval): Likewise.
53871         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53872         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53873         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53874         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53875         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53876         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53877         Do not save or restore CR.
53878         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53879         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53880         return values for ELFv2 ABI.  Fix location of FPR return registers.
53881         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53882         updated values for _CALL_ELF == 2.
53883         (La_regs, La_retval, int_retval): Likewise.
53885 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53887         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53888         (FRAME_MIN_SIZE_PARM): Likewise.
53889         (FRAME_BACKCHAIN): Likewise.
53890         (FRAME_CR_SAVE): Likewise.
53891         (FRAME_LR_SAVE): Likewise.
53892         (FRAME_TOC_SAVE): Likewise.
53893         (FRAME_PARM_SAVE): Likewise.
53894         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53895         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53896         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53897         (call_mcount_parm_offset): New macro.
53898         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53899         (PROF): Use symbolic stack frame offsets.
53900         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53901         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53902         Redefine in terms of FRAME_MIN_SIZE.
53903         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53904         (_dl_profile_resolve): Likewise.  Update comment.
53905         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53906         symbols stack frame offsets.
53907         (__sigsetjmp): Likewise.
53908         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53909         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53910         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53911         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53914         (FRAME_BACKCHAIN): Remove.
53915         (FRAME_CR_SAVE): Likewise.
53916         (FRAME_LR_SAVE): Likewise.
53917         (FRAME_COMPILER_DW): Likewise.
53918         (FRAME_LINKER_DW): Likewise.
53919         (FRAME_TOC_SAVE): Likewise.
53920         (FRAME_PARM_SAVE): Likewise.
53921         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53922         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53923         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53925         (CHECK_SP): Use symbolic stack frame offsets.
53926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53927         zone" instead of caller's parameter save area for temp storage.
53928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53929         Likewise.  Also, use symbolic stack frame offsets.
53930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53931         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53932         our own stack frame instead of the caller's.
53933         (__socket): Use symbolic stack frame offsets.
53935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53936             Alan Modra  <amodra@gmail.com>
53938         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53939         Define.
53940         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53941         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53942         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53943         New function.
53944         (elf_machine_fixup_plt): Call it.
53945         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53946         reloc arguments.
53947         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53949         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53950         r2 before calling target.
53952 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53953             Alan Modra  <amodra@gmail.com>
53955         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53956         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53957         versions of macros to support ELFv2 ABI.
53958         (LOCALENTRY): New macro.
53959         (ENTRY, EALIGN): Use it.
53960         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53961         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53962         fall through into ENTRY entry point.
53963         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53964         Only define if _CALL_ELF != 2.
53966         (elf_machine_matches_host): Verify ABI version matches.
53967         (RTLD_START): Use LOCALENTRY.
53968         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53969         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53970         (PLT_ENTRY_WORDS): New macro.
53971         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53972         (elf_machine_runtime_setup): Support ELFv2 ABI.
53973         (elf_machine_fixup_plt): Likewise.
53974         (elf_machine_plt_conflict): Likewise.
53975         (resolve_ifunc): Likewise.
53976         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53977         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53978         Likewise.
53979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53980         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53982         (makecontext): Support ELFv2 ABI.
53983         * elf/elf.h (EF_PPC64_ABI): Define.
53985 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53987         * sysdeps/powerpc/powerpc64/sysdep.h
53988         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53989         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53990         (ENTRY) [ASSEMBLER]: ... but instead here ...
53991         (EALIGN) [ASSEMBLER]: ... and here.
53992         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53993         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53994         (ENTRY_2) [!ASSEMBLER]: Use it.
53995         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53996         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53997         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53998         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53999         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54001         Use PPC64_LOAD_FUNCPTR.
54003         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54005 2013-12-04  Alan Modra  <amodra@gmail.com>
54007         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54008         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54009         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54010         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54012         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54013         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54014         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54015         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54016         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54017         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54022         (__makecontext): Fix incorrect CFI when backtracing out of
54023         context created via makecontext.
54024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54025         (__setcontext): Fix incorrect CFI during switch to new context.
54026         (__novec_setcontext): Likewise.
54028 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54030         [BZ #4772]
54031         * time/strptime_l.c (__strptime_internal): Allow modifiers
54032         in strptime.
54033         * time/tst-strptime.c (day_tests): Add testcase.
54035 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54037         * scripts/bench.pl: Skip over blank lines.
54039 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54041         [BZ #926]
54042         * manual/time.texi (Calendar Time): Clarify what timezone functions
54043         use.
54045 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54049 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54051         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54052         implementation.
54053         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54054         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54055         * debug/memset_chk.c (__memset_chk): Likewise.
54056         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54057         * debug/strncpy_chk.c: Likewise.
54059 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54061         [BZ #15268]
54062         [BZ #15425]
54063         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54064         (__ieee754_exp): For possibly underflowing results, check size of
54065         result and force underflow exception if required.
54066         * math/auto-libm-test-in: Add more tests of exp.
54067         * math/auto-libm-test-out: Regenerated.
54068         * sysdeps/i386/fpu/libm-test-ulps: Update.
54069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54071         [BZ #16283]
54072         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54073         * math/w_exp2f.c (__exp2f): Likewise.
54074         * math/w_exp2l.c (__exp2l): Likewise.
54075         * math/auto-libm-test-in: Do not allow missing errno on exp2
54076         underflow.
54077         * math/auto-libm-test-out: Regenerated.
54079 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54081         [BZ #16274]
54082         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54083         handle filename validation.
54084         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54085         (do_open): Delete.
54087 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54089         [BZ #6786]
54090         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54091         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54092         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54093         <float.h>.
54094         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54095         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54096         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54098         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54099         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54100         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54101         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54102         Add more erfc tests.
54103         * math/auto-libm-test-out: Regenerated.
54104         * sysdeps/i386/fpu/libm-test-ulps: Update.
54105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54107         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54108         exp2, expm1, j0 and j1.
54109         * math/auto-libm-test-out: Regenerated.
54110         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54111         (erfc_test_data): Likewise.
54112         (exp_test_data): Likewise.
54113         (exp_tonearest_test_data): Likewise.
54114         (exp_towardzero_test_data): Likewise.
54115         (exp_downward_test_data): Likewise.
54116         (exp_upward_test_data): Likewise.
54117         (exp10_test_data): Likewise.
54118         (exp2_test_data): Likewise.
54119         (expm1_test_data): Likewise.
54120         (j0_test_data): Likewise.
54121         (j1_test_data): Likewise.
54122         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54123         (input_flag_type): Add flag_xfail_rounding.
54124         (input_flags): Add xfail-rounding.
54125         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54126         (output_for_one_input_case): Handle flag_xfail_rounding.
54127         * sysdeps/i386/fpu/libm-test-ulps: Update.
54128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54130 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54132         [BZ #16289]
54133         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54134         division by 0.
54136 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54138         [BZ #16195]
54139         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54140         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54141         (STAP_PROBE0): New macro.
54142         (STAP_PROBE1): Likewise.
54143         (STAP_PROBE2): Likewise.
54144         (STAP_PROBE3): Likewise.
54145         (STAP_PROBE4): Likewise.
54147 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54149         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54151 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54153         * benchtests/Makefile (bench): Add sqrt.
54154         (LDLIBS-bench-sqrt): New.
54155         * benchtests/sqrt-input: New.
54157 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54159         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54160         (GAIH_EAI): Likewise.
54161         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54162         (gaih_inet): Likewise.
54163         (getaddrinfo): Don't use GAIH_EAI.
54165         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54166         (struct gaih): Remove definition.
54168 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54170         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54171         Use HERRNOP directly.
54173 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54177 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54179         * math/gen-auto-libm-tests.c (test_functions): Add more
54180         single-argument functions.
54181         (special_fill_pi_2): New function.
54182         (special_fill_minus_pi_2): Likewise.
54183         (special_fill_pi_6): Likewise.
54184         (special_fill_minus_pi_6): Likewise.
54185         (special_fill_pi_3): Likewise.
54186         (special_fill_2pi_3): Likewise.
54187         (special_fill_e): Likewise.
54188         (special_fill_1_e): Likewise.
54189         (special_fill_e_minus_1): Likewise.
54190         (special_real_inputs): Add more special inputs.
54191         (output_for_one_input_case): Do not require ERANGE on underflow to
54192         zero if round-to-nearest result does not underflow to zero, unless
54193         exact results required.
54194         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54195         atan, atanh, cbrt, cos and cosh.
54196         * math/auto-libm-test-out: Regenerated.
54197         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54198         (acos_tonearest_test_data): Likewise.
54199         (acos_towardzero_test_data): Likewise.
54200         (acos_downward_test_data): Likewise.
54201         (acos_upward_test_data): Likewise.
54202         (acosh_test_data): Likewise.
54203         (asin_test_data): Likewise.
54204         (asin_tonearest_test_data): Likewise.
54205         (asin_towardzero_test_data): Likewise.
54206         (asin_upward_test_data): Likewise.
54207         (asinh_test_data): Likewise.
54208         (atan_test_data): Likewise.
54209         (atanh_test_data): Likewise.
54210         (cbrt_test_data): Likewise.
54211         (cos_test_data): Likewise.
54212         (cos_tonearest_test_data): Likewise.
54213         (cos_towardzero_test_data): Likewise.
54214         (cos_downward_test_data): Likewise.
54215         (cos_upward_test_data): Likewise.
54216         (cosh_test_data): Likewise.
54217         (cosh_tonearest_test_data): Likewise.
54218         (cosh_towardzero_test_data): Likewise.
54219         (cosh_downward_test_data): Likewise.
54220         (cosh_upward_test_data): Likewise.
54221         * sysdeps/i386/fpu/libm-test-ulps: Update.
54222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54224 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54226         [BZ #6787]
54227         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54228         * math/w_exp10f.c (__exp10f): Likewise.
54229         * math/w_exp10l.c (__exp10l): Likewise.
54230         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54231         errno settings in existing tests.
54233         [BZ #14032]
54234         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54235         precision control set to double precision.
54236         * sysdeps/i386/fpu/w_sqrt.c: New file.
54237         * math/auto-libm-test-in: Add more tests.
54238         * math/auto-libm-test-out: Update.
54240         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54241         (sqrt_test_tonearest): New function.
54242         (sqrt_towardzero_test_data): New variable.
54243         (sqrt_test_towardzero): New function.
54244         (sqrt_downward_test_data): New variable.
54245         (sqrt_test_downward): New function.
54246         (sqrt_upward_test_data): New variable.
54247         (sqrt_test_upward): New function.
54248         (main): Call the new functions.
54250         * math/gen-auto-libm-tests.c: New file.
54251         * math/auto-libm-test-in: Likewise.
54252         * math/auto-libm-test-out: New generated file.
54253         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54254         variables.
54255         (%beautify): Add generated representations of zero.
54256         (top level): Set $auto_input and call parse_auto_input.
54257         (beautify): Remove trailing "f" from hex float constants.
54258         (parse_args): Handle XFAIL_TEST.
54259         (convert_condition): New function.
54260         (or_value): Likewise.
54261         (or_cond_value): Likewise.
54262         (generate_testfile): Handle AUTO_TESTS_* lines.
54263         (parse_auto_input): New function.
54264         * math/libm-test.inc (XFAIL_TEST): New macro.
54265         (ERRNO_UNCHANGED): Update value.
54266         (ERRNO_EDOM): Likewise.
54267         (ERRNO_ERANGE): Likewise.
54268         (IGNORE_RESULT): Likewise.
54269         (TEST_COND_flt_32): New macro.
54270         (TEST_COND_dbl_64): Likewise.
54271         (TEST_COND_ldbl_96_intel): Likewise.
54272         (TEST_COND_ldbl_96_m68k): Likewise.
54273         (TEST_COND_ldbl_128): Likewise.
54274         (TEST_COND_ldbl_128ibm): Likewise.
54275         (TEST_COND_long32): Likewise.
54276         (TEST_COND_long64): Likewise.
54277         (TEST_COND_before_rounding): Likewise.
54278         (TEST_COND_after_rounding): Likewise.
54279         (enable_test): Handle XFAIL_TEST flag.
54280         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54281         with finite results.
54282         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54283         auto-libm-test-out.
54285 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54286             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54288         [BZ #16214]
54289         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54290         __tls_get_addr_internal instead of __tls_get_offset in order to
54291         avoid GOT pointer dependency.  Make rtld export
54292         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54293         __tls_get_addr since we are a __tls_get_offset platform.
54294         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54295         GOT pointer being set up before.
54296         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54298 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54300         * manual/math.texi (Errors in Math Functions): Document accuracy
54301         goals.
54303         [BZ #15004]
54304         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54305         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54308         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54310         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54321         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54322         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54323         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54324         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54325         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54326         Likewise.
54327         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54328         Likewise.
54329         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54330         Likewise.
54331         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54332         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54333         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54334         atomic-feupdateenv and flt-rounds.
54335         * sysdeps/powerpc/nofpu/Versions (libc): Add
54336         __atomic_feholdexcept, __atomic_feclearexcept,
54337         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54339         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54340         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54341         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54342         here.
54343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54344         Update.
54346         * manual/arith.texi (FP Exceptions): Document that exceptions may
54347         not be raised when matherr is used.
54348         (Math Error Reporting): Document overflow in directed rounding
54349         modes.  Document that errno may not be set when finite values are
54350         returned on overflow.  Document intent to set errno on underflow
54351         only for underflow to zero.
54353         [BZ #16271]
54354         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54355         round-to-nearest then adjust result for other rounding modes.
54356         * include/fenv.h (fegetround): Use libm_hidden_proto.
54357         * math/fegetround.c (fegetround): Use libm_hidden_def.
54358         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54359         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54360         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54362         Likewise.
54363         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54364         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54365         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54366         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54368 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54370         [BZ #16077]
54371         * nss/Versions (libnss_files): Add
54372         _nss_files_gethostbyname3_r.
54373         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54374         New function.
54375         (HOST_DB_LOOKUP): Remove macro.
54376         (_nss_files_gethostbyname_r): Implement function without the
54377         HOST_DB_LOOKUP macro.
54378         (_nss_files_gethostbyname2_r): Likewise.
54380 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54382         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54384 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54386         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54387         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54388         warning.
54390 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54392         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54393         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54394         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54395         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54396         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54397         __fe_nomask_env_priv and attribute_hidden.
54398         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54399         (libc_feupdateenv_test_ppc): Likewise.
54400         (libc_feresetround_ppc): Likewise.
54401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54402         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54403         compat_symbol macro.
54404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54405         (__fe_nomask_env): Likewise.
54406         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54408 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54410         * string/Makefile: Remove ifunc tests.
54411         * string/test-string.h: Define TEST_IFUNC.
54412         * string/test-bcopy-ifunc.c: Remove.
54413         * string/test-bzero-ifunc.c: Likewise.
54414         * string/test-memccpy-ifunc.c: Likewise.
54415         * string/test-memchr-ifunc.c: Likewise.
54416         * string/test-memcmp-ifunc.c: Likewise.
54417         * string/test-memcpy-ifunc.c: Likewise.
54418         * string/test-memmem-ifunc.c: Likewise.
54419         * string/test-memmove-ifunc.c: Likewise.
54420         * string/test-mempcpy-ifunc.c: Likewise.
54421         * string/test-memrchr-ifunc.c: Likewise.
54422         * string/test-memset-ifunc.c: Likewise.
54423         * string/test-rawmemchr-ifunc.c: Likewise.
54424         * string/test-stpcpy-ifunc.c: Likewise.
54425         * string/test-stpncpy-ifunc.c: Likewise.
54426         * string/test-strcasecmp-ifunc.c: Likewise.
54427         * string/test-strcasestr-ifunc.c: Likewise.
54428         * string/test-strcat-ifunc.c: Likewise.
54429         * string/test-strchr-ifunc.c: Likewise.
54430         * string/test-strchrnul-ifunc.c: Likewise.
54431         * string/test-strcmp-ifunc.c: Likewise.
54432         * string/test-strcpy-ifunc.c: Likewise.
54433         * string/test-strcspn-ifunc.c: Likewise.
54434         * string/test-strlen-ifunc.c: Likewise.
54435         * string/test-strncasecmp-ifunc.c: Likewise.
54436         * string/test-strncat-ifunc.c: Likewise.
54437         * string/test-strncmp-ifunc.c: Likewise.
54438         * string/test-strncpy-ifunc.c: Likewise.
54439         * string/test-strnlen-ifunc.c: Likewise.
54440         * string/test-strpbrk-ifunc.c: Likewise.
54441         * string/test-strrchr-ifunc.c: Likewise.
54442         * string/test-strspn-ifunc.c: Likewise.
54443         * string/test-strstr-ifunc.c: Likewise.
54445 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54447         * benchtests/Makefile: Remove ifunc tests.
54448         * benchtests/bench-string.h: Define TEST_IFUNC.
54449         * benchtests/bench-bcopy-ifunc.c: Remove.
54450         * benchtests/bench-bzero-ifunc.c: Likewise.
54451         * benchtests/bench-memccpy-ifunc.c: Likewise.
54452         * benchtests/bench-memchr-ifunc.c: Likewise.
54453         * benchtests/bench-memcmp-ifunc.c: Likewise.
54454         * benchtests/bench-memcpy-ifunc.c: Likewise.
54455         * benchtests/bench-memmem-ifunc.c: Likewise.
54456         * benchtests/bench-memmove-ifunc.c: Likewise.
54457         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54458         * benchtests/bench-memrchr-ifunc.c: Likewise.
54459         * benchtests/bench-memset-ifunc.c: Likewise.
54460         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54461         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54462         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54463         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54464         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54465         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54466         * benchtests/bench-strcat-ifunc.c: Likewise.
54467         * benchtests/bench-strchr-ifunc.c: Likewise.
54468         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54469         * benchtests/bench-strcmp-ifunc.c: Likewise.
54470         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54471         * benchtests/bench-strcpy-ifunc.c: Likewise.
54472         * benchtests/bench-strcspn-ifunc.c: Likewise.
54473         * benchtests/bench-strlen-ifunc.c: Likewise.
54474         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54475         * benchtests/bench-strncat-ifunc.c: Likewise.
54476         * benchtests/bench-strncmp-ifunc.c: Likewise.
54477         * benchtests/bench-strncpy-ifunc.c: Likewise.
54478         * benchtests/bench-strnlen-ifunc.c: Likewise.
54479         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54480         * benchtests/bench-strrchr-ifunc.c: Likewise.
54481         * benchtests/bench-strsep-ifunc.c: Likewise.
54482         * benchtests/bench-strspn-ifunc.c: Likewise.
54483         * benchtests/bench-strstr-ifunc.c: Likewise.
54485 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54487         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54489 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54491         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54492         * rt/aio.h: Likewise.
54493         * sysdeps/gnu/bits/utmp.h: Likewise.
54494         * sysdeps/gnu/bits/utmpx.h: Likewise.
54495         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54496         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54497         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54498         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54499         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54500         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54501         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54502         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54503         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54504         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54505         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54506         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54507         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54509         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54510         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54511         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54512         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54513         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54514         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54515         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54516         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54517         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54518         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54519         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54521         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54522         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54523         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54524         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54525         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54526         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54527         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54528         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54529         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54530         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54531         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54532         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54533         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54534         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54535         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54536         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54538 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54540         [BZ #16245]
54541         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54542         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54544 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54546         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54547         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54548         Likewise.
54550 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54553         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54554         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54555         (__fesetround): Remove define.
54556         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54557         rounding and exceptions handling.
54558         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54559         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54560         (__fe_nomask_env): Likewise.
54561         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54562         __fegetround instead of fegetround.
54563         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54564         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54566 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54568         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54569         it's there.
54571         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54573 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54575         [BZ #11157]
54576         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54577         (encrypt_r): Likewise.
54578         * malloc/obstack.h (obstack_free): Likewise.
54579         * posix/unistd.h (encrypt): Likewise.
54581 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54583         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54584         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54585         DL_CALL_DT_FINI() that call the functions directly.
54586         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54587         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54588         * elf/dl-fini.c: Likewise.
54590 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54592         * malloc/hooks.c (memalign_check): Add alignment rounding.
54593         * malloc/malloc.c (_mid_memalign): New function.
54594         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54595         Implement by calling _mid_memalign.
54596         * manual/probes.texi (Memory Allocation Probes): Remove
54597         memory_valloc_retry and memory_pvalloc_retry.
54599 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54601         * locale/programs/locarchive.c (open_archive): Add const
54602         qualifier to ARCHIVEFNAME and copy default fname to
54603         DEFAULT_FNAME.
54605         [BZ #15601]
54606         * libio/tst-widetext.input: Rename Oriya to Odia.
54607         * locale/iso-639.def: Likewise.
54609         * manual/probes.texi (Mathematical Function Probes): Add
54610         documentation for sin, cos, asin and acos probes.
54611         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54612         (__sin32): Add slowasin probe.
54613         (__cos32): Add slowacos probe.
54614         (__mpsin): Add slowsin probe.
54615         (__mpcos): Add slowcos probe.
54617 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54619         [BZ #15483]
54620         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54621         thread-local __sim_exceptions_thread and global
54622         __sim_exceptions_global.
54623         (__sim_disabled_exceptions): Change to thread-local
54624         __sim_disabled_exceptions_thread and global
54625         __sim_disabled_exceptions_global.
54626         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54627         and global __sim_round_mode_global.
54628         (__simulate_exceptions): Use thread-local floating-point state and
54629         set global state from it as needed.
54630         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54631         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54632         __sim_round_mode_thread.
54633         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54634         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54635         and global __sim_exceptions_global.
54636         (__sim_disabled_exceptions): Change to thread-local
54637         __sim_disabled_exceptions_thread and global
54638         __sim_disabled_exceptions_global.
54639         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54640         and global __sim_round_mode_global.
54641         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54642         (SIM_SET_GLOBAL): Likewise.
54643         * sysdeps/powerpc/soft-fp/sfp-machine.h
54644         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54645         __sim_round_mode_thread.
54646         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54647         __sim_disabled_exceptions_thread.
54648         (__sim_exceptions): Change to __sim_exceptions_thread.
54649         (__sim_disabled_exceptions): Change to
54650         __sim_disabled_exceptions_thread.
54651         (__sim_round_mode): Change to __sim_round_mode_thread.
54652         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54653         thread-local floating-point state and set global state from it as
54654         needed.
54655         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54656         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54657         (__sim_disabled_exceptions): Remove extern declaration.
54658         (feenableexcept): Use thread-local floating-point state and set
54659         global state from it as needed.
54660         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54661         extern declaration.
54662         (__sim_disabled_exceptions): Likewise.
54663         (__sim_round_mode): Likewise.
54664         (__fegetenv): Use thread-local floating-point state.
54665         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54666         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54667         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54668         floating-point state and set global state from it as needed.
54669         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54670         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54671         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54672         Likewise.
54673         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54674         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54675         Likewise.
54676         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54677         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54678         Use __sim_round_mode_thread.
54679         * math/test-fenv-tls.c: New file.
54680         * math/Makefile (tests): Add test-fenv-tls.
54681         ($(objpfx)test-fenv-tls): Depend on
54682         $(common-objpfx)nptl/libpthread.so.
54684 2013-11-19  Andreas Schwab  <schwab@suse.de>
54686         * locale/programs/locale.c (show_info): Decode wordarray elements.
54687         * locale/categories.def (LC_MONETARY): Add element for
54688         _NL_MONETARY_CRNCYSTR.
54689         * locale/C-monetary.c (conversion_rate): New variable.
54690         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54691         element.
54693 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54695         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54696         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54698 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54700         * elf/Makefile (tst-auxv): New test.
54701         * elf/tst-auxv.c: New
54702         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54704 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54706         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54707         (hidden_proto): Caller changed.
54708         (hidden_tls_proto): New macro.
54709         (libc_hidden_tls_proto): Likewise.
54710         (rtld_hidden_tls_proto): Likewise.
54711         (libm_hidden_tls_proto): Likewise.
54712         (libresolv_hidden_tls_proto): Likewise.
54713         (librt_hidden_tls_proto): Likewise.
54714         (libdl_hidden_tls_proto): Likewise.
54715         (libnss_files_hidden_tls_proto): Likewise.
54716         (libnsl_hidden_tls_proto): Likewise.
54717         (libnss_nisplus_hidden_tls_proto): Likewise.
54718         (libutil_hidden_tls_proto): Likewise.
54720 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54722         [BZ #10253]
54723         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54724         (decompose_rpath): Defer expansion to fillin_rpath.
54725         (_dl_init_paths): Pass linkmap to fillin_rpath.
54727 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54729         * benchtests/Makefile: Add strsep.
54730         * benchtests/bench-strsep.c: New file: strsep benchtest.
54731         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54733 2013-11-18  Andreas Schwab  <schwab@suse.de>
54735         * locale/programs/locale.c (show_info) [case byte]: Check for
54736         '\377' instead of '\177'.
54737         * locale/C-monetary.c (not_available): Always use "\377".
54738         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54739         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54740         detect unavailable sign_posn locale elements.
54741         * locale/localeconv.c (__localeconv): For grouping and
54742         mon_grouping handle "\177" and "\377" like no grouping.
54743         (INT_ELEM): New macro.  Use it to set all numeric members.
54744         * locale/programs/ld-monetary.c (monetary_read)
54745         <tok_mon_grouping>: Normalize single -1 to the empty string.
54746         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54747         Likewise.
54749 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54751         [BZ #16055]
54752         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54753         when we match (nil).
54754         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54756 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54758         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54759         (NO_TEST_INLINE): Update value.
54760         (ERRNO_UNCHANGED): Likewise.
54761         (ERRNO_EDOM): Likewise.
54762         (ERRNO_ERANGE): Likewise.
54763         (IGNORE_RESULT): Likewise.
54764         (check_float_internal): Check signs of NaN results if
54765         TEST_NAN_SIGN used.
54766         (check_complex): Pass TEST_NAN_SIGN flag through to second
54767         check_float_internal call.
54768         (copysign_test_data): Add tests with quiet NaNs as second
54769         argument.  Use TEST_NAN_SIGN.
54770         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54771         TEST_NAN_SIGN.
54772         (signbit_test_data): Add tests of quiet NaN argument.
54773         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54775         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54776         $ignore_result.
54777         (parse_args): Handle function results specified as IGNORE.
54778         * math/libm-test.inc (IGNORE_RESULT): New macro.
54779         (check_float_internal): Do not check numerical result if flag
54780         IGNORE_RESULT set.
54781         (check_complex): Pass through IGNORE_RESULT to second
54782         check_float_internal call.
54783         (check_int): Do not check numerical result if flag IGNORE_RESULT
54784         set.
54785         (check_long): Likewise.
54786         (check_bool): Likewise.
54787         (check_longlong): Likewise.
54788         (lrint_test_data): Add tests of infinite and NaN arguments.
54789         (lrint_tonearest_test_data): Likewise.
54790         (lrint_towardzero_test_data): Likewise.
54791         (lrint_downward_test_data): Likewise.
54792         (lrint_upward_test_data): Likewise.
54793         (llrint_test_data): Likewise.
54794         (llrint_tonearest_test_data): Likewise.
54795         (llrint_towardzero_test_data): Likewise.
54796         (llrint_downward_test_data): Likewise.
54797         (llrint_upward_test_data): Likewise.
54798         (lround_test_data): Likewise.
54799         (llround_test_data): Likewise.
54801         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54802         (ERRNO_UNCHANGED): Update value.
54803         (ERRNO_EDOM): Likewise.
54804         (ERRNO_ERANGE): Likewise.
54805         (NO_TEST_INLINE_FLOAT): New macro.
54806         (NO_TEST_INLINE_DOUBLE): Likewise.
54807         (enable_test): New function.
54808         (RUN_TEST_f_f): Check enable_test before running test.
54809         (RUN_TEST_2_f): Likewise.
54810         (RUN_TEST_fff_f): Likewise.
54811         (RUN_TEST_c_f): Likewise.
54812         (RUN_TEST_f_f1): Likewise.
54813         (RUN_TEST_fF_f1): Likewise.
54814         (RUN_TEST_fI_f1): Likewise.
54815         (RUN_TEST_ffI_f1): Likewise.
54816         (RUN_TEST_c_c): Likewise.
54817         (RUN_TEST_cc_c): Likewise.
54818         (RUN_TEST_f_i): Likewise.
54819         (RUN_TEST_f_i_tg): Likewise.
54820         (RUN_TEST_ff_i_tg): Likewise.
54821         (RUN_TEST_f_b): Likewise.
54822         (RUN_TEST_f_b_tg): Likewise.
54823         (RUN_TEST_f_l): Likewise.
54824         (RUN_TEST_f_L): Likewise.
54825         (RUN_TEST_fFF_11): Likewise.
54826         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54827         conditionals.
54828         (cosh_test_data): Likewise.
54829         (exp_test_data): Likewise.
54830         (expm1_test_data): Likewise.
54831         (hypot_test_data): Likewise.
54832         (pow_test_data): Likewise.
54833         (sinh_test_data): Likewise.
54834         (tanh_test_data): Likewise.
54835         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54836         flags argument.
54838         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54839         tests with quiet NaN input and output.
54840         (acosh_test_data): Likewise.
54841         (asin_test_data): Likewise.
54842         (asinh_test_data): Likewise.
54843         (atan_test_data): Likewise.
54844         (atanh_test_data): Likewise.
54845         (atan2_test_data): Likewise.
54846         (cbrt_test_data): Likewise.
54847         (cos_test_data): Likewise.
54848         (cosh_test_data): Likewise.
54849         (erf_test_data): Likewise.
54850         (erfc_test_data): Likewise.
54851         (exp_test_data): Likewise.
54852         (exp10_test_data): Likewise.
54853         (exp2_test_data): Likewise.
54854         (expm1_test_data): Likewise.
54855         (hypot_test_data): Likewise.
54856         (j0_test_data): Likewise.
54857         (j1_test_data): Likewise.
54858         (jn_test_data): Likewise.
54859         (lgamma_test_data): Likewise.
54860         (log_test_data): Likewise.
54861         (log10_test_data): Likewise.
54862         (log1p_test_data): Likewise.
54863         (log2_test_data): Likewise.
54864         (pow_test_data): Likewise.
54865         (scalb_test_data): Likewise.
54866         (sin_test_data): Likewise.
54867         (sincos_test_data): Likewise.
54868         (sinh_test_data): Likewise.
54869         (tan_test_data): Likewise.
54870         (tanh_test_data): Likewise.
54871         (tgamma_test_data): Likewise.
54872         (y0_test_data): Likewise.
54873         (y1_test_data): Likewise.
54874         (yn_test_data): Likewise.
54876         [BZ #16167]
54877         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54878         argument being NaN and avoid computations with second argument in
54879         that case.
54880         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54881         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54882         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54884 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54886         * locale/iso-639.def: Add Chitwani Tharu (the).
54888 2013-11-14  Andreas Schwab  <schwab@suse.de>
54890         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54891         word instead of empty string.
54893 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54896         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54898         (__fe_nomask_env): Likewise.
54900 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54902         * benchtests/bench-timing.h: Include time.h.
54904 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54906         [BZ #15997]
54907         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54908         to 3.4.0 for x32.
54909         * sysdeps/unix/sysv/linux/configure: Regenerated.
54911 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54913         [BZ #16151]
54914         * stdlib/strtod_l.c (round_and_return): Do not consider
54915         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54916         exponent one less than half the least subnormal exponent.
54917         * stdlib/test-strtod-round-data: Add more tests.
54918         * stdlib/tst-strtod-round.c (tests): Regenerated.
54920 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54922         [BZ #14143]
54923         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54924         (__fe_mask_env): Likewise.
54925         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54926         libm_hidden_proto and add function prototype.
54927         (__fe_mask_env): Add function prototype.
54928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54929         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54931         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54933         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54935 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54937         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54938         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54940 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54942         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54943         of htab_find_slot().
54945 2013-11-11  David S. Miller  <davem@davemloft.net>
54947         [BZ #16150]
54948         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54949         symbol in the non-vis3 case in static builds.
54950         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54951         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54952         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54953         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54955 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54957         [BZ #387]
54958         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54959         it is empty.
54961 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54963         * benchtests/Makefile: Add bench-strtod.
54964         * benchtests/bench-strtod.c: New file: strtod benchtest
54966 2013-11-11  Andreas Schwab  <schwab@suse.de>
54968         [BZ #16153]
54969         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54970         terminating NUL in key length.
54972 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54974         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54975         Add artificial ODP entry for vDSO symbol for PPC64.
54976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54977         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54979 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54981         [BZ #15374]
54982         * nss/getent.c (services_keys): Recognize services starting with digit.
54984 2013-11-06  David S. Miller  <davem@davemloft.net>
54986         [BZ #15985]
54987         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54988         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54990 2013-11-06  Will Newton  <will.newton@linaro.org>
54992         * manual/memory.texi (Malloc Examples): Remove register
54993         keyword from examples.
54995 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54997         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54999 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55001         [BZ #6981]
55002         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55003         depending on [__GCC_IEC_559 > 0].
55004         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55005         depending on [__GCC_IEC_559_COMPLEX > 0].
55007 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55009         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55010         to iso-639.def.
55012 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55014         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55016 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55018         [BZ #16112]
55019         * malloc/malloc (malloc_info): Do not handle first bin as
55020         special case.
55022 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55024         * locale/iso-639.def: Add Central Nahuatl (nhn).
55026 2013-11-01  Bruno Haible  <bruno@clisp.org>
55028         [BZ #7003]
55029         * manual/math.texi (BSD Random): Specify range upper bound as
55030         in POSIX.
55032 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55034         * locale/iso-639.def: Add Meadow Mari (mhr).
55036 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55038         [BZ #14752], [BZ #15763]
55039         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55040         Validate name.
55041         * rt/tst_shm.c: Add test for escaping directory.
55043 2013-10-31  Andreas Schwab  <schwab@suse.de>
55045         [BZ #15917]
55046         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55047         followed by 'x' as part of digit sequence.
55048         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55050 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55052         [BZ #16037]
55053         * configure.ac: allow GNU Make 4.0 and greater.
55054         * configure: Regenerated.
55056 2013-10-30  Will Newton  <will.newton@linaro.org>
55058         [BZ #16038]
55059         * malloc/hooks.c (memalign_check): Limit alignment to the
55060         maximum representable power of two.
55061         * malloc/malloc.c (__libc_memalign): Likewise.
55062         * malloc/tst-memalign.c (do_test): Add test for very
55063         large alignment values.
55064         * malloc/tst-posix_memalign.c (do_test): Likewise.
55066 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55068         [BZ #11087]
55069         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55070         (munmap_chunk): Likewise.
55071         (mremap_chunk): Likewise.
55073 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55075         [BZ #15799]
55076         * stdlib/div.c (div): Remove obsolete code.
55077         * stdlib/ldiv.c (ldiv): Likewise.
55078         * stdlib/lldiv.c (lldiv): Likewise.
55080 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55082         [BZ #16071]
55083         * nss/nss_files/files-XXX.c (get_contents_ret): New
55084         enumerator.
55085         (get_contents): New function.
55086         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55088 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55090         * configure.in: Moved to ...
55091         * configure.ac: ... here. Change reference to configure.in
55092         to configure.ac.
55093         * sysdeps/arm/preconfigure.ac: ... here.
55094         configure.in to configure.ac.
55095         * sysdeps/gnu/configure.in: Moved to ...
55096         * sysdeps/gnu/configure.ac: ... here.
55097         * sysdeps/i386/configure.in: Moved to ...
55098         * sysdeps/i386/configure.ac: ... here.
55099         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55100         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55101         * sysdeps/mach/configure.in: Moved to ...
55102         * sysdeps/mach/configure.ac: ... here.
55103         * sysdeps/mach/hurd/configure.in: Moved to ...
55104         * sysdeps/mach/hurd/configure.ac: ... here.
55105         * sysdeps/powerpc/configure.in: Moved to ...
55106         * sysdeps/powerpc/configure.ac: ... here.
55107         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55108         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55109         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55110         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55111         * sysdeps/s390/s390-32/configure.in: Moved to ...
55112         * sysdeps/s390/s390-32/configure.ac: ... here.
55113         * sysdeps/s390/s390-64/configure.in: Moved to ...
55114         * sysdeps/s390/s390-64/configure.ac: ... here.
55115         * sysdeps/sh/configure.in: Moved to ...
55116         * sysdeps/sh/configure.ac: ... here.
55117         * sysdeps/sparc/configure.in: Moved to ...
55118         * sysdeps/sparc/configure.ac: ... here.
55119         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55120         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55121         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55122         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55123         * sysdeps/x86_64/configure.in: Moved to ...
55124         * sysdeps/x86_64/configure.ac: ... here.
55125         * sysdeps/x86_64/preconfigure.in: Moved to ...
55126         * sysdeps/x86_64/preconfigure.ac: ... here.
55127         * aclocal.m4: Change reference to configure.in to configure.ac.
55128         * config.h.in: Likewise.
55129         * manual/install.texi: Likewise.
55130         * manual/maint.texi: Likewise.
55131         * Makefile: Likewise.
55132         * malloc/Makefile: Likewise.
55133         * nscd/Makefile: Likewise.
55134         * Makeconfig: Change reference to configure.in and
55135         preconfigure.in to configure.ac and preconfigure.ac
55136         respectively.
55137         * INSTALL: Regenerated.
55138         * configure: Likewise.
55139         * sysdeps/gnu/configure: Likewise.
55140         * sysdeps/i386/configure: Likewise.
55141         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55142         * sysdeps/mach/configure: Likewise.
55143         * sysdeps/mach/hurd/configure: Likewise.
55144         * sysdeps/powerpc/configure: Likewise.
55145         * sysdeps/powerpc/powerpc32/configure: Likewise.
55146         * sysdeps/powerpc/powerpc64/configure: Likewise.
55147         * sysdeps/s390/s390-32/configure: Likewise.
55148         * sysdeps/s390/s390-64/configure: Likewise.
55149         * sysdeps/sh/configure: Likewise.
55150         * sysdeps/sparc/configure: Likewise.
55151         * sysdeps/unix/sysv/linux/configure: Likewise.
55152         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55153         * sysdeps/x86_64/configure: Likewise.
55154         * sysdeps/x86_64/preconfigure: Likewise.
55156 2013-10-29  Andreas Schwab  <schwab@suse.de>
55158         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55160 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55162         * benchtests/pow-inputs: Add new inputs.
55164         * benchtests/exp-inputs: Add new inputs.
55166         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55167         conditional check for return value.
55168         (__cos32): Likewise.
55170 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55172         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55173         to provide a boost for large inputs with word alignment.
55174         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55175         implementation based on optimized PPC64 strcpy.
55176         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55177         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55178         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55179         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55181 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55183         [BZ #2801]
55184         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55186 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55188         [BZ #14876]
55189         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55190         * time/tst-strptime.c (day_tests): Add testcase.
55192 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55194         [BZ #14029]
55195         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55197 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55199         [BZ #16074]
55200         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55201         MAP_FAILED on error.
55203 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55205         [BZ #16072]
55206         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55207         heap for large requests.
55209 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55211         [BZ #9954]
55212         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55213         result if the result has no associated interface.
55214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55215         interface for all 127.X.Y.Z addresses.
55217 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55219         * locale/iso-639.def: Add Ligurian (lij)
55221 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55223         [BZ #15825]
55224         * sunrpc/rpc_main.c: Document rpcgen -5.
55226 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55228         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55230 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55232         [BZ #10278]
55233         * posix/glob.c: Match only directories when trailing slash is present.
55234         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55235         (main): Add testcase.
55237 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55239         [BZ #15670]
55240         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55242 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55244         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55245         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55246         AUTH_DES and cindex for FIPS 140-2.
55247         (DES Encryption): Add cindex FIPS 46-3.
55249         * locale/locarchive.h (struct locarhandle): Add fname.
55250         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55251         if an optional argument was specified to --list-archive,
55252         otherwise NULL.
55253         * locale/programs/locarchive.c (show_archive_content): Take new
55254         argument fname and pass it via ah.fname to open_archive.
55255         * locale/programs/localedef.h: Update decl.
55256         (open_archive): If AH->fname is non-null, open that file
55257         rather than the default file name, and don't ignore ENOENT.
55258         (create_archive): Set AH.fname to NULL.
55259         (delete_locales_from_archive): Likewise.
55260         (add_locales_to_archive): Likewise.
55261         * locale/programs/locfile.c (write_all_categories): Likewise.
55263 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55264             Aldy Hernandez  <aldyh@redhat.com>
55266         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55267         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55268         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55269         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55270         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55271         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55274         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55275         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55276         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55277         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55278         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55279         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55280         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55281         Likewise.
55282         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55283         Likewise.
55284         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55285         Likewise.
55286         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55287         Likewise.
55288         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55289         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55290         Likewise.
55291         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55292         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55293         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55294         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55295         Likewise.
55296         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55297         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55298         * sysdeps/powerpc/preconfigure: Likewise.
55299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55300         Likewise.
55301         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55302         Replace contents of file by #include of <fenv_libc.h>.
55303         * sysdeps/powerpc/soft-fp/sfp-machine.h
55304         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55305         and <sys/prctl.h>.
55306         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55307         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55308         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55309         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55310         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55311         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55313         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55314         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55315         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55316         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55317         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55319         Allow copysignl PLT reference to be missing.
55321 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55322             Joseph Myers  <joseph@codesourcery.com
55324         [BZ #15948]
55325         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55326         single character.
55327         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55329 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55331         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55332         * elf/tst-tls1.c: Likewise.
55333         * elf/tst-tls10.h: Likewise.
55334         * elf/tst-tls14.c: Likewise.
55335         * elf/tst-tls2.c: Likewise.
55336         * elf/tst-tls3.c: Likewise.
55337         * elf/tst-tls4.c: Likewise.
55338         * elf/tst-tls5.c: Likewise.
55339         * elf/tst-tls6.c: Likewise.
55340         * elf/tst-tls7.c: Likewise.
55341         * elf/tst-tls8.c: Likewise.
55342         * elf/tst-tls9.c: Likewise.
55343         * elf/tst-tlsmod1.c: Likewise.
55344         * elf/tst-tlsmod13.c: Likewise.
55345         * elf/tst-tlsmod13a.c: Likewise.
55346         * elf/tst-tlsmod14a.c: Likewise.
55347         * elf/tst-tlsmod16a.c: Likewise.
55348         * elf/tst-tlsmod16b.c: Likewise.
55349         * elf/tst-tlsmod2.c: Likewise.
55350         * elf/tst-tlsmod3.c: Likewise.
55351         * elf/tst-tlsmod4.c: Likewise.
55352         * elf/tst-tlsmod5.c: Likewise.
55353         * elf/tst-tlsmod6.c: Likewise.
55355 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55357         [BZ #12486]
55358         * malloc/malloc.c: remove checks for statistics.
55360 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55362         [BZ #15277]
55363         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55364         * inet/tst-network.c: Add testcase.
55366 2013-10-17  Andreas Schwab  <schwab@suse.de>
55368         [BZ #15218]
55369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55370         to determine canonical name.
55372 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55374         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55375         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55377         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55379         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55380         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55381         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55382         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55383         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55384         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55385         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55387         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55388         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55389         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55392         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55393         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55394         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55395         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55397         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55398         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55399         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55401         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55402         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55403         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55404         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55406         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55407         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55408         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55409         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55410         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55415         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55416         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55417         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55418         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55419         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55420         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55421         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55422         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55423         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55424         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55425         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55426         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55427         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55428         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55429         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55431         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55433 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55435         [BZ #16041]
55436         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55437         make result into a quiet NaN.
55439 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55441         * soft-fp/adddf3.c: Fix horizontal whitespace.
55442         * soft-fp/addsf3.c: Likewise.
55443         * soft-fp/addtf3.c: Likewise.
55444         * soft-fp/divdf3.c: Likewise.
55445         * soft-fp/divsf3.c: Likewise.
55446         * soft-fp/divtf3.c: Likewise.
55447         * soft-fp/double.h: Likewise.
55448         * soft-fp/eqdf2.c: Likewise.
55449         * soft-fp/eqsf2.c: Likewise.
55450         * soft-fp/eqtf2.c: Likewise.
55451         * soft-fp/extenddftf2.c: Likewise.
55452         * soft-fp/extended.h: Likewise.
55453         * soft-fp/extendsfdf2.c: Likewise.
55454         * soft-fp/extendsftf2.c: Likewise.
55455         * soft-fp/extendxftf2.c: Likewise.
55456         * soft-fp/fixdfdi.c: Likewise.
55457         * soft-fp/fixdfsi.c: Likewise.
55458         * soft-fp/fixdfti.c: Likewise.
55459         * soft-fp/fixsfdi.c: Likewise.
55460         * soft-fp/fixsfsi.c: Likewise.
55461         * soft-fp/fixsfti.c: Likewise.
55462         * soft-fp/fixtfdi.c: Likewise.
55463         * soft-fp/fixtfsi.c: Likewise.
55464         * soft-fp/fixtfti.c: Likewise.
55465         * soft-fp/fixunsdfdi.c: Likewise.
55466         * soft-fp/fixunsdfsi.c: Likewise.
55467         * soft-fp/fixunsdfti.c: Likewise.
55468         * soft-fp/fixunssfdi.c: Likewise.
55469         * soft-fp/fixunssfsi.c: Likewise.
55470         * soft-fp/fixunssfti.c: Likewise.
55471         * soft-fp/fixunstfdi.c: Likewise.
55472         * soft-fp/fixunstfsi.c: Likewise.
55473         * soft-fp/fixunstfti.c: Likewise.
55474         * soft-fp/floatdidf.c: Likewise.
55475         * soft-fp/floatdisf.c: Likewise.
55476         * soft-fp/floatditf.c: Likewise.
55477         * soft-fp/floatsidf.c: Likewise.
55478         * soft-fp/floatsisf.c: Likewise.
55479         * soft-fp/floatsitf.c: Likewise.
55480         * soft-fp/floattidf.c: Likewise.
55481         * soft-fp/floattisf.c: Likewise.
55482         * soft-fp/floattitf.c: Likewise.
55483         * soft-fp/floatundidf.c: Likewise.
55484         * soft-fp/floatundisf.c: Likewise.
55485         * soft-fp/floatunditf.c: Likewise.
55486         * soft-fp/floatunsidf.c: Likewise.
55487         * soft-fp/floatunsisf.c: Likewise.
55488         * soft-fp/floatunsitf.c: Likewise.
55489         * soft-fp/floatuntidf.c: Likewise.
55490         * soft-fp/floatuntisf.c: Likewise.
55491         * soft-fp/floatuntitf.c: Likewise.
55492         * soft-fp/fmadf4.c: Likewise.
55493         * soft-fp/fmasf4.c: Likewise.
55494         * soft-fp/fmatf4.c: Likewise.
55495         * soft-fp/gedf2.c: Likewise.
55496         * soft-fp/gesf2.c: Likewise.
55497         * soft-fp/getf2.c: Likewise.
55498         * soft-fp/ledf2.c: Likewise.
55499         * soft-fp/lesf2.c: Likewise.
55500         * soft-fp/letf2.c: Likewise.
55501         * soft-fp/muldf3.c: Likewise.
55502         * soft-fp/mulsf3.c: Likewise.
55503         * soft-fp/multf3.c: Likewise.
55504         * soft-fp/negdf2.c: Likewise.
55505         * soft-fp/negsf2.c: Likewise.
55506         * soft-fp/negtf2.c: Likewise.
55507         * soft-fp/op-1.h: Likewise.
55508         * soft-fp/op-2.h: Likewise.
55509         * soft-fp/op-4.h: Likewise.
55510         * soft-fp/op-8.h: Likewise.
55511         * soft-fp/op-common.h: Likewise.
55512         * soft-fp/quad.h: Likewise.
55513         * soft-fp/single.h: Likewise.
55514         * soft-fp/soft-fp.h: Likewise.
55515         * soft-fp/sqrtdf2.c: Likewise.
55516         * soft-fp/sqrtsf2.c: Likewise.
55517         * soft-fp/sqrttf2.c: Likewise.
55518         * soft-fp/subdf3.c: Likewise.
55519         * soft-fp/subsf3.c: Likewise.
55520         * soft-fp/subtf3.c: Likewise.
55521         * soft-fp/truncdfsf2.c: Likewise.
55522         * soft-fp/trunctfdf2.c: Likewise.
55523         * soft-fp/trunctfsf2.c: Likewise.
55524         * soft-fp/trunctfxf2.c: Likewise.
55525         * soft-fp/unorddf2.c: Likewise.
55526         * soft-fp/unordsf2.c: Likewise.
55527         * soft-fp/unordtf2.c: Likewise.
55529 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55531         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55532         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55534 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55536         * elf/dl-libc.c: Clear initfini list after freeing.
55538 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55540         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55541         * soft-fp/addsf3.c: Likewise.
55542         * soft-fp/addtf3.c: Likewise.
55543         * soft-fp/divdf3.c: Likewise.
55544         * soft-fp/divsf3.c: Likewise.
55545         * soft-fp/divtf3.c: Likewise.
55546         * soft-fp/double.h: Likewise.
55547         * soft-fp/eqdf2.c: Likewise.
55548         * soft-fp/eqsf2.c: Likewise.
55549         * soft-fp/eqtf2.c: Likewise.
55550         * soft-fp/extenddftf2.c: Likewise.
55551         * soft-fp/extended.h: Likewise.
55552         * soft-fp/extendsfdf2.c: Likewise.
55553         * soft-fp/extendsftf2.c: Likewise.
55554         * soft-fp/extendxftf2.c: Likewise.
55555         * soft-fp/fixdfdi.c: Likewise.
55556         * soft-fp/fixdfsi.c: Likewise.
55557         * soft-fp/fixdfti.c: Likewise.
55558         * soft-fp/fixsfdi.c: Likewise.
55559         * soft-fp/fixsfsi.c: Likewise.
55560         * soft-fp/fixsfti.c: Likewise.
55561         * soft-fp/fixtfdi.c: Likewise.
55562         * soft-fp/fixtfsi.c: Likewise.
55563         * soft-fp/fixtfti.c: Likewise.
55564         * soft-fp/fixunsdfdi.c: Likewise.
55565         * soft-fp/fixunsdfsi.c: Likewise.
55566         * soft-fp/fixunsdfti.c: Likewise.
55567         * soft-fp/fixunssfdi.c: Likewise.
55568         * soft-fp/fixunssfsi.c: Likewise.
55569         * soft-fp/fixunssfti.c: Likewise.
55570         * soft-fp/fixunstfdi.c: Likewise.
55571         * soft-fp/fixunstfsi.c: Likewise.
55572         * soft-fp/fixunstfti.c: Likewise.
55573         * soft-fp/floatdidf.c: Likewise.
55574         * soft-fp/floatdisf.c: Likewise.
55575         * soft-fp/floatditf.c: Likewise.
55576         * soft-fp/floatsidf.c: Likewise.
55577         * soft-fp/floatsisf.c: Likewise.
55578         * soft-fp/floatsitf.c: Likewise.
55579         * soft-fp/floattidf.c: Likewise.
55580         * soft-fp/floattisf.c: Likewise.
55581         * soft-fp/floattitf.c: Likewise.
55582         * soft-fp/floatundidf.c: Likewise.
55583         * soft-fp/floatundisf.c: Likewise.
55584         * soft-fp/floatunsidf.c: Likewise.
55585         * soft-fp/floatunsisf.c: Likewise.
55586         * soft-fp/floatuntidf.c: Likewise.
55587         * soft-fp/floatuntisf.c: Likewise.
55588         * soft-fp/floatuntitf.c: Likewise.
55589         * soft-fp/fmadf4.c: Likewise.
55590         * soft-fp/fmasf4.c: Likewise.
55591         * soft-fp/fmatf4.c: Likewise.
55592         * soft-fp/gedf2.c: Likewise.
55593         * soft-fp/gesf2.c: Likewise.
55594         * soft-fp/getf2.c: Likewise.
55595         * soft-fp/ledf2.c: Likewise.
55596         * soft-fp/lesf2.c: Likewise.
55597         * soft-fp/letf2.c: Likewise.
55598         * soft-fp/muldf3.c: Likewise.
55599         * soft-fp/mulsf3.c: Likewise.
55600         * soft-fp/multf3.c: Likewise.
55601         * soft-fp/negdf2.c: Likewise.
55602         * soft-fp/negsf2.c: Likewise.
55603         * soft-fp/negtf2.c: Likewise.
55604         * soft-fp/op-1.h: Likewise.
55605         * soft-fp/op-2.h: Likewise.
55606         * soft-fp/op-4.h: Likewise.
55607         * soft-fp/op-8.h: Likewise.
55608         * soft-fp/op-common.h: Likewise.
55609         * soft-fp/quad.h: Likewise.
55610         * soft-fp/single.h: Likewise.
55611         * soft-fp/soft-fp.h: Likewise.
55612         * soft-fp/sqrtdf2.c: Likewise.
55613         * soft-fp/sqrtsf2.c: Likewise.
55614         * soft-fp/sqrttf2.c: Likewise.
55615         * soft-fp/subdf3.c: Likewise.
55616         * soft-fp/subsf3.c: Likewise.
55617         * soft-fp/subtf3.c: Likewise.
55618         * soft-fp/truncdfsf2.c: Likewise.
55619         * soft-fp/trunctfdf2.c: Likewise.
55620         * soft-fp/trunctfsf2.c: Likewise.
55621         * soft-fp/trunctfxf2.c: Likewise.
55622         * soft-fp/unorddf2.c: Likewise.
55623         * soft-fp/unordsf2.c: Likewise.
55624         * soft-fp/unordtf2.c: Likewise.
55626 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55628         [BZ #15672]
55629         * misc/error.c (error_tail): Fix possible buffer overflow.
55631 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55633         [BZ #13028]
55634         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55635         address.
55637 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55639         [BZ #832]
55640         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55641         testing pipefail option.
55643 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55645         * soft-fp/double.h: Indent preprocessor directives inside #if.
55646         * soft-fp/extended.h: Likewise.
55647         * soft-fp/op-2.h: Likewise.
55648         * soft-fp/op-4.h: Likewise.
55649         * soft-fp/op-common.h: Likewise.
55650         * soft-fp/quad.h: Likewise.
55651         * soft-fp/single.h: Likewise.
55652         * soft-fp/soft-fp.h: Likewise.
55654 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55656         * iconv/iconv_prog.c: Fix typos.
55657         * stdio-common/psiginfo-data.h: Likewise.
55659 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55661         [BZ #15764]
55662         * locale/setlocale.c: Fix typo.
55664 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55666         [BZ #16036]
55667         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55668         signaling NaN arguments.
55669         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55670         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55672         [BZ #14910]
55673         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55674         unordered operands.
55675         * soft-fp/gesf2.c (__gesf2): Likewise.
55676         * soft-fp/getf2.c (__getf2): Likewise.
55677         * soft-fp/ledf2.c (__ledf2): Likewise.
55678         * soft-fp/lesf2.c (__lesf2): Likewise.
55679         * soft-fp/letf2.c (__letf2): Likewise.
55681         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55682         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55683         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55684         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55685         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55686         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55687         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55688         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55689         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55690         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55691         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55692         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55693         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55694         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55695         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55696         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55697         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55698         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55699         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55700         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55701         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55702         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55703         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55704         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55705         * soft-fp/floattidf.c (__floattidf): Likewise.
55706         * soft-fp/floattisf.c (__floattisf): Likewise.
55707         * soft-fp/floattitf.c (__floattitf): Likewise.
55708         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55709         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55710         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55711         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55712         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55713         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55714         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55715         * soft-fp/gesf2.c (__gesf2): Likewise.
55716         * soft-fp/getf2.c (__getf2): Likewise.
55717         * soft-fp/ledf2.c (__ledf2): Likewise.
55718         * soft-fp/lesf2.c (__lesf2): Likewise.
55719         * soft-fp/letf2.c (__letf2): Likewise.
55721         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55722         Undefine and redefine.
55723         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55724         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55725         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55726         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55727         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55728         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55729         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55730         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55731         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55732         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55733         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55734         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55735         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55736         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55737         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55739         [BZ #16032]
55740         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55741         without decrementing exponent if mantissa >= that for the
55742         denominator, not >.
55743         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55744         denominator, not >.  Decrement exponent in < case instead of
55745         incrementing in >= case.
55746         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55747         without decrementing exponent if mantissa >= that for the
55748         denominator, not >.
55750         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55751         computing saturated result for unsigned overflow.
55753 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55754             Jeff Law  <law@redhat.com>
55756         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55757         (atan2Mp): Add systemtap probe marker.
55758         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55759         (__ieee754_log): Add systemtap probe marker.
55760         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55761         (atanMp): Add systemtap probe marker.
55762         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55763         (tanMp): Add systemtap probe marker.
55764         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55765         (__slowexp): Add systemtap probe marker.
55766         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55767         (__slowpow): Add systemtap probe marker.
55768         * manual/probes.texi: Document probes.
55770 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55772         [BZ #15362]
55773         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55774         written.
55775         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55776         written.
55777         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55778         written to buffer but not flushed.
55779         * libio/iofwrite_u.c:  Likewise.
55780         * libio/iopadn.c:  Return bytes returned even if EOF was
55781         encountered.
55782         * libio/iowpadn.c:  Likewise.
55783         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55784         if _IO_padn does not write the whole buffer.
55785         [!COMPILE_WPRINTF] (PAD): Likewise.
55787 2013-10-10  David S. Miller  <davem@davemloft.net>
55789         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55790         directory block.
55792 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55794         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55795         instead of FSF address.
55796         * soft-fp/fixdfti.c: Likewise.
55797         * soft-fp/fixsfti.c: Likewise.
55798         * soft-fp/fixtfti.c: Likewise.
55799         * soft-fp/fixunsdfti.c: Likewise.
55800         * soft-fp/fixunssfti.c: Likewise.
55801         * soft-fp/fixunstfti.c: Likewise.
55802         * soft-fp/floattidf.c: Likewise.
55803         * soft-fp/floattisf.c: Likewise.
55804         * soft-fp/floattitf.c: Likewise.
55805         * soft-fp/floatuntidf.c: Likewise.
55806         * soft-fp/floatuntisf.c: Likewise.
55807         * soft-fp/floatuntitf.c: Likewise.
55808         * soft-fp/trunctfxf2.c: Likewise.
55810         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55811         * soft-fp/fixdfti.c: Likewise.
55812         * soft-fp/fixsfti.c: Likewise.
55813         * soft-fp/fixtfti.c: Likewise.
55814         * soft-fp/fixunsdfti.c: Likewise.
55815         * soft-fp/fixunssfti.c: Likewise.
55816         * soft-fp/fixunstfti.c: Likewise.
55817         * soft-fp/floattidf.c: Likewise.
55818         * soft-fp/floattisf.c: Likewise.
55819         * soft-fp/floattitf.c: Likewise.
55820         * soft-fp/floatuntidf.c: Likewise.
55821         * soft-fp/floatuntisf.c: Likewise.
55822         * soft-fp/floatuntitf.c: Likewise.
55823         * soft-fp/trunctfxf2.c: Likewise.
55825 2013-10-10  David S. Miller  <davem@davemloft.net>
55827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55829 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55831         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55832         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55833         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55834         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55835         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55836         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55837         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55839         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55840         for NaNs before doing comparisons on argument.
55841         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55842         Likewise.
55844 2013-10-10  Will Newton  <will.newton@linaro.org>
55846         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55847         passed to _int_memalign does not overflow.
55849 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55851         * scripts/bench.pl: Add include-sources directive.
55852         * benchtests/README: Update documentation.
55854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55856         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55857         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55858         instead of FP_INIT_ROUNDMODE.
55859         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55860         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55862         [BZ #16034]
55863         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55864         copy class of input value.
55865         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55866         not handle exceptions.
55867         * soft-fp/negsf2.c (__negsf2): Likewise.
55868         * soft-fp/negtf2.c (__negtf2): Likewise.
55869         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55871 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55873         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55874         semicolon.  From Linux kernel.
55876 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55878         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55880 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55882         [BZ #156]
55883         * manual/socket.texi: Added statement about buffer
55884         for gethostbyname2_r.
55886 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55888         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55889         Use .p2align directive instead, throughout.
55890         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55891         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55892         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55895         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55896         * sysdeps/x86_64/strchr.S: Likewise.
55897         * sysdeps/x86_64/strrchr.S: Likewise.
55899 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55901         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55903         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55905         * sysdeps/generic/math_private.h (__mpsin1): Remove
55906         declaration.
55907         (__mpcos1): Likewise.
55908         (__mpsin): New argument __range_reduce.
55909         (__mpcos): Likewise.
55910         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55911         (slow): Use __mpsin and __mpcos.
55912         (slow1): Likewise.
55913         (slow2): Likewise.
55914         (sloww): Likewise.
55915         (sloww1): Likewise.
55916         (sloww2): Likewise.
55917         (bsloww): Likewise.
55918         (bsloww1): Likewise.
55919         (bsloww2): Likewise.
55920         (cslow2): Likewise.
55921         (csloww): Likewise.
55922         (csloww1): Likewise.
55923         (csloww2): Likewise.
55924         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55925         range_reduce.  Merge in __mpsin1.
55926         (__mpcos): Likewise.
55927         (__mpsin1): Remove.
55928         (__mpcos1): Likewise.
55930 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55932         * locale/loadlocale.c (_nl_intern_locale_data): Use
55933         LOCFILE_ALIGNED_P.
55934         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55935         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55936         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55937         obstack data is appropriately aligned.
55938         (obstack_int32_grow_fast): Likewise.
55939         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55940         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55941         (add_locale_uint32_array): Likewise.
55943 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55945         * benchtests/Makefile: Remove ARGLIST and RET variables.
55946         ($(objpfx)bench-%.c): Pass only function name to the script.
55947         * benchtests/README: Update documentation.
55948         * benchtests/acos-inputs: Add new directives.
55949         * benchtests/acosh-inputs: Likewise.
55950         * benchtests/asin-inputs: Likewise.
55951         * benchtests/asinh-inputs: Likewise.
55952         * benchtests/atan-inputs: Likewise.
55953         * benchtests/atanh-inputs: Likewise.
55954         * benchtests/cos-inputs: Likewise.
55955         * benchtests/cosh-inputs: Likewise.
55956         * benchtests/exp-inputs: Likewise.
55957         * benchtests/log-inputs: Likewise.
55958         * benchtests/pow-inputs: Likewise.
55959         * benchtests/rint-inputs: Likewise.
55960         * benchtests/sin-inputs: Likewise.
55961         * benchtests/sinh-inputs: Likewise.
55962         * benchtests/tan-inputs: Likewise.
55963         * benchtests/tanh-inputs: Likewise.
55964         * scripts/bench.pl: Add support for new directives.
55966 2013-10-07  Alan Modra  <amodra@gmail.com>
55968         * README: Fix careless merge.
55970 2013-10-05  Alan Modra  <amodra@gmail.com>
55972         * NEWS: Mention powerpc64le support and bugs fixed.
55973         * README: Both big-endian and little-endian powerpc64 supported.
55975 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55977         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55978         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55979         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55980         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55982 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55984         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55985         match prototype.
55987 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55989         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55990         Move -mhard-float appending from
55991         ports/sysdeps/powerpc/powerpc32/Makefile.
55992         [$(with-fp) = yes] (ASFLAGS): Likewise.
55993         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55994         * sysdeps/powerpc/nofpu: Move directory from
55995         ports/sysdeps/powerpc/nofpu.
55996         * sysdeps/powerpc/soft-fp: Move directory from
55997         ports/sysdeps/powerpc/soft-fp.
55998         * sysdeps/powerpc/powerpc32/405: Move directory from
55999         ports/sysdeps/powerpc/powerpc32/405.
56000         * sysdeps/powerpc/powerpc32/440: Move directory from
56001         ports/sysdeps/powerpc/powerpc32/440.
56002         * sysdeps/powerpc/powerpc32/464: Move directory from
56003         ports/sysdeps/powerpc/powerpc32/464.
56004         * sysdeps/powerpc/powerpc32/476: Move directory from
56005         ports/sysdeps/powerpc/powerpc32/476.
56006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56007         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56009         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56011         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56013         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56015         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56016         * README: Update for powerpc-*-linux-gnu software floating point
56017         support in libc.
56019         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56020         case to powerpc/powerpc32*.
56021         * sysdeps/unix/sysv/linux/configure: Regenerated.
56023         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56024         (_FPU_MASK_OM): Define as 0x04.
56025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56027         0x00c10080.
56028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56029         0x0000003c.
56030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56033         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56034         getcontext_e500.
56035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56036         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56037         setcontext_e500.
56038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56039         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56040         and setcontext_e500.
56042 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56044         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56046 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56048         * manual/threads.texi (Default Thread Attributes): Fix typo.
56050 2013-10-04  Will Newton  <will.newton@linaro.org>
56052         * malloc/Makefile: Add tst-memalign.
56053         * malloc/tst-memalign.c: New file.
56055         * malloc/tst-posix_memalign.c: Add comments.
56056         (do_test): Add comments and call free on all potentially
56057         allocated pointers. Add space after cast.
56059         * malloc/tst-pvalloc.c: Add comments.
56060         (do_test): Add comments and call free on all potentially
56061         allocated pointers. Remove duplicate check for NULL pointer.
56062         Add space after cast.
56064         * malloc/tst-valloc.c: Add comments.
56065         (do_test): Add comments and call free on all potentially
56066         allocated pointers. Remove duplicate check for NULL pointer.
56067         Add space after cast.
56069 2013-10-04  Alan Modra  <amodra@gmail.com>
56071         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56072         Use stdint types in rather than __attribute__((mode())).
56073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56075 2013-10-04  Alan Modra  <amodra@gmail.com>
56077         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56078         Correct handling of unaligned relocs for little-endian.
56079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56081 2013-10-04  Alan Modra  <amodra@gmail.com>
56083         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56084         * configure: Regenerate.
56085         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56086         * shlib-versions: Likewise.
56088 2013-10-04  Alan Modra  <amodra@gmail.com>
56090         * string/tester.c (test_memrchr): Increment reported test cycle.
56092 2013-10-04  Alan Modra  <amodra@gmail.com>
56094         * string/test-memcpy.c (do_one_test): When reporting errors, print
56095         string address and don't overrun end of string.
56097 2013-10-04  Alan Modra  <amodra@gmail.com>
56099         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56100         insrdi.  Make better use of reg selection to speed exit slightly.
56101         Schedule entry path a little better.  Remove useless "are we done"
56102         checks on entry to main loop.  Handle wrapping around zero address.
56103         Correct main loop count.  Handle single left-over word from main
56104         loop inline rather than by using loop_small.  Remove extra word
56105         case in loop_small caused by wrong loop count.  Add little-endian
56106         support.
56107         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56109         cache hint.
56110         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56111         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56112         support.  Avoid rlwimi.
56113         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56115 2013-10-04  Alan Modra  <amodra@gmail.com>
56117         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56118         insrdi.  Formatting.
56119         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56120         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56121         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56122         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56123         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56124         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56126 2013-10-04  Alan Modra  <amodra@gmail.com>
56128         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56129         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56130         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56131         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56132         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56134         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56136         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56137         use of regs.  Use power7 mtocrf.  Tidy function tails.
56139 2013-10-04  Alan Modra  <amodra@gmail.com>
56141         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56142         Formatting.  Consistently use rXXX register defines or rN defines.
56143         Use early exit labels that avoid restoring unused non-volatile regs.
56144         Make cr field use more consistent with rWORDn compares.  Rename
56145         regs used as shift registers for unaligned loop, using rN defines
56146         for short lifetime/multiple use regs.
56147         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56148         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56149         addi 1,1,64 to pop stack frame.  Simplify return value code.
56150         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56152 2013-10-04  Alan Modra  <amodra@gmail.com>
56154         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56155         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56156         rather than rlwimi.
56157         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56158         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56159         little-endian support.  Correct typos.
56160         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56161         rather than rlwimi.
56162         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56163         in loop and entry code to keep "and." results.
56164         (strchr): Add little-endian support.  Comment.  Move cntlzd
56165         earlier in tail.
56166         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56168 2013-10-04  Alan Modra  <amodra@gmail.com>
56170         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56171         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56172         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56173         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56175 2013-10-04  Alan Modra  <amodra@gmail.com>
56177         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56178         (rTMP): Define as r11.
56179         (strcmp): Add little-endian support.  Optimise tail.
56180         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56181         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56182         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56183         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56184         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56185         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56188 2013-10-04  Alan Modra  <amodra@gmail.com>
56190         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56191         little-endian support.  Remove unnecessary "are we done" tests.
56192         Handle "s" wrapping around zero and extremely large "size".
56193         Correct main loop count.  Handle single left-over word from main
56194         loop inline rather than by using small_loop.  Correct comments.
56195         Delete "zero" tail, use "end_max" instead.
56196         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56198 2013-10-04  Alan Modra  <amodra@gmail.com>
56200         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56201         support.  Don't branch over align.
56202         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56203         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56204         support.  Rearrange tmp reg use to suit.  Comment.
56205         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56207 2013-10-04  Alan Modra  <amodra@gmail.com>
56209         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56211 2013-10-04  Alan Modra  <amodra@gmail.com>
56213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56214         conditional form of branch and link when obtaining pc.
56215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56217 2013-10-04  Alan Modra  <amodra@gmail.com>
56219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56220         HIWORD/LOWORD.
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56224 2013-10-04  Alan Modra  <amodra@gmail.com>
56226         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56227         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56228         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56229         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56230         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56231         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56232         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56233         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56234         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56235         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56237 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56238             Alistair Popple <alistair@ozlabs.au.ibm.com>
56239             Alan Modra <amodra@gmail.com>
56241         [BZ #15723]
56242         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56243         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56244         _dl_hwcap access for little-endian.
56245         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56246         destroy vmx regs when saving unaligned.
56247         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56248         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56249         destroy vmx regs when saving unaligned.
56251 2013-10-04  Alan Modra  <amodra@gmail.com>
56253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56254         Don't use a union to pack hi/low value.
56256 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56258         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56259         for little-endian.
56260         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56262         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56263         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56264         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56266 2013-10-04  Alan Modra  <amodra@gmail.com>
56268         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56269         constants to usual value for .cst8 section, and remove redundant
56270         high address load.
56271         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56272         constant for 0x1p52.  Load little-endian words of double from
56273         correct stack offsets.
56275 2013-10-04  Alan Modra  <amodra@gmail.com>
56277         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56278         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56279         words of double from correct stack offsets.
56280         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56281         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56282         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56285         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56286         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56287         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56288         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56289         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56291         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56292         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56293         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56294         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56295         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56296         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56298 2013-10-04  Alan Modra  <amodra@gmail.com>
56300         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56301         64-bit int/double union.
56302         (_FPU_SETCW): Likewise.
56303         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56304         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56306 2013-10-04  Alan Modra  <amodra@gmail.com>
56308         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56309         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56311 2013-10-04  Alan Modra  <amodra@gmail.com>
56313         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56314         use vector int constants.
56315         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56317 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56319         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56320         array with long long.
56321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56322         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56323         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56324         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56325         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56326         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56327         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56328         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56329         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56330         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56331         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56332         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56333         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56335 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56337         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56338         (__signbit): Likewise.  Correct for little-endian.
56339         (__signbitl): Call __signbit.
56340         (lrint): Correct for little-endian.
56341         (lrintf): Call lrint.
56343 2013-10-04  Alan Modra  <amodra@gmail.com>
56345         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56346         union 32-bit int array member with 64-bit int array.
56347         (t515, tm256): Double rather than long double.
56348         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56350 2013-10-04  Alan Modra  <amodra@gmail.com>
56352         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56353         Delete.
56354         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56356         version of math_ldbl.h.
56358 2013-10-04  Alan Modra  <amodra@gmail.com>
56360         [BZ #15734], [BZ #15735]
56361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56362         all uses of ieee875 long double macros and unions.  Simplify test
56363         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56364         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56365         normalize after ldbl_extract_mantissa, and don't add hidden bit
56366         already handled.  Don't treat low word of ieee854 mantissa like
56367         low word of IBM long double and mask off bit when testing for
56368         zero.
56369         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56370         all uses of ieee875 long double macros and unions.  Simplify tests
56371         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56372         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56373         two1022, instead use their values.  Recognise that tests for large
56374         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56375         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56376         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56377         test for 0.0L and nan.  Correct negation.
56378         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56379         ieee875 long double macros and unions.  Correct output for large
56380         magnitude x.  Correct absolute value calculation.
56381         (__erfcl): Likewise.
56382         * math/libm-test.inc: Add tests for errors discovered in IBM long
56383         double versions of fmodl, remainderl, erfl and erfcl.
56385 2013-10-04  Alan Modra  <amodra@gmail.com>
56387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56388         all uses of ieee854 long double macros and unions.  Simplify tests
56389         for long doubles that are fully specified by the high double.
56390         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56391         Likewise.
56392         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56393         Remove dead code too.
56394         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56395         (__ieee754_ynl): Likewise.
56396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56397         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56398         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56399         Remove dead code too.
56400         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56401         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56403         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56404         Simplify.
56405         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56406         Simplify.
56407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56408         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56409         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56410         Comment on variable precision.
56411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56412         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56413         Likewise.
56414         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56415         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56417         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56418         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56420 2013-10-04  Alan Modra  <amodra@gmail.com>
56422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56423         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56424         all uses of ieee854 long double macros and unions.
56425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56429         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56430         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56431         Likewise.
56432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56436         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56438         Simplify sign and nan test too.
56439         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56440         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56441         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56442         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56443         Likewise.
56444         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56445         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56446         Likewise.
56447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56448         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56449         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56450         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56451         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56454 2013-10-04  Alan Modra  <amodra@gmail.com>
56456         * stdio-common/printf_size.c (__printf_size): Don't use
56457         union ieee854_long_double in fpnum union.
56458         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56459         signbit macro to retrieve sign from long double.
56460         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56461         retrieve sign from long double.
56462         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56463         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56464         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56465         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56466         * math/test-misc.c (main): Don't use union ieee854_long_double.
56468 2013-10-04  Alan Modra  <amodra@gmail.com>
56470         [BZ #15680]
56471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56472         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56473         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56474         calculation.  Remove unnecessary test for denormal exponent.
56475         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56476         Correct handling of denormals.  Avoid undefined shift behaviour.
56477         Correct normalisation of low mantissa when low double is denormal.
56478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56479         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56480         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56481         Correct normalisation of low mantissa.  Test for overflow of high
56482         mantissa and normalise.
56483         (ldbl_nearbyint): Use more readable constant for two52.
56484         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56485         (__mpn_construct_long_double): Fix test for overflow of high
56486         mantissa and correct normalisation.  Avoid undefined shift.
56488 2013-10-04  Alan Modra  <amodra@gmail.com>
56490         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56491         (union ibm_extended_long_double): Define as an array of ieee754_double.
56492         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56493         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56494         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56495         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56496         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56497         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56499         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56500         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56501         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56502         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56504 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56506         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56507         page size instead of calling getpagesize.
56509         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56510         (LOCFILE_ALIGN_MASK): Likewise.
56511         (LOCFILE_ALIGN_UP): Likewise.
56512         (LOCFILE_ALIGNED_P): Likewise.
56513         * locale/programs/ld-collate.c (collate_output): Use the new
56514         macros instead of __alignof__ (int32_t).
56515         * locale/weight.h (findidx): Likewise.
56517 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56519         [BZ #431]
56520         * manual/string.texi: Fix strncat and wcsncat.
56522 2013-10-03  Brooks Moses  <bmoses@google.com>
56524         [BZ #15915]
56525         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56526         * Makerules: ...here, and adjust associated comments.
56528 2013-10-02  Will Newton  <will.newton@linaro.org>
56530         * malloc/Makefile: Add tst-pvalloc.
56531         * malloc/tst-pvalloc.c: New file.
56533 2013-10-02  Will Newton  <will.newton@linaro.org>
56535         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56536         improve test coverage.
56538 2013-10-02  Will Newton  <will.newton@linaro.org>
56540         * malloc/Makefile: Add tst-posix_memalign.
56541         * malloc/tst-posix_memalign.c: New file.
56543 2013-10-01  Eric Blake  <eblake@redhat.com>
56545         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56546         Use __THROWNL rather than __THROW on static functions.
56548 2013-09-30  Petr Machata  <pmachata@redhat.com>
56550         * elf/elf.h (R_AARCH64_ABS16): New macro.
56551         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56552         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56553         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56554         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56555         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56556         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56557         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56558         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56559         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56560         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56561         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56562         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56563         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56564         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56565         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56566         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56567         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56568         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56569         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56570         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56571         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56572         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56573         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56574         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56575         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56576         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56577         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56578         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56579         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56580         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56581         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56582         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56583         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56584         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56585         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56586         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56587         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56588         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56589         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56590         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56591         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56592         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56593         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56594         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56595         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56596         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56597         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56598         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56599         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56600         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56601         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56602         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56603         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56604         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56605         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56606         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56607         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56608         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56609         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56610         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56611         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56612         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56613         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56614         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56615         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56616         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56617         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56618         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56619         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56620         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56621         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56622         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56623         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56624         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56625         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56626         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56627         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56628         (R_AARCH64_TLSDESC_LDR): Likewise.
56629         (R_AARCH64_TLSDESC_ADD): Likewise.
56630         (R_AARCH64_TLSDESC_CALL): Likewise.
56632 2013-09-30  Andreas Schwab  <schwab@suse.de>
56634         [BZ #15048]
56635         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56636         the nss database lookup.
56637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56640 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56642         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56644 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56646         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56647         ${Bash-specific parameter/pattern/string} parameter expansion.
56648         * sysdeps/unix/make-syscalls.sh: Likewise.
56650 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56652         * sysdeps/sh/stackguard-macros.h: New file.
56654 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56658         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56659         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56660         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56661         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56663 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56665         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56666         Fix thread ID register.
56668 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56670         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56671         [POSIX || UNIX98]: Require rather than permitting all symbols from
56672         <time.h>.
56673         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56674         element of struct sched_param.
56675         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56676         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56677         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56678         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56679         constant.
56681 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56683         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56684         argument calculation.
56686 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56688         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56689         Expect macro.
56690         [POSIX] (pthread_attr_t): Do not require type.
56691         [POSIX] (pthread_cond_t): Likewise.
56692         [POSIX] (pthread_condattr_t): Likewise.
56693         [POSIX] (pthread_key_t): Likewise.
56694         [POSIX] (pthread_mutex_t): Likewise.
56695         [POSIX] (pthread_mutexattr_t): Likewise.
56696         [POSIX] (pthread_once_t): Likewise.
56697         [POSIX] (pthread_t): Likewise.
56698         [POSIX-based standards] (pthread_atfork): Expect function.
56700 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56701             Richard Sandiford  <richard@codesourcery.com>
56703         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56704         (swap_endianness_p): New extern variable.
56705         (set_big_endian): New inline function.
56706         (maybe_swap_uint32): Likewise.
56707         (maybe_swap_uint32_array): Likewise.
56708         (maybe_swap_uint32_obstack): Likewise.
56709         * locale/programs/locfile.c: Include <stdbool.h>.
56710         (swap_endianness_p): New variable.
56711         (add_locale_uint32): Call maybe_swap_uint32.
56712         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56713         (write_locale_data): Call maybe_swap_uint32_array.
56714         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56715         maybe_swap_uint32.
56716         (obstack_int32_grow_fast): Likewise.
56717         (output_weightwc): Call maybe_swap_uint32_obstack.
56718         (collate_output): Likewise.
56719         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56720         (OPT_LITTLE_ENDIAN): Likewise.
56721         (options): Add --little-endian and --big-endian options.
56722         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56723         * locale/programs/locarchive.c: Include "locfile.h".
56724         (GET): New macro.
56725         (SET): Likewise.
56726         (INC): Likewise.
56727         (create_archive): Use the new macros to access fields of
56728         structures directly mapped from or written to locale archives.
56729         (oldlocrecentcmp): Likewise.
56730         (enlarge_archive): Likewise.
56731         (insert_name): Likewise.
56732         (add_alias): Likewise.
56733         (add_locale): Likewise.
56734         (delete_locales_from_archive): Likewise.
56735         (show_archive_content): Likewise.
56736         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56737         locale data.
56739 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56741         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56742         http://www.gnu.org/doc/freemanuals.texi.
56743         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56745 2013-09-24  Will Newton  <will.newton@linaro.org>
56747         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56748         macro.
56750 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56752         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56753         unsigned char.
56755 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56757         * manual/threads.texi (POSIX Threads): Fix a typo.
56759 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56761         [BZ #14547]
56762         * string/tst-strcoll-overflow.c: New test case.
56763         * string/Makefile (xtests): Add tst-strcoll-overflow.
56764         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56765         cache if string sizes may cause integer overflow.
56767         [BZ #14547]
56768         * string/strcoll_l.c (coll_seq): New members rule, idx,
56769         save_idx and back_us.
56770         (get_next_seq_nocache): New function.
56771         (do_compare_nocache): New function.
56772         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56773         when malloc fails.
56775 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56777         [BZ #15754]
56778         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56779         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56780         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56782         [BZ #15754]
56783         * elf/Makefile (tests): Add tst-ptrguard1.
56784         (tests-static): Add tst-ptrguard1-static.
56785         (tst-ptrguard1-ARGS): Define.
56786         (tst-ptrguard1-static-ARGS): Define.
56787         * elf/tst-ptrguard1.c: New file.
56788         * elf/tst-ptrguard1-static.c: New file.
56789         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56790         * sysdeps/i386/stackguard-macros.h: Likewise.
56791         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56792         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56793         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56794         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56795         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56796         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56798 2013-09-23  Hector Marco  <hecmargi@upv.es>
56799             Ismael Ripoll  <iripoll@disca.upv.es>
56800             Carlos O'Donell  <carlos@redhat.com>
56802         [BZ #15754]
56803         * sysdeps/generic/stackguard-macros.h: Define
56804         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56805         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56806         Define __pointer_chk_guard_local.
56807         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56808         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56810 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56812         [BZ #15859]
56813         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56815 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56817         * include/string.h (__ffs): Declare as hidden.
56818         * string/ffs.c (__ffs): Define as hidden.
56819         * sysdeps/i386/ffs.c (__ffs): Likewise.
56820         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56821         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56822         * sysdeps/s390/ffs.c (__ffs): Likewise.
56823         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56825 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56827         * NEWS: Mention malloc probes.
56829         * malloc/arena.c (new_heap): New memory_heap_new probe.
56830         (grow_heap): New memory_heap_more probe.
56831         (shrink_heap): New memory_heap_less probe.
56832         (heap_trim): New memory_heap_free probe.
56833         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56834         (systrim): New memory_sbrk_less probe.
56835         * manual/probes.texi: Document them.
56837         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56838         * manual/probes.texi: Document it.
56840         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56841         (__libc_realloc): Add memory_realloc_retry probe.
56842         (__libc_memalign): Add memory_memalign_retry probe.
56843         (__libc_valloc): Add memory_valloc_retry probe.
56844         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56845         (__libc_calloc): Add memory_calloc_retry probe.
56846         * manual/probes.texi: Document them.
56848         * malloc/arena.c (get_free_list): Add probe
56849         memory_arena_reuse_free_list.
56850         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56851         and memory_arena_reuse.
56852         (arena_get2) [!PER_THREAD]: Likewise.
56853         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56854         memory_arena_reuse_realloc.
56855         * manual/probes.texi: Document them.
56857         * malloc/malloc.c (__libc_free): Add
56858         memory_mallopt_free_dyn_thresholds probe.
56859         (__libc_mallopt): Add multiple memory_mallopt probes.
56860         * manual/probes.texi: Document them.
56862         * malloc/malloc.c: Include stap-probe.h.
56863         (__libc_mallopt): Add memory_mallopt probe.
56864         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56865         * manual/probes.texi: New.
56866         * manual/Makefile (chapters): Add probes.
56867         * manual/threads.texi: Set next node.
56869 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56871         [BZ #15963, #13985]
56872         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56873         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56874         Add `Chinese' to `nan' entry name.
56876 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56878         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56879         (POLYNOMIAL): Likewise.
56880         (TAYLOR_SINCOS): Likewise.
56881         (TAYLOR_SLOW): Likewise.
56882         (__sin): Use TAYLOR_SINCOS.
56883         (__cos): Likewise.
56884         (slow): Use TAYLOR_SLOW.
56885         (sloww): Likewise.
56886         (bsloww): Likewise.
56887         (csloww): Likewise.
56889 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56891         * stdlib/strtod_l.c: Fix buffer overrun.
56893 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56895         * benchtests/Makefile (bench): Add sincos.
56896         * benchtests/bench-sincos.c: New file.
56898         * math/libm-test.inc (cos_test_data): New test inputs.
56899         (sin_test_data): Likewise.
56901         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56902         macro.
56903         (__sin): Use it.
56904         (__cos): Likewise.
56905         (slow1): Likewise.
56906         (slow2): Likewise.
56907         (sloww1): Likewise.
56908         (sloww2): Likewise.
56909         (bsloww1): Likewise.
56910         (bsloww2): Likewise.
56911         (cslow2): Likewise.
56912         (csloww1): Likewise.
56913         (csloww2): Likewise.
56915         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56916         function.
56917         (__sin): Use it.
56918         (__cos): Likewise.
56920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56921         gotos.
56922         (__cos): Likewise.
56924 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56926         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56927         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56928         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56929         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56930         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56931         * elf/cache.c (print_entry): Handle the new cache flags.
56933 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56934             Aldy Hernandez  <aldyh@redhat.com>
56936         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56937         Change condition to [_SOFT_FLOAT].
56938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56950         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56953         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56954         declaration.
56956 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56958         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56959         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56960         (__longjmp): Use LOAD_GP to load saved GPRs.
56961         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56962         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56963         (__sigsetjmp): Use SAVE_GP to save GPRs.
56965         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56966         Do not append -msoft-float.
56967         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56969 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56971         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56973 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56975         [BZ #15966]
56976         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56977         (_FPU_GETCW): Use initial "__" on variable and field names but not
56978         on macro parameter name.
56979         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56980         parentheses around reference to macro parameter.
56982 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56984         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56985         prototype.
56986         (ctype_startup): Use uint32_t in cast and sizeof for
56987         ctype->charnames.
56989 2013-09-11  Jia Liu  <proljc@gmail.com>
56991         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56992         __daddr_t_defined.
56993         [__FreeBSD__]: Likewise.
56995 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56998         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56999         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57000         (strchr): Remove __strchr_sse42 ifunc selection.
57001         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57002         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57004 2013-09-11  Will Newton  <will.newton@linaro.org>
57006         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57007         parameter to RES. Remove hardcoded 1000 value.
57008         * benchtests/bench-skeleton.c (main): Pass RES parameter
57009         to TIMING_INIT and multiply result by 1000.
57011 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57015 2013-09-11  Andreas Schwab  <schwab@suse.de>
57017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57018         if not defined.
57019         (O_TMPFILE) [__USE_GNU]: Define.
57020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57021         Define.
57023 2013-09-11  Will Newton  <will.newton@linaro.org>
57025         [BZ #15857]
57026         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57027         does not overflow.
57029 2013-09-11  Will Newton  <will.newton@linaro.org>
57031         [BZ #15856]
57032         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57033         does not overflow.
57035 2013-09-11  Will Newton  <will.newton@linaro.org>
57037         [BZ #15855]
57038         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57039         does not overflow.
57041 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57043         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57045         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57049 2013-09-10  Allan McRae  <allan@archlinux.org>
57051         [BZ #15748]
57052         * manual/arith.texi (Parsing of Floats): Clarify
57053         cross-reference.
57055         [BZ #15849]
57056         * manual/install.texi (Running make install): Mention
57057         --enable-pt-chown.
57058         * INSTALL: Regenerated.
57060 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57062         * csu/init-first.c (_init): Remove the !SHARED condition around
57063         FPU control word initialization.
57064         * elf/dl-support.c (_dl_fpu_control): New variable.
57065         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57066         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57067         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57068         * math/test-fpucw-static.c: New file.
57069         * math/test-fpucw-ieee.c: New file.
57070         * math/test-fpucw-ieee-static.c: New file.
57071         * math/Makefile (tests): Add `test-fpucw-ieee' and
57072         `$(tests-static)'.
57073         (tests-static): New variable.
57074         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57075         dependency to...
57076         [($(build-shared),yes)]
57077         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57078         ... this.
57079         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57080         New dependency.
57082 2013-09-09  Allan McRae  <allan@archlinux.org>
57084         [BZ #15939]
57085         * manual/string.texi (Collation Functions): Fix typo in
57086         strcoll example.
57087         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57089         [BZ #15893]
57090         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57092         [BZ #15892]
57093         * libio/memstream.c (open_memstream): Fix memory leak.
57094         * libio/wmemstream.c (open_wmemstream): Likewise.
57096         [BZ #15895]
57097         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57099 2013-09-09  Will Newton  <will.newton@linaro.org>
57101         * malloc/Makefile: Add tst-realloc to tests.
57102         * malloc/tst-realloc.c: New file.
57104 2013-09-09  Allan McRae  <allan@archlinux.org>
57106         [BZ #15844]
57107         * COPYING: Update from GNU website to fix FSF address.
57108         * COPYING.LIB: Likewise.
57110 2013-09-06  David S. Miller  <davem@davemloft.net>
57112         * po/zh_TW.po: Update Chinese (traditional) translation from
57113         translation project.
57115 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57116             Joseph Myers  <joseph@codesourcery.com>
57118         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57119         "localeinfo.h".
57120         (obstack_chunk_alloc): New macro.
57121         (obstack_chunk_free): Likewise.
57122         (record_offset): New function.
57123         (init_locale_data): Likewise.
57124         (align_locale_data): Likewise.
57125         (add_locale_empty): Likewise.
57126         (add_locale_raw_data): Likewise.
57127         (add_locale_raw_obstack): Likewise.
57128         (add_locale_string): Likewise.
57129         (add_locale_wstring): Likewise.
57130         (add_locale_uint32): Likewise.
57131         (add_locale_uint32_array): Likewise.
57132         (add_locale_char): Likewise.
57133         (start_locale_structure): Likewise.
57134         (end_locale_structure): Likewise.
57135         (start_locale_prelude): Likewise.
57136         (end_locale_prelude): Likewise.
57137         (write_locale_data): Take locale_file structure rather than an
57138         iovec.
57139         * locale/programs/locfile.h: Include "obstack.h".
57140         (struct locale_file): Change to store locale file contents instead
57141         of header.
57142         (init_locale_data): New prototype.
57143         (align_locale_data): Likewise.
57144         (add_locale_empty): Likewise.
57145         (add_locale_raw_data): Likewise.
57146         (add_locale_raw_obstack): Likewise.
57147         (add_locale_string): Likewise.
57148         (add_locale_wstring): Likewise.
57149         (add_locale_uint32): Likewise.
57150         (add_locale_uint32_array): Likewise.
57151         (add_locale_char): Likewise.
57152         (start_locale_structure): Likewise.
57153         (end_locale_structure): Likewise.
57154         (start_locale_prelude): Likewise.
57155         (end_locale_prelude): Likewise.
57156         (write_locale_data): Update prototype.
57157         * locale/programs/3level.h (struct TABLE): Remove result field.
57158         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57159         Use new locale_file interface.
57160         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57161         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57162         * locale/programs/ld-address.c (address_output): Use new
57163         locale_file interface.
57164         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57165         NO_ADD_LOCALE.
57166         (collate_finish): Don't call collseq_table_finalize.
57167         (collate_output): Use new locale_file interface.
57168         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57169         in file.
57170         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57171         (TABLE): Move defines earlier in file.
57172         (ELEMENT): Likewise.
57173         (DEFAULT): Likewise.
57174         (wctrans_table_add): Move macro and inline function earlier in
57175         file.
57176         (struct wctype_table): Move type earlier in file.
57177         (add_locale_wctype_table): New static prototype.
57178         (struct locale_ctype_t): Use logical types instead of struct iovec
57179         pointers for members.
57180         (ctype_output): Use new locale_file interface.
57181         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57182         new locale_file interface.
57183         (allocate_arrays): Update for use of new locale_file interface.
57184         * locale/programs/ld-identification.c (identification_output): Use
57185         new locale_file interface.
57186         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57187         * locale/programs/ld-messages.c (messages_output): Likewise.
57188         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57189         * locale/programs/ld-name.c (name_output): Likewise.
57190         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57191         * locale/programs/ld-paper.c (paper_output): Likewise.
57192         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57193         * locale/programs/ld-time.c (time_output): Likewise.
57195 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57197         * benchtests/Makefile: Add memrchr benchmark.
57198         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57199         benchmark as memrchr.
57200         * benchtests/bench-memrchr-ifunc.c: New file.
57201         * benchtests/bench-memrchr.c: New file.
57203 2013-09-06   Will Newton  <will.newton@linaro.org>
57205         * benchtests/Makefile (string-bench): Add memcpy.
57207 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57208             Cong Wang  <amwang@redhat.com>
57210         [BZ #15850]
57211         * sysdeps/unix/sysv/linux/bits/in.h
57212         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57213         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57214         before __USE_KERNEL_IPV6_DEFS uses.
57215         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57216         IPPROTO_BEETPH.
57217         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57218         sockaddr_in6, or ipv6_mreq.
57220 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57222         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57223         memory access for final bytes in some large inputs.
57224         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57226 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57228         * string/test-memrchr.c: New file.
57229         * string/test-memrchr-ifunc.c: New file.
57230         * string/Makefile: Add new memrchr testcase.
57232 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57234         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57235         fanotify_init returns EPERM.
57237 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57239         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57240         errors.
57241         (top level): Treat second token from macro or constant entries for
57242         allowed headers as allowed.
57243         * include/complex.h: Condition internal declarations on
57244         [!_ISOMAC].
57245         * include/fenv.h: Condition include of <stdbool.h> and internal
57246         declarations on [!_ISOMAC].
57248 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57250         [BZ #15923]
57251         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57253 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57255         * configure.in (--enable-versioning): Remove configure option.
57256         (libc_cv_asm_symver_directive): Remove configure test.
57257         (libc_cv_ld_version_script_option): Likewise.
57258         (VERSIONING): Remove variable and AC_SUBST.
57259         (DO_VERSIONING): Remove AC_DEFINE.
57260         * configure: Regenerated.
57261         * config.h.in (DO_VERSIONING): Remove macro.
57262         * Makerules [$(versioning) = yes]: Change conditionals to
57263         [$(build-shared) = yes].
57264         * config.make.in (versioning): Remove variable.
57265         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57266         [$(build-shared) = yes].
57267         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57268         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57269         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57270         [$(build-shared) = yes].
57271         * extra-lib.mk [$(versioning) = yes]: Likewise.
57272         * hurd/Makefile [$(versioning) = yes]: Likewise.
57273         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57274         [SHARED].
57275         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57276         [SHARED].
57277         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57278         [SHARED && !NO_HIDDEN].
57279         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57280         [SHARED].
57281         [SHARED && DO_VERSIONING]: Likewise..
57282         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57283         [$(build-shared) = yes].
57284         * manual/install.texi (--disable-versioning): Remove
57285         documentation.
57286         * INSTALL: Regenerated.
57287         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57288         to [SHARED].
57289         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57290         [$(build-shared) = yes].
57291         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57292         * sysdeps/i386/i686/multiarch/strstr-c.c
57293         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57294         [SHARED && !NO_HIDDEN].
57295         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57296         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57297         * sysdeps/powerpc/powerpc32/dl-machine.c
57298         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57299         * sysdeps/powerpc/powerpc32/sysdep.h
57300         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57301         to [SHARED && PIC && !NO_HIDDEN].
57302         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57303         conditional to [SHARED].
57305 2013-09-04   Will Newton  <will.newton@linaro.org>
57307         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57308         * benchtests/bench-string.h: Include bench-timing.h instead
57309         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57310         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57311         call to HP_TIMING_DIFF_INIT.
57312         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57313         instead of hp-timing.h macros.
57314         * benchtests/bench-memchr.c: Likewise.
57315         * benchtests/bench-memcmp.c: Likewise.
57316         * benchtests/bench-memcpy.c: Likewise.
57317         * benchtests/bench-memmem.c: Likewise.
57318         * benchtests/bench-memmove.c: Likewise.
57319         * benchtests/bench-memset.c: Likewise.
57320         * benchtests/bench-rawmemchr.c: Likewise.
57321         * benchtests/bench-strcasecmp.c: Likewise.
57322         * benchtests/bench-strcasestr.c: Likewise.
57323         * benchtests/bench-strcat.c: Likewise.
57324         * benchtests/bench-strchr.c: Likewise.
57325         * benchtests/bench-strcmp.c: Likewise.
57326         * benchtests/bench-strcpy.c: Likewise.
57327         * benchtests/bench-strcpy_chk.c: Likewise.
57328         * benchtests/bench-strlen.c: Likewise.
57329         * benchtests/bench-strncasecmp.c: Likewise.
57330         * benchtests/bench-strncat.c: Likewise.
57331         * benchtests/bench-strncmp.c: Likewise.
57332         * benchtests/bench-strncpy.c: Likewise.
57333         * benchtests/bench-strnlen.c: Likewise.
57334         * benchtests/bench-strpbrk.c: Likewise.
57335         * benchtests/bench-strrchr.c: Likewise.
57336         * benchtests/bench-strspn.c: Likewise.
57337         * benchtests/bench-strstr.c: Likewise.
57339 2013-09-04  Will Newton  <will.newton@linaro.org>
57341         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57343 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57345         [BZ #15427]
57346         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57347         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57348         * math/libm-test.inc (lgamma_test_data): Add more tests.
57349         * sysdeps/i386/fpu/libm-test-ulps: Update.
57350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57352 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57354         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57356         Add ifunc.
57357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57358         Add strcmp-sse2-unaligned
57359         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57361 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57363         * Versions.def (libc): Add GLIBC_2.19.
57365 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57367         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57368         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57370 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57372         [BZ #14155]
57373         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57374         intermediate calculations in recurrence.
57375         (__ieee754_ynf): Likewise.
57376         * math/libm-test.inc (jn_test_data): Do not allow spurious
57377         underflow exception.  Add more tests.
57378         (yn_test_data): Add more tests.
57379         * sysdeps/i386/fpu/libm-test-ulps: Update.
57380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57382 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57384         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57386 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57388         * csu/init-first.c: Fix then/than typos.
57389         * locale/programs/ld-collate.c: Likewise.
57390         * locale/programs/linereader.h: Likewise.
57391         * manual/charset.texi: Likewise.
57392         * manual/filesys.texi: Likewise.
57393         * manual/stdio.texi: Likewise.
57394         * manual/string.texi: Likewise.
57395         * stdlib/fmtmsg.c: Likewise.
57396         * sysdeps/i386/stpncpy.S: Likewise.
57397         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57398         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57399         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57400         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57402 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57404         * elf/dl-open.c: Fix typos.
57405         * iconvdata/gbbig5.c: Likewise.
57406         * iconvdata/iso-2022-jp.c: Likewise.
57407         * iconv/gconv_int.h: Likewise.
57408         * iconv/loop.c: Likewise.
57409         * nis/rpcsvc/nis.h: Likewise.
57410         * resolv/ns_name.c: Likewise.
57411         * stdio-common/vfscanf.c: Likewise.
57412         * streams/stropts.h: Likewise.
57413         * sunrpc/rpc_thread.c: Likewise.
57414         * sysdeps/i386/strpbrk.S: Likewise.
57415         * sysdeps/ieee754/k_standard.c: Likewise.
57416         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57417         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57418         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57419         * sysdeps/mach/hurd/profil.c: Likewise.
57420         * sysdeps/s390/dl-procinfo.h: Likewise.
57421         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57422         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57423         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57424         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57425         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57427 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57429         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57432 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57434         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57435         aix specific files.
57436         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57437         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57438         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57439         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57440         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57441         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57442         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57443         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57445 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57446             Roland McGrath  <roland@hack.frob.com>
57448         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57449         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57451 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57453         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57454         __executable_start symbol instead of _start.
57456 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57458         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57459         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57460         Move macros to...
57461         * sysdeps/gnu/ldsodefs.h: ... this new file.
57463         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57464         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57465         instead of ELFOSABI_LINUX.
57467         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57468         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57469         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57470         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57471         Likewise.
57472         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57473         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57474         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57475         Likewise.
57476         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57477         (ibm_extended_long_double): Add ieee_nan member.
57478         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57479         (do_test): New function.
57481         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57482         TEST_TRUNC.
57483         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57484         functions, renamed from truncdfsf_test, trunctfsf_test,
57485         trunctfdf_test.
57486         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57487         functions.
57488         (do_test): Run all these.
57490 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57492         * argp/argp-help.c: Fix typos.
57493         * argp/argp-parse.c: Likewise.
57494         * debug/backtracesyms.c: Likewise.
57495         * elf/elf.h: Likewise.
57496         * malloc/malloc.c: Likewise.
57497         * nis/nis_print.c: Likewise.
57498         * resolv/res_comp.c: Likewise.
57499         * stdlib/stdlib.h: Likewise.
57500         * sunrpc/clnt_tcp.c: Likewise.
57501         * sunrpc/clnt_udp.c: Likewise.
57502         * sunrpc/clnt_unix.c: Likewise.
57503         * sysdeps/unix/bsd/ptsname.c: Likewise.
57504         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57507         Likewise.
57508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57509         Likewise.
57510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57511         Likewise.
57512         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57514 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57516         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57519 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57521         [BZ #15897]
57522         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57523         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57524         ($(objpfx)bug-dl-leaf): New rule.
57525         ($(objpfx)bug-dl-leaf.so): Likewise.
57526         ($(objpfx)bug-dl-leaf.out): Likewise.
57527         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57528         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57529         * dlfcn/bug-dl-leaf.c: New test.
57530         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57531         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57532         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57533         (dlclose): Likewise.
57534         (dlmopen): Likewise.
57536 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57538         * include/netdb.h [!_ISOMAC]:
57539         Don't include <tls.h>.
57540         (h_errno, __libc_h_errno): Move declaration and macros out of
57541         [_LIBC_REENTRANT].
57543         * include/resolv.h [_RESOLV_H_]:
57544         Don't include <tls.h>.
57545         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57546         * resolv/res_libc.c: Don't include <tls.h>.
57547         (_res): Use __attribute__ ((nocommon)) in place of
57548         __attribute__ ((section (".bss"))).
57550         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57551         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57553         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57555         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57556         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57558         * resolv/res_mkquery.c: Include <sys/time.h>.
57560         * inet/ifreq.c: Moved to ...
57561         * sysdeps/unix/ifreq.c: ... here.
57562         * inet/ifreq.c: New file, true stub version.
57564         * socket/sa_len.c: New file.
57565         * socket/Makefile (aux): Add it.
57566         * sysdeps/unix/sysv/linux/Makefile
57567         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57568         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57569         and #include <socket/sa_len.c>.
57570         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57571         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57573         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57574         * bits/socket.h: ... here.
57576         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57577         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57578         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57580 2013-08-27  Andreas Schwab  <schwab@suse.de>
57582         [BZ #15736]
57583         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57584         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57585         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57586         * string/test-strcasecmp.c (test_main): Run tests in several
57587         locales.
57588         * string/test-strncasecmp.c (test_main): Likewise.
57590         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57591         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57592         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57594         (__strncasecmp_ssse3) [PIC]: Likewise.
57596 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57598         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57600         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57601         instead of explicitly declaring xdecrypt.
57602         * nis/nss_nis/nis-publickey.c: Likewise.
57604 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57606         [BZ #15890]
57607         * nscd/aicache.c: Include res_hconf.h.
57608         (addhstaiX): Initialize res_hconf.
57610 2013-08-26  Andreas Schwab  <schwab@suse.de>
57612         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57613         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57615 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57617         * nscd/aicache.c (addhstaiX): Fix indentation.
57619 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57621         * configure.ac: Quote $build_pt_chown test.
57622         * configure: Regenerated.
57624 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57626         [BZ #15532]
57627         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57628         * math/s_cexpf.c (__cexpf): Likewise.
57629         * math/s_cexpl.c (__cexpl): Likewise.
57630         * math/libm-test.inc (cexp_test_data): Correct expected return
57631         value for NaN + i0.  Add another test.
57633 2013-08-22  David S. Miller  <davem@davemloft.net>
57635         * po/ca.po: Update Catalan translation from translation project.
57636         * po/uk.po: Add Ukrainian translations from translation project.
57638 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57640         [BZ #15797]
57641         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57642         is infinite, not alongside NaN test.
57643         * math/s_fdimf.c (__fdimf): Likewise.
57644         * math/s_fdiml.c (__fdiml): Likewise.
57645         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57646         errno is unchanged.
57648 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57650         * argp/argp-help.c: Fix typos.
57651         * crypt/speeds.c: Likewise.
57652         * csu/check_fds.c: Likewise.
57653         * elf/dl-load.c: Likewise.
57654         * elf/dl-open.c: Likewise.
57655         * elf/reldep3.c: Likewise.
57656         * elf/reldep.c: Likewise.
57657         * elf/sprof.c: Likewise.
57658         * iconv/iconv_charmap.c: Likewise.
57659         * iconv/skeleton.c: Likewise.
57660         * iconv/strtab.c: Likewise.
57661         * io/lockf64.c: Likewise.
57662         * libio/libioP.h: Likewise.
57663         * resolv/gai_notify.c: Likewise.
57664         * resolv/ns_name.c: Likewise.
57665         * resolv/ns_samedomain.c: Likewise.
57666         * resolv/res_send.c: Likewise.
57667         * stdlib/random.c: Likewise.
57668         * sunrpc/rpc/xdr.h: Likewise.
57669         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57670         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57671         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57672         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57673         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57674         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57676         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57677         * sysdeps/mach/hurd/check_fds.c: Likewise.
57678         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57679         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57680         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57682         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57683         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57684         * sysdeps/pthread/aio_notify.c: Likewise.
57685         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57686         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57687         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57688         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57689         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57691 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57693         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57694         version if bit_Slow_SSE4_2 is set.
57695         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57696         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57698 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57700         [BZ #15867]
57701         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57702         trampoline stack frame information.
57703         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57705         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57706         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57707         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57708         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57709         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57710         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57711         sa_flags value.
57712         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57713         interrupting a syscall and set with option SA_SIGINFO.
57715 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57717         [BZ #15531]
57718         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57719         argument is infinite.
57720         * math/s_cprojf.c (__cprojf): Likewise.
57721         * math/s_cprojl.c (__cprojl): Likewise.
57722         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57723         * math/libm-test.inc (cproj_test_data): Add more tests.
57725         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57727         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57728         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57729         size.  Use __ffs to determine corresponding shift.
57731 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57732             Roland McGrath  <roland@hack.frob.com>
57734         * Makefile (INSTALL): Remove trailing blank lines from output of
57735         makeinfo.
57737 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57739         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57740         Align 32 bit compat elf_greg to 8 bytes.
57742 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57744         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57746 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57748         * string/strcoll_l.c (coll_seq): New structure.
57749         (get_next_seq_cached): New function.
57750         (get_next_seq): New function.
57751         (do_compare): New function.
57752         (STRCOLL): Use GNU style definition.  Simplify implementation
57753         by using get_next_seq, get_next_seq_cached and do_compare.
57755 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57757         [BZ #14699]
57758         CVE-2013-4237
57759         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57760         member.
57761         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57762         member.
57763         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57764         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57765         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57766         conditional.
57767         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57768         GETDENTS_64BIT_ALIGNED.
57769         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57770         * manual/filesys.texi (Reading/Closing Directory): Document
57771         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57772         strongly.
57773         * manual/conf.texi (Limits for Files): Add portability note to
57774         NAME_MAX, PATH_MAX.
57775         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57777 2013-08-13  Andreas Schwab  <schwab@suse.de>
57779         [BZ #15749]
57780         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57781         of fabs.
57782         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57783         LDBL_MAX_EXP >= 16384]: Add tests for it.
57785 2013-08-12  David S. Miller  <davem@davemloft.net>
57787         * version.h (RELEASE): Set to "development".
57788         (VERSION): Set to "2.18.90".
57789         * NEWS: Add 2.19 section.
57791 2013-08-03  David S. Miller  <davem@davemloft.net>
57793         * po/ko.po: Update Korean translation from translation project.
57795 2013-08-01  David S. Miller  <davem@davemloft.net>
57797         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57798         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57799         Bilka.
57801 2013-07-30  David S. Miller  <davem@davemloft.net>
57803         * po/fr.po: Update French translation from translation project.
57805 2013-07-28  David S. Miller  <davem@davemloft.net>
57807         * po/cs.po: Update Czech translation from translation project.
57809         * po/sv.po: Update Swedish translation from translation project.
57811 2013-07-27  David S. Miller  <davem@davemloft.net>
57813         * po/eo.po: Update Esperanto translation from translation project.
57815         * po/vi.po: Update Vietnamese translation from translation project.
57817         * po/de.po: Update German translation from translation project.
57819 2013-07-26  David S. Miller  <davem@davemloft.net>
57821         * po/bg.po: Update Bulgarian translation from translation project.
57823         * po/nl.po: Update Dutch translation from translation project.
57824         * po/pl.po: Update Polish translation from translation project.
57825         * po/ru.po: Update Russian translation from translation project.
57827 2013-07-24  David S. Miller  <davem@davemloft.net>
57829         * po/libc.pot: Update.
57831 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57833         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57834         variable page size.
57835         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57836         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57837         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57839 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57841         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57843 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57844             Andreas Schwab  <schwab@suse.de>
57845             Roland McGrath  <roland@hack.frob.com>
57846             Joseph Myers  <joseph@codesourcery.com>
57847             Carlos O'Donell  <carlos@redhat.com>
57849         [BZ #15755]
57850         * config.h.in: Define HAVE_PT_CHOWN.
57851         * config.make.in (build-pt-chown): New variable.
57852         * configure.in (--enable-pt_chown): New configure option.
57853         * configure: Regenerate.
57854         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57855         build-pt-chown is enabled.
57856         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57857         pt_chown to fix pty ownership.
57858         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57859         CLOSE_ALL_FDS.
57860         * manual/install.texi (Configuring and compiling): Mention
57861         --enable-pt_chown. Add @findex for grantpt.
57862         * INSTALL: Regenerate.
57864 2013-07-20  David S. Miller  <davem@davemloft.net>
57866         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57867         difference between 32-bit and 64-bit.
57869 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57871         [BZ #15711]
57872         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57873         Avoid system header dependency with -ffreestanding.
57874         ($(objpfx)bits/syscall%d): Likewise.
57876 2013-07-13  David S. Miller  <davem@davemloft.net>
57878         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57879         underflows from atanl/atan2l due to bug 15319.
57880         (casinh_test_data): Likewise.
57882 2013-07-07  David S. Miller  <davem@davemloft.net>
57884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57886 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57888         * sysdeps/i386/fpu/libm-test-ulps: Update.
57889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57891 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57893         * configure.in (--enable-lock-elision): Fix message text.
57894         * INSTALL: Regenerate.
57895         * configure: Regenerate.
57897 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57901 2013-07-03  Andreas Jaeger  <aj@suse.de>
57903         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57904         define.
57905         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57906         (ptrace_peeksiginfo_args): Add.
57907         (__ptrace_peeksiginfo_flags): Add.
57908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57912 2013-07-03  Allan McRae  <allan@archlinux.org>
57914         * sysdeps/i386/fpu/libm-test-ulps: Update.
57916 2013-07-02  David S. Miller  <davem@davemloft.net>
57918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57920 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57924 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57926         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57929 2013-07-02  Andi Kleen <ak@linux.intel.com>
57931         * config.h.in (ENABLE_LOCK_ELISION): Add.
57932         * configure.in (--enable-lock-elision): Add option.
57933         * manual/install.texi: Document --enable lock elision.
57934         * configure: Regenerate
57935         * INSTALL: Regenerate.
57937 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57939         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57940         SSE4.2 strcasecmp for libc.a.
57941         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57943 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57945         [BZ #13304]
57946         * soft-fp/op-common.h (_FP_FMA): New macro.
57947         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57948         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57949         (_FP_MUL_MEAT_1_imm): ... here.
57950         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57951         (_FP_MUL_MEAT_1_wide): ... here.
57952         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57953         (_FP_MUL_MEAT_1_hard): ... here.
57954         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57955         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57956         (_FP_MUL_MEAT_2_wide): ... here.
57957         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57958         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57959         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57960         (_FP_MUL_MEAT_2_gmp): ... here.
57961         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57962         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57963         (_FP_MUL_MEAT_4_wide): ... here.
57964         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57965         (_FP_MUL_MEAT_4_gmp): ... here.
57966         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57967         (_FP_WFRACBITS_DW_S): Likewise.
57968         (_FP_WFRACXBITS_DW_S): Likewise.
57969         (_FP_HIGHBIT_DW_S): Likewise.
57970         (FP_FMA_S): Likewise.
57971         (_FP_FRAC_HIGH_DW_S): Likewise.
57972         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57973         (_FP_WFRACBITS_DW_D): Likewise.
57974         (_FP_WFRACXBITS_DW_D): Likewise.
57975         (_FP_HIGHBIT_DW_D): Likewise.
57976         (FP_FMA_D): Likewise.
57977         (_FP_FRAC_HIGH_DW_D): Likewise.
57978         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57979         (_FP_WFRACBITS_DW_E): Likewise.
57980         (_FP_WFRACXBITS_DW_E): Likewise.
57981         (_FP_HIGHBIT_DW_E): Likewise.
57982         (FP_FMA_E): Likewise.
57983         (_FP_FRAC_HIGH_DW_E): Likewise.
57984         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57985         (_FP_WFRACBITS_DW_Q): Likewise.
57986         (_FP_WFRACXBITS_DW_Q): Likewise.
57987         (_FP_HIGHBIT_DW_Q): Likewise.
57988         (FP_FMA_Q): Likewise.
57989         (_FP_FRAC_HIGH_DW_Q): Likewise.
57990         * soft-fp/fmasf4.c: New file.
57991         * soft-fp/fmadf4.c: Likewise.
57992         * soft-fp/fmatf4.c: Likewise.
57994 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57997         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57998         Silvermont.
57999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58000         macro.
58001         (index_Slow_SSE4_2): Likewise.
58002         (index_Prefer_PMINUB_for_stringop): Likewise.
58003         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58004         bit_Slow_SSE4_2 is set.
58005         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58006         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58008 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58010         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58011         rtld_global._dl_hwcap2.
58012         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58013         POWER8.
58014         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58015         POWER8 feature descriptions defined in _dl_hwcap2.
58016         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58017         string handling for POWER8 feature bits.
58018         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58019         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58020         _dl_powerpc_cap_flags.
58021         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58022         * sysdeps/powerpc/rtld-global-offsets.sym
58023         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58024         _dl_hwcap2 in the rtld_global_ro structure.
58026 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58028         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58029         hardware capabilities in support of AT_HWCAP2.
58030         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58031         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58032         GLRO(dl_hwcap2).
58033         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58034         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58035         explicitly the unknown a_type display mechanism is used.
58036         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58037         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58038         struct member.
58039         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58040         to macro prototype for AT_HWCAP2 support.
58041         * sysdeps/i386/dl-procinfo.h: Likewise.
58042         * sysdeps/s390/dl-procinfo.h: Likewise.
58043         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58044         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58045         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58046         return -1 for unknown a_type display fallback.
58047         * sysdeps/sparc/dl-procinfo.h: Likewise.
58048         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58049         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58051 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58053         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58054         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58056 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58058         [BZ #12492]
58059         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58060         mprotect making __stack_prot writable.
58062 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58063             Joseph Myers  <joseph@codesourcery.com>
58065         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58066         as being properly aligned.
58068 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58070         * dlfcn/modstatic5.c: New file.
58071         * dlfcn/tststatic5.c: New file.
58072         * dlfcn/Makefile (tests): Add tststatic5.
58073         (tests-static): Likewise.
58074         (modules-names): Add modstatic5.
58075         (tststatic5-ENV): New variable.
58076         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58078         [BZ #15022]
58079         * elf/dl-support.c (_dl_main_map): New variable.
58080         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58081         (_dl_nns, _dl_load_adds): Set to 1.
58082         (_dl_initial_searchlist): Refer to _dl_main_map.
58083         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58084         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58085         call to _dl_get_origin.
58086         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58087         around call_map.
58088         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58089         * dlfcn/modstatic3.c: New file.
58090         * dlfcn/tststatic3.c: New file.
58091         * dlfcn/tststatic4.c: New file.
58092         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58093         (tests-static): Likewise.
58094         (modules-names): Add modstatic3.
58095         (tststatic3-ENV, tststatic4-ENV): New variables.
58096         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58097         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58099 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58101         * configure.in (CC): Require GCC version 4.4 or later.
58102         * configure: Regenerated.
58103         * manual/install.texi (Tools for Compilation): Update GCC version
58104         requirement.
58105         * INSTALL: Regenerated.
58107 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58109         [BZ #15674]
58110         * string/test-memcmp.c (check2): New.
58111         (main): Call check2.
58113         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58115 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58117         [BZ #15022]
58118         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58119         over to...
58120         (dl_open_worker) [!SHARED]: ... here.
58122 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58124         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58126 2013-06-25  Richard Henderson  <rth@redhat.com>
58128         * locale/programs/locarchive.c: Include <libc-internal.h>
58130 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58132         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58133         trailing whitespace removed.
58135 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58137         [BZ #10283]
58138         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58139         * locale/programs/locarchive.c: Include libc-mmap.h.
58140         (prepare_address_space): Take two new outputs (the mmap base and len).
58141         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58142         values.
58143         (create_archive): Declare new mmap base and len values for
58144         prepare_address_space, and store the result in ah.
58145         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58146         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58147         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58148         Declare new mmap base and len values for
58149         prepare_address_space, and store the result in new_ah.
58150         (open_archive): Declare new mmap base and len values for
58151         prepare_address_space, and store the result in ah.
58152         (close_archive): If ah->mmap_base is not NULL, use that and
58153         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58154         * sysdeps/generic/libc-mmap.h: New file.
58156 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58158         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58159         (ALIGN_UP): Likewise.
58160         (PTR_ALIGN_DOWN): Likewise.
58161         (PTR_ALIGN_UP): Likewise.
58163 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58165         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58166         entry mapped to PPC_PLATFORM_POWER8.
58167         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58168         POWER8.
58169         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58170         (_dl_string_platform): Add case for exporting platform position for
58171         POWER8.
58172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58173         search path to sysdeps/powerpc/powerpc32/power8 directory.
58174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58175         search path to sysdeps/powerpc/powerpc64/power8 directory.
58176         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58177         power7 directories.
58178         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58179         power7 directories.
58181 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58183         * INSTALL: Regenerate.
58185         * nscd/connections.c (nscd_init): Fix comment.
58187 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58189         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58191         [BZ #15667]
58192         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58193         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58195 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58197         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58198         DL_DST_REQ_STATIC.
58199         (DL_DST_REQ_STATIC): Remove macro.
58201 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58203         [BZ #7006]
58204         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58205         with a shift of 0 bits.
58207 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58209         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58210         $(tststatic-ENV).
58212 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58214         [BZ #15655]
58215         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58217 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58219         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58220         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58221         accepts -fno-tree-loop-distribute-patterns.
58222         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58223         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58224         recursive call.
58225         * string/memset.c (memset): Likewise.
58226         * string/test-memmove.c (simple_memmove): Disable loop transformation
58227         to library calls.
58228         * string/test-memset.c (simple_memset): Likewise.
58229         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58230         * benchtests/bench-memset.c (simple_memset): Likewise.
58231         * configure: Regenerated.
58233 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58235         * math/test-misc.c (main): Ignore fesetround failure when failures
58236         of subsequent rounding tests would be ignored.
58238         [BZ #15654]
58239         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58240         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58241         * math/fegetenv.c (__fegetenv): Return 0.
58242         * math/fegetexcept.c (fegetexcept): Return 0.
58243         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58244         FE_TONEAREST.
58245         * math/feholdexcpt.c (feholdexcept): Return 0.
58246         * math/fesetenv.c (__fesetenv): Return 0.
58247         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58248         argument FE_TONEAREST.
58249         * math/feupdateenv.c (__feupdateenv): Return 0.
58250         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58252 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58254         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58255         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58256         ($(objpfx)rtld-%.os rules): Use them.
58258 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58260         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58261         fields.
58263 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58265         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58266         length of target pattern, then descending length of dependency pattern.
58267         * configure.in (AWK): Require gawk 3.1.2 or newer.
58268         * manual/install.texi (Tools for Compilation): Say that we do.
58269         * configure: Regenerated.
58271         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58272         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58273         * scripts/sysd-rules.awk: ... this new script.
58274         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58275         than a glob-style pattern.
58277 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58279         * math/test-misc.c (main): Do not treat incorrectly rounded
58280         conversions as failure unless ROUNDING_TESTS passes.
58282 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58284         [BZ #15631]
58285         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58286         restore exception state around main square root computation, then
58287         check for inexactness explicitly.
58289         * math/libm-test.inc (fma_test_data): Add another test.
58291 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58293         * manual/threads.texi (Non-POSIX Extensions): New document
58294         node.  Document pthread_getattr_default_np and
58295         pthread_setattr_default_np.
58297         * Versions.def (libpthread): Add GLIBC_2.18.
58298         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58300         Likewise.
58301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58302         Likewise.
58303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58304         Likewise.
58305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58306         Likewise.
58307         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58308         Likewise.
58309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58310         Likewise.
58311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58312         Likewise.
58313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58314         Likewise.
58315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58316         Likewise.
58318 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58321         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58323 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58324             H.J. Lu  <hjl.tools@gmail.com>
58326         [BZ #15627]
58327         * sysdeps/x86_64/rtld-memset.c: Remove file.
58328         * sysdeps/x86_64/rtld-memset.S: New file.
58330 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58332         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58333         (test_in_one_mode): Take arguments for whether the rounding mode
58334         is supported for each floating-point type.
58335         (do_test): Pass new arguments to test_in_one_mode using
58336         ROUNDING_TESTS.
58338 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58340         * posix/tst-waitid.c (do_test): Distinguish different instances of
58341         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58342         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58343         before entering the kernel for waitpid.
58345 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58347         * NEWS: Fix note on clock function precision.  Text by Roland
58348         McGrath.
58350 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58352         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58353         it into place only when and if the sanity check passes.
58355 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58357         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58358         output for whether conversion result is exact.  Take argument
58359         indicating whether type is IBM long double.
58360         (round_for_all): Change need_exact field to ibm_ld.
58361         * stdlib/tst-strtod-round.c (struct exactness): New type.
58362         (struct test): Change bool ld_ok field to struct exactness exact.
58363         (TEST): Update all definitions for change to field.
58364         (tests): Regenerate array contents.
58365         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58366         field value.  Check for IBM long double here.
58367         (do_test): Update calls to test_in_one_mode.
58369 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58371         [BZ #12515]
58372         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58373         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58375 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58377         [BZ #15605]
58378         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58379         generated by the compiler on loop optimizations.
58380         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58381         general definitions.
58383 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58385         * math/bug-nextafter.c: Include <math-tests.h>.
58386         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58387         the relevant type.
58388         * math/bug-nexttoward.c: Include <math-tests.h>.
58389         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58390         the relevant type.
58391         * math/test-misc.c: Include <math-tests.h>.
58392         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58393         the relevant type.
58395 2013-06-12  Andreas Jaeger  <aj@suse.de>
58397         * po/ia.po: Update Interlingua translation from translation
58398         project.
58400 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58402         * include/fenv.h: Include stdbool.h.
58403         (struct rm_ctx): New structure.
58404         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58405         Define macro.
58406         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58407         (SET_RESTORE_ROUNDF): Likewise.
58408         (SET_RESTORE_ROUNDL): Likewise.
58409         (SET_RESTORE_ROUND_NOEX): Likewise.
58410         (SET_RESTORE_ROUND_NOEXF): Likewise.
58411         (SET_RESTORE_ROUND_NOEXL): Likewise.
58412         (SET_RESTORE_ROUND_53BIT): Likewise.
58413         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58414         (libc_feresetround_noexf_ctx): Likewise.
58415         (libc_feresetround_noexl_ctx): Likewise.
58416         (libc_feholdsetround_53bit_ctx): Likewise.
58417         (libc_feresetround_53bit_ctx): Likewise.
58418         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58419         (libc_feholdexcept_setround_sse_ctx): New function.
58420         (libc_fesetenv_sse_ctx): Likewise.
58421         (libc_feupdateenv_sse_ctx): Likewise.
58422         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58423         (libc_feholdexcept_setround_387_ctx): Likewise.
58424         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58425         (libc_feholdsetround_387_prec_ctx): Likewise.
58426         (libc_feholdsetround_387_ctx): Likewise.
58427         (libc_feholdsetround_387_53bit_ctx): Likewise.
58428         (libc_feholdsetround_sse_ctx): Likewise.
58429         (libc_feresetround_sse_ctx): Likewise.
58430         (libc_feresetround_387_ctx): Likewise.
58431         (libc_feupdateenv_387_ctx): Likewise.
58432         (libc_feholdexcept_setroundf_ctx): Define macro.
58433         (libc_fesetenvf_ctx): Likewise.
58434         (libc_feupdateenvf_ctx): Likewise.
58435         (libc_feholdsetroundf_ctx): Likewise.
58436         (libc_feresetroundf_ctx): Likewise.
58437         (libc_feholdexcept_setround_ctx): Likewise.
58438         (libc_fesetenv_ctx): Likewise.
58439         (libc_feupdateenv_ctx): Likewise.
58440         (libc_feholdsetround_ctx): Likewise.
58441         (libc_feresetround_ctx): Likewise.
58442         (libc_feholdexcept_setroundl_ctx): Likewise.
58443         (libc_feupdateenvl_ctx): Likewise.
58444         (libc_feholdsetroundl_ctx): Likewise.
58445         (libc_feresetroundl_ctx): Likewise.
58446         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58447         (libc_feresetround_53bit_ctx): Likewise.
58449 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58451         * locale/iso-639.def: Convert to UTF-8.
58453 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58455         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58456         (EXCEPTION_TESTS_double): Likewise.
58457         (EXCEPTION_TESTS_long_double): Likewise.
58458         (EXCEPTION_TESTS): Likewise.
58459         * math/libm-test.inc (test_exceptions): Only test exceptions if
58460         EXCEPTION_TESTS (FLOAT).
58462 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58464         * benchtests/Makefile (string-bench): Add strcpy_chk and
58465         stpcpy_chk.
58466         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58467         * benchtests/bench-stpcpy_chk.c: New file.
58468         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58469         * benchtests/bench-strcpy_chk.c: New file.
58470         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58471         code.
58472         (do_test): Likewise.
58474 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58476         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58477         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58478         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58479         with tabs where appropriate.
58480         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58481         dl-procinfo.h.
58482         [PPC_PLATFORM_PPC440]: Likewise.
58483         [PPC_PLATFORM_PPC464]: Likewise.
58484         [PPC_PLATFORM_PPC476]: Likewise.
58485         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58486         ppc464, and ppc476 platform strings merging from ports/
58487         dl-procinfo.h.
58489 2013-06-11  Andreas Schwab  <schwab@suse.de>
58491         [BZ #14991]
58492         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58493         (from_ucs4_idx): Regenerate.
58494         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58495         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58496         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58497         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58498         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58499         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58500         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58501         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58502         from FROM_LOOP and TO_LOOP specific macros.
58503         (BODY): Handle combining characters.
58504         * iconvdata/BIG5HKSCS.irreversible: Update.
58505         * iconvdata/BIG5HKSCS.precomposed: New file.
58506         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58507         characters.
58508         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58510 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58512         * include/sys/time.h: Fix indentation and add copyright header.
58514         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58515         (do_test): Likewise.
58516         * string/test-memchr.c (do_one_test): Likewise.
58517         (do_test): Likewise.
58518         * string/test-memcmp.c (do_one_test): Likewise.
58519         (do_test): Likewise.
58520         * string/test-memcpy.c (do_one_test): Likewise.
58521         (do_test): Likewise.
58522         * string/test-memmem.c (do_one_test): Likewise.
58523         (do_test): Likewise.
58524         (do_random_tests): Likewise.
58525         * string/test-memmove.c (do_one_test): Likewise.
58526         (do_test): Likewise.
58527         * string/test-memset.c (do_one_test): Likewise.
58528         (do_test): Likewise.
58529         * string/test-rawmemchr.c (do_one_test): Likewise.
58530         (do_test): Likewise.
58531         * string/test-strcasecmp.c (do_one_test): Likewise.
58532         (do_test): Likewise.
58533         * string/test-strcasestr.c (do_one_test): Likewise.
58534         (do_test): Likewise.
58535         * string/test-strcat.c (do_one_test): Likewise.
58536         (do_test): Likewise.
58537         * string/test-strchr.c (do_one_test): Likewise.
58538         (do_test): Likewise.
58539         * string/test-strcmp.c (do_one_test): Likewise.
58540         (do_test): Likewise.
58541         * string/test-strcpy.c (do_one_test): Likewise.
58542         (do_test): Likewise.
58543         * string/test-string.h: Likewise.
58544         (test_init): Likewise.
58545         * string/test-strlen.c (do_one_test): Likewise.
58546         (do_test): Likewise.
58547         * string/test-strncasecmp.c (do_one_test): Likewise.
58548         (do_test): Likewise.
58549         * string/test-strncat.c (do_one_test): Likewise.
58550         (do_test): Likewise.
58551         * string/test-strncmp.c (do_one_test): Likewise.
58552         (do_test_limit): Likewise.
58553         (do_test): Likewise.
58554         * string/test-strncpy.c (do_one_test): Likewise.
58555         (do_test): Likewise.
58556         * string/test-strnlen.c (do_one_test): Likewise.
58557         (do_test): Likewise.
58558         * string/test-strpbrk.c (do_one_test): Likewise.
58559         (do_test): Likewise.
58560         * string/test-strrchr.c (do_one_test): Likewise.
58561         (do_test): Likewise.
58562         * string/test-strspn.c (do_one_test): Likewise.
58563         (do_test): Likewise.
58564         * string/test-strstr.c (do_one_test): Likewise.
58565         (do_test): Likewise.
58567         * benchtests/Makefile (string-bench): Add string benchmarks.
58568         * benchtests/bench-bcopy-ifunc.c: New file.
58569         * benchtests/bench-bcopy.c: New file.
58570         * benchtests/bench-bzero-ifunc.c: New file.
58571         * benchtests/bench-bzero.c: New file.
58572         * benchtests/bench-memccpy-ifunc.c: New file.
58573         * benchtests/bench-memccpy.c: New file.
58574         * benchtests/bench-memchr-ifunc.c: New file.
58575         * benchtests/bench-memchr.c: New file.
58576         * benchtests/bench-memcmp-ifunc.c: New file.
58577         * benchtests/bench-memcmp.c: New file.
58578         * benchtests/bench-memmem-ifunc.c: New file.
58579         * benchtests/bench-memmem.c: New file.
58580         * benchtests/bench-memmove-ifunc.c: New file.
58581         * benchtests/bench-memmove.c: New file.
58582         * benchtests/bench-mempcpy-ifunc.c: New file.
58583         * benchtests/bench-mempcpy.c: New file.
58584         * benchtests/bench-memset-ifunc.c: New file.
58585         * benchtests/bench-memset.c: New file.
58586         * benchtests/bench-rawmemchr-ifunc.c: New file.
58587         * benchtests/bench-rawmemchr.c: New file.
58588         * benchtests/bench-stpcpy-ifunc.c: New file.
58589         * benchtests/bench-stpcpy.c: New file.
58590         * benchtests/bench-stpncpy-ifunc.c: New file.
58591         * benchtests/bench-stpncpy.c: New file.
58592         * benchtests/bench-strcasecmp-ifunc.c: New file.
58593         * benchtests/bench-strcasecmp.c: New file.
58594         * benchtests/bench-strcasestr-ifunc.c: New file.
58595         * benchtests/bench-strcasestr.c: New file.
58596         * benchtests/bench-strcat-ifunc.c: New file.
58597         * benchtests/bench-strcat.c: New file.
58598         * benchtests/bench-strchr-ifunc.c: New file.
58599         * benchtests/bench-strchr.c: New file.
58600         * benchtests/bench-strchrnul-ifunc.c: New file.
58601         * benchtests/bench-strchrnul.c: New file.
58602         * benchtests/bench-strcmp-ifunc.c: New file.
58603         * benchtests/bench-strcmp.c: New file.
58604         * benchtests/bench-strcpy-ifunc.c: New file.
58605         * benchtests/bench-strcpy.c: New file.
58606         * benchtests/bench-strcspn-ifunc.c: New file.
58607         * benchtests/bench-strcspn.c: New file.
58608         * benchtests/bench-strlen-ifunc.c: New file.
58609         * benchtests/bench-strlen.c: New file.
58610         * benchtests/bench-strncasecmp-ifunc.c: New file.
58611         * benchtests/bench-strncasecmp.c: New file.
58612         * benchtests/bench-strncat-ifunc.c: New file.
58613         * benchtests/bench-strncat.c: New file.
58614         * benchtests/bench-strncmp-ifunc.c: New file.
58615         * benchtests/bench-strncmp.c: New file.
58616         * benchtests/bench-strncpy-ifunc.c: New file.
58617         * benchtests/bench-strncpy.c: New file.
58618         * benchtests/bench-strnlen-ifunc.c: New file.
58619         * benchtests/bench-strnlen.c: New file.
58620         * benchtests/bench-strpbrk-ifunc.c: New file.
58621         * benchtests/bench-strpbrk.c: New file.
58622         * benchtests/bench-strrchr-ifunc.c: New file.
58623         * benchtests/bench-strrchr.c: New file.
58624         * benchtests/bench-strspn-ifunc.c: New file.
58625         * benchtests/bench-strspn.c: New file.
58626         * benchtests/bench-strstr-ifunc.c: New file.
58627         * benchtests/bench-strstr.c: New file.
58629         * benchtests/Makefile: Disable parallel execution of targets.
58630         (string-bench): Add memcpy.
58631         (benchset): New variable to store a list of benchmark sets.
58632         (bench-func): Renamed from bench.
58633         (bench-set): New target.
58634         (bench): Depend on bench-func and bench-set.
58635         * benchtests/README: Add section on benchmark sets.
58636         * benchtests/bench-memcpy-ifunc.c: New file.
58637         * benchtests/bench-memcpy.c: New file.
58638         * benchtests/bench-string.h: New file.
58640 2013-06-11  Andreas Schwab  <schwab@suse.de>
58642         [BZ #15577]
58643         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58644         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58645         values in the triple.
58646         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58647         terminator in the group key.
58649 2013-06-11  Andreas Jaeger  <aj@suse.de>
58651         * po/zh_TW.po: Update Chinese (traditional) translation from
58652         translation project.
58654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58656         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58657         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58658         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58660         (clock_getcpuclockid): Likewise.
58661         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58662         Add weak_alias and libc_hidden_def.
58663         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58664         * rt/clock_gettime.c (clock_gettime): Rename to
58665         __clock_gettime.  Add weak_alias and libc_hidden_def.
58666         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58667         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58668         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58669         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58670         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58671         Likewise.
58672         * rt/clock_settime.c (clock_settime): Rename to
58673         __clock_settime.  Add weak_alias and libc_hidden_def.
58674         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58676 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58678         * mach/err_boot.sub: Remove trailing whitespace.
58679         * mach/err_ipc.sub: Likewise.
58680         * mach/err_mach.sub: Likewise.
58682         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58683         (ROUNDING_TESTS_double): Likewise.
58684         (ROUNDING_TESTS_long_double): Likewise.
58685         (ROUNDING_TESTS): Likewise.
58686         * math/libm-test.inc: Include <math-tests.h>.
58687         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58688         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58689         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58690         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58692 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58694         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58695         of assigning.
58697 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58699         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58700         otherwise empty TRANS lines.
58701         * sysdeps/gnu/errlist.c: Regenerated.
58703         * catgets/gencat.c (error_print): Use (void) in function
58704         definition.
58705         * crypt/crypt_util.c (__init_des): Likewise.
58706         * crypt/speeds.c (Stop): Likewise.
58707         (main): Likewise.
58708         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58709         * inet/ruserpass.c (token): Likewise.
58710         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58711         * intl/localealias.c (extend_alias_table): Likewise.
58712         * intl/plural-exp.c (init_germanic_plural): Likewise.
58713         * libio/fcloseall.c (__fcloseall): Likewise.
58714         * libio/genops.c (_IO_flush_all): Likewise.
58715         (_IO_flush_all_linebuffered): Likewise.
58716         (_IO_cleanup): Likewise.
58717         (_IO_iter_begin): Likewise.
58718         (_IO_iter_end): Likewise.
58719         (_IO_list_lock): Likewise.
58720         (_IO_list_unlock): Likewise.
58721         (_IO_list_resetlock): Likewise.
58722         * libio/getchar.c (getchar): Likewise.
58723         * libio/getchar_u.c (getchar_unlocked): Likewise.
58724         * libio/getwchar.c (getwchar): Likewise.
58725         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58726         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58727         * login/getpt.c (__getpt): Likewise.
58728         * login/tst-utmp.c (main): Likewise.
58729         * malloc/hooks.c (__malloc_check_init): Likewise.
58730         * malloc/malloc.c (__malloc_stats): Likewise.
58731         * malloc/mtrace.c (tr_break): Likewise.
58732         (mtrace): Likewise.
58733         (muntrace): Likewise.
58734         * misc/fstab.c (endfsent): Likewise.
58735         * misc/getclktck.c (__getclktck): Likewise.
58736         * misc/getdtsz.c (__getdtablesize): Likewise.
58737         * misc/gethostid.c (gethostid): Likewise.
58738         * misc/getpagesize.c (__getpagesize): Likewise.
58739         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58740         (__get_nprocs): Likewise.
58741         (__get_phys_pages): Likewise.
58742         (__get_avphys_pages): Likewise.
58743         * misc/getttyent.c (getttyent): Likewise.
58744         (setttyent): Likewise.
58745         (endttyent): Likewise.
58746         * misc/getusershell.c (getusershell): Likewise.
58747         (endusershell): Likewise.
58748         (setusershell): Likewise.
58749         (initshells): Likewise.
58750         * misc/hsearch.c (__hdestroy): Likewise.
58751         * misc/sync.c (sync): Likewise.
58752         * misc/syslog.c (closelog_internal): Likewise.
58753         (closelog): Likewise.
58754         * misc/ttyslot.c (ttyslot): Likewise.
58755         * misc/vhangup.c (vhangup): Likewise.
58756         * posix/fork.c (__fork): Likewise.
58757         * posix/getegid.c (__getegid): Likewise.
58758         * posix/geteuid.c (__geteuid): Likewise.
58759         * posix/getgid.c (__getgid): Likewise.
58760         * posix/getpid.c (__getpid): Likewise.
58761         * posix/getppid.c (__getppid): Likewise.
58762         * posix/getuid.c (__getuid): Likewise.
58763         * posix/pause.c (pause): Likewise.
58764         * posix/setpgrp.c (setpgrp): Likewise.
58765         * posix/setsid.c (__setsid): Likewise.
58766         * posix/test-vfork.c (noop): Likewise.
58767         * resolv/gethnamaddr.c (_endhtent): Likewise.
58768         (_gethtent): Likewise.
58769         (ht_endhostent): Likewise.
58770         (gethostent): Likewise.
58771         (dns_service): Likewise.
58772         * stdlib/drand48.c (drand48): Likewise.
58773         * stdlib/lrand48.c (lrand48): Likewise.
58774         * stdlib/mrand48.c (mrand48): Likewise.
58775         * stdlib/rand.c (rand): Likewise.
58776         * stdlib/random.c (__random): Likewise.
58777         * stdlib/setenv.c (clearenv): Likewise.
58778         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58779         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58780         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58781         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58782         (__get_nprocs): Likewise.
58783         (__get_phys_pages): Likewise.
58784         (__get_avphys_pages): Likewise.
58785         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58786         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58787         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58788         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58789         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58790         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58791         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58792         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58793         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58794         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58795         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58796         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58797         * sysdeps/posix/clock.c (clock): Likewise.
58798         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58799         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58800         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58801         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58802         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58803         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58804         (__get_nprocs_conf): Likewise.
58805         (__get_phys_pages): Likewise.
58806         (__get_avphys_pages): Likewise.
58807         * time/clock.c (clock): Likewise.
58808         * time/tzset.c (__tzname_max): Likewise.
58810 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58812         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58813         (__bswap_32): Do not use "register".
58814         * crypt/crypt.c (_ufc_doit_r): Likewise.
58815         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58816         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58817         * gmon/gmon.c (__monstartup): Likewise.
58818         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58819         * hurd/hurdmalloc.c (more_memory): Likewise.
58820         (malloc): Likewise.
58821         (free): Likewise.
58822         (realloc): Likewise.
58823         (malloc_fork_prepare): Likewise.
58824         (malloc_fork_parent): Likewise.
58825         (malloc_fork_child): Likewise.
58826         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58827         (_svcauth_des): Likewise.
58828         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58829         * inet/inet_net.c (inet_network): Likewise.
58830         * inet/inet_netof.c (inet_netof): Likewise.
58831         * inet/rcmd.c (__validuser2_sa): Likewise.
58832         * io/fts.c (fts_open): Likewise.
58833         (fts_load): Likewise.
58834         (fts_close): Likewise.
58835         (fts_read): Likewise.
58836         (fts_children): Likewise.
58837         (fts_build): Likewise.
58838         (fts_stat): Likewise.
58839         (fts_sort): Likewise.
58840         (fts_alloc): Likewise.
58841         (fts_lfree): Likewise.
58842         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58843         (_IO_file_xsgetn): Likewise.
58844         (_IO_file_xsgetn_mmap): Likewise.
58845         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58846         (_IO_cookie_write): Likewise.
58847         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58848         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58849         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58850         * malloc/obstack.c (_obstack_begin): Likewise.
58851         (_obstack_begin_1): Likewise.
58852         (_obstack_newchunk): Likewise.
58853         (_obstack_allocated_p): Likewise.
58854         (obstack_free): Likewise.
58855         (_obstack_memory_used): Likewise.
58856         * misc/getttyent.c (getttynam): Likewise.
58857         (getttyent): Likewise.
58858         (skip): Likewise.
58859         (value): Likewise.
58860         * misc/getusershell.c (initshells): Likewise.
58861         * misc/syslog.c (__vsyslog_chk): Likewise.
58862         * misc/ttyslot.c (ttyslot): Likewise.
58863         * nis/nis_hash.c (__nis_hash): Likewise.
58864         * posix/fnmatch_loop.c (FCT): Likewise.
58865         * posix/getconf.c (print_all): Likewise.
58866         (main): Likewise.
58867         * posix/getopt.c (exchange): Likewise.
58868         * posix/glob.c (globfree): Likewise.
58869         (prefix_array): Likewise.
58870         (__glob_pattern_type): Likewise.
58871         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58872         (NS_GET32): Likewise.
58873         (NS_PUT16): Likewise.
58874         (NS_PUT32): Likewise.
58875         * resolv/gethnamaddr.c (getanswer): Likewise.
58876         (gethostbyname2): Likewise.
58877         (gethostbyaddr): Likewise.
58878         (_gethtent): Likewise.
58879         (_gethtbyname2): Likewise.
58880         (_gethtbyaddr): Likewise.
58881         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58882         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58883         * resolv/res_init.c (__res_vinit): Likewise.
58884         (net_mask): Likewise.
58885         * resolv/res_mkquery.c (outchar): Likewise.
58886         (PRINT): Likewise.
58887         * stdio-common/printf_fp.c (outchar): Likewise.
58888         (PRINT): Likewise.
58889         * stdio-common/printf_fphex.c (outchar): Likewise.
58890         (PRINT): Likewise.
58891         * stdio-common/printf_size.c (outchar): Likewise.
58892         (PRINT): Likewise.
58893         * stdio-common/test_rdwr.c (main): Likewise.
58894         * stdio-common/tfformat.c (matches): Likewise.
58895         * stdio-common/vfprintf.c (outchar): Likewise.
58896         (printf_unknown): Likewise.
58897         (buffered_vfprintf): Likewise.
58898         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58899         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58900         (ReadFile): Likewise.
58901         * stdlib/qsort.c (SWAP): Likewise.
58902         (_quicksort): Likewise.
58903         * stdlib/setenv.c (__add_to_environ): Likewise.
58904         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58905         * stdlib/strtol_l.c (__strtol_l): Likewise.
58906         * stdlib/tst-strtod.c (main): Likewise.
58907         * stdlib/tst-strtol.c (main): Likewise.
58908         * stdlib/tst-strtoll.c (main): Likewise.
58909         * string/bits/string2.h (__strcmp_cc): Likewise.
58910         (__strcmp_cg): Likewise.
58911         (__strcspn_c1): Likewise.
58912         (__strcspn_c2): Likewise.
58913         (__strcspn_c3): Likewise.
58914         (__strspn_c1): Likewise.
58915         (__strspn_c2): Likewise.
58916         (__strspn_c3): Likewise.
58917         (__strsep_1c): Likewise.
58918         (__strsep_2c): Likewise.
58919         (__strsep_3c): Likewise.
58920         * string/memccpy.c (__memccpy): Likewise.
58921         * string/stpcpy.c (__stpcpy): Likewise.
58922         * string/strcmp.c (strcmp): Likewise.
58923         * string/strrchr.c (strrchr): Likewise.
58924         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58925         Likewise.
58926         * sysdeps/mach/hurd/getcwd.c
58927         (_hurd_canonicalize_directory_name_internal): Likewise.
58928         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58929         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58930         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58931         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58932         Likewise, in both definitions.
58933         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58934         definitions.
58935         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58936         64] (__bswap_64): Likewise.
58937         * time/test_time.c (main): Likewise.
58938         * time/tzfile.c (__tzfile_read): Likewise.
58939         (__tzfile_compute): Likewise.
58940         * time/tzset.c (__tzset_parse_tz): Likewise.
58941         (tzset_internal): Likewise.
58942         (compute_change): Likewise.
58943         * wcsmbs/wcscat.c (__wcscat): Likewise.
58944         * wcsmbs/wcschr.c (wcschr): Likewise.
58945         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58946         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58947         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58948         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58949         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58950         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58951         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58952         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58953         * wcsmbs/wmemset.c (wmemset): Likewise.
58955 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58957         * scripts/config.guess: Update to version 2013-05-16.
58958         * scripts/config.sub: Update to version 2013-04-24.
58959         * scripts/install-sh: Update to version 2011-11-20.07.
58960         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58961         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58963 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58965         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58966         * elf/sln.c: Likewise.
58967         * hurd/hurd/ioctl.h: Likewise.
58968         * hurd/hurdmalloc.c: Likewise.
58969         * hurd/xattr.c: Likewise.
58970         * include/shlib-compat.h: Likewise.
58971         * inet/ruserpass.c: Likewise.
58972         * libio/iofgets_u.c: Likewise.
58973         * libio/iofgetws_u.c: Likewise.
58974         * locale/programs/ld-identification.c: Likewise.
58975         * locale/programs/ld-time.c: Likewise.
58976         * mach/msg-destroy.c: Likewise.
58977         * nss/nss_files/files-netgrp.c: Likewise.
58978         * resolv/res_data.c: Likewise.
58979         * soft-fp/op-1.h: Likewise.
58980         * soft-fp/op-2.h: Likewise.
58981         * soft-fp/op-4.h: Likewise.
58982         * soft-fp/op-common.h: Likewise.
58983         * stdio-common/printf_fphex.c: Likewise.
58984         * stdlib/strtod_l.c: Likewise.
58985         * sunrpc/rpc/clnt.h: Likewise.
58986         * sysdeps/generic/framestate.c: Likewise.
58987         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58988         * sysdeps/i386/bsd-setjmp.S: Likewise.
58989         * sysdeps/i386/__longjmp.S: Likewise.
58990         * sysdeps/i386/setjmp.S: Likewise.
58991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58992         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58993         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58994         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58995         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58996         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58999         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59000         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59001         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59002         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59003         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59004         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59005         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59007         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59008         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59009         * sysdeps/ieee754/support.c: Likewise.
59010         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59011         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59012         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59013         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59014         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59015         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59016         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59017         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59018         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59019         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59020         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59021         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59022         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59023         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59024         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59025         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59029 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59031         * posix/transbug.c: Remove executable mode.
59033 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59035         * crypt/speeds.c: Remove trailing whitespace.
59036         * dlfcn/default.c: Likewise.
59037         * elf/ifuncdep2.c: Likewise.
59038         * elf/ifuncmain1.c: Likewise.
59039         * elf/ifuncmain1vis.c: Likewise.
59040         * elf/testobj.h: Likewise.
59041         * elf/tst-stackguard1.c: Likewise.
59042         * gmon/sys/gmon.h: Likewise.
59043         * hurd/hurdmsg.c: Likewise.
59044         * hurd/new-fd.c: Likewise.
59045         * hurd/ports-get.c: Likewise.
59046         * iconvdata/ibm1008_420.c: Likewise.
59047         * inet/tst-getni1.c: Likewise.
59048         * inet/tst-getni2.c: Likewise.
59049         * libio/ioungetc.c: Likewise.
59050         * libio/wfiledoalloc.c: Likewise.
59051         * manual/libm-err-tab.pl: Likewise.
59052         * math/w_dremf.c: Likewise.
59053         * misc/ftruncate.c: Likewise.
59054         * posix/bug-glob2.c: Likewise.
59055         * posix/tst-pcre.c: Likewise.
59056         * posix/wait4.c: Likewise.
59057         * resolv/README: Likewise.
59058         * resolv/res_debug.h: Likewise.
59059         * resolv/tst-inet_ntop.c: Likewise.
59060         * setjmp/bug269-setjmp.c: Likewise.
59061         * soft-fp/extended.h: Likewise.
59062         * soft-fp/op-1.h: Likewise.
59063         * soft-fp/op-2.h: Likewise.
59064         * soft-fp/op-4.h: Likewise.
59065         * soft-fp/op-8.h: Likewise.
59066         * soft-fp/testit.c: Likewise.
59067         * stdio-common/bug16.c: Likewise.
59068         * stdlib/random.c: Likewise.
59069         * sunrpc/rpcsvc/rquota.x: Likewise.
59070         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59071         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59072         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59073         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59074         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59075         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59076         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59077         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59078         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59079         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59081         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59082         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59083         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59085         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59086         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59088         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59089         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59090         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59091         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59092         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59093         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59094         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59095         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59099         * sysdeps/ieee754/s_lib_version.c: Likewise.
59100         * sysdeps/mach/hurd/check_fds.c: Likewise.
59101         * sysdeps/mach/hurd/getsockname.c: Likewise.
59102         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59103         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59104         * sysdeps/powerpc/bits/link.h: Likewise.
59105         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59106         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59107         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59108         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59109         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59110         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59111         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59112         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59113         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59114         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59115         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59116         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59117         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59118         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59119         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59120         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59124         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59125         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59126         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59128         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59129         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59130         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59131         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59132         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59133         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59134         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59135         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59136         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59138         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59139         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59140         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59141         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59142         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59143         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59144         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59145         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59146         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59147         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59148         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59149         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59150         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59151         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59152         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59153         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59154         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59155         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59157         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59158         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59159         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59160         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59161         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59162         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59163         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59164         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59165         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59166         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59167         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59168         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59169         * sysdeps/powerpc/sysdep.h: Likewise.
59170         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59171         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59172         * sysdeps/sh/dl-trampoline.S: Likewise.
59173         * sysdeps/sh/memset.S: Likewise.
59174         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59175         * sysdeps/sh/strlen.S: Likewise.
59176         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59177         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59178         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59179         * sysdeps/sparc/sparc32/rem.S: Likewise.
59180         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59181         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59182         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59183         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59184         * sysdeps/sparc/sparc32/urem.S: Likewise.
59185         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59186         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59187         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59188         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59189         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59190         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59191         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59192         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59193         * sysdeps/unix/bsd/times.c: Likewise.
59194         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59195         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59199         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59200         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59201         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59202         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59203         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59204         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59205         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59206         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59207         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59208         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59209         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59210         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59211         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59212         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59213         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59214         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59215         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59216         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59217         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59218         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59219         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59220         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59222         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59223         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59224         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59225         * sysdeps/x86_64/strcspn.S: Likewise.
59227 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59229         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59230         generated file.  Regenerate properly from gen-translit.pl.
59231         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59232         locale/C-translit.h.
59234 2013-06-05  Andreas Schwab  <schwab@suse.de>
59236         [BZ #15100]
59237         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59238         week as 6 instead of -1.
59239         * time/tst-strptime.c (day_tests): Add test case.
59241 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59243         * sysdeps/generic/math_private.h
59244         (libc_feholdexcept_setround_53bit): Replace with
59245         libc_feholdsetround_53bit.
59246         (libc_feupdateenv_53bit): Replace with
59247         libc_feresetround_53bit.
59248         (SET_RESTORE_ROUND_53BIT): Adjust.
59250 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59252         * string/test-strchrnul.c: Add copyright header.
59254         * posix/tst-getaddrinfo4.c: Increase test timeout.
59256 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59258         [BZ #15536]
59259         * math/libm-test.inc (MAX_EXP): Remove
59260         (MIN_EXP): Define.
59261         (ulp): Use MIN_EXP - MANT_DIG.
59262         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59264 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59266         * po/be.po: Revert last change.
59267         * po/zh_CN.po: Likewise.
59268         * po/header.pot: Likewise.
59270 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59272         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59273         link-libc-deps to empty as target-specific variable.
59274         * Makerules (link-libc-args): New variable.
59275         (libc-for-link): Likewise.
59276         (link-libc-deps): Likewise.
59277         (lib%.so): Depend on $(link-libc-deps).  Link with
59278         $(link-libc-args).
59279         (build-module): Link with $(link-libc-args).
59280         (build-module-asneeded): Likewise.
59281         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59282         list of objects.
59283         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59284         target-specific variable.
59285         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59286         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59287         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59288         libc.
59289         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59290         libc and ld.so.
59291         ($(objpfx)libpcprofile.so): Likewise.
59292         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59293         libc_nonshared.a.
59294         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59295         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59296         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59297         $(link-libc-deps).
59298         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59299         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59300         * login/Makefile ($(objpfx)libutil.so): Likewise.
59301         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59302         * math/Makefile ($(objpfx)libm.so): Likewise.
59303         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59304         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59305         variable instead of depending directly on libc.
59306         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59307         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59308         $(link-libc-deps).
59309         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59310         libc.
59311         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59312         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59313         ($(objpfx)libanl.so): Likewise.
59314         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59315         ld.so.
59316         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59317         $(link-libc-deps).
59318         * sysdeps/i386/fpu/Makefile: Remove file.
59319         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59320         ($(objpfx)libm.so): Remove dependency on ld.so.
59322 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59324         [BZ # 15553]
59325         * nis/yp_xdr.c (XDRMAXNAME): Define.
59326         (XDRMAXRECORD): Define.
59327         (xdr_domainname): Use XDRMAXNAME.
59328         (xdr_mapname): Likewise.
59329         (xdr_peername): Likewise.
59330         (xdr_keydat): Use XDRMAXRECORD.
59331         (xdr_valdat): Likewise.
59333 2013-05-30  Jeff Law  <law@redhat.com>
59335         [BZ #14256]
59336         * manual/errno.texi (ESTALE): Update to account for more than
59337         just NFS file systems.
59338         * sysdeps/gnu/errlist.c: Regenerated.
59340 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59342         [BZ #15465]
59343         * elf/Makefile (tests): Add tst-null-argv.
59344         (modules-names):  Add tst-null-argv-lib.
59345         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59346         (tst-null-argv-ENV): Set environment for tst-null-argv.
59347         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59348         (RTLD_PROGNAME): New macro.
59349         * elf/tst-null-argv.c: New test case.
59350         * elf/tst-null-argv-lib.c: Library for test case.
59351         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59352         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59353         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59354         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59355         * elf/dl-init.c (call_init): Likewise.
59356         (_dl_init): Likewise.
59357         * elf/dl-load.c (print_search_path): Likewise.
59358         (_dl_map_object): Likewise.
59359         * elf/dl-lookup.c (do_lookup_x): Likewise.
59360         (add_dependency): Likewise.
59361         (_dl_lookup_symbol_x): Likewise.
59362         (_dl_debug_bindings): Likewise.
59363         * elf/dl-open.c (_dl_show_scope): Likewise.
59364         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59365         * elf/dl-version.c (match_symbol): Likewise.
59366         (_dl_check_map_versions): Likewise.
59367         * elf/rtld.c (dl_main): Likewise.
59368         (print_unresolved): Use RTLD_PROGNAME.
59369         (print_missing_version): Likewise.
59370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59371         (elf_machine_rela): Likewise.
59372         * sysdeps/powerpc/powerpc32/dl-machine.c
59373         (__process_machine_rela): Likewise.
59374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59375         Likewise.
59376         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59377         Likewise.
59378         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59379         Likewise.
59380         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59382         Likewise.
59383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59384         Likewise.
59385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59387 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59389         * po/be.po: Add descriptive title.
59390         * po/zh_CN.po: Likewise.
59391         * po/header.pot: Likewise.
59393 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59395         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59396         error message.
59397         (enlarge_archive): Likewise.
59399 2013-05-28  Ben North  <ben@redfrontdoor.org>
59401         * manual/arith.texi (frexp): It is the magnitude of the return
59402         value which lies in [0.5, 1), not the return value itself.
59404 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59408 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59410         * stdio-common/bug26.c (main): Correct fscanf template.
59412         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59413         declare _dl_skip_args.
59415         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59416         Don't declare.
59418         * manual/platform.texi: Add missing @end deftypefun.
59420 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59422         [BZ #15529]
59423         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59424         bit of mantissa of 2^16382.
59425         * math/libm-test.inc (hypot_test_data): Add more tests.
59427         * math/libm-test.inc: Add drem and pow10 to list of tested
59428         functions.
59429         (pow10_test): New function.
59430         (drem_test): Likewise.
59431         (drem_test_tonearest): Likewise.
59432         (drem_test_towardzero): Likewise.
59433         (drem_test_downward): Likewise.
59434         (drem_test_upward): Likewise.
59435         (main): Call the new functions.
59437         * math/libm-test.inc (finite_test_data): Remove.
59438         (finite_test): Run tests from isfinite_test_data.
59439         (gamma_test_data): Remove.
59440         (gamma_test): Run tests from lgamma_test_data.
59441         * sysdeps/i386/fpu/libm-test-ulps: Update.
59442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59444 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59446         * manual/platform.texi: Add PowerPC PPR function set documentation.
59447         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59448         implementation.
59450 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59452         * math/libm-test.inc (MAX_EXP): Define.
59453         (ULPDIFF): Define.
59454         (ulp): New function.
59455         (check_float_internal): Use ULPDIFF.
59456         (cpow_test): Disable failing test.
59457         (check_ulp): Test ulp() implementation.
59458         (main): Call check_ulp before starting tests.
59460 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59462         * math/gen-libm-test.pl (generate_testfile): Do not handle
59463         START_DATA and END_DATA.
59464         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59465         END_DATA.
59466         (acos_tonearest_test_data): Likewise.
59467         (acos_towardzero_test_data): Likewise.
59468         (acos_downward_test_data): Likewise.
59469         (acos_upward_test_data): Likewise.
59470         (acosh_test_data): Likewise.
59471         (asin_test_data): Likewise.
59472         (asin_tonearest_test_data): Likewise.
59473         (asin_towardzero_test_data): Likewise.
59474         (asin_downward_test_data): Likewise.
59475         (asin_upward_test_data): Likewise.
59476         (asinh_test_data): Likewise.
59477         (atan_test_data): Likewise.
59478         (atanh_test_data): Likewise.
59479         (atan2_test_data): Likewise.
59480         (cabs_test_data): Likewise.
59481         (cacos_test_data): Likewise.
59482         (cacosh_test_data): Likewise.
59483         (carg_test_data): Likewise.
59484         (casin_test_data): Likewise.
59485         (casinh_test_data): Likewise.
59486         (catan_test_data): Likewise.
59487         (catanh_test_data): Likewise.
59488         (cbrt_test_data): Likewise.
59489         (ccos_test_data): Likewise.
59490         (ccosh_test_data): Likewise.
59491         (ceil_test_data): Likewise.
59492         (cexp_test_data): Likewise.
59493         (cimag_test_data): Likewise.
59494         (clog_test_data): Likewise.
59495         (clog10_test_data): Likewise.
59496         (conj_test_data): Likewise.
59497         (copysign_test_data): Likewise.
59498         (cos_test_data): Likewise.
59499         (cos_tonearest_test_data): Likewise.
59500         (cos_towardzero_test_data): Likewise.
59501         (cos_downward_test_data): Likewise.
59502         (cos_upward_test_data): Likewise.
59503         (cosh_test_data): Likewise.
59504         (cosh_tonearest_test_data): Likewise.
59505         (cosh_towardzero_test_data): Likewise.
59506         (cosh_downward_test_data): Likewise.
59507         (cosh_upward_test_data): Likewise.
59508         (cpow_test_data): Likewise.
59509         (cproj_test_data): Likewise.
59510         (creal_test_data): Likewise.
59511         (csin_test_data): Likewise.
59512         (csinh_test_data): Likewise.
59513         (csqrt_test_data): Likewise.
59514         (ctan_test_data): Likewise.
59515         (ctan_tonearest_test_data): Likewise.
59516         (ctan_towardzero_test_data): Likewise.
59517         (ctan_downward_test_data): Likewise.
59518         (ctan_upward_test_data): Likewise.
59519         (ctanh_test_data): Likewise.
59520         (ctanh_tonearest_test_data): Likewise.
59521         (ctanh_towardzero_test_data): Likewise.
59522         (ctanh_downward_test_data): Likewise.
59523         (ctanh_upward_test_data): Likewise.
59524         (erf_test_data): Likewise.
59525         (erfc_test_data): Likewise.
59526         (exp_test_data): Likewise.
59527         (exp_tonearest_test_data): Likewise.
59528         (exp_towardzero_test_data): Likewise.
59529         (exp_downward_test_data): Likewise.
59530         (exp_upward_test_data): Likewise.
59531         (exp10_test_data): Likewise.
59532         (exp2_test_data): Likewise.
59533         (expm1_test_data): Likewise.
59534         (fabs_test_data): Likewise.
59535         (fdim_test_data): Likewise.
59536         (finite_test_data): Likewise.
59537         (floor_test_data): Likewise.
59538         (fma_test_data): Likewise.
59539         (fma_towardzero_test_data): Likewise.
59540         (fma_downward_test_data): Likewise.
59541         (fma_upward_test_data): Likewise.
59542         (fmax_test_data): Likewise.
59543         (fmin_test_data): Likewise.
59544         (fmod_test_data): Likewise.
59545         (fpclassify_test_data): Likewise.
59546         (frexp_test_data): Likewise.
59547         (gamma_test_data): Likewise.
59548         (hypot_test_data): Likewise.
59549         (ilogb_test_data): Likewise.
59550         (isfinite_test_data): Likewise.
59551         (isgreater_test_data): Likewise.
59552         (isgreaterequal_test_data): Likewise.
59553         (isinf_test_data): Likewise.
59554         (isless_test_data): Likewise.
59555         (islessequal_test_data): Likewise.
59556         (islessgreater_test_data): Likewise.
59557         (isnan_test_data): Likewise.
59558         (isnormal_test_data): Likewise.
59559         (issignaling_test_data): Likewise.
59560         (isunordered_test_data): Likewise.
59561         (j0_test_data): Likewise.
59562         (j1_test_data): Likewise.
59563         (jn_test_data): Likewise.
59564         (ldexp_test_data): Likewise.
59565         (lgamma_test_data): Likewise.
59566         (lrint_test_data): Likewise.
59567         (lrint_tonearest_test_data): Likewise.
59568         (lrint_towardzero_test_data): Likewise.
59569         (lrint_downward_test_data): Likewise.
59570         (lrint_upward_test_data): Likewise.
59571         (llrint_test_data): Likewise.
59572         (llrint_tonearest_test_data): Likewise.
59573         (llrint_towardzero_test_data): Likewise.
59574         (llrint_downward_test_data): Likewise.
59575         (llrint_upward_test_data): Likewise.
59576         (log_test_data): Likewise.
59577         (log10_test_data): Likewise.
59578         (log1p_test_data): Likewise.
59579         (log2_test_data): Likewise.
59580         (logb_test_data): Likewise.
59581         (logb_downward_test_data): Likewise.
59582         (lround_test_data): Likewise.
59583         (llround_test_data): Likewise.
59584         (modf_test_data): Likewise.
59585         (nearbyint_test_data): Likewise.
59586         (nextafter_test_data): Likewise.
59587         (nexttoward_test_data): Likewise.
59588         (pow_test_data): Likewise.
59589         (pow_tonearest_test_data): Likewise.
59590         (pow_towardzero_test_data): Likewise.
59591         (pow_downward_test_data): Likewise.
59592         (pow_upward_test_data): Likewise.
59593         (remainder_test_data): Likewise.
59594         (remainder_tonearest_test_data): Likewise.
59595         (remainder_towardzero_test_data): Likewise.
59596         (remainder_downward_test_data): Likewise.
59597         (remainder_upward_test_data): Likewise.
59598         (remquo_test_data): Likewise.
59599         (rint_test_data): Likewise.
59600         (rint_tonearest_test_data): Likewise.
59601         (rint_towardzero_test_data): Likewise.
59602         (rint_downward_test_data): Likewise.
59603         (rint_upward_test_data): Likewise.
59604         (round_test_data): Likewise.
59605         (scalb_test_data): Likewise.
59606         (scalbn_test_data): Likewise.
59607         (scalbln_test_data): Likewise.
59608         (signbit_test_data): Likewise.
59609         (sin_test_data): Likewise.
59610         (sin_tonearest_test_data): Likewise.
59611         (sin_towardzero_test_data): Likewise.
59612         (sin_downward_test_data): Likewise.
59613         (sin_upward_test_data): Likewise.
59614         (sincos_test_data): Likewise.
59615         (sinh_test_data): Likewise.
59616         (sinh_tonearest_test_data): Likewise.
59617         (sinh_towardzero_test_data): Likewise.
59618         (sinh_downward_test_data): Likewise.
59619         (sinh_upward_test_data): Likewise.
59620         (sqrt_test_data): Likewise.
59621         (tan_test_data): Likewise.
59622         (tan_tonearest_test_data): Likewise.
59623         (tan_towardzero_test_data): Likewise.
59624         (tan_downward_test_data): Likewise.
59625         (tan_upward_test_data): Likewise.
59626         (tanh_test_data): Likewise.
59627         (tgamma_test_data): Likewise.
59628         (trunc_test_data): Likewise.
59629         (y0_test_data): Likewise.
59630         (y1_test_data): Likewise.
59631         (yn_test_data): Likewise.
59632         (significand_test_data): Likewise.
59634         * math/gen-libm-test.pl (@functions): Remove variable.
59635         (generate_testfile): Don't handle START and END lines.
59636         * math/libm-test.inc (START): New macro.
59637         (END): Likewise.
59638         (END_COMPLEX): Likewise.
59639         (acos_test): Use END macro without arguments.
59640         (acos_test_tonearest): Likewise.
59641         (acos_test_towardzero): Likewise.
59642         (acos_test_downward): Likewise.
59643         (acos_test_upward): Likewise.
59644         (acosh_test): Likewise.
59645         (asin_test): Likewise.
59646         (asin_test_tonearest): Likewise.
59647         (asin_test_towardzero): Likewise.
59648         (asin_test_downward): Likewise.
59649         (asin_test_upward): Likewise.
59650         (asinh_test): Likewise.
59651         (atan_test): Likewise.
59652         (atanh_test): Likewise.
59653         (atan2_test): Likewise.
59654         (cabs_test): Likewise.
59655         (cacos_test): Use END_COMPLEX macro without arguments.
59656         (cacosh_test): Likewise.
59657         (carg_test): Use END macro without arguments.
59658         (casin_test): Use END_COMPLEX macro without arguments.
59659         (casinh_test): Likewise.
59660         (catan_test): Likewise.
59661         (catanh_test): Likewise.
59662         (cbrt_test): Use END macro without arguments.
59663         (ccos_test): Use END_COMPLEX macro without arguments.
59664         (ccosh_test): Likewise.
59665         (ceil_test): Use END macro without arguments.
59666         (cexp_test): Use END_COMPLEX macro without arguments.
59667         (cimag_test): Use END macro without arguments.
59668         (clog_test): Use END_COMPLEX macro without arguments.
59669         (clog10_test): Likewise.
59670         (conj_test): Likewise.
59671         (copysign_test): Use END macro without arguments.
59672         (cos_test): Likewise.
59673         (cos_test_tonearest): Likewise.
59674         (cos_test_towardzero): Likewise.
59675         (cos_test_downward): Likewise.
59676         (cos_test_upward): Likewise.
59677         (cosh_test): Likewise.
59678         (cosh_test_tonearest): Likewise.
59679         (cosh_test_towardzero): Likewise.
59680         (cosh_test_downward): Likewise.
59681         (cosh_test_upward): Likewise.
59682         (cpow_test): Use END_COMPLEX macro without arguments.
59683         (cproj_test): Likewise.
59684         (creal_test): Use END macro without arguments.
59685         (csin_test): Use END_COMPLEX macro without arguments.
59686         (csinh_test): Likewise.
59687         (csqrt_test): Likewise.
59688         (ctan_test): Likewise.
59689         (ctan_test_tonearest): Likewise.
59690         (ctan_test_towardzero): Likewise.
59691         (ctan_test_downward): Likewise.
59692         (ctan_test_upward): Likewise.
59693         (ctanh_test): Likewise.
59694         (ctanh_test_tonearest): Likewise.
59695         (ctanh_test_towardzero): Likewise.
59696         (ctanh_test_downward): Likewise.
59697         (ctanh_test_upward): Likewise.
59698         (erf_test): Use END macro without arguments.
59699         (erfc_test): Likewise.
59700         (exp_test): Likewise.
59701         (exp_test_tonearest): Likewise.
59702         (exp_test_towardzero): Likewise.
59703         (exp_test_downward): Likewise.
59704         (exp_test_upward): Likewise.
59705         (exp10_test): Likewise.
59706         (exp2_test): Likewise.
59707         (expm1_test): Likewise.
59708         (fabs_test): Likewise.
59709         (fdim_test): Likewise.
59710         (finite_test): Likewise.
59711         (floor_test): Likewise.
59712         (fma_test): Likewise.
59713         (fma_test_towardzero): Likewise.
59714         (fma_test_downward): Likewise.
59715         (fma_test_upward): Likewise.
59716         (fmax_test): Likewise.
59717         (fmin_test): Likewise.
59718         (fmod_test): Likewise.
59719         (fpclassify_test): Likewise.
59720         (frexp_test): Likewise.
59721         (gamma_test): Likewise.
59722         (hypot_test): Likewise.
59723         (ilogb_test): Likewise.
59724         (isfinite_test): Likewise.
59725         (isgreater_test): Likewise.
59726         (isgreaterequal_test): Likewise.
59727         (isinf_test): Likewise.
59728         (isless_test): Likewise.
59729         (islessequal_test): Likewise.
59730         (islessgreater_test): Likewise.
59731         (isnan_test): Likewise.
59732         (isnormal_test): Likewise.
59733         (issignaling_test): Likewise.
59734         (isunordered_test): Likewise.
59735         (j0_test): Likewise.
59736         (j1_test): Likewise.
59737         (jn_test): Likewise.
59738         (ldexp_test): Likewise.
59739         (lgamma_test): Likewise.
59740         (lrint_test): Likewise.
59741         (lrint_test_tonearest): Likewise.
59742         (lrint_test_towardzero): Likewise.
59743         (lrint_test_downward): Likewise.
59744         (lrint_test_upward): Likewise.
59745         (llrint_test): Likewise.
59746         (llrint_test_tonearest): Likewise.
59747         (llrint_test_towardzero): Likewise.
59748         (llrint_test_downward): Likewise.
59749         (llrint_test_upward): Likewise.
59750         (log_test): Likewise.
59751         (log10_test): Likewise.
59752         (log1p_test): Likewise.
59753         (log2_test): Likewise.
59754         (logb_test): Likewise.
59755         (logb_test_downward): Likewise.
59756         (lround_test): Likewise.
59757         (llround_test): Likewise.
59758         (modf_test): Likewise.
59759         (nearbyint_test): Likewise.
59760         (nextafter_test): Likewise.
59761         (nexttoward_test): Likewise.
59762         (pow_test): Likewise.
59763         (pow_test_tonearest): Likewise.
59764         (pow_test_towardzero): Likewise.
59765         (pow_test_downward): Likewise.
59766         (pow_test_upward): Likewise.
59767         (remainder_test): Likewise.
59768         (remainder_test_tonearest): Likewise.
59769         (remainder_test_towardzero): Likewise.
59770         (remainder_test_downward): Likewise.
59771         (remainder_test_upward): Likewise.
59772         (remquo_test): Likewise.
59773         (rint_test): Likewise.
59774         (rint_test_tonearest): Likewise.
59775         (rint_test_towardzero): Likewise.
59776         (rint_test_downward): Likewise.
59777         (rint_test_upward): Likewise.
59778         (round_test): Likewise.
59779         (scalb_test): Likewise.
59780         (scalbn_test): Likewise.
59781         (scalbln_test): Likewise.
59782         (signbit_test): Likewise.
59783         (sin_test): Likewise.
59784         (sin_test_tonearest): Likewise.
59785         (sin_test_towardzero): Likewise.
59786         (sin_test_downward): Likewise.
59787         (sin_test_upward): Likewise.
59788         (sincos_test): Likewise.
59789         (sinh_test): Likewise.
59790         (sinh_test_tonearest): Likewise.
59791         (sinh_test_towardzero): Likewise.
59792         (sinh_test_downward): Likewise.
59793         (sinh_test_upward): Likewise.
59794         (sqrt_test): Likewise.
59795         (tan_test): Likewise.
59796         (tan_test_tonearest): Likewise.
59797         (tan_test_towardzero): Likewise.
59798         (tan_test_downward): Likewise.
59799         (tan_test_upward): Likewise.
59800         (tanh_test): Likewise.
59801         (tgamma_test): Likewise.
59802         (trunc_test): Likewise.
59803         (y0_test): Likewise.
59804         (y1_test): Likewise.
59805         (yn_test): Likewise.
59806         (significand_test): Likewise.
59808 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59810         [BZ #15381]
59811         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59813 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59815         [BZ #14894]
59816         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59817         __ppc_mdoio and __ppc_mdoom.
59818         * manual/platform.texi: Document new functions __ppc_yield,
59819         __ppc_mdoio and __ppc_mdoom.
59821 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59823         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59824         (main): Mention "tls" pseudo-hwcap is legacy.
59825         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59827 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59829         * math/gen-libm-test.pl (parse_args): Output only string of
59830         arguments as text for test name, not full call or descriptions of
59831         tests for extra outputs.
59832         (generate_testfile): Do not pass function name to parse_args.
59833         Generate this_func variable from START.
59834         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59835         field to arg_str.
59836         (struct test_ff_f_data): Likewise.
59837         (test_ff_f_data_nexttoward): Likewise.
59838         (struct test_fi_f_data): Likewise.
59839         (struct test_fl_f_data): Likewise.
59840         (struct test_if_f_data): Likewise.
59841         (struct test_fff_f_data): Likewise.
59842         (struct test_c_f_data): Likewise.
59843         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59844         (struct test_fF_f1_data): Likewise.
59845         (struct test_ffI_f1_data): Likewise.
59846         (struct test_c_c_data): Rename test_name field to arg_str.
59847         (struct test_cc_c_data): Likewise.
59848         (struct test_f_i_data): Likewise.
59849         (struct test_ff_i_data): Likewise.
59850         (struct test_f_l_data): Likewise.
59851         (struct test_f_L_data): Likewise.
59852         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59853         and extra2_name.
59854         (COMMON_TEST_SETUP): New macro.
59855         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59856         (COMMON_TEST_CLEANUP): Likewise.
59857         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59858         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59859         macros.
59860         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59861         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59862         macros.
59863         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59864         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59865         cleanup macros.
59866         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59867         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59868         macros.
59869         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59870         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59871         macros.
59872         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59873         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59874         cleanup macros.
59875         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59876         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59877         cleanup macros.
59878         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59879         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59880         cleanup macros.
59881         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59882         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59883         macros.
59884         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59885         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59886         macros.
59887         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59888         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59889         macros.
59890         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59891         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59892         cleanup macros.
59893         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59894         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59895         cleanup macros.
59896         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59897         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59898         macros.
59899         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59900         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59901         cleanup macros.
59902         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59903         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59904         macros.
59905         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59906         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59907         macros.
59908         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59909         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59910         cleanup macros.
59911         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59913 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59915         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59916         to _sifields.sigfault.
59917         (si_addr_lsb): Define new macro.
59918         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59919         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59920         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59922 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59924         [BZ #15441]
59925         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59926         returns -1.
59927         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59928         null return -1.
59929         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59930         loading the domain.
59932 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59934         * math/gen-libm-test.pl (parse_args): Do not include expected
59935         result in test name.
59936         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59937         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59938         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59939         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59940         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59943 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59945         * benchtests/Makefile: Sort function entries.
59947         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59948         tanh, asinh, acosh, atanh.
59949         * benchtests/acos-inputs: New file.
59950         * benchtests/acosh-inputs: New file.
59951         * benchtests/asin-inputs: New file.
59952         * benchtests/asinh-inputs: New file.
59953         * benchtests/atanh-inputs: New file.
59954         * benchtests/cosh-inputs: New file.
59955         * benchtests/log-inputs: New file.
59956         * benchtests/sinh-inputs: New file.
59957         * benchtests/tanh-inputs: New file.
59959 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59961         [BZ #15339]
59962         * posix/tst-getaddrinfo4.c: New test.
59963         * posix/Makefile (tests): Add it.
59965 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59967         [BZ #15339]
59968         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59969         when no services were used.
59970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59971         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59973 2013-05-21  Andreas Schwab  <schwab@suse.de>
59975         [BZ #15014]
59976         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59977         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59978         successful.
59979         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59980         redundant variable declarations and reallocation of buffer when
59981         parsing as IPv6 address.  Always set NSS status when called from
59982         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59983         buffer too small.  Correct computation of needed size.
59984         * nss/Makefile (tests): Add test-digits-dots.
59985         * nss/test-digits-dots.c: New test.
59987 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59989         * benchtests/Makefile: Remove instructions for adding
59990         benchmark tests.
59991         * benchtests/README: New file to explain how to execute and
59992         enhance the benchmark tests.
59994 2013-05-21  Andreas Schwab  <schwab@suse.de>
59996         [BZ #15493]
59997         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59998         * setjmp/tst-sigsetjmp.c: New test.
60000 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60002         * sysdeps/x86_64/memset.S (memset): New implementation.
60003         (__bzero): Likewise.
60004         (__memset_tail): New function.
60006 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60008         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60009         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60010         __memcpy_sse2_unaligned ifunc selection.
60011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60012         Add memcpy-sse2-unaligned.S.
60013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60014         Add: __memcpy_sse2_unaligned.
60016 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60018         [BZ #15490]
60019         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60020         math_force_eval before restoring floating-point envrionment.
60021         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60022         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60023         Likewise.
60024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60025         <math_private.h>.
60026         (__nearbyintl): Use math_force_eval before restoring
60027         floating-point environment.
60028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60030         * math/gen-libm-test.pl (special_functions): Remove.
60031         (parse_args): Don't handle TEST_extra.  Handle functions with no
60032         return value.
60033         * math/libm-test.inc (struct test_sincos_data): Replace with
60034         struct test_fFF_11_data.
60035         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60036         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60037         (sincos_test_data): Change element type to struct
60038         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60039         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60040         RUN_TEST_LOOP_sincos.
60041         * math/README.libm-test: Don't mention special handling of
60042         individual functions.
60043         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60045         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60047         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60050         * math/gen-libm-test.pl (get_variable): Remove function.
60051         (parse_args): Don't show pointer parameters to call in test
60052         names.  Use "extra output N" in test names for extra outputs
60053         rather than naming variables.
60055 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60057         [BZ #15488]
60058         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60059         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60060         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60061         double tests.
60062         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60063         disable.
60064         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60065         check_long_double.
60067         * math/gen-libm-test.pl (@tests): Remove variable.
60068         ($count): Likewise.
60069         (new_test): Remove function.
60070         (show_exceptions): New function.
60071         (special_functions): Use show_exceptions instead of new_test.
60072         (parse_args): Likewise.
60073         (generate_testfile): Pass only function name in generated call to
60074         print_max_error or print_complex_max_error.
60075         (get_ulps): Do not handle complex tests specially.
60076         (output_test): Rename to ...
60077         (get_all_ulps_for_test): ... this.  Return a string rather than
60078         printing to a file.  Require ulps to be present.
60079         (output_ulps): Generate arrays rather than #defines.
60080         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60081         (struct ulp_data): New type.
60082         (BUILD_COMPLEX_ULP): Remove macro.
60083         (compare_ulp_data): New function.
60084         (find_ulps): Likewise.
60085         (find_test_ulps): Likewise.
60086         (find_function_ulps): Likewise.
60087         (find_complex_function_ulps): Likewise.
60088         (print_max_error): Determine allowed ulps using
60089         find_function_ulps.
60090         (print_complex_max_error): Determine allowed ulps using
60091         find_complex_function_ulps.
60092         (check_float_internal): Determine max ulps using find_test_ulps.
60093         (check_float): Do not take max_ulp parameter.  Update call to
60094         check_float_internal.
60095         (check_complex): Likewise.
60096         (check_int): Do not take max_ulp parameter.
60097         (check_long): Likewise.
60098         (check_bool): Likewise.
60099         (check_longlong): Likewise.
60100         (struct test_f_f_data): Remove max_ulp field.
60101         (struct test_ff_f_data): Likewise.
60102         (struct test_ff_f_data_nexttoward): Likewise.
60103         (struct test_fi_f_data): Likewise.
60104         (struct test_fl_f_data): Likewise.
60105         (struct test_if_f_data): Likewise.
60106         (struct test_fff_f_data): Likewise.
60107         (struct test_c_f_data): Likewise.
60108         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60109         (struct test_fF_f1_data): Likewise.
60110         (struct test_ffI_f1_data): Likewise.
60111         (struct test_c_c_data): Remove max_ulp field.
60112         (struct test_cc_c_data): Likewise.
60113         (struct test_f_i_data): Likewise.
60114         (struct test_ff_i_data): Likewise.
60115         (struct test_f_l_data): Likewise.
60116         (struct test_f_L_data): Likewise.
60117         (struct test_sincos_data): Likewise.
60118         (RUN_TEST_f_f): Do not handle ulps.
60119         (RUN_TEST_LOOP_f_f): Likewise.
60120         (RUN_TEST_2_f): Likewise.
60121         (RUN_TEST_LOOP_2_f): Likewise.
60122         (RUN_TEST_fff_f): Likewise.
60123         (RUN_TEST_LOOP_fff_f): Likewise.
60124         (RUN_TEST_c_f): Likewise.
60125         (RUN_TEST_LOOP_c_f): Likewise.
60126         (RUN_TEST_f_f1): Likewise.
60127         (RUN_TEST_LOOP_f_f1): Likewise.
60128         (RUN_TEST_fF_f1): Likewise.
60129         (RUN_TEST_LOOP_fF_f1): Likewise.
60130         (RUN_TEST_fI_f1): Likewise.
60131         (RUN_TEST_LOOP_fI_f1): Likewise.
60132         (RUN_TEST_ffI_f1): Likewise.
60133         (RUN_TEST_LOOP_ffI_f1): Likewise.
60134         (RUN_TEST_c_c): Likewise.
60135         (RUN_TEST_LOOP_c_c): Likewise.
60136         (RUN_TEST_cc_c): Likewise.
60137         (RUN_TEST_LOOP_cc_c): Likewise.
60138         (RUN_TEST_f_i): Likewise.
60139         (RUN_TEST_LOOP_f_i): Likewise.
60140         (RUN_TEST_f_i_tg): Likewise.
60141         (RUN_TEST_LOOP_f_i_tg): Likewise.
60142         (RUN_TEST_ff_i_tg): Likewise.
60143         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60144         (RUN_TEST_f_b): Likewise.
60145         (RUN_TEST_LOOP_f_b): Likewise.
60146         (RUN_TEST_f_b_tg): Likewise.
60147         (RUN_TEST_LOOP_f_b_tg): Likewise.
60148         (RUN_TEST_f_l): Likewise.
60149         (RUN_TEST_LOOP_f_l): Likewise.
60150         (RUN_TEST_f_L): Likewise.
60151         (RUN_TEST_LOOP_f_L): Likewise.
60152         (RUN_TEST_sincos): Likewise.
60153         (RUN_TEST_LOOP_sincos): Likewise.
60155 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60157         [BZ #15480]
60158         [BZ #15485]
60159         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60160         main case of finite arguments, set rounding mode to FE_TONEAREST
60161         and discard exceptions.
60162         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60163         exceptions.
60164         (remainder_tonearest_test_data): New variable.
60165         (remainder_test_tonearest): New function.
60166         (remainder_towardzero_test_data): New variable.
60167         (remainder_test_towardzero): New function.
60168         (remainder_downward_test_data): New variable.
60169         (remainder_test_downward): New function.
60170         (remainder_upward_test_data): New variable.
60171         (remainder_test_upward): New function.
60172         (main): Call the new test functions.
60174         * math/libm-test.inc (struct test_f_f1_data): Remove field
60175         extra_init.
60176         (struct test_fF_f1_data): Likewise.
60177         (struct test_ffI_f1_data): Likewise.
60178         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60179         based on value of EXTRA_EXPECTED.
60180         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60181         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60182         EXTRA_VAR based on value of EXTRA_EXPECTED.
60183         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60184         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60185         EXTRA_VAR based on value of EXTRA_EXPECTED.
60186         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60187         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60188         EXTRA_VAR based on value of EXTRA_EXPECTED.
60189         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60190         * math/gen-libm-test.pl (parse_args): Don't output initializers
60191         for extra output values.
60193         * math/libm-test.inc (check_int): Expect result to be exactly
60194         equal to expected value and do not handle ulps.
60195         (check_long): Likewise.
60196         (check_longlong): Likewise.
60198         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60199         exceptions.
60200         (cimag_test_data): Likewise.
60201         (conj_test_data): Likewise.
60202         (copysign_test_data): Likewise.
60203         (cproj_test_data): Likewise.
60204         (creal_test_data): Likewise.
60205         (fabs_test_data): Likewise.
60206         (fdim_test_data): Likewise.
60207         (finite_test_data): Likewise.
60208         (floor_test_data): Likewise.
60209         (fmax_test_data): Likewise.
60210         (fmin_test_data): Likewise.
60211         (fmod_test_data): Likewise.
60212         (fpclassify_test_data): Likewise.
60213         (frexp_test_data): Likewise.
60214         (ilogb_test_data): Likewise.
60215         (isfinite_test_data): Likewise.
60216         (isgreater_test_data): Likewise.
60217         (isgreaterequal_test_data): Likewise.
60218         (isinf_test_data): Likewise.
60219         (isless_test_data): Likewise.
60220         (islessequal_test_data): Likewise.
60221         (islessgreater_test_data): Likewise.
60222         (isnan_test_data): Likewise.
60223         (isnormal_test_data): Likewise.
60224         (issignaling_test_data): Likewise.
60225         (isunordered_test_data): Likewise.
60226         (ldexp_test_data): Likewise.
60227         (lrint_test_data): Likewise.
60228         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60229         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60230         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60231         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60232         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60233         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60234         test input.
60235         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60236         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60237         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60238         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60239         that test input.
60240         (lrint_downward_test_data): Test for "inexact" exceptions.
60241         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60242         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60243         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60244         test input.
60245         (lrint_upward_test_data): Test for "inexact" exceptions.
60246         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60247         test input.
60248         (llrint_test_data): Test for "inexact" exceptions.
60249         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60250         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60251         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60252         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60253         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60254         (llrint_downward_test_data): Test for "inexact" exceptions.
60255         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60256         (llrint_upward_test_data): Test for "inexact" exceptions.
60257         (logb_test_data): Likewise.
60258         (logb_downward_test_data): Likewise.
60259         (nextafter_test_data): Likewise.
60260         (nexttoward_test_data): Likewise.
60261         (remainder_test_data): Likewise.
60262         (remquo_test_data): Likewise.
60263         (scalbn_test_data): Likewise.
60264         (scalbln_test_data): Likewise.
60265         (signbit_test_data): Likewise.
60266         (sqrt_test_data): Likewise.
60267         (significand_test_data): Likewise.
60269 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60271         [BZ #15424]
60272         * benchtests/bench-modf.c (struct args): Mark arg0 as
60273         volatile.
60274         * scripts/bench.pl: Mark members of struct args as volatile.
60276 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60278         [BZ # 15497]
60279         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60280         negative infinity on POWER6 or lower.
60281         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60283 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60285         [BZ #15442]
60286         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60287         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60288         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60289         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60290         (_FP_SETQNAN): New macro.
60291         (_FP_SETQNAN_SEMIRAW): Likewise.
60292         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60293         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60294         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60295         (FP_EXTEND): Use _FP_FRAC_SNANP.
60296         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60297         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60298         into account.
60299         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60300         New macro.
60301         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60302         Likewise.
60304 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60306         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60307         with DIVIDE_BY_ZERO_EXCEPTION.
60308         (gamma_test_data): Likewise.
60309         (lgamma_test_data): Likewise.
60310         (log_test_data): Likewise.
60311         (log10_test_data): Likewise.
60312         (log2_test_data): Likewise.
60313         (tgamma_test_data): Likewise.
60315         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60316         (acos_test_tonearest): Likewise.
60317         (acos_test_towardzero): Likewise.
60318         (acos_test_downward): Likewise.
60319         (acos_test_upward): Likewise.
60320         (acosh_test): Likewise.
60321         (asin_test): Likewise.
60322         (asin_test_tonearest): Likewise.
60323         (asin_test_towardzero): Likewise.
60324         (asin_test_downward): Likewise.
60325         (asin_test_upward): Likewise.
60326         (asinh_test): Likewise.
60327         (atan_test): Likewise.
60328         (atanh_test): Likewise.
60329         (atan2_test): Likewise.
60330         (cabs_test): Likewise.
60331         (cacos_test): Likewise.
60332         (cacosh_test): Likewise.
60333         (casin_test): Likewise.
60334         (casinh_test): Likewise.
60335         (catan_test): Likewise.
60336         (catanh_test): Likewise.
60337         (cbrt_test): Likewise.
60338         (ccos_test): Likewise.
60339         (ccosh_test): Likewise.
60340         (cexp_test): Likewise.
60341         (clog_test): Likewise.
60342         (clog10_test): Likewise.
60343         (cos_test): Likewise.
60344         (cos_test_tonearest): Likewise.
60345         (cos_test_towardzero): Likewise.
60346         (cos_test_downward): Likewise.
60347         (cos_test_upward): Likewise.
60348         (cosh_test): Likewise.
60349         (cosh_test_tonearest): Likewise.
60350         (cosh_test_towardzero): Likewise.
60351         (cosh_test_downward): Likewise.
60352         (cosh_test_upward): Likewise.
60353         (cpow_test): Likewise.
60354         (csin_test): Likewise.
60355         (csinh_test): Likewise.
60356         (csqrt_test): Likewise.
60357         (ctan_test): Likewise.
60358         (ctan_test_tonearest): Likewise.
60359         (ctan_test_towardzero): Likewise.
60360         (ctan_test_downward): Likewise.
60361         (ctan_test_upward): Likewise.
60362         (ctanh_test): Likewise.
60363         (ctanh_test_tonearest): Likewise.
60364         (ctanh_test_towardzero): Likewise.
60365         (ctanh_test_downward): Likewise.
60366         (ctanh_test_upward): Likewise.
60367         (erf_test): Likewise.
60368         (erfc_test): Likewise.
60369         (exp_test): Likewise.
60370         (exp_test_tonearest): Likewise.
60371         (exp_test_towardzero): Likewise.
60372         (exp_test_downward): Likewise.
60373         (exp_test_upward): Likewise.
60374         (exp10_test): Likewise.
60375         (exp2_test): Likewise.
60376         (expm1_test): Likewise.
60377         (fmod_test): Likewise.
60378         (gamma_test): Likewise.
60379         (hypot_test): Likewise.
60380         (j0_test): Likewise.
60381         (j1_test): Likewise.
60382         (jn_test): Likewise.
60383         (lgamma_test): Likewise.
60384         (log_test): Likewise.
60385         (log10_test): Likewise.
60386         (log1p_test): Likewise.
60387         (log2_test): Likewise.
60388         (logb_test_downward): Likewise.
60389         (pow_test): Likewise.
60390         (pow_test_tonearest): Likewise.
60391         (pow_test_towardzero): Likewise.
60392         (pow_test_downward): Likewise.
60393         (pow_test_upward): Likewise.
60394         (remainder_test): Likewise.
60395         (remquo_test): Likewise.
60396         (sin_test): Likewise.
60397         (sin_test_tonearest): Likewise.
60398         (sin_test_towardzero): Likewise.
60399         (sin_test_downward): Likewise.
60400         (sin_test_upward): Likewise.
60401         (sincos_test): Likewise.
60402         (sinh_test): Likewise.
60403         (sinh_test_tonearest): Likewise.
60404         (sinh_test_towardzero): Likewise.
60405         (sinh_test_downward): Likewise.
60406         (sinh_test_upward): Likewise.
60407         (sqrt_test): Likewise.
60408         (tan_test): Likewise.
60409         (tan_test_tonearest): Likewise.
60410         (tan_test_towardzero): Likewise.
60411         (tan_test_downward): Likewise.
60412         (tan_test_upward): Likewise.
60413         (tanh_test): Likewise.
60414         (tgamma_test): Likewise.
60415         (y0_test): Likewise.
60416         (y1_test): Likewise.
60417         (yn_test): Likewise.
60419         * math/gen-libm-test.pl (adjust_arg): Remove function.
60420         (special_function): Remove argument $in_func.  Only handle
60421         generating output for tables of tests, not inside functions.
60422         (parse_args): Likewise.
60423         (generate_testfile): Remove variable $in_func.  Update call to
60424         parse_args.
60425         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60426         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60427         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60428         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60429         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60430         (MAX_VALUE_INIT): Rename macro to max_value.
60431         (MIN_VALUE_INIT): Rename macro to min_value.
60432         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60433         (plus_zero): Remove variable.
60434         (minus_zero): Likewise.
60435         (plus_infty): Likewise.
60436         (minus_infty): Likewise.
60437         (qnan_value): Likewise.
60438         (max_value): Likewise.
60439         (min_value): Likewise.
60440         (min_subnorm_value): Likewise.
60442 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60444         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60445         uint64_t or uint32_t usage.
60446         * crypt/sha256-block.c: Likewise.
60447         * crypt/sha256-crypt.c: Likewise.
60448         * crypt/sha256.c: Likewise.
60449         * crypt/sha512-block.c: Likewise.
60450         * crypt/sha512-crypt.c: Likewise.
60451         * crypt/sha512.c: Likewise.
60452         * debug/backtrace-tst.c: Likewise.
60453         * debug/pcprofiledump.c: Likewise.
60454         * elf/cache.c: Likewise.
60455         * elf/dl-cache.c: Likewise.
60456         * elf/dl-misc.c: Likewise.
60457         * elf/dl-profile.c: Likewise.
60458         * elf/dl-support.c: Likewise.
60459         * elf/ldconfig.c: Likewise.
60460         * elf/sprof.c: Likewise.
60461         * iconv/dummy-repertoire.c: Likewise.
60462         * iconv/iconv_charmap.c: Likewise.
60463         * iconv/skeleton.c: Likewise.
60464         * iconvdata/8bit-generic.c: Likewise.
60465         * iconvdata/cp737.h: Likewise.
60466         * iconvdata/cp775.h: Likewise.
60467         * iconvdata/ibm1008.h: Likewise.
60468         * iconvdata/ibm1025.h: Likewise.
60469         * iconvdata/ibm1046.h: Likewise.
60470         * iconvdata/ibm1097.h: Likewise.
60471         * iconvdata/ibm1112.h: Likewise.
60472         * iconvdata/ibm1122.h: Likewise.
60473         * iconvdata/ibm1123.h: Likewise.
60474         * iconvdata/ibm1124.h: Likewise.
60475         * iconvdata/ibm1129.h: Likewise.
60476         * iconvdata/ibm1130.h: Likewise.
60477         * iconvdata/ibm1132.h: Likewise.
60478         * iconvdata/ibm1133.h: Likewise.
60479         * iconvdata/ibm1137.h: Likewise.
60480         * iconvdata/ibm1140.h: Likewise.
60481         * iconvdata/ibm1141.h: Likewise.
60482         * iconvdata/ibm1142.h: Likewise.
60483         * iconvdata/ibm1143.h: Likewise.
60484         * iconvdata/ibm1144.h: Likewise.
60485         * iconvdata/ibm1145.h: Likewise.
60486         * iconvdata/ibm1146.h: Likewise.
60487         * iconvdata/ibm1147.h: Likewise.
60488         * iconvdata/ibm1148.h: Likewise.
60489         * iconvdata/ibm1149.h: Likewise.
60490         * iconvdata/ibm1153.h: Likewise.
60491         * iconvdata/ibm1154.h: Likewise.
60492         * iconvdata/ibm1155.h: Likewise.
60493         * iconvdata/ibm1156.h: Likewise.
60494         * iconvdata/ibm1157.h: Likewise.
60495         * iconvdata/ibm1158.h: Likewise.
60496         * iconvdata/ibm1160.h: Likewise.
60497         * iconvdata/ibm1161.h: Likewise.
60498         * iconvdata/ibm1162.h: Likewise.
60499         * iconvdata/ibm1163.h: Likewise.
60500         * iconvdata/ibm1164.h: Likewise.
60501         * iconvdata/ibm1166.h: Likewise.
60502         * iconvdata/ibm1167.h: Likewise.
60503         * iconvdata/ibm12712.h: Likewise.
60504         * iconvdata/ibm1390.h: Likewise.
60505         * iconvdata/ibm1399.h: Likewise.
60506         * iconvdata/ibm16804.h: Likewise.
60507         * iconvdata/ibm4517.h: Likewise.
60508         * iconvdata/ibm4899.h: Likewise.
60509         * iconvdata/ibm4909.h: Likewise.
60510         * iconvdata/ibm4971.h: Likewise.
60511         * iconvdata/ibm5347.h: Likewise.
60512         * iconvdata/ibm803.h: Likewise.
60513         * iconvdata/ibm856.h: Likewise.
60514         * iconvdata/ibm901.h: Likewise.
60515         * iconvdata/ibm902.h: Likewise.
60516         * iconvdata/ibm9030.h: Likewise.
60517         * iconvdata/ibm9066.h: Likewise.
60518         * iconvdata/ibm921.h: Likewise.
60519         * iconvdata/ibm922.h: Likewise.
60520         * iconvdata/ibm9448.h: Likewise.
60521         * iconvdata/isiri-3342.h: Likewise.
60522         * iconvdata/jis0201.h: Likewise.
60523         * include/link.h: Likewise.
60524         * include/netdb.h: Likewise.
60525         * inet/check_native.c: Likewise.
60526         * inet/check_pf.c: Likewise.
60527         * inet/getipv4sourcefilter.c: Likewise.
60528         * inet/getnameinfo.c: Likewise.
60529         * inet/getsourcefilter.c: Likewise.
60530         * inet/htonl.c: Likewise.
60531         * inet/setipv4sourcefilter.c: Likewise.
60532         * inet/setsourcefilter.c: Likewise.
60533         * inet/test-inet6_opt.c: Likewise.
60534         * inet/tst-network.c: Likewise.
60535         * locale/C-collate.c: Likewise.
60536         * locale/C-ctype.c: Likewise.
60537         * locale/C-time.c: Likewise.
60538         * locale/C-translit.h: Likewise.
60539         * locale/loadarchive.c: Likewise.
60540         * locale/programs/3level.h: Likewise.
60541         * locale/programs/charmap.c: Likewise.
60542         * locale/programs/charmap.h: Likewise.
60543         * locale/programs/ld-address.c: Likewise.
60544         * locale/programs/ld-collate.c: Likewise.
60545         * locale/programs/ld-ctype.c: Likewise.
60546         * locale/programs/ld-identification.c: Likewise.
60547         * locale/programs/ld-measurement.c: Likewise.
60548         * locale/programs/ld-messages.c: Likewise.
60549         * locale/programs/ld-monetary.c: Likewise.
60550         * locale/programs/ld-name.c: Likewise.
60551         * locale/programs/ld-numeric.c: Likewise.
60552         * locale/programs/ld-paper.c: Likewise.
60553         * locale/programs/ld-telephone.c: Likewise.
60554         * locale/programs/ld-time.c: Likewise.
60555         * locale/programs/linereader.c: Likewise.
60556         * locale/programs/locale.c: Likewise.
60557         * locale/programs/locarchive.c: Likewise.
60558         * locale/programs/locfile.h: Likewise.
60559         * locale/programs/repertoire.c: Likewise.
60560         * locale/programs/simple-hash.c: Likewise.
60561         * locale/programs/simple-hash.h: Likewise.
60562         * malloc/memusage.c: Likewise.
60563         * malloc/memusagestat.c: Likewise.
60564         * nis/nis_defaults.c: Likewise.
60565         * nis/nis_hash.c: Likewise.
60566         * nis/nis_print.c: Likewise.
60567         * nis/nis_xdr.c: Likewise.
60568         * nscd/connections.c: Likewise.
60569         * nscd/hstcache.c: Likewise.
60570         * nscd/nscd_gethst_r.c: Likewise.
60571         * nscd/nscd_getserv_r.c: Likewise.
60572         * nscd/nscd_helper.c: Likewise.
60573         * nscd/servicescache.c: Likewise.
60574         * nss/makedb.c: Likewise.
60575         * nss/nss_db/db-XXX.c: Likewise.
60576         * nss/nss_db/db-initgroups.c: Likewise.
60577         * nss/nss_db/db-netgrp.c: Likewise.
60578         * nss/nss_files/files-network.c: Likewise.
60579         * nss/nss_files/files-parse.c: Likewise.
60580         * posix/bug-regex5.c: Likewise.
60581         * posix/fnmatch_loop.c: Likewise.
60582         * posix/regcomp.c: Likewise.
60583         * posix/regexec.c: Likewise.
60584         * posix/tst-rfc3484-2.c: Likewise.
60585         * posix/tst-rfc3484-3.c: Likewise.
60586         * posix/tst-rfc3484.c: Likewise.
60587         * resolv/nss_dns/dns-canon.c: Likewise.
60588         * resolv/nss_dns/dns-network.c: Likewise.
60589         * resolv/res_init.c: Likewise.
60590         * resolv/res_mkquery.c: Likewise.
60591         * resolv/tst-aton.c: Likewise.
60592         * stdlib/cxa_atexit.c: Likewise.
60593         * stdlib/cxa_finalize.c: Likewise.
60594         * stdlib/gen-fpioconst.c: Likewise.
60595         * stdlib/strtol_l.c: Likewise.
60596         * string/tst-endian.c: Likewise.
60597         * sunrpc/auth_des.c: Likewise.
60598         * sunrpc/clnt_udp.c: Likewise.
60599         * sunrpc/rtime.c: Likewise.
60600         * sunrpc/svcauth_des.c: Likewise.
60601         * sunrpc/xdr.c: Likewise.
60602         * sunrpc/xdr_intXX_t.c: Likewise.
60603         * sunrpc/xdr_rec.c: Likewise.
60604         * sysdeps/generic/ldconfig.h: Likewise.
60605         * sysdeps/generic/ldsodefs.h: Likewise.
60606         * sysdeps/generic/memusage.h: Likewise.
60607         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60609         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60613         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60617         * sysdeps/posix/getaddrinfo.c: Likewise.
60618         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60619         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60620         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60621         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60622         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60623         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60624         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60625         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60626         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60627         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60628         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60629         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60630         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60631         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60632         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60633         * sysdeps/x86_64/dl-tls.h: Likewise.
60634         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60635         * time/alt_digit.c: Likewise.
60636         * time/era.c: Likewise.
60637         * wcsmbs/tst-c16c32-1.c: Likewise.
60639 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60641         * math/libm-test.inc (struct test_sincos_data): New type.
60642         (RUN_TEST_LOOP_sincos): New macro.
60643         (sincos_test_data): New variable.
60644         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60646 2013-05-16  Richard Henderson  <rth@redhat.com>
60648         * math/atest-exp2.c (LIMB64): New macro.
60649         (CONSTSZ): New macro.
60650         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60651         (hexdig): Move ...
60652         (print_mpn_fp): ... to function scope.
60653         (read_mpn_hex): Remove.
60654         (get_log2): Remove.
60655         (exp2_mpn): Use mp_log2.
60656         (main): Use mp_exp1.
60658 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60660         * math/libm-test.inc: Remove comment about not testing "inexact"
60661         exceptions.
60662         (INEXACT_EXCEPTION): New macro.
60663         (NO_INEXACT_EXCEPTION): Likewise.
60664         (INVALID_EXCEPTION_OK): Update value.
60665         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60666         (OVERFLOW_EXCEPTION_OK): Likewise.
60667         (UNDERFLOW_EXCEPTION_OK): Likewise.
60668         (IGNORE_ZERO_INF_SIGN): Likewise.
60669         (ERRNO_UNCHANGED): Likewise.
60670         (ERRNO_EDOM): Likewise.
60671         (ERRNO_ERANGE): Likewise.
60672         (test_exceptions): Handle testing "inexact" exceptions.
60673         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60674         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60675         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60676         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60677         INEXACT_EXCEPTION.
60678         (rint_towardzero_test_data): Likewise.
60679         (rint_downward_test_data): Likewise.
60680         (rint_upward_test_data): Likewise.
60682         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60683         with OVERFLOW_EXCEPTION.
60684         (exp10_test_data): Likewise.
60685         (exp2_test_data): Likewise.
60686         (expm1_test_data): Likewise.
60687         (lgamma_test_data): Likewise.
60688         (pow_test_data): Likewise.
60689         (tgamma_test_data): Likewise.
60690         (yn_test_data): Remove duplicate test of overflow.
60692         * math/libm-test.inc (struct test_cc_c_data): New type.
60693         (RUN_TEST_LOOP_cc_c): New macro.
60694         (cpow_test_data): New variable.
60695         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60697         * math/libm-test.inc (struct test_f_L_data): New type.
60698         (RUN_TEST_LOOP_f_L): New macro.
60699         (llrint_test_data): New variable.
60700         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60701         (llrint_tonearest_test_data): New variable.
60702         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60703         (llrint_towardzero_test_data): New variable.
60704         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60705         (llrint_downward_test_data): New variable.
60706         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60707         (llrint_upward_test_data): New variable.
60708         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60709         (llround_test_data): New variable.
60710         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60712 2013-05-13  Peter Collingbourne  <pcc@google.com>
60714         * math/atest-exp2.c (get_log2): Remove const attribute.
60716 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60718         * math/libm-test.inc (struct test_f_l_data): New type.
60719         (RUN_TEST_LOOP_f_l): New macro.
60720         (lrint_test_data): New variable.
60721         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60722         (lrint_tonearest_test_data): New variable.
60723         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60724         (lrint_towardzero_test_data): New variable.
60725         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60726         (lrint_downward_test_data): New variable.
60727         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60728         (lrint_upward_test_data): New variable.
60729         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60730         (lround_test_data): New variable.
60731         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60733 2013-05-15  Peter Collingbourne  <pcc@google.com>
60735         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60736         (EXTRACT_WORDS64) Use where appropriate.
60737         (INSERT_WORDS64) Likewise.
60739         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60740         constraints with x constraints.
60741         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60743         * malloc/obstack.c (_obstack_compat): Add initializer.
60745 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60747         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60748         si_trapno and add si_addr_lsb to _sifields.sigfault.
60749         (si_trapno): Remove macro.
60750         (si_addr_lsb): Define new macro.
60751         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60753 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60755         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60756         instead of TEST_f_l.
60757         (llrint_test_tonearest): Likewise.
60758         (llrint_test_towardzero): Likewise.
60759         (llrint_test_downward): Likewise.
60760         (llrint_test_upward): Likewise.
60761         (llround_test): Likewise.
60763         * math/libm-test.inc (struct test_f_i_data): Add comment.
60764         (RUN_TEST_LOOP_f_b): New macro.
60765         (RUN_TEST_LOOP_f_b_tg): Likewise.
60766         (finite_test_data): New variable.
60767         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60768         (isfinite_test_data): New variable.
60769         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60770         (isinf_test_data): New variable.
60771         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60772         (isnan_test_data): New variable.
60773         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60774         (isnormal_test_data): New variable.
60775         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60776         (issignaling_test_data): New variable.
60777         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60778         (signbit_test_data): New variable.
60779         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60781         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60782         with INVALID_EXCEPTION.
60783         (acosh_test_data): Likewise.
60784         (asin_test_data): Likewise.
60785         (atanh_test_data): Likewise.
60786         (fmod_test_data): Likewise.
60787         (log_test_data): Likewise.
60788         (log10_test_data): Likewise.
60789         (log2_test_data): Likewise.
60790         (pow_test_data): Likewise.
60791         (sqrt_test_data): Likewise.
60792         (y0_test_data): Likewise.
60793         (y1_test_data): Likewise.
60794         (yn_test_data): Likewise.
60796         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60797         function contents.
60799         * math/libm-test.inc (struct test_ff_i_data): New type.
60800         (RUN_TEST_LOOP_ff_i_tg): New macro.
60801         (isgreater_test_data): New variable.
60802         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60803         (isgreaterequal_test_data): New variable.
60804         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60805         (isless_test_data): New variable.
60806         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60807         (islessequal_test_data): New variable.
60808         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60809         (islessgreater_test_data): New variable.
60810         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60811         (isunordered_test_data): New variable.
60812         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60814 2013-05-14  David S. Miller  <davem@davemloft.net>
60816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60818 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60820         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60822         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60823         extra_test to int.
60824         (struct test_f_i_data): Change type of max_ulp to int.
60826         * math/libm-test.inc (test_ffI_f1_data): New type.
60827         (RUN_TEST_LOOP_ffI_f1): New macro.
60828         (remquo_test_data): New variable.
60829         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60831         * setjmp/tst-setjmp-fp.c: New file.
60832         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60833         (link-libm): New variable.
60834         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60836         * math/libm-test.inc (struct test_f_i_data): New type.
60837         (RUN_TEST_LOOP_f_i): New macro.
60838         (RUN_TEST_LOOP_f_i_tg): Likewise.
60839         (fpclassify_test_data): New variable.
60840         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60841         (ilogb_test_data): New variable.
60842         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60844         * math/libm-test.inc (scalbln_test): Correct function name in END
60845         call.
60847         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60848         (RUN_TEST_LOOP_fI_f1): New macro.
60849         (frexp_test_data): New variable.
60850         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60852         * math/libm-test.inc (struct test_fF_f1_data): New type.
60853         (RUN_TEST_LOOP_fF_f1): New macro.
60854         (modf_test_data): New variable.
60855         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60857         * math/libm-test.inc (struct test_f_f1_data): New type.
60858         (RUN_TEST_LOOP_f_f1): New macro.
60859         (gamma_test_data): New variable.
60860         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60861         (lgamma_test_data): New variable.
60862         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60864 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60866         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60867         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60868         (main): Comment "tls" pseudo-hwcap.
60870 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60872         * math/libm-test.inc (struct test_fl_f_data): New type.
60873         (RUN_TEST_LOOP_fl_f): New variable.
60874         (scalbln_test_data): New variable.
60875         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60877         * math/libm-test.inc (struct test_fi_f_data): New type.
60878         (RUN_TEST_LOOP_fi_f): New macro.
60879         (ldexp_test_data): New variable.
60880         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60881         (scalbn_test_data): New variable.
60882         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60884         * math/libm-test.inc (struct test_c_f_data): New type.
60885         (RUN_TEST_LOOP_c_f): New macro.
60886         (cabs_test_data): New variable.
60887         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60888         (carg_test_data): New variable.
60889         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60890         (cimag_test_data): New variable.
60891         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60892         (creal_test_data): New variable.
60893         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60895         * math/libm-test.inc (struct test_if_f_data): New type.
60896         (RUN_TEST_LOOP_if_f): New macro.
60897         (jn_test_data): New variable.
60898         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60899         (yn_test_data): New variable.
60900         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60902         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60904 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60906         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60907         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60909 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60911         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60912         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60913         (bench-deps): Add bench-timing.h.
60914         * benchtests-bench-skeleton.c: Include bench-timing.h.
60915         (main): Use TIMING_* macros instead of clock_gettime.
60916         * benchtests/bench-timing.h: New file.
60918         [BZ #14582]
60919         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60920         Renamed from _LIB_VERSION.
60921         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60923 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60925         * math/libm-test.inc (struct test_fff_f_data): New type.
60926         (RUN_TEST_LOOP_fff_f): New macro.
60927         (fma_test_data): New variable.
60928         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60929         (fma_towardzero_test_data): New variable.
60930         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60931         (fma_downward_test_data): New variable.
60932         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60933         (fma_upward_test_data): New variable.
60934         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60936         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60937         (struct test_c_c_data): New type.
60938         (RUN_TEST_LOOP_c_c): New macro.
60939         (cacos_test_data): New variable.
60940         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60941         (cacosh_test_data): New variable.
60942         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60943         (casin_test_data): New variable.
60944         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60945         (casinh_test_data): New variable.
60946         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60947         (catan_test_data): New variable.
60948         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60949         (catanh_test_data): New variable.
60950         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60951         (ccos_test_data): New variable.
60952         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60953         (ccosh_test_data): New variable.
60954         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60955         (cexp_test_data): New variable.
60956         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60957         (clog_test_data): New variable.
60958         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60959         (clog10_test_data): New variable.
60960         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60961         (conj_test_data): New variable.
60962         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60963         (cproj_test_data): New variable.
60964         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60965         (csin_test_data): New variable.
60966         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60967         (csinh_test_data): New variable.
60968         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60969         (csqrt_test_data): New variable.
60970         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60971         (ctan_test_data): New variable.
60972         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60973         (ctan_tonearest_test_data): New variable.
60974         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60975         (ctan_towardzero_test_data): New variable.
60976         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60977         (ctan_downward_test_data): New variable.
60978         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60979         (ctan_upward_test_data): New variable.
60980         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60981         (ctanh_test_data): New variable.
60982         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60983         (ctanh_tonearest_test_data): New variable.
60984         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60985         (ctanh_towardzero_test_data): New variable.
60986         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60987         (ctanh_downward_test_data): New variable.
60988         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60989         (ctanh_upward_test_data): New variable.
60990         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60991         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60992         of BUILD_COMPLEX.
60994         * math/libm-test.inc (struct test_ff_f_data): New type.
60995         (struct test_ff_f_data_nexttoward): Likewise.
60996         (RUN_TEST_LOOP_2_f): New macro.
60997         (RUN_TEST_LOOP_ff_f): Likewise.
60998         (atan2_test_data): New variable.
60999         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61000         (copysign_test_data): New variable.
61001         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61002         (fdim_test_data): New variable.
61003         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61004         (fmax_test_data): New variable.
61005         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61006         (fmin_test_data): New variable.
61007         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61008         (fmod_test_data): New variable.
61009         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61010         (hypot_test_data): New variable.
61011         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61012         (nextafter_test_data): New variable.
61013         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61014         (nexttoward_test_data): New variable.
61015         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61016         (pow_test_data): New variable.
61017         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61018         (pow_tonearest_test_data): New variable.
61019         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61020         (pow_towardzero_test_data): New variable.
61021         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61022         (pow_downward_test_data): New variable.
61023         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61024         (pow_upward_test_data): New variable.
61025         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61026         (remainder_test_data): New variable.
61027         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61028         (scalb_test_data): New variable.
61029         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61030         * sysdeps/i386/fpu/libm-test-ulps: Update.
61032 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61034         * math/libm-test.inc (fma_test): Use max_value instead of local
61035         variable fltmax.
61036         (nextafter_test): Likewise.
61038         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61039         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61040         (acos_downward_test_data): New variable.
61041         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61042         (acos_upward_test_data): New variable.
61043         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61044         (acosh_test_data): New variable.
61045         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61046         (asin_test_data): New variable.
61047         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61048         (asin_tonearest_test_data): New variable.
61049         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61050         (asin_towardzero_test_data): New variable.
61051         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61052         (asin_downward_test_data): New variable.
61053         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61054         (asin_upward_test_data): New variable.
61055         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61056         (asinh_test_data): New variable.
61057         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61058         (atan_test_data): New variable.
61059         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61060         (atanh_test_data): New variable.
61061         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61062         (cbrt_test_data): New variable.
61063         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61064         (ceil_test_data): New variable.
61065         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61066         (cos_test_data): New variable.
61067         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61068         (cos_tonearest_test_data): New variable.
61069         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61070         (cos_towardzero_test_data): New variable.
61071         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61072         (cos_downward_test_data): New variable.
61073         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61074         (cos_upward_test_data): New variable.
61075         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61076         (cosh_test_data): New variable.
61077         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61078         (cosh_tonearest_test_data): New variable.
61079         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61080         (cosh_towardzero_test_data): New variable.
61081         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61082         (cosh_downward_test_data): New variable.
61083         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61084         (cosh_upward_test_data): New variable.
61085         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61086         (erf_test_data): New variable.
61087         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61088         (erfc_test_data): New variable.
61089         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61090         (exp_test_data): New variable.
61091         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61092         (exp_tonearest_test_data): New variable.
61093         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61094         (exp_towardzero_test_data): New variable.
61095         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61096         (exp_downward_test_data): New variable.
61097         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61098         (exp_upward_test_data): New variable.
61099         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61100         (exp10_test_data): New variable.
61101         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61102         (exp2_test_data): New variable.
61103         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61104         (expm1_test_data): New variable.
61105         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61106         (fabs_test_data): New variable.
61107         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61108         (floor_test_data): New variable.
61109         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61110         (j0_test_data): New variable.
61111         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61112         (j1_test_data): New variable.
61113         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61114         (log_test_data): New variable.
61115         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61116         (log10_test_data): New variable.
61117         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61118         (log1p_test_data): New variable.
61119         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61120         (log2_test_data): New variable.
61121         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61122         (logb_test_data): New variable.
61123         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61124         (logb_downward_test_data): New variable.
61125         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61126         (nearbyint_test_data): New variable.
61127         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61128         (rint_test_data): New variable.
61129         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61130         (rint_tonearest_test_data): New variable.
61131         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61132         (rint_towardzero_test_data): New variable.
61133         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61134         (rint_downward_test_data): New variable.
61135         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61136         (rint_upward_test_data): New variable.
61137         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61138         (round_test_data): New variable.
61139         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61140         (sin_test_data): New variable.
61141         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61142         (sin_tonearest_test_data): New variable.
61143         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61144         (sin_towardzero_test_data): New variable.
61145         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61146         (sin_downward_test_data): New variable.
61147         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61148         (sin_upward_test_data): New variable.
61149         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61150         (sinh_test_data): New variable.
61151         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61152         (sinh_tonearest_test_data): New variable.
61153         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61154         (sinh_towardzero_test_data): New variable.
61155         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61156         (sinh_downward_test_data): New variable.
61157         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61158         (sinh_upward_test_data): New variable.
61159         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61160         (sqrt_test_data): New variable.
61161         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61162         (tan_test_data): New variable.
61163         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61164         (tan_tonearest_test_data): New variable.
61165         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61166         (tan_towardzero_test_data): New variable.
61167         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61168         (tan_downward_test_data): New variable.
61169         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61170         (tan_upward_test_data): New variable.
61171         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61172         (tanh_test_data): New variable.
61173         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61174         (tgamma_test_data): New variable.
61175         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61176         (trunc_test_data): New variable.
61177         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61178         (y0_test_data): New variable.
61179         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61180         (y1_test_data): New variable.
61181         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61182         (significand_test_data): New variable.
61183         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61185 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61187         [BZ #12387]
61188         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61190 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61192         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61194 2013-05-10  Andreas Jaeger  <aj@suse.de>
61196         [BZ #15448]
61197         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61198         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61200 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61202         * math/gen-libm-test.pl (adjust_arg): New function.
61203         (special_functions): Handle generating output in both functions
61204         and arrays.
61205         (parse_args): Likewise.
61206         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61207         $in_func argument to parse_args.
61208         * math/libm-test.inc (struct test_f_f_data): New type.
61209         (IF_ROUND_INIT_): New macro.
61210         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61211         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61212         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61213         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61214         (ROUND_RESTORE_): Likewise.
61215         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61216         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61217         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61218         (ROUND_RESTORE_FE_UPWARD): Likewise.
61219         (RUN_TEST_LOOP_f_f): New macro.
61220         (acos_test_data): New variable.
61221         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61222         (acos_tonearest_test_data): New variable.
61223         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61225 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61227         * benchtests/bench-skeleton.c (startup): Fix coding style.
61229 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61231         [BZ #6809]
61232         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61233         negative infinity argument.
61234         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61235         negative infinity argument.
61236         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61237         negative infinity argument.
61238         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61239         domain errors.
61241 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61243         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61244         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61245         * iconv/iconv_prog.c (main): Likewise.
61246         * locale/programs/charmap-dir.c (charmap_readdir)
61247         (fopen_uncompressed): Likewise.
61248         * locale/programs/locfile.c (siblings_uncached)
61249         (write_locale_data): Use lstat64 instead of lstat.
61250         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61251         stat.
61253 2013-05-10  Andreas Jaeger  <aj@suse.de>
61255         [BZ #15395]
61256         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61257         localization.
61258         Include <locale.h>.
61260 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61262         * elf/dl-close.c (_dl_close_worker): Add comments.
61264 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61266         [BZ #15359]
61267         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61268         high part of pi/2.
61269         (__ieee754_rem_pio2l): Update comments.
61271         [BZ #15429]
61272         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61273         high part of pi/2.
61274         (__ieee754_rem_pio2l): Update comments.
61276         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61277         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61279         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61280         M_PI_4l.
61282         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61283         (M_PI_34_LOG10El): Likewise.
61284         (M_PI2_LOG10El): Likewise.
61285         (M_PI4_LOG10El): Likewise.
61286         (M_PI_LOG10El): Likewise.
61288 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61292 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61294         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61295         (MINUS_ZERO_INIT): Likewise.
61296         (PLUS_INFTY_INIT): Likewise.
61297         (MINUS_INFTY_INIT): Likewise.
61298         (QNAN_VALUE_INIT): Likewise.
61299         (MAX_VALUE_INIT): Likewise.
61300         (MIN_VALUE_INIT): Likewise.
61301         (MIN_SUBNORM_VALUE_INIT): Likewise.
61302         (plus_zero): Initialize with PLUS_ZERO_INIT.
61303         (minus_zero): Initialize with MINUS_ZERO_INIT.
61304         (plus_infty): Initialize with PLUS_INFTY_INIT.
61305         (minus_infty): Initialize with MINUS_INFTY_INIT.
61306         (qnan_value): Initialize with QNAN_VALUE_INIT.
61307         (max_value): Initialize with MAX_VALUE_INIT.
61308         (min_value): Initialize with MIN_VALUE_INIT.
61309         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61311         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61312         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61313         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61314         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61316         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61317         (RUN_TEST_2_f): Likewise.
61318         (RUN_TEST_ff_f): Likewise.
61319         (RUN_TEST_fi_f): Likewise.
61320         (RUN_TEST_fl_f): Likewise.
61321         (RUN_TEST_fff_f): Likewise.
61322         (RUN_TEST_c_f): Likewise.
61323         (RUN_TEST_f_f1): Likewise.
61324         (RUN_TEST_fF_f1): Likewise.
61325         (RUN_TEST_fI_f1): Likewise.
61326         (RUN_TEST_ffI_f1): Likewise.
61327         (RUN_TEST_c_c): Likewise.
61328         (RUN_TEST_cc_c): Likewise.
61329         (RUN_TEST_f_i): Likewise.
61330         (RUN_TEST_f_i_tg): Likewise.
61331         (RUN_TEST_ff_i_tg): Likewise.
61332         (RUN_TEST_f_b): Likewise.
61333         (RUN_TEST_f_b_tg): Likewise.
61334         (RUN_TEST_f_l): Likewise.
61335         (RUN_TEST_f_L): Likewise.
61336         (RUN_TEST_sincos): Likewise.
61337         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61338         whether to show exceptions.  Do not include ");\n" in return
61339         value.
61340         (special_functions): Output call to RUN_TEST_sincos instead of
61341         check_float calls.  Update calls to new_test.
61342         (parse_args): Output call to single RUN_TEST_* macro instead of
61343         check_* calls and other assignments.  Update calls to new_test.
61345         [BZ #2546]
61346         [BZ #2560]
61347         [BZ #5159]
61348         [BZ #15426]
61349         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61350         input to result for tgamma overflow.
61351         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61352         (gamma_coeff): New variable.
61353         (NCOEFF): New macro.
61354         (gamma_positive): New function.
61355         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61356         underflow here.  Use gamma_positive instead of exp (lgamma) for
61357         other arguments.
61358         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61359         (gamma_coeff): New variable.
61360         (NCOEFF): New macro.
61361         (gammaf_positive): New function.
61362         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61363         underflow here.  Use gamma_positive instead of exp (lgamma) for
61364         other arguments.
61365         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61366         (gamma_coeff): New variable.
61367         (NCOEFF): New macro.
61368         (gammal_positive): New function.
61369         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61370         underflow here.  Use gamma_positive instead of exp (lgamma) for
61371         other arguments.
61372         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61373         (gamma_coeff): New variable.
61374         (NCOEFF): New macro.
61375         (gammal_positive): New function.
61376         (__ieee754_gammal_r): Handle positive infinity, overflow and
61377         underflow here.  Handle NaN the same as positive infinity.  Remove
61378         check x < 0xffffffff for negative integers.  Use gamma_positive
61379         instead of exp (lgamma) for other arguments.
61380         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61381         (gamma_coeff): New variable.
61382         (NCOEFF): New macro.
61383         (gammal_positive): New function.
61384         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61385         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61386         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61387         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61388         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61389         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61390         * sysdeps/generic/math_private.h (__gamma_productf): New
61391         prototype.
61392         (__gamma_product): Likewise.
61393         (__gamma_productl): Likewise.
61394         * math/Makefile (libm-calls): Add gamma_product.
61395         * math/libm-test.inc (tgamma_test): Add more tests.
61396         * sysdeps/i386/fpu/libm-test-ulps: Update.
61397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61399 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61401         * benchtests/bench-skeleton.c (main): Preheat CPU.
61403 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61405         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61407 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61409         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61410         and _dl_skip_args_internal.
61412 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61414         * manual/message.texi (Message Translation): Talk about users.
61415         Message to key mapping impacts design.
61417 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61419         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61421         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61423         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61424         * sysdeps/wordsize-64/glob64.c: ... here.
61426         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61427         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61428         New macros.
61430         * debug/getlogin_r_chk.c: Moved to ...
61431         * login/getlogin_r_chk.c: ... here.
61432         * debug/Makefile (routines): Move getlogin_r_chk to ...
61433         * login/Makefile (routines): ... here.
61434         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61435         * login/Versions (libc: GLIBC_2.4): ... here.
61437         * io/poll.c (__poll): Renamed from poll.
61438         Add libc_hidden_def.
61439         (poll): Define as weak alias.
61441         * debug/ptsname_r_chk.c: Moved to ...
61442         * login/ptsname_r_chk.c: ... here.
61443         * debug/Makefile (routines): Move ptsname_r_chk to ...
61444         * login/Makefile (routines): ... here.
61445         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61446         * login/Versions (libc: GLIBC_2.4): ... here.
61448         * posix/getlogin.c: Moved to ...
61449         * login/getlogin.c: ... here.
61450         * posix/getlogin_r.c: Moved to ...
61451         * login/getlogin_r.c: ... here.
61452         * posix/getlogin_r.c: Moved to ...
61453         * login/getlogin_r.c: ... here.
61454         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61455         * login/Makefile (routines): ... here.
61456         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61457         * login/Versions (libc: GLIBC_2.0): ... here.
61459         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61460         (setrlimit): Define as weak alias.
61462         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61463         Call __ names for open, ftruncate, and close.
61464         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61465         (truncate): Define as weak alias.
61467 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61469         * math/gen-libm-test.pl (parse_args): Initialize x before each
61470         test of frexp, modf and remquo.
61472         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61473         test signgam value.
61475 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61477         [BZ #15418]
61478         [BZ #15419]
61479         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61480         internal tests.
61481         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61483 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61485         * elf/dl-writev.h: New file.
61486         * elf/dl-misc.c: Include it.
61487         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61488         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61490 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61492         * math/libm-test.inc (noXFails): Remove variable.
61493         (noXPasses): Likewise.
61494         (BUILD_COMPLEX_INT): Remove macro.
61495         (print_screen): Remove xfail argument.
61496         (print_screen_max_error): Likewise.
61497         (update_stats): Likewise.
61498         (print_max_error): Likewise.  Update calls to other affected
61499         functions.
61500         (print_complex_max_error): Likewise.
61501         (test_single_exception): Update calls to print_screen.
61502         (test_single_errno): Likewise.
61503         (check_float_internal): Remove xfail argument.  Update calls to
61504         other affected functions.
61505         (check_float): Likewise.
61506         (check_complex): Likewise.
61507         (check_int): Likewise.
61508         (check_long): Likewise.
61509         (check_bool): Likewise.
61510         (check_longlong): Likewise.
61511         (main): Don't print noXFails and noXPasses.
61512         * math/gen-libm-test.pl (top level): Don't mention expected
61513         failure handling in comment.
61514         (new_test): Don't handle expected failures.
61515         (parse_args): Don't mention expected failure handling in comment.
61516         (generate_testfile): Don't handle expected failures.
61517         (parse_ulps): Likewise.
61518         (print_ulps_file): Likewise.
61519         (get_failure): Remove function.
61520         (output_test): Don't handle expected failures.
61521         * make/README.libm-test: Don't mention expected failure handling.
61523         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61524         (minus_zero): Likewise.
61525         (plus_infty): Likewise.
61526         (minus_infty): Likewise.
61527         (qnan_value): Likewise.
61528         (max_value): Likewise.
61529         (min_value): Likewise.
61530         (min_subnorm_value): Likewise.
61531         (initialize): Do not initialize those variables dynamically.
61533 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61535         * io/open.c (__open_2): Moved to ...
61536         * io/open_2.c: ... this new file.
61537         * io/open64.c (__open64_2): Moved to ...
61538         * io/open64_2.c: ... this new file.
61539         * io/openat.c (__openat_2): Moved to ...
61540         * io/openat_2.c: ... this new file.
61541         * io/openat64.c (__openat64_2): Moved to ...
61542         * io/openat64_2.c: ... this new file.
61543         * io/Makefile (routines): Add them.
61544         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61545         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61546         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61547         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61548         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61549         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61550         (__openat64): Add hidden_ver.
61551         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61552         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61554         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61555         Separately conditionalize setting of GLRO(dl_sysinfo) so
61556         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61557         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61559 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61561         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61562         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61563         definition.
61564         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61565         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61566         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61567         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61568         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61570 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61572         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61573         test signgam value.
61575         * math/libm-test.inc (hypot_test): Do not use
61576         IGNORE_ZERO_INF_SIGN.
61578 2013-05-03  Andreas Jaeger  <aj@suse.de>
61580         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61581         Linux 3.9.
61582         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61583         (PF_MAX): Adjust for VSOCK change.
61585 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61589 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61591         [BZ #15264]
61592         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61593         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61594         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61596 2013-05-02  David S. Miller  <davem@davemloft.net>
61598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61600 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61602         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61604 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61606         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61608 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61610         [BZ #14952]
61611         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61612         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61613         Use __attribute__ ((__gnu_inline__)).
61614         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61615         Don't use __attribute__ ((__gnu_inline__)).
61617 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61619         [BZ #15423]
61620         * math/s_catan.c (__catan): Handle small real or imaginary part of
61621         input specially to avoid spurious underflow.
61622         * math/s_catanf.c (__catanf): Likewise.
61623         * math/s_catanh.c (__catanh): Likewise.
61624         * math/s_catanhf.c (__catanhf): Likewise.
61625         * math/s_catanhl.c (__catanhl): Likewise.
61626         * math/s_catanl.c (__catanl): Likewise.
61627         * math/libm-test.inc (catan_test): Add more tests.
61628         (catanh_test): Likewise.
61629         * sysdeps/i386/fpu/libm-test-ulps: Update.
61630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61632 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61636 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61638         [BZ #15416]
61639         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61640         accurately for denominator in atan2.
61641         * math/s_catanf.c (__catanf): Likewise.
61642         * math/s_catanh.c (__catanh): Likewise.
61643         * math/s_catanhf.c (__catanhf): Likewise.
61644         * math/s_catanhl.c (__catanhl): Likewise.
61645         * math/s_catanl.c (__catanl): Likewise.
61646         * math/libm-test.inc (catan_test): Add more tests.
61647         (catanh_test): Likewise.
61648         * sysdeps/i386/fpu/libm-test-ulps: Update.
61649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61651 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61653         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61655         * benchtests/Makefile (bench): Remove slow benchmarks.
61656         * benchtests/atan-inputs: Add slow benchmark inputs.
61657         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61658         (BENCH_FUNC): Accept variant offset.
61659         (VARIANT): Define.
61660         * benchtests/bench-skeleton.c (main): Run benchmark for each
61661         variant.
61662         * benchtests/cos-inputs: Add slow benchmark inputs.
61663         * benchtests/exp-inputs: Likewise.
61664         * benchtests/pow-inputs: Likewise.
61665         * benchtests/sin-inputs: Likewise.
61666         * benchtests/slowatan-inputs: Remove.
61667         * benchtests/slowatan.c: Remove.
61668         * benchtests/slowcos-inputs: Remove.
61669         * benchtests/slowcos.c: Remove.
61670         * benchtests/slowexp-inputs: Remove.
61671         * benchtests/slowexp.c: Remove.
61672         * benchtests/slowpow-inputs: Remove.
61673         * benchtests/slowpow.c: Remove.
61674         * benchtests/slowsin-inputs: Remove.
61675         * benchtests/slowsin.c: Remove.
61676         * benchtests/slowtan-inputs: Remove.
61677         * benchtests/slowtan.c: Remove.
61678         * benchtests/tan-inputs: Add slow benchmark inputs.
61679         * scripts/bench.pl: Parse comments and directives.
61681         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61682         in CPPFLAGS.
61683         ($(objpfx)bench-%.c): Remove *-ITER.
61684         * benchtests/bench-modf.c: Remove definition of ITER.
61685         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61686         (main): Loop for DURATION seconds instead of fixed number of
61687         iterations.
61688         * scripts/bench.pl: Don't expect iterations in parameters.
61690 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61692         * io/fchdir.c (__fchdir): Renamed from fchdir.
61693         (fchdir): Define as weak alias.
61695 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61697         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61698         (ERRNO_EDOM): Likewise.
61699         (ERRNO_ERANGE): Likewise.
61700         (noErrnoTests): New variable.
61701         (init_max_error): Set errno to 0.
61702         (test_single_errno): New function.
61703         (test_errno): Likewise.
61704         (check_float_internal): Call test_errno.  Set errno to 0.
61705         (check_complex): Refer to errno tests in comment.
61706         (check_int): Call test_errno.  Set errno to 0.
61707         (check_long): Likewise.
61708         (check_bool): Likewise.
61709         (check_longlong): Likewise.
61710         (cos_test): Use ERRNO_* flags for errno tests instead of
61711         check_int.
61712         (expm1_test): Likewise.
61713         (fmod_test): Likewise.
61714         (ilogb_test): Likewise.
61715         (lgamma_test): Likewise.
61716         (pow_test): Likewise.
61717         (remainder_test): Likewise.
61718         (sin_test): Likewise.
61719         (tan_test): Likewise.
61720         (yn_test): Likewise.
61721         (initialize): Set errno to 0.
61722         (main): Print number of errno tests.
61723         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61725 2013-04-29  Andreas Jaeger  <aj@suse.de>
61727         [BZ #15084]
61728         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61729         and RES_USEVC.
61731         [BZ #15085]
61732         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61733         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61734         unimplemented.
61736         [BZ #15380]
61737         * stdlib/random.c (__initstate): Return NULL if
61738         __initstate fails.
61740         [BZ #15086]
61741         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61742         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61743         RES_SNGLKUPREOP.
61745 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61749 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61751         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61752         of individual tests.
61753         (casin_test): Likewise.
61754         (casinh_test): Likewise.
61756 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61758         [BZ #15409]
61759         * math/s_catan.c (__catan): Handle arguments with large real or
61760         imaginary part separately without squaring.
61761         * math/s_catanf.c (__catanf): Likewise.
61762         * math/s_catanh.c (__catanh): Likewise.
61763         * math/s_catanhf.c (__catanhf): Likewise.
61764         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61765         and redefine.
61766         (__catanhl): Handle arguments with large real or imaginary part
61767         separately without squaring.
61768         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61769         and redefine.
61770         (__catanl): Handle arguments with large real or imaginary part
61771         separately without squaring.
61772         * math/libm-test.inc (catan_test): Add more tests.
61773         (catanh_test): Likewise.
61774         * sysdeps/i386/fpu/libm-test-ulps: Update.
61775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61777 2013-04-27  Andreas Jaeger  <aj@suse.de>
61779         [BZ #15007]
61780         * stdlib/stdlib.h: Update guards for qecvt.
61781         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61782         <stdlib.h>.
61784 2013-04-27  Allan McRae  <allan@archlinux.org>
61786         * sysdeps/i386/fpu/libm-test-ulps: Update.
61788 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61790         [BZ #15406]
61791         * math/s_catan.c: Include <float.h>.
61792         (__catan): Ensure underflow exception occurs for underflowed
61793         result.
61794         * math/s_catanf.c: Include <float.h>.
61795         (__catanf): Ensure underflow exception occurs for underflowed
61796         result.
61797         * math/s_catanh.c: Include <float.h>.
61798         (__catanh): Ensure underflow exception occurs for underflowed
61799         result.
61800         * math/s_catanhf.c: Include <float.h>.
61801         (__catanhf): Ensure underflow exception occurs for underflowed
61802         result.
61803         * math/s_catanhl.c: Include <float.h>.
61804         (__catanhl): Ensure underflow exception occurs for underflowed
61805         result.
61806         * math/s_catanl.c: Include <float.h>.
61807         (__catanl): Ensure underflow exception occurs for underflowed
61808         result.
61809         * math/libm-test.inc (catan_test): Add more tests.
61810         (catanh_test): Likewise.
61812         [BZ #15405]
61813         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61814         underflowed result.
61815         * math/s_ccoshf.c (__ccoshf): Likewise.
61816         * math/s_ccoshl.c (__ccoshl): Likewise.
61817         * math/s_csin.c (__csin): Likewise.
61818         * math/s_csinf.c (__csinf): Likewise.
61819         * math/s_csinh.c (__csinh): Likewise.
61820         * math/s_csinhf.c (__csinhf): Likewise.
61821         * math/s_csinhl.c (__csinhl): Likewise.
61822         * math/s_csinl.c (__csinl): Likewise.
61823         * math/libm-test.inc (ccos_test): Add more tests.
61824         (ccosh_test): Likewise.
61825         (csin_test): Likewise.
61826         (csinh_test): Likewise.
61828 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61830         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61831         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61832         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61833         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61834         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61835         powerpc/power5+/fpu folders.
61836         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61839 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61843 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61845         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61846         additions to variable.
61847         [$(config-machine) = x86_64] (modules-names): Likewise.
61848         ($(objpfx)tst-audit3): Remove dependency.
61849         ($(objpfx)tst-audit3.out): Likewise.
61850         ($(objpfx)tst-audit4): Likewise.
61851         ($(objpfx)tst-audit4.out): Likewise.
61852         ($(objpfx)tst-audit5): Likewise.
61853         ($(objpfx)tst-audit5.out): Likewise.
61854         ($(objpfx)tst-audit6): Likewise.
61855         ($(objpfx)tst-audit6.out): Likewise.
61856         ($(objpfx)tst-audit7): Likewise.
61857         ($(objpfx)tst-audit7.out): Likewise.
61858         (tst-audit3-ENV): Remove variable.
61859         (tst-audit4-ENV): Likewise.
61860         (tst-audit5-ENV): Likewise.
61861         (tst-audit6-ENV): Likewise.
61862         (tst-audit7-ENV): Likewise.
61863         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61864         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61865         addition to variable.
61866         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61867         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61868         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61869         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61870         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61871         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61872         tst-audit3, tst-audit4 and tst-audit5.
61873         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61874         tst-audit6 and tst-audit7.
61875         [$(subdir) = elf] (modules-names): Add audit modules for those
61876         tests.
61877         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61878         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61879         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61880         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61881         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61882         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61883         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61884         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61885         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61886         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61887         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61888         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61889         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61890         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61891         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61892         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61893         Likewise.
61894         [$(subdir) = elf && $(config-cflags-avx) = yes]
61895         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61896         [$(subdir) = elf && $(config-cflags-avx) = yes]
61897         (CFLAGS-tst-auditmod4a.c): Likewise.
61898         [$(subdir) = elf && $(config-cflags-avx) = yes]
61899         (CFLAGS-tst-auditmod4b.c): Likewise.
61900         [$(subdir) = elf && $(config-cflags-avx) = yes]
61901         (CFLAGS-tst-auditmod6b.c): Likewise.
61902         [$(subdir) = elf && $(config-cflags-avx) = yes]
61903         (CFLAGS-tst-auditmod6c.c): Likewise.
61904         [$(subdir) = elf && $(config-cflags-avx) = yes]
61905         (CFLAGS-tst-auditmod7b.c): Likewise.
61906         * elf/tst-audit3.c: Move to ...
61907         * sysdeps/x86_64/tst-audit3.c: ... here.
61908         * elf/tst-audit4.c: Move to ...
61909         * sysdeps/x86_64/tst-audit4.c: ... here.
61910         * elf/tst-audit5.c: Move to ...
61911         * sysdeps/x86_64/tst-audit5.c: ... here.
61912         * elf/tst-audit6.c: Move to ...
61913         * sysdeps/x86_64/tst-audit6.c: ... here.
61914         * elf/tst-audit7.c: Move to ...
61915         * sysdeps/x86_64/tst-audit7.c: ... here.
61916         * elf/tst-auditmod3a.c: Move to ...
61917         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61918         * elf/tst-auditmod3b.c: Move to ...
61919         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61920         * elf/tst-auditmod4a.c: Move to ...
61921         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61922         * elf/tst-auditmod4b.c: Move to ...
61923         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61924         * elf/tst-auditmod5a.c: Move to ...
61925         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61926         * elf/tst-auditmod5b.c: Move to ...
61927         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61928         * elf/tst-auditmod6a.c: Move to ...
61929         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61930         * elf/tst-auditmod6b.c: Move to ...
61931         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61932         * elf/tst-auditmod6c.c: Move to ...
61933         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61934         * elf/tst-auditmod7a.c: Move to ...
61935         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61936         * elf/tst-auditmod7b.c: Move to ...
61937         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61939 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61941         [BZ #15366]
61942         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61943         define unconditionally.
61944         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61945         define unconditionally.
61946         (INT8_C, INT16_C, etc.): Likewise.
61948 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61950         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61951         __ehdr_start with hidden visibility.
61953         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61955 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61957         * math/libm-test.inc (cos_test): Use accurate hex constants.
61958         (sincost_test): Likewise.
61960 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61962         * math/libm-test.inc (catan_test): Add more tests.
61963         (catanh_test): Likewise.
61965         * math/s_catanf.c (__catanf): Use suffixed floating-point
61966         constants.
61967         * math/s_catanhf.c (__catanhf): Likewise.
61968         * math/s_catanhl.c (__catanhl): Likewise.
61969         * math/s_catanl.c (__catanl): Likewise.
61971         [BZ #15394]
61972         * math/s_catan.c (__catan): Calculate imaginary part of result
61973         with log1p not log unless computing log of number close to 0.
61974         * math/s_catanf.c (__catanf): Likewise.
61975         * math/s_catanl.c (__catanl): Likewise.
61976         * math/s_catanh.c (__catanh): Calculate real part of result with
61977         log1p not log unless computing log of number close to 0.
61978         * math/s_catanhf.c (__catanhf): Likewise.
61979         * math/s_catanhl.c (__catanhl): Likewise.
61980         * math/libm-test.inc (catan_test): Add more tests.
61981         (catanh_test): Likewise.
61982         * sysdeps/i386/fpu/libm-test-ulps: Update.
61983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61985 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61987         * benchtests/Makefile: Mention files in which fast and slow
61988         paths of math functions are implemented.
61990 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61992         * sysdeps/posix/timespec_get.c: New file.
61994 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61996         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61997         POWER.
61998         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61999         for POWER.
62000         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62001         powerpc/power5/fpu folders.
62002         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62003         * benchtests/Makefile: Add modf testcase.
62004         * benchtests/bench-modf.c: New file: Benchmark test for mo
62006 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62008         [BZ #14888]
62009         * time/Makefile (tests): Add tst-strptime-whitespace.
62010         * time/strptime_l.c (get_number): Use ISSPACE.
62011         (__strptime_internal): Likewise.
62012         * time/tst-strptime-whitespace.c: New test case.
62014 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62016         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62017         member.
62018         (_nss_files_init): Set it here.
62020 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62022         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62023         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62024         unsigned.
62026 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62028         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62030 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62032         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62033         size just once.
62035 2013-04-21  David S. Miller  <davem@davemloft.net>
62037         * po/ru.po: Update Russion translation from translation project.
62039 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62041         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62042         and setfsgid.
62044 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62046         * configure.in: Remove i386 configure warning. Remove i386 case.
62047         * configure: Regenerate.
62048         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62049         Add example to error message.
62050         * sysdeps/i386/configure: Regenerate.
62052 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62054         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62055         slowtan.
62056         * benchtests/cos-inputs: New file.
62057         * benchtests/slowcos-inputs: New file.
62058         * benchtests/slowcos.c: New file.
62059         * benchtests/slowtan-inputs: New file.
62060         * benchtests/slowtan.c: New file.
62061         * benchtests/tan-inputs: New file.
62063 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62065         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62066         considered kosher.
62068 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62070         * benchtests/Makefile: Include cppflags-iterator.mk to add
62071         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62073         * Makefile.in (bench-clean): New target.
62074         * benchtests/Makefile (bench-clean): Likewise.
62076 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62078         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62080 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62082         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62084 2013-04-15  Andreas Schwab  <schwab@suse.de>
62086         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62088         * nscd/pwdcache.c (cache_addpw): Likewise.
62089         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62090         more than recsize.
62092 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62094         * benchtests/Makefile (bench): Write all output to
62095         bench-out.tmp together.
62097 2013-04-15  Andreas Schwab  <schwab@suse.de>
62099         * nscd/nscd.c (main): Don't fork again after closing files.
62101 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62103         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62105         * benchtests/Rules (bench-deps): Collect dependencies into a
62106         single variable.  Add Makefile to dependencies.
62107         ($(objpfx)bench-%.c): Depend on bench-deps.
62109 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62110             Xavier Roche  <roche+kml2@exalead.com>
62112         [BZ #15361]
62113         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62114         just that it's a file descriptor.
62115         * manual/llio.texi (Synchronizing AIO Operations): Update description
62116         for EBADF error from aio_fsync.
62118 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62120         * Rules (bench): Move target definition...
62121         * benchtests/Makefile: ... here.
62123 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62125         * math/libm-test.inc (cos_test): Fix PI/2 test.
62126         (sincos_test): Likewise.
62127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62128         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62130 2013-04-11  Andreas Schwab  <schwab@suse.de>
62132         [BZ #13988]
62133         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62134         accept exponent character only when digits were seen.
62135         * stdio-common/Makefile (tests): Add bug26.
62136         * stdio-common/bug26.c: New file.
62138         [BZ #14293]
62139         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62140         non-freeable.
62142 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62144         * Makeconfig (rtld-prefix): Define built linker prefix.
62145         * Rules (run-bench): Use it.
62146         * math/Makefile (run-regen-ulps): Likewise.
62148         * Rules (bench): Remove eval.
62150 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62151             Roland McGrath  <roland@hack.frob.com>
62152             Ondrej Bilka  <neleai@seznam.cz>
62154         [BZ #15346]
62155         * time/getdate.c: Include ctype.h and alloca.h.
62156         (__getdate_r): Trim leading and trailing spaces of input.
62157         * time/tst-getdate.c (tests): Add tests with leading and
62158         trailing spaces.
62160 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62162         [BZ #14280]
62163         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62164         when computing value.
62166 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62168         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62169         Use testrun.sh to run libm tests.
62171         [BZ #15309]
62172         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62174 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62176         [BZ #15264]
62177         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62179 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62181         * Makefile.in (regen-ulps): New target.
62182         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62183         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62184         [ifneq (no,$(PERL)] (regen-ulps): New target.
62185         [ifeq (no,$(PERL)] (regen-ulps): New target.
62186         * math/libm-test.inc (ulps_file_name): Define.
62187         (output_dir): New variable.
62188         (options): Add "output-dir" option.
62189         (parse_opt): Handle 'o' case.
62190         (main): If output_dir is non-NULL use it as a prefix
62191         otherwise use "".
62192         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62194 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62196         [BZ #10060, #10062]
62197         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62198         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62199         fail configure if __sync_val_compare_and_swap is not inlined.
62200         * sysdeps/i386/configure: Regenerate.
62201         * configure.in: Build for i686 when configured for i386.
62202         * configure: Regenerate.
62203         * README: Remove i386 reference.
62205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62207         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62210 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62212         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62213         (lmsnanval): New variables.
62214         (F): Add conversion tests.
62215         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62216         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62218         * stdio-common/tstdiomisc.c (F): Properly collect individual
62219         tests' results.
62221         [BZ #14686, #15336]
62222         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62223         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62224         Instead, use input NaN values or generate a qNaN by arithmetic
62225         operation.  Also fix bugs to comply with the standard.
62226         * math/libm-test.inc (remainder_test): Add more tests.
62228         [BZ #15335, #15342]
62229         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62231         input NaN values or generate a qNaN by arithmetic operation.
62233         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62234         unreachable code.
62236         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62237         definitions.
62239 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62241         [BZ #14478]
62242         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62243         underflowed result.
62244         * math/s_cexpf.c (__cexpf): Likewise.
62245         * math/s_cexpl.c (__cexpl): Likewise.
62246         * math/libm-test.inc (cexp_test): Add more tests.
62248 2013-04-03  Andreas Schwab  <schwab@suse.de>
62250         [BZ #15330]
62251         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62252         order arrays from heap if bigger than alloca cutoff.
62254 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62256         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62257         (SNAN_TESTS_double): Refer to GCC PR56831.
62258         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62259         GCC PR56828.
62261 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62263         * Rules (bench): Move bench.out after the run is complete.
62265         * Rules (bench): Echo currently running benchmark.
62267         * benchtests/Makefile (bench): Add atan and slowatan.
62268         * benchtests/atan-inputs: New file.
62269         * benchtests/slowatan-inputs: New file.
62270         * benchtests/slowatan.c: New file.
62272         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62274         its value.
62276         [BZ #15305]
62277         * sysdeps/unix/sysv/linux/kernel-features.h
62278         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62279         __ASSUME_XFS_RESTRICTED_CHOWN.
62280         * sysdeps/unix/sysv/linux/pathconf.c
62281         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62282         Save and restore errno.
62284 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62286         [BZ #15327]
62287         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62288         arguments using __kernel_casinh.
62289         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62290         arguments using __kernel_casinhf.
62291         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62292         arguments using __kernel_casinhl.
62293         * math/libm-test.inc (cacosh_test): Add more tests.
62294         * sysdeps/i386/fpu/libm-test-ulps: Update.
62295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62297 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62299         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62302         * bench/Makefile (bench): Add sin and slowsin.
62303         * benchtests/sin-inputs: New file.
62304         * benchtests/slowsin-inputs: New file.
62305         * benchtests/slowsin.c: New file.
62307         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62308         (bench): Add slowexp and slowpow.
62309         (exp-ITER): Increase iterations.
62310         (pow-ITER): Likewise.
62311         * benchtests/exp-inputs: Change input.
62312         * benchtests/pow-inputs: Likewise.
62313         * benchtests/slowexp-inputs: New file.
62314         * benchtests/slowexp.c: New file.
62315         * benchtests/slowpow-inputs: New file.
62316         * benchtests/slowpow.c: New file.
62318 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62320         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62321         instructions.
62322         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62323         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62325         * benchtests/Makefile: Add rint benchtest.
62326         * benchtests/rint-inputs: Input for rint benchtest.
62328 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62330         * Versions.def (libm): Add GLIBC_2.18.
62331         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62332         hidden libm prototypes.
62333         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62334         * math/Makefile (libm-calls): Add s_issignaling.
62335         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62336         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62337         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62338         declaration.
62339         * math/math.h [__USE_GNU] (issignaling): New macro.
62340         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62341         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62342         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62343         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62345         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62346         * manual/arith.texi (issignaling): New section.
62347         * manual/libm-err-tab.pl (@all_functions): Update comment.
62348         * math/gen-libm-test.pl (parse_args): Apply special handling for
62349         issignaling.
62350         * math/libm-test.inc (print_float, issignaling_test): New
62351         functions.
62352         (check_float_internal): Add issignaling checks.
62353         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62354         default definition.
62355         * sysdeps/powerpc/math-tests.h: New file.
62356         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62357         tests.
62358         * math/test-snan.c (TEST_FUNC): Likewise.
62360 2013-03-30  David S. Miller  <davem@davemloft.net>
62362         * po/de.po: Update from translation team.
62364 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62366         [BZ #10357]
62367         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62368         imaginary part less than 1.0 and real part less than 0.5
62369         specially.
62370         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62371         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62372         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62373         (cacos_test): Add more tests.
62374         (casin_test): Likewise.
62375         (casinh_test): Likewise.
62376         * sysdeps/i386/fpu/libm-test-ulps: Update.
62377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62379 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62381         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62382         ONE with its value.
62384         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62385         (__pow_mp): Replace ONE and MONE with their values.
62386         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62387         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62389         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62390         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62391         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62393         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62395         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62396         (__pow_mp): Replace ZERO and MZERO with their values.
62397         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62399         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62402         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62403         (__sqr): Likewise.
62405         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62407         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62409 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62411         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62412         Declare with __attribute__ ((weak)).
62413         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62414         Call __call_tls_dtors only if it's not NULL.
62416 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62418         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62419         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62420         magic __ehdr_start linker symbol if it's defined.
62421         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62422         them up here if it was already done.
62424         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62425         (_dl_aux_init): Use const in cast when setting it.
62426         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62427         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62428         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62430         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62431         Declare them here.
62432         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62433         * csu/libc-tls.c: Nor here.
62434         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62436         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62437         (__libc_message): Never call vsyslog.
62439 2013-03-28  Alan Modra  <amodra@gmail.com>
62441         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62442         Define as empty.
62443         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62444         Likewise.
62446 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62448         [BZ #15214]
62449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62450         underflow.
62451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62453 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62455         [BZ #15304]
62456         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62457         Don't add gid passed as argument.
62459         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62461 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62463         [BZ #15307]
62464         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62465         imaginary part between 1.0 and 1.5 and real part less than 0.5
62466         specially.
62467         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62468         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62469         * math/libm-test.inc (cacos_test): Add more tests.
62470         (casin_test): Likewise.
62471         (casinh_test): Likewise.
62472         * sysdeps/i386/fpu/libm-test-ulps: Update.
62473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62475 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62477         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62478         constants.
62479         (norm): Likewise.
62480         (denorm): Likewise.
62481         (__dbl_mp): Likewise.
62482         (add_magnitudes): Likewise.
62483         (sub_magnitudes): Likewise.
62484         (__add): Likewise.
62485         (__sub): Likewise.
62486         (__mul): Likewise.
62487         (__sqr): Likewise.
62488         (__inv): Likewise.
62489         (__dvd): Likewise.
62491         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62492         commented code.
62493         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62494         (__dubcos): Likewise.
62495         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62496         (__ieee754_acos): Likewise.
62497         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62498         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62499         (__exp1): Likewise.
62500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62502         (log1): Likewise.
62503         (my_log2): Likewise.
62504         (checkint): Likewise.
62505         * sysdeps/ieee754/dbl-64/e_remainder.c
62506         (__ieee754_remainder): Likewise.
62507         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62509         (bsloww): Likewise.
62510         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62512         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62513         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62514         MANTISSA_STORE_T to store computations on mantissa.  Use
62515         macros for rounding and division.
62516         (denorm): Likewise.
62517         (__dbl_mp): Likewise.
62518         (add_magnitudes): Likewise.
62519         (sub_magnitudes): Likewise.
62520         (__mul): Likewise.
62521         (__sqr): Likewise.
62522         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62523         powers of two in terms of TWOPOW macro.
62524         (mp_no): Make type of mantissa as MANTISSA_T.
62525         [!RADIXI]: Define RADIXI.
62526         [!TWO52]: Define TWO52.
62527         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62529 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62531         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62532         llroundl symbol when building for PPC32.
62534 2013-03-24  Mark H Weaver  <mhw@netris.org>
62536         * manual/arith.texi (Normalization Functions): Fix prototypes for
62537         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62539 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62541         [BZ #13889]
62542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62543         high value to check if expl overflow.
62544         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62545         to check for underflow and overflow.
62546         * math/libm-test.inc: Add exp test.
62548 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62550         [BZ #11120]
62551         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62552         with NOT_IN_libc.
62554 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62556         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62557         symbol.
62559 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62561         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62562         wrap blocks consisting of several statements.
62564         * sysdeps/generic/math-tests.h: New file.
62565         * sysdeps/i386/fpu/math-tests.h: Likewise.
62566         * math/test-snan.c: Include it.
62567         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62569 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62571         [BZ #15285]
62572         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62573         (__ieee754_j0l): Do not improve calculations using cos of twice
62574         input for inputs above LDBL_MAX / 2.0L.
62575         (__ieee754_y0l): Likewise.
62576         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62577         (__ieee754_j1l): Do not improve calculations using cos of twice
62578         input for inputs above LDBL_MAX / 2.0L.
62579         (__ieee754_y1l): Likewise.
62580         * math/libm-test.inc (j0_test): Add another test.
62581         (j1_test): Likewise.
62582         (y0_test): Likewise.
62583         (y1_test): Likewise.
62584         * sysdeps/i386/fpu/libm-test-ulps: Update.
62586 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62588         * Rules ($(objpfx)bench-%.c): Include code from a C source
62589         file.
62591 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62593         [BZ #15287]
62594         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62595         imaginary part 1.0 and real part less than 0.5 specially.
62596         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62597         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62598         * math/libm-test.inc (cacos_test): Add more tests.
62599         (casin_test): Likewise.
62600         (casinh_test): Likewise.
62601         * sysdeps/i386/fpu/libm-test-ulps: Update.
62602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62604 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62606         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62607         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62609 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62611         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62612         * config.make.in (config-cflags-sse4): Remove variable.
62613         (config-cflags-avx): Likewise.
62614         (config-cflags-sse2avx): Likewise.
62615         (config-cflags-novzeroupper): Likewise.
62616         (config-asflags-i686): Likewise.
62617         (have-mfma4): Likewise.
62618         (have-as-vis3): Likewise.
62619         (MIG): Likewise.
62620         * configure.in (MIG): Do not AC_SUBST.
62621         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62622         (libc_cv_cc_sse4): Do not AC_SUBST.
62623         (libc_cv_cc_avx): Likewise.
62624         (libc_cv_cc_sse2avx): Likewise.
62625         (libc_cv_cc_novzeroupper): Likewise.
62626         (libc_cv_cc_fma4): Likewise.
62627         (libc_cv_as_i686): Likewise.
62628         (libc_cv_sparc_as_vis3): Likewise.
62629         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62630         LIBC_CONFIG_VAR.
62631         (config-asflags-i686): Likewise.
62632         (config-cflags-avx): Likewise.
62633         (config-cflags-sse2avx): Likewise.
62634         (have-mfma4): Likewise.
62635         (config-cflags-novzeroupper): Likewise.
62636         * sysdeps/mach/configure.in (MIG): Likewise.
62637         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62638         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62639         LIBC_CONFIG_VAR.
62640         (config-cflags-avx): Likewise.
62641         (config-cflags-sse2avx): Likewise.
62642         (have-mfma4): Likewise.
62643         (config-cflags-novzeroupper): Likewise.
62644         * configure: Regenerated.
62645         * sysdeps/i386/configure: Likewise.
62646         * sysdeps/mach/configure: Likewise.
62647         * sysdeps/sparc/configure: Likewise.
62648         * sysdeps/x86_64/configure: Likewise.
62650 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62652         [BZ #14812]
62653         * locale/programs/localedef.c (options): Put N_ translation marker
62654         on argument names, not just descriptions.
62656 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62658         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62660 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62662         [BZ #14176]
62663         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62665 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62667         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62668         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62669         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62670         [!BEFORE_ABORT] (before_abort): New function.
62671         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62672         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62673         (writev_for_fatal): New function.
62674         (WRITEV_FOR_FATAL): New macro; call that.
62675         (backtrace_and_maps): New function.
62676         (BEFORE_ABORT): New macro; call that.
62677         (struct str_list): Type removed.
62678         (__libc_message, __libc_fatal): Functions removed.
62679         Include <sysdeps/posix/libc_fatal.c> instead.
62681 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62683         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62684         constants.
62685         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62686         double constants.
62688 2013-03-19  Andreas Schwab  <schwab@suse.de>
62690         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62691         * sysdeps/gnu/configure: Regenerate.
62693         * configure.in: Substitute libc_cv_rtlddir.
62694         * configure: Regenerate.
62695         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62696         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62697         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62698         * elf/Makefile (install-others, CFLAGS-interp.c)
62699         (ldso_install, common-ldd-rewrite): Likewise.
62700         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62701         $(inst_slibdir)/$(rtld-installed-name).
62702         * scripts/rellns-sh: Add -p option.
62703         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62704         for source.
62706 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62708         * manual/nptl.texi: Renamed to ...
62709         * manual/threads.texi: ... this.
62710         * manual/Makefile (chapters): Update.
62712 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62714         [BZ #14812]
62715         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62716         on argument names, not just descriptions.
62717         * malloc/memusagestat.c (options): Likewise.
62718         * nss/getent.c (options): Likewise.
62720 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62722         [BZ #14812]
62723         * iconv/iconv_prog.c (options): Put N_ translation marker
62724         on argument names, not just descriptions.
62725         * iconv/iconvconfig.c (options): Likewise.
62727 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62729         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62730         implementation which is faster on all x86_64 architectures.
62731         Tested on AMD, Intel Nehalem, SNB, IVB.
62732         * sysdeps/x86_64/strnlen.S: Likewise.
62734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62735         Remove all multiarch strlen and strnlen versions.
62736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62737         Remove strlen and strnlen related parts.
62739         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62740         Inline strlen part.
62741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62743         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62744         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62746         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62747         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62748         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62750 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62752         * manual/memory.texi (Malloc Tunable Parameters):
62753         Sort parameters alphabetically. Add comments for missing entries.
62755 2013-03-17  David S. Miller  <davem@davemloft.net>
62757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62759 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62761         [BZ #15283]
62762         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62763         for arguments at most half maximum finite value.
62764         * math/libm-test.inc (j0_test): Add more tests.
62765         (j1_test): Likewise.
62766         (y0_test): Likewise.
62767         (y1_test): Likewise.
62768         * sysdeps/i386/fpu/libm-test-ulps: Update.
62769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62771         [BZ #14155]
62772         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62773         1 / x and functions P and Q for arguments above 0x1p256L.
62774         (__ieee754_y0l): Likewise.
62775         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62776         (__ieee754_y1l): Likewise.
62777         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62778         (j1_test): Likewise.
62779         (y0_test): Likewise.
62780         (y1_test): Likewise.
62782 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62784         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62785         variable.
62787 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62789         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62790         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62791         zero since it's initialized to EXEC_PAGESIZE.
62793         * sysdeps/unix/sysv/linux/ldsodefs.h
62794         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62795         * sysdeps/generic/ldsodefs.h: ... here.
62797 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62799         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62801         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62802         math/test-snan.c.
62803         * math/test-snan.c: Renamed from
62804         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62805         * math/Makefile (tests): Add test-snan.
62806         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62807         test-powerpc-snan.
62809         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62810         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62811         functions.
62812         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62813         __builtin_nan family of functions.
62814         * math/libm-test.inc (initialize): Initialize qnan_value with
62815         __builtin_nan family of functions.
62816         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62817         Remove variables.
62818         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62819         Remove functions.
62820         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62821         storage class.  Initialize qNaN_var and sNaN_var with
62822         __builtin_nan and __builtin_nans families of functions,
62823         respectively.
62825         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62826         (sqrt_test): Remove duplicate test with qNaN input.
62827         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62828         (round_test, signbit_test, significand_test): Note missing +/-Inf
62829         as well as qNaN tests.
62831         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62832         qNaN_var.  Fix a few strings, too.
62833         * math/libm-test.inc (nan_value): Rename to qnan_value.
62834         * math/gen-libm-test.pl (%beautify): Adjust to that.
62835         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62836         * math/test-misc.c (main): Likewise.
62837         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62838         to __qnan_bytes, and __qnan_union, respectively.
62839         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62840         Likewise.
62841         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62842         and lqnanval, respectively.
62843         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62844         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62845         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62846         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62848         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62849         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62850         doubles.
62852         * math/test-misc.c (main): Fix copy'n'pastos.
62853         * misc/tst-efgcvt.c (special): Likewise.
62855         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62856         Remove declarations.
62858 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62860         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62861         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62862         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62863         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62865 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62868         macro to return vdso values correctly in IFUNC implementations.
62869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62870         Optimization by using IFUNC.
62872 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62873             Richard Henderson  <rth@redhat.com>
62874             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62876         * Makefile.in (bench): New target.
62877         * NEWS: Mention the benchmark framework.
62878         * Rules (bench): Likewise.
62879         (binaries-bench): Generate binaries for functions to
62880         benchmark.
62881         * benchtests/Makefile: New makefile for benchmark tests.
62882         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62883         programs.
62884         * benchtests/exp-inputs: New input file for EXP function.
62885         * benchtests/pow-inputs: New input file for POW function.
62886         * scripts/bench.pl: New script to generate source files for
62887         benchmark programs.
62889 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62891         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62892         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62893         computations on mantissa.  Use macros for rounding and
62894         division.
62895         (denorm): Likewise.
62896         (__dbl_mp): Likewise.
62897         (add_magnitudes): Likewise.
62898         (sub_magnitudes): Likewise.
62899         (__mul): Likewise.
62900         (__sqr): Likewise.
62901         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62902         powers of two in terms of TWOPOW macro.
62903         (mp_no): Make type of mantissa as MANTISSA_T.
62904         [!RADIXI]: Define RADIXI.
62905         [!TWO52]: Define TWO52.
62906         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62908         * manual/nptl.texi (cindex): Modify threads to pthreads.
62910 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62912         * sysdeps/x86_64/preconfigure: Regenerated.
62914 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62916         [BZ #14155]
62917         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62918         0x1p28 and above.
62919         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62920         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62921         0x1p28 and above.
62922         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62923         * math/libm-test.inc (j0_test): Do not allow one spurious
62924         underflow exception.
62925         (y1_test): Likewise.
62927 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62929         * manual/Makefile (chapters): Add nptl.
62930         * manual/debug.texi (Debugging Support): Add link to Threads
62931         chapter.
62932         * manual/nptl.texi: New file.
62934         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62936 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62938         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62939         for non-NULL pointer before the memory validity test. Pointed
62940         out by Holger Brunck <holger.brunck@keymile.com>.
62942 2013-03-13  Andreas Schwab  <schwab@suse.de>
62944         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62945         instead of .os.
62947 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62949         * timezone/zic.c: Update from tzcode 2013b.
62951 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62953         * manual/install.texi (Configuring and compiling):
62954         Mention i686 and i586.
62955         * INSTALL: Regenerate.
62957 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62959         * sysdeps/init_array/elf-init.c: New file.
62960         * csu/elf-init.c
62961         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62962         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62964         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62965         __gmon_start__ as global, but as static with a .preinit_array pointer.
62966         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62967         * sysdeps/init_array/crti.S: New file, empty except for comments.
62968         * sysdeps/init_array/crtn.S: Likewise.
62970 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62972         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62973         definining bcopy.
62974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62975         Remove Prefer_SSE_for_memop.
62976         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62977         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62978         HAS_PREFER_SSE_FOR_MEMOP.
62979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62980         memset-x86-64.
62981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62982         Remove bzero, memset ifunc support.
62983         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62984         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62985         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62986         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62988 2013-03-11  Andreas Schwab  <schwab@suse.de>
62990         [BZ #15234]
62991         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62992         by SHLIB_COMPAT.
62993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62994         (GLIBC_2.16): Remove pthread_atfork.
62996 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62998         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62999         (ptestcases.h): Likewise.
63001 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63003         * Makeconfig ($(common-objpfx)config.status): Depend on
63004         sysdeps/*/preconfigure{,.in} too.
63006 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63008         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63009         (__free_hook): Use void * instead of __malloc_ptr_t.
63010         (__malloc_hook): Likewise.
63011         (__realloc_hook): Likewise.
63012         (__memalign_hook): Likewise.
63013         (__after_morecore_hook): Likewise.
63014         * malloc/arena.c (save_malloc_hook): Likewise.
63015         (save_free_hook): Likewise.
63016         * malloc/hooks.c (malloc_hook_ini): Likewise.
63017         (realloc_hook_ini): Likewise.
63018         (memalign_hook_ini): Likewise.
63019         * malloc/malloc.c (malloc_hook_ini): Likewise.
63020         (realloc_hook_ini): Likewise.
63021         (memalign_hook_ini): Likewise.
63022         (__free_hook): Likewise.
63023         (__malloc_hook): Likewise.
63024         (__realloc_hook): Likewise.
63025         (__memalign_hook): Likewise.
63026         (__libc_malloc): Likewise.
63027         (__libc_free): Likewise.
63028         (__libc_realloc): Likewise.
63029         (__libc_memalign): Likewise.
63030         (__libc_valloc): Likewise.
63031         (__libc_pvalloc): Likewise.
63032         (__libc_calloc): Likewise.
63033         (__posix_memalign): Likewise.
63034         * malloc/morecore.c (__sbrk): Likewise.
63035         (__default_morecore): Likewise.
63037         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63039         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63040         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63041         __malloc_ptrdiff_t.
63043         * malloc/malloc.h (__malloc_size_t): Remove macro.
63044         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63045         __malloc_size_t.
63046         (old_memalign_hook): Likewise.
63047         (old_realloc_hook): Likewise.
63048         (struct hdr): Likewise.
63049         (flood): Likewise.
63050         (mallochook): Likewise.
63051         (memalignhook): Likewise.
63052         (reallochook): Likewise.
63053         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63054         (tr_old_realloc_hook): Likewise.
63055         (tr_old_memalign_hook): Likewise.
63056         (tr_mallochook): Likewise.
63057         (tr_reallochook): Likewise.
63058         (tr_memalignhook): Likewise.
63060 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63063         default_ldbl_pack and using as default implementation.
63064         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63065         implementation.
63066         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63067         redundant definition.
63068         (ldbl_insert_mantissa): Likewise.
63069         (ldbl_canonicalize): Likewise.
63070         (ldbl_nearbyint): Likewise.
63071         (ldbl_pack): Rename to ldbl_pack_ppc.
63072         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63073         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63074         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63076 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63079         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63080         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63081         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63083         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63084         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63085         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63087 2013-03-07  Andreas Jaeger  <aj@suse.de>
63089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63090         bits/mman-linux.h.
63092 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63094         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63095         Include mpa.h and declare __MPEXP.
63096         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63097         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63098         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63099         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63100         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63101         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63102         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63104         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63105         (__slowpow): Use long double EXPL and LOGL functions to
63106         compute POW.
63107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63108         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63109         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63110         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63111         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63112         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63115         intermediate variable to calculate exponent.
63116         (__sqr): Likewise.
63117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63118         Likewise.
63119         (__sqr): Likewise.
63121         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63122         [!NO__SQR]: Define __sqr.
63123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63124         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63125         sysdeps/ieee754/dbl-64/mpa.c.
63126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63128         [BZ #12723]
63129         * posix/Makefile (tests): Add tst-pathconf.
63130         * posix/tst-pathconf.c: New test case.
63131         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63132         _PC_PIPE_BUF.
63133         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63135 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63137         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63139 2013-03-06  Andreas Jaeger  <aj@suse.de>
63141         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63142         definition via __MAP_ANONYMOUS.
63144         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63145         it's not part of Linux headers.
63147         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63148         (MAP_HUGE_MASK): Define.
63150         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63151         Define.
63152         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63153         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63154         Define.
63155         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63156         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63157         Define.
63158         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63160         Define.
63161         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63163         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63164         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63165         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63166         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63167         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63168         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63170         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63171         Handle f2fs.
63173         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63174         Handle f2fs and efivarfs.
63176         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63177         f2fs.
63179         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63180         (EFIVARFS_MAGIC): Add.
63181         (F2FS_LINK_MAX): Add.
63183 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63185         * stdio-common/vfprintf.c: Replace __builtin_expect with
63186         __glibc_unlikely.
63188 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63190         [BZ #13550]
63191         * sysdeps/generic/bp-sym.h: Remove file.
63192         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63193         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63194         <bp-sym.h> and <bp-asm.h>.
63195         (__longjmp): Don't use BP_SYM.
63196         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63197         and <bp-asm.h>.
63198         (memcpy): Don't use BP_SYM.
63199         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63200         <bp-sym.h> and <bp-asm.h>.
63201         (memcpy): Don't use BP_SYM.
63202         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63203         <bp-asm.h>.
63204         (memcpy): Don't use BP_SYM.
63205         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63206         <bp-asm.h>.
63207         (memset): Don't use BP_SYM.
63208         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63209         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63210         (__bzero): Don't use BP_SYM.
63211         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63212         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63213         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63214         <bp-sym.h> and <bp-asm.h>.
63215         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63216         pointers.
63217         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63218         <bp-sym.h> and <bp-asm.h>.
63219         (memcpy): Don't use BP_SYM.
63220         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63221         <bp-sym.h> and <bp-asm.h>.
63222         (memset): Don't use BP_SYM.
63223         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63224         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63225         (__bzero): Don't use BP_SYM.
63226         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63227         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63228         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63229         <bp-sym.h> and <bp-asm.h>.
63230         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63231         pointers.
63232         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63233         <bp-sym.h> and <bp-asm.h>.
63234         (memcpy): Don't use BP_SYM.
63235         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63236         <bp-sym.h> and <bp-asm.h>.
63237         (memset): Don't use BP_SYM.
63238         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63239         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63240         (__bzero): Don't use BP_SYM.
63241         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63242         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63244         <bp-sym.h> and <bp-asm.h>.
63245         (__memchr): Don't use BP_SYM.
63246         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63247         <bp-sym.h> and <bp-asm.h>.
63248         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63249         pointers.
63250         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63251         <bp-sym.h> and <bp-asm.h>.
63252         (memcpy): Don't use BP_SYM.
63253         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63254         <bp-sym.h> and <bp-asm.h>.
63255         (__mempcpy): Don't use BP_SYM.
63256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63257         <bp-sym.h> and <bp-asm.h>.
63258         (__memrchr): Don't use BP_SYM.
63259         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63260         <bp-sym.h> and <bp-asm.h>.
63261         (memset): Don't use BP_SYM.
63262         (__bzero): Likewise.
63263         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63264         <bp-sym.h> and <bp-asm.h>.
63265         (__rawmemchr): Don't use BP_SYM.
63266         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63267         <bp-sym.h> and <bp-asm.h>.
63268         (__STRCMP): Don't use BP_SYM.
63269         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63270         <bp-sym.h> and <bp-asm.h>.
63271         (strchr): Don't use BP_SYM.
63272         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63273         <bp-sym.h> and <bp-asm.h>.
63274         (__strchrnul): Don't use BP_SYM.
63275         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63276         <bp-sym.h> and <bp-asm.h>.
63277         (strlen): Don't use BP_SYM.
63278         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63279         <bp-sym.h> and <bp-asm.h>.
63280         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63281         pointers.
63282         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63283         <bp-sym.h> and <bp-asm.h>.
63284         (__strnlen): Don't use BP_SYM.
63285         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63286         <bp-sym.h> and <bp-asm.h>.
63287         (__GI__setjmp): Don't use BP_SYM.
63288         (_setjmp): Likewise.
63289         (__sigsetjmp): Likewise.
63290         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63291         (L(start_addresses)): Don't use BP_SYM.
63292         (_start): Likewise.
63293         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63294         <bp-asm.h>.
63295         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63296         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63297         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63298         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63299         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63300         <bp-asm.h>.
63301         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63302         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63303         about bounded pointers.
63304         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63305         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63306         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63307         <bp-asm.h>.
63308         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63309         about bounded pointers.  Remove GKM FIXME comments.
63310         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63311         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63312         <bp-asm.h>.
63313         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63314         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63315         Remove GKM FIXME comments.
63316         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63317         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63318         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63319         <bp-asm.h>.
63320         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63321         about bounded pointers.  Remove GKM FIXME comment.
63322         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63323         and <bp-asm.h>.
63324         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63325         pointers.
63326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63327         <bp-sym.h> and <bp-asm.h>.
63328         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63330         <bp-sym.h> and <bp-asm.h>.
63331         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63332         comment.
63334 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63336         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63337         call free(NULL).
63339 2013-03-05  David S. Miller  <davem@davemloft.net>
63341         * po/es.po: Update from translation team.
63343 2013-03-05  Andreas Jaeger  <aj@suse.de>
63345         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63346         <bits/mman-linux.h>.
63347         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63348         is fine.
63349         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63350         <bits/mman-linux.h> to end of file.
63351         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63352         is fine.
63353         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63354         <bits/mman-linux.h> to end of file.
63355         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63356         is fine.
63357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63358         <bits/mman-linux.h> to end of file.
63360         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63361         (MCL_CURRENT, MCL_FUTURE): Define here.
63363 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63365         [BZ #15232]
63366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63367         attribute_hidden.
63368         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63370 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63373         fourth parameter needed for rt_sigprocmask syscall.
63374         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63375         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63377         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63378         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63379         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63381 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63383         [BZ #13550]
63384         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63385         comment about bounded pointers.
63386         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63387         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63389 2013-03-04  Andreas Jaeger  <aj@suse.de>
63391         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63392         common definitions.
63394         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63395         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63396         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63397         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63401 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63403         [BZ #15055]
63404         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63405         __ieee754_sqrl instead of __sqrl.
63407 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63409         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63410         * sysdeps/powerpc/fpu_control.h: ... here.
63411         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63412         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63413         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63414         * sysdeps/powerpc/bits/mathinline.h: ... here.
63416 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63418         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63419         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63420         to just [NEED_DL_SYSINFO_DSO].
63421         * elf/dl-support.c: Likewise.
63422         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63423         * elf/rtld.c (dl_main): Likewise.
63424         * elf/setup-vdso.h (setup_vdso): Likewise.
63425         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63426         * sysdeps/unix/sysv/linux/dl-sysdep.c
63427         (_dl_discover_osversion): Likewise.
63429 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63431         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63432         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63434 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63436         * NEWS: Mention libm performance improvements and non-x86 PI
63437         futex support.
63439         * csu/libc-start.c (__pthread_initialize_minimal): Change
63440         function arguments.
63441         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63443 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63445         [BZ #13550]
63446         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63447         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63448         <bp-sym.h> and <bp-asm.h>.
63449         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63450         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63451         and <bp-asm.h>.
63452         (memcpy): Don't use BP_SYM.
63453         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63454         <bp-asm.h>.
63455         (__mpn_add_n): Don't use BP_SYM.
63456         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63457         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63458         and <bp-asm.h>.
63459         (__mpn_addmul_1): Don't use BP_SYM.
63460         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63461         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63462         <bp-sym.h>.
63463         (_setjmp): Don't use BP_SYM.
63464         (__novmx_setjmp): Likewise.
63465         (__GI__setjmp): Likewise.
63466         (__vmx_setjmp): Likewise.
63467         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63468         <bp-sym.h>.
63469         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63470         (__bzero): Don't use BP_SYM.
63471         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63472         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63473         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63474         <bp-sym.h> and <bp-asm.h>.
63475         (memcpy): Don't use BP_SYM.
63476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63477         <bp-sym.h> and <bp-asm.h>.
63478         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63479         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63480         <bp-sym.h> and <bp-asm.h>.
63481         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63482         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63483         <bp-asm.h>.
63484         (__mpn_lshift): Don't use BP_SYM.
63485         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63486         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63487         <bp-asm.h>.
63488         (memset): Don't use BP_SYM.
63489         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63490         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63491         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63492         <bp-asm.h>.
63493         (__mpn_mul_1): Don't use BP_SYM.
63494         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63495         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63496         <bp-sym.h> and <bp-asm.h>.
63497         (memcmp): Don't use BP_SYM.
63498         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63499         <bp-sym.h> and <bp-asm.h>.
63500         (memcpy): Don't use BP_SYM.
63501         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63502         <bp-sym.h> and <bp-asm.h>.
63503         (memset): Don't use BP_SYM.
63504         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63505         <bp-sym.h> and <bp-asm.h>.
63506         (strncmp): Don't use BP_SYM.
63507         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63508         <bp-sym.h> and <bp-asm.h>.
63509         (memcpy): Don't use BP_SYM.
63510         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63511         <bp-sym.h> and <bp-asm.h>.
63512         (memset): Don't use BP_SYM.
63513         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63514         <bp-sym.h> and <bp-asm.h>.
63515         (__memchr): Don't use BP_SYM.
63516         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63517         <bp-sym.h> and <bp-asm.h>.
63518         (memcmp): Don't use BP_SYM.
63519         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63520         <bp-sym.h> and <bp-asm.h>.
63521         (memcpy): Don't use BP_SYM.
63522         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63523         <bp-sym.h> and <bp-asm.h>.
63524         (__mempcpy): Don't use BP_SYM.
63525         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63526         <bp-sym.h> and <bp-asm.h>.
63527         (__memrchr): Don't use BP_SYM.
63528         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63529         <bp-sym.h> and <bp-asm.h>.
63530         (memset): Don't use BP_SYM.
63531         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63532         <bp-sym.h> and <bp-asm.h>.
63533         (__rawmemchr): Don't use BP_SYM.
63534         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63535         <bp-sym.h> and <bp-asm.h>.
63536         (__STRCMP): Don't use BP_SYM.
63537         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63538         <bp-sym.h> and <bp-asm.h>.
63539         (strchr): Don't use BP_SYM.
63540         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63541         <bp-sym.h> and <bp-asm.h>.
63542         (__strchrnul): Don't use BP_SYM.
63543         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63544         <bp-sym.h> and <bp-asm.h>.
63545         (strlen): Don't use BP_SYM.
63546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63547         <bp-sym.h> and <bp-asm.h>.
63548         (strncmp): Don't use BP_SYM.
63549         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63550         <bp-sym.h> and <bp-asm.h>.
63551         (__strnlen): Don't use BP_SYM.
63552         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63553         <bp-asm.h>.
63554         (__mpn_rshift): Don't use BP_SYM.
63555         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63556         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63557         <bp-sym.h> and <bp-asm.h>.
63558         (__sigsetjmp): Don't use BP_SYM.
63559         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63560         (L(start_addresses)): Don't use BP_SYM.
63561         (_start): Likewise.
63562         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63563         <bp-asm.h>.
63564         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63565         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63566         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63567         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63568         <bp-asm.h>.
63569         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63570         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63571         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63572         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63573         <bp-asm.h>.
63574         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63575         comments.
63576         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63577         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63578         <bp-asm.h>.
63579         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63580         FIXME comments.
63581         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63582         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63583         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63584         <bp-asm.h>.
63585         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63586         comment.
63587         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63588         and <bp-asm.h>.
63589         (strncmp): Don't use BP_SYM,
63590         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63591         <bp-asm.h>.
63592         (__mpn_sub_n): Don't use BP_SYM.
63593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63594         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63595         and <bp-asm.h>.
63596         (__mpn_submul_1): Don't use BP_SYM.
63597         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63599         <bp-sym.h> and <bp-asm.h>.
63600         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63602         <bp-sym.h> and <bp-asm.h>.
63603         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63604         comment.
63606 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63609         Use ZK to minimize writes to Z.
63610         (sub_magnitudes): Simplify code a bit.
63611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63612         Use ZK to minimize writes to Z.
63613         (sub_magnitudes): Simplify code a bit.
63615 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63617         * csu/gmon-start.c: Add special exception to license text.
63619 2013-02-27  Richard Henderson  <rth@redhat.com>
63621         * scripts/config.guess: Update from config.git.
63622         * scripts/config.sub: Likewise.
63624 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63626         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63628         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63630         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63632         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63634         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63636 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63638         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63639         [$(build-shared = yes].
63641 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63643         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63644         (__mul): Reduce iterations for calculating mantissa.
63646         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63647         MPTWO.
63648         (__mpranred): Likewise.
63650         [BZ #15160]
63651         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63652         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63654 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63656         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63657         Define __attribute__.
63659 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63661         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63662         unused.
63663         * posix/regex_internal.h (__attribute): Remove.
63664         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63665         (re_string_context_at): Likewise.
63666         (bitset_not): Use __attribute__ and mark function as possibly
63667         unused.
63668         (bitset_merge): Likewise.
63669         (bitset_mask): Likewise.
63670         (re_string_char_size_at): Likewise.
63671         (re_string_wchar_at): Likewise.
63672         (re_string_elem_size_at): Likewise.
63674 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63676         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63677         code.
63678         (cc32): Likewise.
63680         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63681         (__acr): Likewise.
63682         (__cpy): Likewise.
63683         (norm): Likewise.
63684         (denorm): Likewise.
63685         (__dbl_mp): Likewise.
63686         (add_magnitudes): Likewise.
63687         (sub_magnitudes): Likewise.
63688         (__mul): Likewise.
63689         (__inv): Likewise.
63691         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63692         style.
63694         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63695         style.
63697         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63698         code.
63700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63701         up changes with default code.
63702         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63703         Likewise.
63705 2013-02-24  Allan McRae  <allan@archlinux.org>
63707         * manual/socket.texi (The Internet Namespace): Order menu items
63708         to match that in the file.
63710         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63711         node listing of the info page menu.
63713 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63715         [BZ #13550]
63716         * sysdeps/i386/bp-asm.h: Remove file.
63717         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63718         (PARMS): Do not use macros from bp-asm.h.
63719         (S1): Likewise.
63720         (S2): Likewise.
63721         (SIZE): Likewise.
63722         (__mpn_add_n): Do not use BP_SYM
63723         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63724         "bp-asm.h".
63725         (PARMS): Do not use macros from bp-asm.h.
63726         (S1): Likewise.
63727         (SIZE): Likewise.
63728         (__mpn_addmul_1): Do not use BP_SYM
63729         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63730         "bp-asm.h".
63731         (PARMS): Do not use macros from bp-asm.h.
63732         (SIGMSK): Likewise.
63733         (_setjmp): Likewise.  Do not use BP_SYM.
63734         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63735         "bp-asm.h".
63736         (PARMS): Do not use macros from bp-asm.h.
63737         (SIGMSK): Likewise.
63738         (setjmp): Likewise.  Do not use BP_SYM.
63739         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63740         "bp-asm.h".
63741         (PARMS): Do not use macros from bp-asm.h.
63742         (__frexp): Do not use BP_SYM.
63743         (frexp): Likewise.
63744         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63745         "bp-asm.h".
63746         (PARMS): Do not use macros from bp-asm.h.
63747         (__frexpf): Do not use BP_SYM.
63748         (frexpf): Likewise.
63749         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63750         "bp-asm.h".
63751         (PARMS): Do not use macros from bp-asm.h.
63752         (__frexpl): Do not use BP_SYM.
63753         (frexpl): Likewise.
63754         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63755         "bp-asm.h".
63756         (PARMS): Do not use macros from bp-asm.h.
63757         (__remquo): Do not use BP_SYM.
63758         (remquo): Likewise.
63759         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63760         "bp-asm.h".
63761         (PARMS): Do not use macros from bp-asm.h.
63762         (__remquof): Do not use BP_SYM.
63763         (remquof): Likewise.
63764         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63765         "bp-asm.h".
63766         (PARMS): Do not use macros from bp-asm.h.
63767         (__remquol): Do not use BP_SYM.
63768         (remquol): Likewise.
63769         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63770         "bp-asm.h".
63771         (PARMS): Do not use macros from bp-asm.h.
63772         (DEST): Likewise.
63773         (SRC): Likewise.
63774         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63775         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63776         "bp-asm.h".
63777         (PARMS): Do not use macros from bp-asm.h.
63778         (strlen): Do not use BP_SYM.
63779         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63780         "bp-asm.h".
63781         (PARMS): Do not use macros from bp-asm.h.
63782         (S1): Likewise.
63783         (S2): Likewise.
63784         (SIZE): Likewise.
63785         (__mpn_add_n): Do not use BP_SYM.
63786         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63787         "bp-asm.h".
63788         (PARMS): Do not use macros from bp-asm.h.
63789         (S1): Likewise.
63790         (SIZE): Likewise.
63791         (__mpn_addmul_1): Do not use BP_SYM.
63792         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63793         weak_alias.
63794         (bzero): Likewise.
63795         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63796         "bp-asm.h".
63797         (PARMS): Do not use macros from bp-asm.h.
63798         (S): Likewise.
63799         (SIZE): Likewise.
63800         (__mpn_lshift): Do not use BP_SYM.
63801         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63802         "bp-asm.h".
63803         (PARMS): Do not use macros from bp-asm.h.
63804         (DEST): Likewise.
63805         (SRC): Likewise.
63806         (LEN): Likewise.
63807         (memcpy): Likewise.  Do not use BP_SYM.
63808         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63809         libc_hidden_def and weak_alias.
63810         (mempcpy): Do not use BP_SYM in weak_alias.
63811         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63812         "bp-asm.h".
63813         (PARMS): Do not use macros from bp-asm.h.
63814         (DEST): Likewise.
63815         (LEN): Likewise.
63816         [!BZERO_P] (CHR): Likewise.
63817         (memset): Likewise.  Do not use BP_SYM.
63818         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63819         "bp-asm.h".
63820         (PARMS): Do not use macros from bp-asm.h.
63821         (S1): Likewise.
63822         (SIZE): Likewise.
63823         (__mpn_mul_1): Do not use BP_SYM.
63824         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63825         "bp-asm.h".
63826         (PARMS): Do not use macros from bp-asm.h.
63827         (S): Likewise.
63828         (SIZE): Likewise.
63829         (__mpn_rshift): Do not use BP_SYM.
63830         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63831         "bp-asm.h".
63832         (PARMS): Do not use macros from bp-asm.h.
63833         (STR): Likewise.
63834         (CHR): Likewise.
63835         (strchr): Likewise.  Do not use BP_SYM.
63836         (index): Do not use BP_SYM in weak_alias.
63837         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63838         "bp-asm.h".
63839         (PARMS): Do not use macros from bp-asm.h.
63840         (DEST): Likewise.
63841         (SRC): Likewise.
63842         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63843         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63844         "bp-asm.h".
63845         (PARMS): Do not use macros from bp-asm.h.
63846         (strlen): Do not use BP_SYM.
63847         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63848         "bp-asm.h".
63849         (PARMS): Do not use macros from bp-asm.h.
63850         (S1): Likewise.
63851         (S2): Likewise.
63852         (SIZE): Likewise.
63853         (__mpn_sub_n): Do not use BP_SYM.
63854         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63855         "bp-asm.h".
63856         (PARMS): Do not use macros from bp-asm.h.
63857         (S1): Likewise.
63858         (SIZE): Likewise.
63859         (__mpn_submul_1): Do not use BP_SYM.
63860         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63861         "bp-asm.h".
63862         (PARMS): Do not use macros from bp-asm.h.
63863         (S1): Likewise.
63864         (S2): Likewise.
63865         (SIZE): Likewise.
63866         (__mpn_add_n): Do not use BP_SYM.
63867         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63868         weak_alias.
63869         (bzero): Likewise.
63870         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63871         "bp-asm.h".
63872         (PARMS): Do not use macros from bp-asm.h.
63873         (BLK2): Likewise.
63874         (LEN): Likewise.
63875         (memcmp): Do not use BP_SYM.
63876         (bcmp): Do not use BP_SYM in weak_alias.
63877         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63878         "bp-asm.h".
63879         (PARMS): Do not use macros from bp-asm.h.
63880         (DEST): Likewise.
63881         (SRC): Likewise.
63882         (LEN): Likewise.
63883         (memcpy): Likewise.  Do not use BP_SYM.
63884         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
63891         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63892         "bp-asm.h".
63893         (PARMS): Do not use macros from bp-asm.h.
63894         (DEST): Likewise.
63895         (SRC): Likewise.
63896         (LEN): Likewise.
63897         (__mempcpy): Likewise.  Do not use BP_SYM.
63898         (mempcpy): Do not use BP_SYM in weak_alias.
63899         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63900         "bp-asm.h".
63901         (PARMS): Do not use macros from bp-asm.h.
63902         (DEST): Likewise.
63903         (LEN): Likewise.
63904         [!BZERO_P] (CHR): Likewise.
63905         (memset): Likewise.  Do not use BP_SYM.
63906         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63907         "bp-asm.h".
63908         (PARMS): Do not use macros from bp-asm.h.
63909         (STR2): Likewise.
63910         (strcmp): Do not use BP_SYM.
63911         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63912         "bp-asm.h".
63913         (PARMS): Do not use macros from bp-asm.h.
63914         (STR): Likewise.
63915         (DELIM): Likewise.
63916         [USE_AS_STRTOK_R] (SAVE): Likewise.
63917         (FUNCTION): Likewise.  Do not use BP_SYM.
63918         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63919         aliases.
63920         (strtok_r): Likewise.
63921         (__GI___strtok_r): Likewise.
63922         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63923         (PARMS): Do not use macros from bp-asm.h.
63924         (S): Likewise.
63925         (SIZE): Likewise.
63926         (__mpn_lshift): Do not use BP_SYM.
63927         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63928         (PARMS): Do not use macros from bp-asm.h.
63929         (STR): Likewise.
63930         (CHR): Likewise.
63931         (__memchr): Do not use BP_SYM.
63932         (memchr): Do not use BP_SYM in weak_alias.
63933         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63934         (PARMS): Do not use macros from bp-asm.h.
63935         (BLK2): Likewise.
63936         (LEN): Likewise.
63937         (memcmp): Do not use BP_SYM.
63938         (bcmp): Do not use BP_SYM in weak_alias.
63939         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63940         (PARMS): Do not use macros from bp-asm.h.
63941         (S1): Likewise.
63942         (SIZE): Likewise.
63943         (__mpn_mul_1): Do not use BP_SYM.
63944         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63945         "bp-asm.h".
63946         (PARMS): Do not use macros from bp-asm.h.
63947         (STR): Likewise.
63948         (CHR): Likewise.
63949         (__rawmemchr): Do not use BP_SYM.
63950         (rawmemchr): Do not use BP_SYM in weak_alias.
63951         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63952         (PARMS): Do not use macros from bp-asm.h.
63953         (S): Likewise.
63954         (SIZE): Likewise.
63955         (__mpn_rshift): Do not use BP_SYM.
63956         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63957         (PARMS): Do not use macros from bp-asm.h.
63958         (SIGMSK): Likewise.
63959         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63960         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63961         (_start): Do not use BP_SYM.
63962         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63963         (PARMS): Do not use macros from bp-asm.h.
63964         (DEST): Likewise.
63965         (SRC): Likewise.
63966         (__stpcpy): Likewise.  Do not use BP_SYM.
63967         (stpcpy): Do not use BP_SYM in weak_alias.
63968         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63969         "bp-asm.h".
63970         (PARMS): Do not use macros from bp-asm.h.
63971         (DEST): Likewise.
63972         (SRC): Likewise.
63973         (LEN): Likewise.
63974         (__stpncpy): Likewise.  Do not use BP_SYM.
63975         (stpncpy): Do not use BP_SYM in weak_alias.
63976         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63977         (PARMS): Do not use macros from bp-asm.h.
63978         (STR): Likewise.
63979         (CHR): Likewise.
63980         (strchr): Likewise.  Do not use BP_SYM.
63981         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63982         "bp-asm.h".
63983         (PARMS): Do not use macros from bp-asm.h.
63984         (STR): Likewise.
63985         (CHR): Likewise.
63986         (__strchrnul): Likewise.  Do not use BP_SYM.
63987         (strchrnul): Do not use BP_SYM in weak_alias.
63988         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63989         "bp-asm.h".
63990         (PARMS): Do not use macros from bp-asm.h.
63991         (STOP): Likewise.
63992         (strcspn): Do not use BP_SYM.
63993         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63994         "bp-asm.h".
63995         (PARMS): Do not use macros from bp-asm.h.
63996         (STR): Likewise.
63997         (STOP): Likewise.
63998         (strpbrk): Likewise.  Do not use BP_SYM.
63999         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64000         "bp-asm.h".
64001         (PARMS): Do not use macros from bp-asm.h.
64002         (STR): Likewise.
64003         (CHR): Likewise.
64004         (strrchr): Likewise.  Do not use BP_SYM.
64005         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64006         (PARMS): Do not use macros from bp-asm.h.
64007         (SKIP): Likewise.
64008         (strspn): Do not use BP_SYM.
64009         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64010         (PARMS): Do not use macros from bp-asm.h.
64011         (STR): Likewise.
64012         (DELIM): Likewise.
64013         (SAVE): Likewise.
64014         (FUNCTION): Likewise.  Do not use BP_SYM.
64015         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64016         aliases.
64017         (strtok_r): Likewise.
64018         (__GI___strtok_r): Likewise.
64019         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64020         (PARMS): Do not use macros from bp-asm.h.
64021         (S1): Likewise.
64022         (S2): Likewise.
64023         (SIZE): Likewise.
64024         (__mpn_sub_n): Do not use BP_SYM.
64025         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64026         "bp-asm.h".
64027         (PARMS): Do not use macros from bp-asm.h.
64028         (S1): Likewise.
64029         (SIZE): Likewise.
64030         (__mpn_submul_1): Do not use BP_SYM.
64031         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64032         <bp-sym.h>.
64033         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64034         and <bp-asm.h>.
64035         (PARMS): Do not use macros from bp-asm.h.
64036         (FLAGS): Likewise.
64037         (PTID): Likewise.
64038         (TLS): Likewise.
64039         (CTID): Likewise.
64040         (__clone): Do not use BP_SYM.
64041         (clone): Do not use BP_SYM in weak_alias.
64042         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64043         and <bp-asm.h>.
64044         (PARMS): Do not use macros from bp-asm.h.
64045         (LEN): Likewise.
64046         (__mmap64): Do not use BP_SYM.
64047         (mmap64): Do not use BP_SYM in weak_alias.
64048         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64049         <bp-sym.h> and <bp-asm.h>.
64050         (PARMS): Do not use macros from bp-asm.h.
64051         (__posix_fadvise64_l64): Do not use BP_SYM.
64052         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64053         (PARMS): Do not use macros from bp-asm.h.
64054         (NSOPS): Likewise.
64055         (semtimedop): Do not use BP_SYM.
64056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64057         and <bp-asm.h>.
64059 2013-02-21  Allan McRae  <allan@archlinux.org>
64061         * manual/message.texi (Charset conversion in gettext):
64062         Move @end statement to beginning of line.
64064 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64067         static.
64068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64069         Likewise.
64071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64072         (denorm): Likewise.
64073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64076 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64078         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64079         tail-call to the resolved function if pltexit isn't needed.
64081 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64084         or Y being zero as being unlikely.
64085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64086         Likewise.
64088 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64090         * manual/nss.texi (System Databases and Name Service Switch):
64091         Remove frobnicate @pxref.
64093 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64095         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64096         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64098 2013-02-20  Petr Machata  <pmachata@redhat.com>
64100         * elf/elf.h (R_ARM_TARGET1): New macro.
64101         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64102         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64103         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64104         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64105         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64106         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64107         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64108         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64109         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64110         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64111         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64112         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64113         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64114         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64115         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64116         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64117         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64118         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64119         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64120         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64121         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64122         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64123         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64124         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64125         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64126         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64127         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64128         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64129         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64130         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64131         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64132         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64133         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64134         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64135         (R_ARM_THM_GOT_BREL12): Likewise.
64136         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64137         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64138         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64139         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64140         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64141         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64142         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64143         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64144         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64146 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64148         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64149         __attribute_used__ to __attribute__ ((unused)).
64151 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64153         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64154         powerpc mpa.c.
64155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64156         comment formatting.
64157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64159 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64161         [BZ #13550]
64162         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64163         Remove macro.
64164         (ENTER): Remove both macro definitions.
64165         (LEAVE): Likewise.
64166         (CHECK_BOUNDS_LOW): Likewise.
64167         (CHECK_BOUNDS_HIGH): Likewise.
64168         (CHECK_BOUNDS_BOTH): Likewise.
64169         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64170         (RETURN_BOUNDED_POINTER): Likewise.
64171         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64172         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64173         (POP_ERRNO_LOCATION_RETURN): Likewise.
64174         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64175         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64176         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64177         macros.
64178         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64179         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64180         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64181         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64182         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64183         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64184         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64185         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64186         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64187         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64188         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64189         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64190         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64191         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64192         removed macros.
64193         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64194         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64195         macros.
64196         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64197         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64198         * sysdeps/i386/i586/memset.S (memset): Likewise.
64199         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64200         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64201         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64202         macros.
64203         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64204         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64205         Change uses of L(2) to L(out).
64206         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64207         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64208         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64209         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64210         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64211         removed macros.
64212         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64213         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64214         macros.
64215         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64216         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64217         (RETURN): Do not use macro LEAVE.
64218         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64219         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64220         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64221         * sysdeps/i386/i686/memset.S (memset): Likewise.
64222         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64223         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64224         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64225         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64226         Likewise.
64227         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64228         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64229         L(1_2) and L(1_3) into L(1).
64230         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64231         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64232         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64233         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64234         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64235         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64236         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64237         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64238         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64239         macros.
64240         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64241         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64242         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64243         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64244         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64245         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64246         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64247         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64248         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64249         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64250         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64251         * sysdeps/i386/strspn.S (strspn): Likewise.
64252         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64253         conditional code.
64254         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64255         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64256         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64257         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64258         L(1_3) into L(1_1).
64259         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64260         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64261         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64262         macros.
64263         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64265 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64267         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64268         macro.
64270 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64272         * math/atest-exp.c (exp_mpn): Remove ROUND.
64273         * math/atest-exp2.c (exp_mpn): Likewise.
64274         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64276         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64277         * stdlib/tst-tls-atexit-lib.c: Likewise.
64278         * stdlib/tst-tls-atexit.c: Likewise.
64280 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64282         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64283         and __attribute_alloc_size__.
64285 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64287         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64288         __attribute_alloc_size__.
64289         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64290         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64292 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64294         * include/programs/xmalloc.h: New file.
64295         * catgets/gencat.c: Include it.
64296         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64297         * elf/pldd.c: Likewise.
64298         * iconv/iconv_charmap.c: Likewise.
64299         * iconv/iconvconfig.c: Likewise.
64300         * iconv/strtab.c: Likewise.
64301         * locale/programs/locale.c: Likewise.
64302         * locale/programs/localedef.h: Likewise.
64303         * locale/programs/simple-hash.c: Likewise.
64304         * nscd/nscd.h: Likewise.
64305         * nss/makedb.c: Likewise.
64306         * sysdeps/generic/ldconfig.h: Likewise.
64308 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64310         * Versions.def: Add GLIBC_2.18.
64311         * include/link.h (struct link_map): New member l_tls_dtor_count.
64312         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64313         (__call_tls_dtors): Likewise.
64314         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64315         __cxa_thread_atexit_impl.
64316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64317         Likewise.
64318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64319         Likewise.
64320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64321         Likewise.
64322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64323         Likewise.
64324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64326         Likewise.
64327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64328         Likewise.
64329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64331         Likewise.
64332         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64333         (tests): Add test case tst-tls-atexit.
64334         (modules-names): Add shared library for tst-tls-atexit.
64335         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64336         (GLIBC_PRIVATE): Add __call_tls_dtors.
64337         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64338         for libstdc++.
64339         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64340         * stdlib/tst-tls-atexit.c: New test case.
64341         * stdlib/tst-tls-atexit-lib.c: New test case.
64343         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64345         * elf/Versions (ld): Add _dl_find_dso_for_object.
64346         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64347         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64348         (dl_open_worker): Use _dl_find_dso_for_object.
64349         * elf/dl-sym.c (do_sym): Likewise.
64350         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64352 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64354         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64355         Syntactic changes only.
64356         (_dl_runtime_profile): Do a tail-call to the resolved function.
64358 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64360         [BZ #13550]
64361         * sysdeps/x86_64/bp-asm.h: Remove file.
64362         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64363         <bp-sym.h> and <bp-asm.h>.
64364         (__clone): Do not use BP_SYM.
64365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64366         <bp-sym.h> and <bp-asm.h>.
64367         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64368         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64369         "bp-asm.h".
64370         (_setjmp): Do not use BP_SYM.
64371         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64372         "bp-asm.h".
64373         (setjmp): Do not use BP_SYM.
64374         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64375         libc_hidden_def.
64376         (mempcpy): Do not use BP_SYM in weak_alias.
64377         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64378         "bp-asm.h".
64379         (strchr): Do not use BP_SYM.
64380         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64381         "bp-asm.h".
64382         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64383         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64384         (_start): Do not use BP_SYM.
64385         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64386         "bp-asm.h".
64387         (strcat): Do not use BP_SYM.
64388         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64389         "bp-asm.h".
64390         (STRCMP): Do not use BP_SYM.
64391         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64392         "bp-asm.h".
64393         (STRCPY): Do not use BP_SYM.
64394         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64395         "bp-asm.h".
64396         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64397         "bp-asm.h".
64398         (FUNCTION): Do not use BP_SYM.
64399         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64400         weak_alias.
64401         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64403 2013-02-17  Andreas Jaeger  <aj@suse.de>
64405         * time/Versions: Sort entries.
64406         * string/Versions: Likewise.
64407         * resolv/Versions: Likewise.
64408         * posix/Versions: Likewise.
64409         * iconv/Versions: Likewise.
64410         * elf/Versions: Likewise.
64411         * wcsmbs/Versions: Likewise.
64413 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64415         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64416         loop termination condition.
64418         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64419         variable to calculate EZ.
64420         (__sqr): Likewise.
64422         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64423         the lower precision input.
64425 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64427         [BZ #13550]
64428         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64429         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64430         (run-via-rtld-prefix): Do not handle %-bp tests.
64431         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64432         (all-object-suffixes): Remove .ob.
64433         (bppfx): Remove variable.
64434         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64435         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64436         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64437         [$(build-bounded) = yes] (libtype.ob): Likewise.
64438         * Makerules (elide-routines.ob): Remove variable.
64439         (do-tests-clean): Do not handle *-bp.out.
64440         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64441         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64442         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64443         (tests): Do not include $(tests-bp.out).
64444         (xtests): Do not include $(xtests-bp.out).
64445         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64446         [$(build-bounded) = yes] ($(addprefix
64447         $(objpfx),$(binaries-bounded))): Remove rule.
64448         ($(objpfx)%-bp.out): Remove rule.
64449         * config.make.in (build-bounded): Remove variable.
64450         * crypt/Makefile [$(build-bounded) = yes]
64451         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64452         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64453         append to variable.
64454         [$(build-bounded) = yes] (install-lib): Likewise.
64455         [$(build-bounded) = yes] (generated): Likewise.
64456         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64457         Remove rule.
64458         * intl/Makefile [$(build-bounded) = yes]
64459         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64460         * math/Makefile [$(build-bounded) = yes]
64461         ($(tests:%=$(objpfx)%-bp): Likewise.
64462         * misc/Makefile [$(build-bounded) = yes]
64463         ($(objpfx)tst-tsearch-bp): Likewise.
64464         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64465         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64466         Remove dependency.
64467         * string/Makefile (o-objects.ob): Remove variable.
64468         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64469         (CFLAGS-.ob): Remove variable.
64470         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64471         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64472         both definitions of variable.
64473         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64474         (ASFLAGS-.ob): Remove variable.
64476 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64478         [BZ #13550]
64479         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64480         Remove __BOUNDED_POINTERS__ from condition.
64481         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64482         * string/bits/string2.h [!__NO_STRING_INLINES &&
64483         !__BOUNDED_POINTERS__]: Likewise.
64484         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64485         Likewise.
64486         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64487         Remove conditional code.
64488         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64489         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64490         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64491         condition.
64493         [BZ #13550]
64494         * csu/libc-start.c: Do not include <bp-sym.h>.
64495         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64496         * elf/dl-open.c: Do not include <bp-sym.h>.
64497         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64498         * math/fegetenv.c: Do not include <bp-sym.h>.
64499         (fegetenv): Do not use BP_SYM in versioned symbols.
64500         * nptl/sysdeps/pthread/bits/libc-lockP.h
64501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64502         <bp-sym.h>.
64503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64504         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64506         (__pthread_mutex_destroy): Likewise.
64507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64508         (__pthread_mutex_lock): Likewise.
64509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64510         (__pthread_mutex_trylock): Likewise.
64511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64512         (__pthread_mutex_unlock): Likewise.
64513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64514         (__pthread_mutexattr_init): Likewise.
64515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64516         (__pthread_mutexattr_destroy): Likewise.
64517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64518         (__pthread_mutexattr_settype): Likewise.
64519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64520         (__pthread_rwlock_init): Likewise.
64521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64522         (__pthread_rwlock_destroy): Likewise.
64523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64524         (__pthread_rwlock_rdlock): Likewise.
64525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64526         (__pthread_rwlock_tryrdlock): Likewise.
64527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64528         (__pthread_rwlock_wrlock): Likewise.
64529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64530         (__pthread_rwlock_trywrlock): Likewise.
64531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64532         (__pthread_rwlock_unlock): Likewise.
64533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64534         (__pthread_key_create): Likewise.
64535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64536         (__pthread_setspecific): Likewise.
64537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64538         (__pthread_getspecific): Likewise.
64539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64540         Likewise.
64541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64542         (_pthread_cleanup_push_defer): Likewise.
64543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64544         (_pthread_cleanup_pop_restore): Likewise.
64545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64546         (pthread_setcancelstate): Likewise.
64547         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64548         <bp-sym.h>.
64549         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64550         (memchr): Do not use BP_SYM in weak_alias.
64551         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64552         (fegetenv): Do not use BP_SYM in versioned symbols.
64553         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64554         (fesetenv): Do not use BP_SYM in versioned symbols.
64555         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64556         (feupdateenv): Do not use BP_SYM in versioned symbols.
64557         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64558         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64559         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64560         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64561         (open64): Do not use BP_SYM in weak_alias.
64562         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64563         (fegetenv): Do not use BP_SYM in versioned symbols.
64564         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64565         (fesetenv): Do not use BP_SYM in versioned symbols.
64566         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64567         (feupdateenv): Do not use BP_SYM in versioned symbols.
64568         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64569         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64570         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64571         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64572         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64573         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64574         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64575         <bp-sym.h>.
64576         (__libc_start_main): Do not use BP_SYM.
64578 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64581         redundant return line.
64582         (norm): Likewise.
64583         (denorm): Likewise.
64584         (dbl_mp): Likewise.
64585         (sub_magnitudes): Likewise.
64586         (__add): Likewise.
64587         (__sub): Likewise.
64588         (__mul): Likewise.
64589         (__inv): Likewise.
64590         (__dvd): Likewise.
64591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64592         (norm): Likewise.
64593         (denorm): Likewise.
64594         (dbl_mp): Likewise.
64595         (sub_magnitudes): Likewise.
64596         (__add): Likewise.
64597         (__sub): Likewise.
64598         (__mul): Likewise.
64599         (__inv): Likewise.
64600         (__dvd): Likewise.
64602         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64603         instead of __mul.
64604         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64605         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64606         (cc32): Likewise.
64608         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64609         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64611         of __mul for squares.
64612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64613         function
64614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64615         Likewise.
64616         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64617         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64619 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64621         [BZ #13550]
64622         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64623         code.
64624         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64625         prototype or function definition.  Rename ubp_* variables and
64626         parameters.  Remove argv definitions conditional on
64627         [__BOUNDED_POINTERS__].
64628         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64629         * elf/dl-runtime.c (_dl_fixup): Likewise.
64630         * include/set-hooks.h (RUN_HOOK): Likewise.
64631         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64632         definition.
64633         * string/strcpy.c (strcpy): Do not use __unbounded.
64634         * sysdeps/generic/frame.h (struct layout): Likewise.
64635         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64636         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64637         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64638         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64639         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64640         (__backtrace): Likewise.
64641         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64642         use __ptrvalue.
64643         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64644         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64645         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64646         Likewise.
64647         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64648         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64649         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64650         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64651         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64652         Do not use __unbounded.
64653         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64654         Rename __unboundedrlimits parameter to rlimits in prototype.
64655         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64656         Do not use __unbounded.
64657         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64658         not use __ptrvalue.
64659         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64660         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64661         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64662         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64663         __ptrvalue or __unbounded.
64664         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64665         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64666         use __unbounded.
64667         (__new_msgctl): Do not use __ptrvalue.
64668         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64669         __unbounded.
64670         (__libc_msgrcv): Do not use __ptrvalue.
64671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64672         startup_info): Do not use __unbounded.
64673         (__libc_start_main): Likewise.  Rename ubp_* variables and
64674         parameters.  Remove argv definitions conditional on
64675         [__BOUNDED_POINTERS__].
64676         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64677         __ptrvalue.
64678         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64679         use __unbounded.
64680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64681         or __ptrvalue.
64682         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64683         use __unbounded.
64684         (__new_shmctl): Do not use __ptrvalue.
64685         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64686         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64687         Likewise.
64688         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64689         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64690         (__libc_sigaction): Likewise.
64691         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64692         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64693         Likewise.
64694         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64696 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64698         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64700         * string/mempcpy.c: Implement by calling memcpy.
64702 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64707         evaluation.
64709         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64710         values in the mantissa.
64712         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64713         minimize writes to Z.
64714         (sub_magnitudes): Simplify code a bit.
64716 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64718         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64719         from the message.  The linker prefixes all warnings with that already.
64721 2013-02-12  Andreas Schwab  <schwab@suse.de>
64723         [BZ #15078]
64724         * posix/regexec.c (extend_buffers): Add parameter min_len.
64725         (check_matching): Pass minimum needed length.
64726         (clean_state_log_if_needed): Likewise.
64727         (get_subexp): Likewise.
64728         * posix/Makefile (tests): Add bug-regex34.
64729         (bug-regex34-ENV): Define.
64730         * posix/bug-regex34.c: New file.
64732         [BZ #11561]
64733         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64734         elements compare against the byte sequence of it, not its name.
64735         * posix/Makefile (tests): Add bug-regex35.
64736         (bug-regex35-ENV): Define.
64737         * posix/bug-regex35.c: New file.
64739 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64741         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64742         comment.
64743         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64744         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64745         (CHECK_EOL): Add undef.
64747 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64749         * bits/stdlib-bsearch.h: New file.
64750         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64751         * stdlib/stdlib.h: Likewise.
64753 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64755         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64756         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64757         declaration.
64758         * manual/search.texi (Array Search Function): Add missing const in
64759         lfind prototype.
64760         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64761         declaration to use rlim_t.
64762         (Basic Scheduling Functions): Remove erroneous const from
64763         sched_getparam prototype.  Remove erroneous * from
64764         sched_get_priority_max and sched_get_priority_min prototypes.
64765         (Resource Usage): Fix summary @comment on vtimes to refer to
64766         sys/vtimes.h rather than vtimes.h.
64767         Add missing *s in vtimes prototype.
64768         (Limits on Resources): Fix ulimit prototype to return long int.
64769         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64770         prototypes to use long int rather than double.
64771         (BSD Random): Fix initstate and setstate to use char *, not void *.
64772         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64773         prototype to make second argument 'struct aiocb64 *const[]'.
64774         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64775         (Status of AIO Operations): Remove erroneous const in aio_return and
64776         aio_return64 prototypes.
64777         (Synchronizing I/O): Fix sync prototype to return void.
64778         * manual/startup.texi (Suboptions): Remove an erroneous const in
64779         getsubopt prototype.
64780         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64781         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64782         use size_t rather than int.
64783         (Scanning All Users): Likewise for getpwent_r.
64784         (Setting Groups): Add missing const to setgroups prototype.
64785         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64786         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64787         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64788         'const void *' rather than 'const char *'.
64789         (Host Address Functions): Likewise for inet_ntop.
64790         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64791         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64792         ssize_t for return value.
64793         (Sending Data): Likewise for send, sendto, sendmsg.
64794         (Socket Option Functions): Add a missing const in setsockopt prototype.
64795         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64796         use wchar_t for the argument.
64797         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64798         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64799         take no arguments.
64800         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64801         double/float/long double for second argument.
64802         Fix return types of significand, significandf, significandl.
64803         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64804         argument in fchmod prototype.
64805         (File Owner): Use uid_t and gid_t in fchown prototype.
64806         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64807         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64808         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64809         use 'const struct dirent **' as argument types to CMP function pointer
64810         argument.
64811         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64812         (File Times): Fix summary magic @comment for struct utimbuf and utime
64813         to refer to utime.h, not time.h.
64814         * manual/string.texi (Argz Functions): Add missing const in
64815         argz_extract and argz_next prototypes.
64816         (Finding Tokens in a String): Likewise for basename.
64817         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64818         (Copying and Concatenation): Fix typo in wmemmove prototype.
64819         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64820         (Signal Stack): Remove erroneous const in sigstack prototype.
64821         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64822         prototype.
64823         (Simple Calendar Time): Likewise for stime.
64824         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64825         prototype.
64826         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64827         say sys/sysctl.h instead.
64828         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64829         and vsyslog prototypes.
64831 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64833         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64834         Remove.
64836 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64838         * misc/sys/mman.h: Fix typo in mremap comment.
64840 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64842         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64843         the '\0' terminator.
64845 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64847         [BZ #13550]
64848         * debug/segfault.c: Don't include <bp-checks.h>.
64849         * sysdeps/generic/bp-checks.h: Remove file.
64850         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64851         (__GETDENTS): Don't use CHECK_N.
64852         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64853         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64854         (__getgroups): Don't use CHECK_N.
64855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64856         (setgroups): Don't use CHECK_N.
64857         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64858         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64859         (__libc_msgrcv): Don't use CHECK_N.
64860         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64861         (__libc_msgsnd): Don't use CHECK_N.
64862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64863         <bp-checks.h>.
64864         (__libc_pread): Don't use CHECK_N.
64865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64866         include <bp-checks.h>.
64867         (__libc_pread64): Don't use CHECK_N.
64868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64869         include <bp-checks.h>.
64870         (__libc_pwrite): Don't use CHECK_N.
64871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64872         include <bp-checks.h>.
64873         (__libc_pwrite64): Don't use CHECK_N.
64874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64875         <bp-checks.h>.
64876         (__libc_pread): Don't use CHECK_N.
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64878         include <bp-checks.h>.
64879         (__libc_pread64): Don't use CHECK_N.
64880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64881         include <bp-checks.h>.
64882         (__libc_pwrite): Don't use CHECK_N.
64883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64884         include <bp-checks.h>.
64885         (__libc_pwrite64): Don't use CHECK_N.
64886         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64887         (do_pread): Don't use CHECK_N.
64888         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64889         (do_pread64): Don't use CHECK_N.
64890         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64891         (do_pwrite): Don't use CHECK_N.
64892         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64893         (do_pwrite64): Don't use CHECK_N.
64894         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64895         (__libc_readv): Don't use CHECK_N.
64896         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64897         (semop): Don't use CHECK_N.
64898         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64899         <bp-checks.h>.
64900         (semtimedop): Don't use CHECK_N.
64901         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64902         (__libc_pread): Don't use CHECK_N.
64903         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64904         <bp-checks.h>.
64905         (__libc_pread64): Don't use CHECK_N.
64906         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64907         <bp-checks.h>.
64908         (__libc_pwrite): Don't use CHECK_N.
64909         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64910         <bp-checks.h>.
64911         (__libc_pwrite64): Don't use CHECK_N.
64912         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64913         <bp-checks.h>.
64914         (__libc_msgrcv): Don't use CHECK_N.
64915         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64916         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64917         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64918         (__libc_writev): Don't use CHECK_N.
64920 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64922         * string/strcpy.c: Removed unused variable.
64924         * Makeconfig (+sysdep-includes): Define with := rather than =.
64925         Use an existing include/ subdir of each sysdeps dir before it.
64927 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64929         * nscd/connection.c (register_traced_file): Comment function.
64930         [HAVE_INOTIFY] (union __inev): Define.
64931         [HAVE_INOTIFY] (inotify_check_files): New function.
64932         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64933         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64934         clear_db_cache.
64935         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64937 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64939         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64940         loaded if not already and that a failure is permanent.
64942 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64944         [BZ #15006]
64945         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64946         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64950         [BZ #13550]
64951         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64952         (CHECK_1_NULL_OK): Likewise.
64953         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64954         (__fxstat): Do not use CHECK_1.
64955         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64956         <bp-checks.h>.
64957         (___fxstat64): Do not use CHECK_1.
64958         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64959         <bp-checks.h>.
64960         (__fxstatat): Do not use CHECK_1.
64961         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64962         <bp-checks.h>.
64963         (__fxstatat64): Do not use CHECK_1.
64964         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64965         <bp-checks.h>.
64966         (__fxstat): Do not use CHECK_1.
64967         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64968         <bp-checks.h>.
64969         (__fxstatat): Do not use CHECK_1.
64970         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64971         <bp-checks.h>.
64972         (__getresgid): Do not use CHECK_1.
64973         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64974         <bp-checks.h>.
64975         (__getresuid): Do not use CHECK_1.
64976         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64977         <bp-checks.h>.
64978         (__lxstat): Do not use CHECK_1.
64979         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64980         <bp-checks.h>.
64981         (__old_msgctl): Do not use CHECK_1.
64982         (__new_msgctl): Likewise.
64983         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64984         <bp-checks.h>.
64985         (__new_setrlimit): Do not use CHECK_1.
64986         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64987         <bp-checks.h>.
64988         (__old_shmctl): Do not use CHECK_1.
64989         (__new_shmctl): Likewise.
64990         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64991         <bp-checks.h>.
64992         (__xstat): Do not use CHECK_1.
64993         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64994         (__lxstat): Do not use CHECK_1.
64995         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64996         <bp-checks.h>.
64997         (___lxstat64): Do not use CHECK_1.
64998         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64999         (__old_msgctl): Do not use CHECK_1.
65000         (__new_msgctl): Likewise.
65001         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65002         <bp-checks.h>.
65003         (__gettimeofday): Do not use CHECK_1.
65004         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65005         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65006         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65007         <bp-checks.h>.
65008         (__gettimeofday): Do not use CHECK_1.
65009         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65010         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65011         (__new_shmctl): Do not use CHECK_1.
65012         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65013         <bp-checks.h>.
65014         (do_sigtimedwait): Do not use CHECK_1.
65015         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65016         <bp-checks.h>.
65017         (do_sigwaitinfo): Do not use CHECK_1.
65018         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65019         <bp-checks.h>.
65020         (msgctl): Do not use CHECK_1.
65021         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65022         <bp-checks.h>.
65023         (shmctl): Do not use CHECK_1.
65024         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65025         (ustat): Do not use CHECK_1.
65026         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65027         <bp-checks.h>.
65028         (__fxstat): Do not use CHECK_1.
65029         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65030         <bp-checks.h>.
65031         (__fxstatat): Do not use CHECK_1.
65032         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65033         <bp-checks.h>.
65034         (__lxstat): Do not use CHECK_1.
65035         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65036         <bp-checks.h>.
65037         (__xstat): Do not use CHECK_1.
65038         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65039         (__xstat): Do not use CHECK_1.
65040         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65041         (___xstat64): Do not use CHECK_1.
65043         [BZ #13550]
65044         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65045         definitions.
65046         (CHECK_BOUNDS_HIGH): Likewise.
65047         * string/strcpy.c: Do not include <bp-checks.h>.
65048         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65050 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65052         * nscd/nscd-client.h (__nscd_drop_map_ref):
65053         Add __attribute__ ((unused)).
65054         * nis/nss-nisplus.h (niserr2nss): Likewise.
65056         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65057         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65059         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65060         Remove inline keyword.
65061         * include/rounding-mode.h (round_away): Likewise.
65062         * libio/wfileops.c (adjust_wide_data): Likewise.
65063         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65064         (__m128i_strloadu_tolower): Likewise.
65065         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65066         (__m128i_strloadu_tolower): Likewise.
65067         * time/mktime.c (ydhms_diff): Likewise.
65068         * locale/elem-hash.h (elem_hash): Likewise.
65069         * locale/setlocale.c (setdata): Likewise.
65070         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65071         (re_string_wchar_at): Likewise.
65072         (bitset_not, bitset_merge, bitset_mask): Likewise.
65073         [!(__GNUC__ > 3)] (inline): Remove macro.
65074         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65075         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65076         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65077         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65078         * string/memcmp.c (memcmp_bytes): Likewise.
65079         * locale/programs/locarchive.c (compute_hashval): Likewise.
65080         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65081         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65082         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65083         * nss/getent.c (print_rpc, print_protocols): Likewise.
65084         (print_passwd, print_group, print_aliases): Likewise.
65085         * nis/nss-nisplus.h (niserr2nss): Likewise.
65086         * nscd/connections.c (restart_p): Likewise.
65087         Change return type to bool.
65089 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65091         * Makeconfig (all-Depend-files): Add existing
65092         $(sorted-subdirs:=/Depend) files.
65093         (all-subdirs): Remove nss.
65094         * sysdeps/unix/inet/Subdirs: Add it here instead.
65095         * hesiod/Depend: New file.
65097         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65098         instead of calling alloca.
65100         * io/lseek.c (__lseek): Rename to __libc_lseek.
65101         Define __lseek as an alias.
65103         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65105 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65107         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65108         else clause and remove check for non-standard endianness.
65110 2013-02-04  David S. Miller  <davem@davemloft.net>
65112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65114 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65116         [BZ #13550]
65117         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65118         (__ubp_memchr): Remove prototype.
65119         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65120         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65121         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65122         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65123         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65124         Remove alias.
65125         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65126         (__ubp_memchr): Likewise.
65127         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65128         (__ubp_memchr): Likewise.
65129         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65130         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65131         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65132         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65133         CHECK_STRING.
65134         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65135         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65136         (__getcwd): Do not use CHECK_STRING.
65137         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65138         <bp-checks.h>.
65139         (__real_chown): Do not use CHECK_STRING.
65140         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65141         <bp-checks.h>.
65142         (fchownat): Do not use CHECK_STRING.
65143         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65144         CHECK_STRING.
65145         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65146         <bp-checks.h>.
65147         (__lchown): Do not use CHECK_STRING.
65148         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65149         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65150         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65151         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65153         include <bp-checks.h>.
65154         (truncate64): Do not use CHECK_STRING.
65155         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65156         <bp-checks.h>.
65157         (__real_chown): Do not use CHECK_STRING.
65158         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65159         <bp-checks.h>.
65160         (__lchown): Do not use CHECK_STRING.
65161         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65162         <bp-checks.h>.
65163         (__chown): Do not use CHECK_STRING.
65164         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65165         <bp-checks.h>.
65166         (truncate64): Do not use CHECK_STRING.
65167         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65168         Likewise.
65169         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65170         (__xmknod): Do not use CHECK_STRING.
65171         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65172         <bp-checks.h>.
65173         (__xmknodat): Do not use CHECK_STRING.
65174         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65175         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65177 2013-02-04  Andreas Schwab  <schwab@suse.de>
65179         [BZ #14142]
65180         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65181         * include/netdb.h: Likewise for h_errno.
65182         * elf/tst-stackguard1.c: Include <tls.h>.
65184 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65186         * elf/link.h (struct link_map): Extend the l_addr comment.
65187         * include/link.h (struct link_map): Likewise.
65189 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65191         [BZ #13550]
65192         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65193         (BOUNDED_1): Remove macro.
65194         * debug/backtrace.c: Don't include <bp-checks.h>.
65195         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65196         (__backtrace): Likewise.
65197         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65198         <bp-checks.h>.
65199         (__backtrace): Don't use BOUNDED_1.
65200         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65201         <bp-checks.h>.
65202         (__backtrace): Don't use BOUNDED_1.
65203         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65204         (__backtrace): Don't use BOUNDED_1.
65205         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65206         (shmat): Don't use BOUNDED_N.
65208 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65210         [BZ #13550]
65211         * sysdeps/generic/bp-start.h: Remove file.
65212         * csu/libc-start.c: Don't include <bp-start.h>.
65213         (LIBC_START_MAIN): Set up __environ directly instead of using
65214         INIT_ARGV_and_ENVIRON.
65215         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65216         <bp-start.h>.
65218         [BZ #13550]
65219         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65220         definitions.
65221         (CHECK_FCNTL): Likewise.
65222         (CHECK_N_PAGES): Likewise.
65224         [BZ #13550]
65225         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65226         definitions.
65227         (CHECK_SIGSET_NULL_OK): Likewise.
65228         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65229         <bp-checks.h>.
65230         (sigpending): Don't use CHECK_SIGSET.
65231         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65232         <bp-checks.h>.
65233         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65234         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65235         <bp-checks.h>.
65236         (do_sigsuspend): Don't use CHECK_SIGSET.
65237         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65238         use CHECK_SIGSET.
65239         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65240         (do_sigwait): Don't use CHECK_SIGSET.
65241         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65242         use CHECK_SIGSET.
65243         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65244         include <bp-checks.h>.
65245         (sigpending): Don't use CHECK_SIGSET.
65246         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65247         include <bp-checks.h>.
65248         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65249         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65250         <bp-checks.h>.
65251         (sigpending): Don't use CHECK_SIGSET.
65252         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65253         <bp-checks.h>.
65254         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65256         [BZ #13550]
65257         * sysdeps/generic/bp-semctl.h: Remove file.
65258         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65259         <bp-checks.h> and <bp-semctl.h>.
65260         (__old_semctl): Don't use CHECK_SEMCTL.
65261         (__new_semctl): Likewise.
65262         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65263         and <bp-semctl.h>.
65264         (__old_semctl): Don't use CHECK_SEMCTL.
65265         (__new_semctl): Likewise.
65266         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65267         <bp-checks.h> and <bp-semctl.h>.
65268         (__old_semctl): Don't use CHECK_SEMCTL.
65269         (__new_semctl): Likewise.
65270         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65271         <bp-checks.h> and <bp-semctl.h>.
65272         (semctl): Don't use CHECK_SEMCTL.
65274         [BZ #13550]
65275         * Makerules (elide-bp-thunks): Remove variable.
65276         (elide-routines.oS): Don't use $(elide-bp-thunks).
65277         (elide-routines.os): Likewise.
65278         (elide-routines.o): Likewise.
65279         (elide-routines.op): Likewise.
65280         (elide-routines.og): Likewise.
65281         (objects): Don't use $(bp-thunks).
65282         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65283         include.
65284         (common-generated): Do not add s-proto-bp.d.
65285         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65286         (int): Likewise.
65287         (typ): Likewise.
65288         Do not generate makefile rules for bounded-pointer thunks.
65289         * sysdeps/generic/bp-thunks.h: Remove file.
65290         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65291         * sysdeps/unix/s-proto-bp.S: Likewise.
65293         [BZ #15062]
65294         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65295         parts of result separately when argument is not close to line from
65296         -i to i and one part of argument is small.
65297         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65298         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65299         * math/libm-test.inc (cacos_test): Add more tests.
65300         (casin_test): Likewise.
65301         (casinh_test): Likewise.
65302         * sysdeps/i386/fpu/libm-test-ulps: Update.
65303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65305 2013-01-31  David S. Miller  <davem@davemloft.net>
65307         * po/de.po: Update from translation team.
65309 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65311         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65313 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65315         * configure.in (_AC_PROG_CC_C89): New definition.
65316         * configure: Regenerate.
65318         * configure.in (AC_PROG_CPP): New definition.
65319         * configure: Regenerate.
65321 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65323         * debug/tst-backtrace.h: New file.
65324         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65325         (ret): Remove variable.
65326         (x): Likewise.
65327         (FAIL): Remove macro.
65328         (NO_INLINE): Likewise.
65329         (fn1): Use match function instead of strstr.
65330         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65331         (ret): Remove variable.
65332         (x): Likewise.
65333         (FAIL): Remove macro.
65334         (NO_INLINE): Likewise.
65335         (fn): Use match function instead of strstr.
65336         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65337         (ret): Remove variable.
65338         (x): Likewise.
65339         (FAIL): Remove macro.
65340         (NO_INLINE): Likewise.
65341         (handle_signal): Use match function instead of strstr.
65342         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65343         (ret): Remove variable.
65344         (x): Likewise.
65345         (FAIL): Remove macro.
65346         (NO_INLINE): Likewise.
65347         (handle_signal): Use match function instead of strstr.
65349 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65351         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65353 2013-01-23  David S. Miller  <davem@davemloft.net>
65355         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65356         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65357         argument of CAS if possible.
65358         * sysdeps/sparc/sparc64/bits/atomic.h
65359         (__arch_compare_and_exchange_val_32_acq): Likewise.
65360         (__arch_compare_and_exchange_val_64_acq): Likewise.
65362 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65364         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65365         * sysdeps/posix/ulimit.c: ... this.
65366         Include <limits.h>.
65367         * sysdeps/unix/bsd/ulimit.c: Remove file.
65369 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65371         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65372         (LDFLAGS-tst-array5): Likewise.
65374 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65376         [BZ #15036]
65377         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65378         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65379         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65380         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65382 2013-01-21  David S. Miller  <davem@davemloft.net>
65384         * sysdeps/sparc/backtrace.c: New file.
65385         * sysdeps/sparc/sparc32/backtrace.h: New file.
65386         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65387         * sysdeps/sparc/sparc64/backtrace.h: New file.
65388         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65389         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65390         -funwind-tables.
65392 2013-01-21  Andreas Schwab  <schwab@suse.de>
65394         [BZ #15020]
65395         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65396         closed its stdout.
65398 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65401         "mpa2.h".
65402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65404 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65405             Mark Mitchell  <mark@codesourcery.com>
65406             Tom de Vries  <tom@codesourcery.com>
65407             Paul Pluzhnikov  <ppluzhnikov@google.com>
65409         * debug/tst-backtrace2.c: New file.
65410         * debug/tst-backtrace3.c: Likewise.
65411         * debug/tst-backtrace4.c: Likewise.
65412         * debug/tst-backtrace5.c: Likewise.
65413         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65414         (CFLAGS-tst-backtrace3.c): Likewise.
65415         (CFLAGS-tst-backtrace4.c): Likewise.
65416         (CFLAGS-tst-backtrace5.c): Likewise.
65417         (LDFLAGS-tst-backtrace2): Likewise.
65418         (LDFLAGS-tst-backtrace3): Likewise.
65419         (LDFLAGS-tst-backtrace4): Likewise.
65420         (LDFLAGS-tst-backtrace5): Likewise.
65421         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65422         tst-backtrace4 and tst-backtrace5.
65424 2013-01-18  Anton Blanchard  <anton@samba.org>
65425             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65427         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65428         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65430         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65432         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65433         "+r" and remove output regs list as redundant.  Add explicit inline
65434         asm to specify register of return val to work around compiler codegen
65435         bug.  Remove (int) cast on return value.  Add return type parameter to
65436         use in macro so that this macro does not truncate return value for
65437         64-bit values.
65438         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65439         pass to INTERNAL_VSYSCALL_NCS.
65440         (INLINE_VSYSCALL): Add 'long int' as return type to
65441         INTERNAL_VSYSCALL_NCS macro invocation.
65442         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65443         INTERNAL_VSYSCALL_NCS macro invocation.
65444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65446 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65448         [BZ #14496]
65449         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65450         Fix application of SIMD FP exception mask.
65452         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65453         mp_no from a power of two.
65454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65455         __mpexp_twomm1.  Use __pow_mp.
65457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65458         multiplication.
65460 2013-01-17  David S. Miller  <davem@davemloft.net>
65462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65464 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65466         [BZ #15023]
65467         * include/complex.h: Condition contents on [!_COMPLEX_H].
65468         (__kernel_casinhf): New prototype.
65469         (__kernel_casinh): Likewise.
65470         (__kernel_casinhl): Likewise.
65471         * math/Makefile (libm_calls): Add k_casinh.
65472         * math/k_casinh.c: New file.
65473         * math/k_casinhf.c: Likewise.
65474         * math/k_casinhl.c: Likewise.
65475         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65476         finite nonzero arguments.
65477         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65478         finite nonzero arguments.
65479         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65480         finite nonzero arguments.
65481         * math/s_casinh.c: Do not include <float.h>.
65482         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65483         * math/s_casinhf.c: Do not include <float.h>.
65484         (__casinhf): Move code for finite nonzero arguments to
65485         k_casinhf.c.
65486         * math/s_casinhl.c: Do not include <float.h>.
65487         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65488         redefine.
65489         (__casinhl): Move code for finite nonzero arguments to
65490         k_casinhl.c.
65491         * math/libm-test.inc (cacos_test): Add more tests.
65492         * sysdeps/i386/fpu/libm-test-ulps: Update.
65493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65495 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65497         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65498         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65499         [!HAVE_MREMAP]: Remove [defined linux] case.
65500         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65502 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65504         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65506 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65508         * elf/elf.h (R_386_SIZE32): New relocation.
65509         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65510         R_386_SIZE32.
65511         (elf_machine_rela): Likewise.
65512         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65513         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65515 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65517         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65518         (FP_FAST_FMA): Do not define.
65519         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65520         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65521         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65522         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65523         !_SOFT_FLOAT]: Likewise.
65524         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65525         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65526         value.
65527         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65528         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65529         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65530         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65531         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65532         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65533         file.
65535 2013-01-16  Andreas Schwab  <schwab@suse.de>
65537         [BZ #14327]
65538         * include/stdlib.h (__mktemp): Add declaration.
65539         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65540         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65542 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65544         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65545         definitions.
65546         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65547         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65548         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65549         definitions here.
65550         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65551         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65552         definitions.
65553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65554         and ONE.
65555         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65556         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65557         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65558         definitions.
65559         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65560         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65561         definitions.
65562         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65564         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65566 2013-01-15  David S. Miller  <davem@davemloft.net>
65568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65569         trunc{,f} to libm-sysdep_routes.
65570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65572         file.
65573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65575         file.
65576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65577         file.
65578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65580         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65581         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65582         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65583         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65584         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65585         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65588         nearbyint{,f} to libm-sysdep_routes.
65589         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65591         New file.
65592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65593         file.
65594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65595         New file.
65596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65597         file.
65598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65600         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65601         file.
65602         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65603         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65604         file.
65605         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65606         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65607         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65609         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65610         libc_feholdexcept and libc_fesetenv.
65612 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65614         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65616 2013-01-14  David S. Miller  <davem@davemloft.net>
65618         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65619         (SPARC_ASM_VIS2_IFUNC): Likewise.
65620         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65622         use of 'siam' instruction.
65623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65624         Likewise.
65625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65626         Likewise.
65627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65628         Likewise.
65629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65634         file.
65635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65636         file.
65637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65638         file.
65639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65640         file.
65641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65646         new VIS2 routines.
65647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65650         Likewise.
65651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65656         routines to libm-sysdep_routines.
65657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65660         fdim/fdimf to libm-sysdep_routines.
65661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65662         file.
65663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65665         file.
65666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65669         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65670         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65671         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65672         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65674 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65677         to optimize copies.
65679         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65684         local variable MPTWO.
65685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65686         Likewise.
65688 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65690         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65691         GLOB_NOESCAPE.
65693 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65695         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65697 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65699         * manual/pattern.texi (glob_t): Document gl_flags.
65700         (glob64_t): Likewise.
65702 2013-01-11  David S. Miller  <davem@davemloft.net>
65704         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65705         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65706         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65707         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65708         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65709         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65710         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65711         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65712         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65713         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65714         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65715         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65716         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65718         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65719         sparc V9 rather than using V8 code.
65720         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65721         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65723         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65724         Move to...
65725         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65726         Here.
65728 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65730         [BZ #14941]
65731         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65732         not in the main loop.
65733         * configure: Regenerated.
65735 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65737         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65738         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65739         to just #else.
65740         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65741         [!__GLIBC_HAVE_LONG_LONG] case.
65742         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65743         condition to just #else.
65744         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65745         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65746         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65747         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65748         unconditional.
65749         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65750         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65751         #elif condition to just #else.
65752         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65753         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65754         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65755         #elif condition to just #else.
65757 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65759         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65760         (EF_MIPS_ARCH_64): Fix value.
65761         (EF_MIPS_ARCH_32R2): New.
65762         (EF_MIPS_ARCH_64R2): New.
65764 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65766         * Makeconfig (+link-pie-before-libc): New.
65767         (+link-pie-after-libc): Likewise.
65768         (+link-pie-tests): Likewise.
65769         (+link-pie): Rewritten.
65770         (link-before-libc): Remove $(config-LDFLAGS).
65771         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65772         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65773         (config-LDFLAGS): Renamed to ...
65774         (rtld-LDFLAGS): This.
65775         (rtld-tests-LDFLAGS): New macro.
65776         (link-libc-rpath-link): Likewise.
65777         (link-libc-tests-rpath-link): Likewise.
65778         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65779         (link-libc): Prepand $(link-libc-rpath-link).
65780         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65781         (test-program-prefix): New macro.
65782         (test-via-rtld-prefix): Likewise.
65783         (test-program-cmd): Likewise.
65784         (host-test-program-cmd): Likewise.
65785         * Makefile ($(common-objpfx)testrun.sh): Replace
65786         $(run-program-prefix) with $(test-program-prefix).
65787         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65788         $(rtld-LDFLAGS).
65789         ($(common-objpfx)shlib.lds): Likewise.
65790         (build-module-helper): Likewise.
65791         ($(common-objpfx)format.lds): Likewise.
65792         * Rules (binaries-pie-tests): New.
65793         (binaries-pie-notests): Likewise.
65794         (binaries-pie): Rewritten.
65795         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65796         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65797         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65798         (make-test-out): Replace $(host-built-program-cmd) with
65799         $(host-test-program-cmd).
65800         * config.make.in (build-hardcoded-path-in-tests): New variable.
65801         * configure.in (--enable-hardcoded-path-in-tests): New configure
65802         option.
65803         (hardcoded_path_in_tests): New AC_SUBST.
65804         * configure: Regenerated.
65805         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65806         $(built-program-cmd) with $(test-program-cmd).
65807         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65808         (test_program_cmd): This.
65809         * elf/Makefile ($(objpfx)order.out): Run test with
65810         $(test-program-prefix).
65811         ($(objpfx)order2.out): Likewise.
65812         ($(objpfx)tst-initorder.out): Likewise.
65813         ($(objpfx)tst-initorder2.out): Likewise.
65814         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65815         $(test-program-cmd).
65816         ($(objpfx)tst-array1-static.out): Likewise.
65817         ($(objpfx)tst-array2.out): Likewise.
65818         ($(objpfx)tst-array3.out): Likewise.
65819         ($(objpfx)tst-array4.out): Likewise.
65820         ($(objpfx)tst-array5.out): Likewise.
65821         ($(objpfx)tst-array5-static.out): Likewise.
65822         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65823         $(test-program-cmd).
65824         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65825         $(run-program-prefix) with $(test-program-prefix).
65826         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65827         (test_program_prefix): This.
65828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65829         $(run-program-prefix) with $(test-program-prefix).
65830         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65831         (test_program_prefix): This.
65832         * iconvdata/tst-tables.sh: Likewise.
65833         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65834         $(run-program-prefix) with $(test-program-prefix).
65835         ($(objpfx)tst-translit.out): Likewise.
65836         ($(objpfx)tst-gettext2.out): Likewise.
65837         ($(objpfx)tst-gettext4.out): Likewise.
65838         ($(objpfx)tst-gettext6.out): Likewise.
65839         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65840         (test_program_prefix): This.
65841         * intl/tst-gettext2.sh: Likewise.
65842         * intl/tst-gettext4.sh  Likewise.
65843         * intl/tst-gettext6.sh: Likewise.
65844         * intl/tst-translit.sh: Likewise.
65845         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65846         with $(test-program-cmd).
65847         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65848         $(run-program-prefix) with $(test-program-prefix).
65849         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65850         (test_program_prefix): This.
65851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65852         $(run-program-prefix) with $(test-program-prefix).
65853         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65854         (test_program_prefix): This.
65855         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65856         * posix/Makefile ($(objpfx)globtest.out): Replace
65857         $(run-via-rtld-prefix) and $(test-wrapper) with
65858         $(test-program-prefix) and $(test-via-rtld-prefix).
65859         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65860         $(test-program-prefix).
65861         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65862         $(host-test-program-cmd).
65863         (tst-spawn-ARGS): Likewise.
65864         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65865         $(test-program-prefix).
65866         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65867         (test_via_rtld_prefix): This.
65868         (test_wrapper): Renamed to ...
65869         (test_program_prefix): This.
65870         (run_program_prefix): Replaced by test_program_prefix.
65871         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65872         (test_program_prefix): This.
65873         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65874         with $(host-test-program-cmd).
65875         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65876         $(run-program-prefix) with $(test-program-prefix).
65877         ($(objpfx)tst-printf.out): Likewise.
65878         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65879         $(test-program-cmd).
65880         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65881         (test_program_prefix): This.
65882         * stdio-common/tst-unbputc.sh: Likewise.
65883         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65884         $(run-program-prefix) with $(test-program-prefix).
65885         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65886         (test_program_prefix): This.
65887         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65888         $(built-program-cmd) with $(test-program-cmd).
65890 2013-01-11  Andreas Jaeger  <aj@suse.de>
65892         [BZ #15003]
65893         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65894         value. Sync with Linux 3.7.
65896 2013-01-10  David S. Miller  <davem@davemloft.net>
65898         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65902 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65904         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65905         never set.
65906         * configure: Regenerated.
65908 2013-01-10  David S. Miller  <davem@davemloft.net>
65910         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65911         sparc V9 rather than using V8 code.
65912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65915 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65917         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65918         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65919         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65920         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65921         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65922         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65923         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65924         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65925         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65926         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65927         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65928         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65929         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65930         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65931         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65932         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65933         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65934         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65935         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65936         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65937         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65938         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65939         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65940         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65941         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65942         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65943         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65945 2013-01-10  David S. Miller  <davem@davemloft.net>
65947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65949 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65951         * posix/Makefile (tests-static): New variable.
65952         (tests): Add $(tests-static).
65953         (tst-exec-static-ARGS): New variable.
65954         (tst-spawn-static-ARGS): Likewise.
65955         * posix/tst-exec-static.c: New file.
65956         * posix/tst-spawn-static.c: Likewise.
65957         * posix/tst-exec.c: Support run directly.
65958         * posix/tst-spawn.c: Likewise.
65960 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65962         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65963         long.
65964         * math/bits/mathcalls.h (llrint): Likewise.
65965         (llround): Likewise.
65966         * stdlib/stdlib.h (struct drand48_data): Likewise.
65967         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65968         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65969         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65970         Likewise.
65971         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65972         Likewise.
65973         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65974         (elf_greg_t): Likewise.
65975         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65976         (__jmp_buf): Likewise.
65977         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65978         definitions.
65979         (llrint): Likewise, for all definitions.
65980         (llrintl): Likewise.
65982         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65983         Remove [__GNUC__] condition.
65984         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65985         condition to just [__USE_ISOC99].
65986         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65988 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65990         [BZ #14200]
65991         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65992         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65993         defined.
65994         (_POSIX_V6_ILP32_OFF32): Likewise.
65995         (_XBS5_ILP32_OFF32): Likewise.
65996         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65997         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65999 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66001         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66004         doubles __mpexp_twomm1.  Adjust usage.
66005         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66006         Remove.
66008 2013-01-10  Andreas Schwab  <schwab@suse.de>
66010         [BZ #14964]
66011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66012         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66014 2013-01-09  David S. Miller  <davem@davemloft.net>
66016         [BZ #15003]
66017         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66018         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66019         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66020         (TCP_FASTOPEN): Define.
66021         (tcp_repair_opt): New structure.
66022         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66023         enum values.
66024         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66025         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66026         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66027         (tcp_cookie_transactions): New structure.
66029 2013-01-09  Anton Blanchard  <anton@samba.org>
66031         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66032         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66033         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66034         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66036 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66038         * include/features.h (__USE_ANSI): Remove.
66040 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66042         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66044         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66046 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66048         * sysdeps/s390/fpu/libm-test-ulps: Update.
66050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66052         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66053         (__acr): Likewise.
66054         (__cpy): Likewise.
66055         (norm): Likewise.
66056         (denorm): Likewise.
66057         (__mp_dbl): Likewise.
66058         (__dbl_mp): Likewise.
66059         (add_magnitudes): Likewise.
66060         (sub_magnitudes): Likewise.
66061         (__add): Likewise.
66062         (__sub): Likewise.
66063         (__mul): Likewise.
66064         (__inv): Likewise.
66065         (__dvd): Likewise.
66066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66067         (__acr): Likewise.
66068         (__cpy): Likewise.
66069         (norm): Likewise.
66070         (denorm): Likewise.
66071         (__mp_dbl): Likewise.
66072         (__dbl_mp): Likewise.
66073         (add_magnitudes): Likewise.
66074         (sub_magnitudes): Likewise.
66075         (__add): Likewise.
66076         (__sub): Likewise.
66077         (__mul): Likewise.
66078         (__inv): Likewise.
66079         (__dvd): Likewise.
66080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66081         (__acr): Likewise.
66082         (__cpy): Likewise.
66083         (norm): Likewise.
66084         (denorm): Likewise.
66085         (__mp_dbl): Likewise.
66086         (__dbl_mp): Likewise.
66087         (add_magnitudes): Likewise.
66088         (sub_magnitudes): Likewise.
66089         (__add): Likewise.
66090         (__sub): Likewise.
66091         (__mul): Likewise.
66092         (__inv): Likewise.
66093         (__dvd): Likewise.
66095 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66097         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66098         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66099         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66100         2 && __USE_EXTERN_INLINES]: Likewise.
66102 2013-01-08  Andreas Jaeger  <aj@suse.de>
66104         [BZ #14985]
66105         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66106         Remove.
66107         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66108         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66110 2013-01-07  Anton Blanchard  <anton@samba.org>
66112         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66113         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66114         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66115         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66116         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66117         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66118         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66119         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66121         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66122         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66123         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66126         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66127         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66128         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66129         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66130         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66131         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66132         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66133         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66134         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66135         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66136         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66137         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66138         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66139         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66141         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66142         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66144         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66145         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66146         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66148         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66150         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66151         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66152         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66153         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66154         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66156 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66158         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66159         (__MALLOC_PMT): Likewise.
66160         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66161         [__GNUC__], only on [_LIBC].
66162         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66163         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66164         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66165         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66166         forward declaration.
66167         (realloc_hook_ini): Likewise.
66168         (memalign_hook_ini): Likewise.
66169         (__libc_memalign): Do not use __MALLOC_PMT in variable
66170         declaration.
66171         (__libc_valloc): Likewise.
66172         (__libc_pvalloc): Likewise.
66173         (__libc_calloc): Likewise.
66174         (__posix_memalign): Likewise.
66176         [BZ #14996]
66177         * math/s_casinh.c: Include <float.h>.
66178         (__casinh): Do not do computation with squaring and square root
66179         for large arguments.
66180         * math/s_casinhf.c: Include <float.h>.
66181         (__casinhf): Do not do computation with squaring and square root
66182         for large arguments.
66183         * math/s_casinhl.c: Include <float.h>.
66184         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66185         (__casinhl): Do not do computation with squaring and square root
66186         for large arguments.
66187         * math/libm-test.inc (casin_test): Add more tests.
66188         (casinh_test): Likewise.
66189         * sysdeps/i386/fpu/libm-test-ulps: Update.
66190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66192 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66194         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66195         (__x86_64_raw_data_cache_size): Likewise.
66196         (__x86_64_data_cache_size_half): Likewise.
66197         (__x86_64_raw_data_cache_size_half): Likewise.
66198         (__x86_64_shared_cache_size): Likewise.
66199         (__x86_64_raw_shared_cache_size): Likewise.
66200         (__x86_64_shared_cache_size_half): Likewise.
66201         (__x86_64_raw_shared_cache_size_half): Likewise.
66202         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66203         to ...
66204         (__x86_data_cache_size): This.
66205         (__x86_64_raw_data_cache_size): Renamed to ...
66206         (__x86_raw_data_cache_size): This.
66207         (__x86_64_data_cache_size_half): Renamed to ...
66208         (__x86_data_cache_size_half): This.
66209         (__x86_64_raw_data_cache_size_half): Renamed to ...
66210         (__x86_raw_data_cache_size_half): This.
66211         (__x86_64_shared_cache_size): Renamed to ...
66212         (__x86_shared_cache_size): This.
66213         (__x86_64_raw_shared_cache_size): Renamed to ...
66214         (__x86_raw_shared_cache_size): This.
66215         (__x86_64_shared_cache_size_half): Renamed to ...
66216         (__x86_shared_cache_size_half): This.
66217         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66218         (__x86_raw_shared_cache_size_half): This.
66219         * sysdeps/x86_64/memcpy.S: Updated.
66220         * sysdeps/x86_64/memset.S: Likewise.
66221         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66223         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66225 2013-01-04  David S. Miller  <davem@davemloft.net>
66227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66229 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66231         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66232         1 to avoid redefinition warning.
66233         (__USE_GNU): Don't define.
66234         (init_signaling_nan): Protoize.
66236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66238 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66240         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66242         (__cpymn): Likewise.
66243         (norm): Remove commented code.
66244         (denorm): Likewise.
66245         (__mp_dbl): Likewise.
66246         (__inv): Likewise.
66247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66248         (__cpymn): Likewise.
66249         (norm): Remove commented code.
66250         (denorm): Likewise.
66251         (__mp_dbl): Likewise.
66252         (__inv): Likewise.
66254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66255         mp_no value for 1.0 and 2.0.
66256         (norm): Use RADIXI instead of radixi.d.
66257         (denorm): Likewise.
66258         (__mul): Use 0.0 instead of zero.d.
66259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66260         mp_no value for 1.0 and 2.0.
66261         (norm): Use RADIXI instead of radixi.d.
66262         (denorm): Likewise.
66263         (__mul): Use 0.0 instead of zero.d.
66265 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66267         [BZ #14994]
66268         * math/s_casinh.c (__casinh): Reduce finite argument to first
66269         quadrant then set signs of results at the end.
66270         * math/s_casinhf.c (__casinhf): Likewise.
66271         * math/s_casinhl.c (__casinhl): Likewise.
66272         * math/libm-test.inc (casin_test): Add more tests.
66273         (casinh_test): Likewise.
66274         * sysdeps/i386/fpu/libm-test-ulps: Update.
66275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66277 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66279         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66281         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66283         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66284         declarations.
66285         (denorm): Likewise.
66286         (__mp_dbl): Likewise.
66287         (__inv): Likewise.
66289         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66290         and adjust the header comment.
66292         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66293         variable name from declaration.
66295 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66298         Initialize COMMON_CPUID_INDEX_7 element.
66299         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66300         (CPUID_RTM): Likewise.
66301         (HAS_RTM): Likewise.
66302         (COMMON_CPUID_INDEX_7): New enum.
66304 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66306         [BZ #14981]
66307         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66308         size is zero, record memory as freed.
66310 2013-01-03  Andreas Jaeger  <aj@suse.de>
66312         * po/ia.po: Add new Interlingua translation.
66314 2012-01-03  Allan McRae  <allan@archlinux.org>
66316         * locale/programs/localedef.c: Fix description of '--posix' flag.
66318 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66320         * NEWS: Update dates in second copyright notice.
66321         * README: Update copyright dates in example.
66322         * manual/libc.texinfo: Update copyright dates.
66323         * scripts/test-installation.pl: Update copyright date in --version
66324         output.
66326         * hurd/ctty-input.c: Fix copyright notice formatting.
66327         * hurd/ctty-output.c: Likewise.
66328         * hurd/dtable.c: Likewise.
66329         * hurd/hurd-raise.c: Likewise.
66330         * hurd/hurdprio.c: Likewise.
66331         * hurd/msgportdemux.c: Likewise.
66332         * misc/sys/file.h: Likewise.
66333         * misc/sys/ioctl.h: Likewise.
66334         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66335         * sysdeps/mach/hurd/chdir.c: Likewise.
66336         * sysdeps/mach/hurd/fchdir.c: Likewise.
66337         * sysdeps/mach/hurd/rename.c: Likewise.
66338         * sysdeps/mach/hurd/rmdir.c: Likewise.
66339         * sysdeps/mach/hurd/seekdir.c: Likewise.
66340         * sysdeps/mach/hurd/setsid.c: Likewise.
66341         * sysdeps/posix/wait3.c: Likewise.
66343         * All files with FSF copyright notices: Update copyright dates
66344         using scripts/update-copyrights.
66345         * intl/plural.c: Regenerated.
66346         * locale/programs/charmap-kw.h: Likewise.
66347         * locale/programs/locfile-kw.h: Likewise.
66349 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66351         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66352         four values.
66354         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66355         calculation loop and add branch prediction.
66357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66358         check access beyond bounds of m1np.
66360         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66361         MPTWO.
66362         (__inv): Remove local variable MPTWO to use the global
66363         constant.
66364         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66366         variable MPTWO.
66367         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66368         MP3HALFS static const.
66370 2013-01-01  David S. Miller  <davem@davemloft.net>
66372         * po/ca.po: Update from translation team.
66374 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66376         * scripts/update-copyrights: New file.
66377         * Makeconfig: Reformat copyright notice.
66378         * ctype/ctype.h: Likewise.
66379         * debug/swprintf_chk.c: Likewise.
66380         * elf/dl-cache.c: Likewise.
66381         * elf/dl-debug.c: Likewise.
66382         * elf/dl-object.c: Likewise.
66383         * grp/initgroups.c: Likewise.
66384         * hurd/Makefile: Likewise.
66385         * hurd/hurd/signal.h: Likewise.
66386         * hurd/hurdfault.c: Likewise.
66387         * hurd/hurdioctl.c: Likewise.
66388         * hurd/hurdlookup.c: Likewise.
66389         * hurd/intr-msg.c: Likewise.
66390         * iconv/gconv_open.c: Likewise.
66391         * libio/swprintf.c: Likewise.
66392         * locale/lc-ctype.c: Likewise.
66393         * locale/nl_langinfo.c: Likewise.
66394         * mach/Machrules: Likewise.
66395         * mach/Makefile: Likewise.
66396         * malloc/obstack.h: Likewise.
66397         * manual/Makefile: Likewise.
66398         * manual/tsort.awk: Likewise.
66399         * misc/bits/stab.def: Likewise.
66400         * nis/nis_print_group_entry.c: Likewise.
66401         * nis/nis_table.c: Likewise.
66402         * nis/nss_compat/compat-pwd.c: Likewise.
66403         * nis/nss_compat/compat-spwd.c: Likewise.
66404         * po/Makefile: Likewise.
66405         * posix/fnmatch.c: Likewise.
66406         * posix/regex.h: Likewise.
66407         * resolv/Makefile: Likewise.
66408         * resolv/nss_dns/dns-network.c: Likewise.
66409         * resolv/res_hconf.c: Likewise.
66410         * scripts/gen-sorted.awk: Likewise.
66411         * soft-fp/soft-fp.h: Likewise.
66412         * stdio-common/printf.h: Likewise.
66413         * stdlib/monetary.h: Likewise.
66414         * stdlib/random.c: Likewise.
66415         * stdlib/random_r.c: Likewise.
66416         * sysdeps/generic/Makefile: Likewise.
66417         * sysdeps/gnu/Makefile: Likewise.
66418         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66419         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66420         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66425         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66428         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66429         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66430         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66431         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66432         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66433         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66434         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66435         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66436         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66438         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66439         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66440         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66441         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66442         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66443         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66444         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66445         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66446         * sysdeps/mach/hurd/errnos.awk: Likewise.
66447         * sysdeps/mach/hurd/fork.c: Likewise.
66448         * sysdeps/mach/hurd/getcwd.c: Likewise.
66449         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66450         * sysdeps/mach/hurd/mmap.c: Likewise.
66451         * sysdeps/mach/hurd/utimes.c: Likewise.
66452         * sysdeps/mach/hurd/xmknod.c: Likewise.
66453         * sysdeps/posix/profil.c: Likewise.
66454         * sysdeps/posix/readdir_r.c: Likewise.
66455         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66456         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66457         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66458         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66461         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66462         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66464         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66465         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66466         * sysdeps/pthread/lio_listio.c: Likewise.
66467         * sysdeps/sparc/dl-procinfo.h: Likewise.
66468         * sysdeps/unix/i386/sysdep.S: Likewise.
66469         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66470         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66471         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66472         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66474         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66475         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66476         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66477         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66478         * sysdeps/wordsize-32/divdi3.c: Likewise.
66479         * time/sys/time.h: Likewise.
66480         * wcsmbs/Makefile: Likewise.
66482 2013-01-01  David S. Miller  <davem@davemloft.net>
66484         * po/fr.po: Update from translation team.
66486         * catgets/gencat.c: Update copyright year.
66487         * csu/version.c: Likewise.
66488         * debug/catchsegv.sh: Likewise.
66489         * debug/pcprofiledump.c: Likewise.
66490         * debug/xtrace.sh: Likewise.
66491         * elf/ldconfig.c: Likewise.
66492         * elf/ldd.bash.in: Likewise.
66493         * elf/pldd.c: Likewise.
66494         * elf/sotruss.ksh: Likewise.
66495         * elf/sprof.c: Likewise.
66496         * iconv/iconv_prog.c: Likewise.
66497         * iconv/iconvconfig.c: Likewise.
66498         * locale/programs/locale.c: Likewise.
66499         * locale/programs/localedef.c: Likewise.
66500         * login/programs/pt_chown.c: Likewise.
66501         * malloc/memusage.sh: Likewise.
66502         * malloc/memusagestat.c: Likewise.
66503         * malloc/mtrace.pl: Likewise.
66504         * nscd/nscd.c: Likewise.
66505         * nss/getent.c: Likewise.
66506         * nss/makedb.c: Likewise.
66507         * posix/getconf.c: Likewise.
66509 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66511         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66512         numbers.
66514 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66516         * math/bits/mathcalls.h (modf): Use __nonnull.
66518 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66520         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66521         (split): Use macro CN instead of the bare value.
66522         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66523         could be used.
66524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66525         instead of the bare value.
66526         (power1): Likewise.
66528 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66531         __ATAN_TWOM.
66532         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66534         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66535         their values.
66536         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66537         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66538         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66539         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66541 2012-12-28  Andreas Jaeger  <aj@suse.de>
66543         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66544         values are from Linux 3.7.
66546         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66547         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66549 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66551         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66552         TRUE case.
66554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66555         (norm): Likewise.
66556         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66557         variables with preprocessor constants.
66558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66559         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66560         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66562 2012-12-27  Bruno Haible  <bruno@clisp.org>
66564         [BZ #14317]
66565         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66566         only if needed.
66568 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66571         and use variable directly.
66572         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66574         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66575         MPONE.
66576         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66578         variable MPONE.
66579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66581         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66582         include directive.  Remove local variable MPONE.
66583         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66584         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66585         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66587 2012-12-25  David S. Miller  <davem@davemloft.net>
66589         * version.h (RELEASE): Set to "development".
66590         (VERSION): Set to "2.17.90".
66591         * NEWS: Add 2.18 section.
66593 2012-12-21  David S. Miller  <davem@davemloft.net>
66595         * po/hr.po: Update from translation team.
66597 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66599         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66601 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66603         * NEWS:  Mention new memcpy for MIPS.
66605 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66607         * manual/contrib.texi (Contributors): Spelling correction.
66609 2012-12-15  David S. Miller  <davem@davemloft.net>
66611         * po/ru.po: Update from translation team.
66613 2012-12-13  David S. Miller  <davem@davemloft.net>
66615         * NEWS: Mention IFUNC testsuite enhancements.
66617         * po/pl.po: Update from translation team.
66618         * po/bg.po: Likewise.
66620         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66621         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66623 2012-12-11  David S. Miller  <davem@davemloft.net>
66625         * po/sv.po: Update from translation team.
66627         * po/vi.po: Update from translation team.
66629         * po/cs.po: Update from translation team.
66631         * po/de.po: Update from translation team.
66632         * po/eo.po: Likewise.
66633         * po/nl.po: Likewise.
66635 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66637         [BZ #14246]
66638         * manual/argp.texi (Argp Helper Functions): Move node to follow
66639         Argp Parsing State.
66641         [BZ #14872]
66642         * manual/conf.texi (Limits on File System Capacity): Mention if
66643         terminating null is included in the max size.
66645 2012-12-10  Andreas Jaeger  <aj@suse.de>
66647         * po/cs.po: Update from translation team.
66649 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66651         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66652         void pointer and cast to uintptr_t.
66653         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66654         path.
66655         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66656         * sysdeps/s390/s390-64/memset.S: Likewise.
66658 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66660         [BZ #14833]
66661         * menual/message.texi (Message Translation): Fix typos.
66662         (Helper programs for gettext): Likewise.
66664 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66666         [BZ #14898]
66667         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66668         Change to -1.
66670 2012-12-07  David S. Miller  <davem@davemloft.net>
66672         * po/libc.pot: Update.
66674 2012-12-07  Richard Henderson  <rth@redhat.com>
66676         [BZ #10114]
66677         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66678         normal/normal case to before the switch.
66679         (_FP_DIV): Likewise.
66681 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66682             Mike Frysinger  <vapier@gentoo.org>
66684         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66685         check for __NR_fadvise64_64.
66687 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66689         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66690         0, not just to plain "0" as a statement.
66691         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66692         with cw.
66694 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66696         * NEWS: Use sourceware.org in Bugzilla URL.
66698 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66701         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66703         * stdio-common/tst-put-error.c (do_test): Add newline to the
66704         padded test to ensure flush.
66706 2012-12-05  Jeff Law  <law@redhat.com>
66708         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66710 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66712         * README: Don't refer to ports add-on as distributed separately.
66713         Mention AArch64 in list of systems supported in the ports add-on.
66715         * LICENSES: Add more non-FSF copyright and license notices.
66717         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66718         ((unused)).
66720         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66722         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66723         10000 as width of padded output.
66725 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66727         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66730         variable LX with __attribute__ ((unused)).
66731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66732         Likewise.
66733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66736         with __attribute__ ((unused)).
66738 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66740         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66742 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66744         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66745         (CFLAGS-nldbl-acos.c): New variable.
66746         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66747         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66748         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66749         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66750         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66751         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66752         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66753         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66754         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66755         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66756         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66757         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66758         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66759         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66760         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66761         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66762         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66763         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66764         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66765         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66766         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66767         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66768         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66769         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66770         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66771         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66772         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66773         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66774         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66775         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66776         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66777         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66778         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66779         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66780         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66781         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66782         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66783         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66784         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66785         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66786         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66787         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66788         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66789         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66790         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66791         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66792         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66793         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66794         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66795         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66796         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66797         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66798         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66799         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66800         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66801         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66802         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66803         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66804         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66805         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66806         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66807         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66808         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66809         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66810         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66811         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66812         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66813         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66814         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66815         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66816         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66817         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66818         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66819         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66820         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66821         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66822         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66823         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66824         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66825         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66826         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66827         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66828         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66829         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66830         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66831         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66832         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66833         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66834         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66835         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66836         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66837         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66838         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66839         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66840         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66841         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66842         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66845         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66847         [BZ #14914]
66848         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66849         whole low double instead of just low 47 bits when splitting values
66850         into two parts.
66852 2012-12-03  Allan McRae  <allan@archlinux.org>
66854         * manual/stdio.texi (Predefined Printf Handlers): Remove
66855         @hsep and @vsep usage.
66857 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66859         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66860         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66862 2012-12-03  Jeff Law  <law@redhat.com>
66864         * time/sys/time.h (settimeofday): Do not mark TV argument
66865         as __nonnull.
66867 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66869         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66870         when currently writing and seek to current position when not.
66871         * libio/Makefile (tests): Remove bug-fclose1.
66872         * libio/bug-fclose1.c: Delete.
66874 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66876         * manual/arith.texi (feenableexcept): Fix typo.
66877         (fedisableexcept): Likewise.
66879 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66881         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66882         second, differently-typed declaration, rather than a cast.
66884 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66886         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66887         * include/rpc/svc.h: ... here.
66889 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66891         [BZ #13013]
66892         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66893         depending n and resplen2 to catch cases where answer
66894         equals answerp2.
66896 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66898         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66899         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66901 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66903         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66905 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66907         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66909 2012-11-28  Jeff Law  <law@redhat.com>
66911         [BZ #13761]
66912         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66913         dataset_temporary.  Track alloca usage into alloca_used.
66914         If dataset is large allocate and release it via malloc/free.
66916 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66918         [BZ #14197]
66919         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66921 2012-11-28  David S. Miller  <davem@davemloft.net>
66923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66925 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66927         [BZ #14803]
66928         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66929         of pi/2 rounded to nearest to 64 bits.
66930         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66931         nearest to 64 bits.
66932         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66933         bits.
66935 2012-11-28  Jeff Law <law@redhat.com>
66936             Martin Osvald <mosvald@redhat.com>
66938         [BZ #14889]
66939         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66940         * sunrpc/svc.c: Include time.h.
66941         (__svc_accept_failed): New function.
66942         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66943         any reason other than EINTR, call __svc_accept_failed.
66944         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66945         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66947 2012-11-28  Andreas Schwab  <schwab@suse.de>
66949         * scripts/abilist.awk: Also handle indirect functions in .opd
66950         section.
66952 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66954         [BZ #13881]
66955         * sysdeps/x86/fpu/powl_helper.c: New file.
66956         * sysdeps/x86/fpu/Makefile: Likewise.
66957         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66958         (p3): New object.
66959         (__ieee754_powl): Use __powl_helper for finite arguments except
66960         integer exponents below 8.
66961         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66962         (p3): New object.
66963         (__ieee754_powl): Use __powl_helper for finite arguments except
66964         integer exponents below 8.
66965         * math/libm-test.inc (pow_test): Add more tests and enable some
66966         previously disabled tests.
66967         * sysdeps/i386/fpu/libm-test-ulps: Update.
66968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66970 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66971             Carlos O'Donell  <carlos_odonell@mentor.com>
66973         * nss/makedb.c (is_prime): Assert that input is odd and greater
66974         than 4.  Note that fact in a comment too.
66975         (next_prime): Add 4 to input.
66977 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66979         [BZ #11741]
66980         * libio/Makefile (tests): Add test case tst-fwrite-error.
66981         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66982         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66983         * libio/tst-fwrite-error.c: New test case.
66985 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66987         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66988         before casting to void *.
66989         * include/libc-internal.h (__pointer_type): New macro.
66990         (__integer_if_pointer_type_sub): Likewise.
66991         (__integer_if_pointer_type): Likewise.
66992         (cast_to_integer): Likewise.
66993         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66994         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66995         before casting to atomic64_t.
66996         (atomic_exchange_acq): Likewise.
66997         (__arch_exchange_and_add_body): Likewise.
66998         (__arch_add_body): Likewise.
66999         (atomic_add_negative): Likewise.
67000         (atomic_add_zero): Likewise.
67002 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67004         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67005         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67006         (add_fdes): Likewise.
67007         (linear_search_fdes): Likewise.
67008         (binary_search_unencoded_fdes): Likewise.
67010 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67012         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67014 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67016         * configure.in: Autodetect C++ header directories.
67017         * configure: Regenerated.
67019 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67021         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67023 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67027 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67029         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67030         LDBL_MANT_DIG == 106]: Disable some tests.
67031         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67032         Likewise.
67033         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67034         Likewise.
67036         [BZ #14871]
67037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67038         input for small inputs.  Return +/- pi/2 for large inputs.
67039         * math/libm-test.inc (atan_test): Add more tests.
67041         * sysdeps/generic/unwind-dw2-fde-glibc.c
67042         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67043         __attribute__ ((unused)).
67045         [BZ #14645]
67046         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67047         x * y if x and y are nonzero and z is zero.
67049         [BZ #14811]
67050         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67051         nonzero exponents with absolute value below 0x1p-117 to +/-
67052         0x1p-117.
67054         [BZ #14869]
67055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67056         up arguments below 2**-450, not just those below 2**-500.
67057         * math/libm-test.inc (hypot_test): Add another test.
67059         [BZ #14868]
67060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67061         Return a+b for ratio over 2**120, not 2**60.
67062         * math/libm-test.inc (hypot_test): Add another test.
67064         * math/libm-test.inc (clog_test): Use
67065         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67066         (clog10_test): Likewise.
67068         [BZ #6778]
67069         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67071 2012-11-22  Andreas Schwab  <schwab@suse.de>
67073         * sysdeps/i386/fpu/libm-test-ulps: Update.
67075 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67077         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67078         printf output with newline.
67080 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67082         [BZ #14865]
67083         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67084         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67085         -z nodlopen, -z initfirst and -z execstack support.
67086         * configure: Regenerated.
67088         * elf/elf.h (DF_1_NODIRECT): New macro.
67089         (DF_1_IGNMULDEF): Likewise.
67090         (DF_1_NOKSYMS): Likewise.
67091         (DF_1_NOHDR): Likewise.
67092         (DF_1_EDITED): Likewise.
67093         (DF_1_NORELOC): Likewise.
67094         (DF_1_SYMINTPOSE): Likewise.
67095         (DF_1_GLOBAUDIT): Likewise.
67096         (DF_1_SINGLETON): Likewise.
67097         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67098         DT_1_SUPPORTED_MASK bits.
67099         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67101 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67103         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67105 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67107         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67108         macro.
67110         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67111         (sendmmsg): Move declarations...
67112         * socket/sys/socket.h: ... here.
67113         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67114         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67115         include it from...
67116         * socket/recvmmsg.c: ... this new file.
67117         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67118         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67119         definition of __sendmmsg hidden.
67120         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67121         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67122         Move ENOSYS stub into and include it from...
67123         * socket/sendmmsg.c: ... this new file.
67124         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67125         (sysdep_routines): Move recvmmsg and sendmmsg...
67126         * socket/Makefile (routines): ... here.
67127         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67128         (GLIBC_PRIVATE): Add __sendmmsg.
67129         * include/sys/socket.h (__sendmmsg): Add declarations.
67130         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67131         sendmmsg.
67133 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67136         variable I1 with __attribute__ ((unused)).
67137         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67139 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67141         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67142         DUMMY variables with __attribute__ ((unused)).
67144         * bits/byteswap.h: Include <bits/types.h>.
67145         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67147 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67149         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67150         string_t.  Do not manually set errno.
67151         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67152         length with __strnlen.  Make sure to both set errno and return it on
67153         failure.
67155 2012-11-19  David S. Miller  <davem@davemloft.net>
67157         With help from Joseph Myers.
67158         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67159         very large arguments properly.
67160         * math/libm-test.inc (atan_test): New tests.
67161         (atan2_test): New tests.
67162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67165 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67167         [BZ #14856]
67168         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67169         Define to 3.
67171         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67172         [POSIX] (EADDRNOTAVAIL): Likewise.
67173         [POSIX] (EAFNOSUPPORT): Likewise.
67174         [POSIX] (EALREADY): Likewise.
67175         [POSIX] (ECONNABORTED): Likewise.
67176         [POSIX] (ECONNREFUSED): Likewise.
67177         [POSIX] (ECONNRESET): Likewise.
67178         [POSIX] (EDESTADDRREQ): Likewise.
67179         [POSIX] (EDQUOT): Likewise.
67180         [POSIX] (EHOSTUNREACH): Likewise.
67181         [POSIX] (EIDRM): Likewise.
67182         [POSIX] (EISCONN): Likewise.
67183         [POSIX] (ELOOP): Likewise.
67184         [POSIX] (EMULTIHOP): Likewise.
67185         [POSIX] (ENETDOWN): Likewise.
67186         [POSIX] (ENETUNREACH): Likewise.
67187         [POSIX] (ENOBUFS): Likewise.
67188         [POSIX] (ENODATA): Likewise.
67189         [POSIX] (ENOLINK): Likewise.
67190         [POSIX] (ENOMSG): Likewise.
67191         [POSIX] (ENOPROTOOPT): Likewise.
67192         [POSIX] (ENOSR): Likewise.
67193         [POSIX] (ENOSTR): Likewise.
67194         [POSIX] (ENOTCONN): Likewise.
67195         [POSIX] (ENOTSOCK): Likewise.
67196         [POSIX] (EOPNOTSUPP): Likewise.
67197         [POSIX] (EOVERFLOW): Likewise.
67198         [POSIX] (EPROTO): Likewise.
67199         [POSIX] (EPROTONOSUPPORT): Likewise.
67200         [POSIX] (EPROTOTYPE): Likewise.
67201         [POSIX] (ESTALE): Likewise.
67202         [POSIX] (ETIME): Likewise.
67203         [POSIX] (ETXTBSY): Likewise.
67204         [POSIX] (EWOULDBLOCK): Likewise.
67205         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67206         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67207         [POSIX] (SEEK_CUR): Likewise.
67208         [POSIX] (SEEK_END): Likewise.
67209         [POSIX || UNIX98] (mode_t): Do not require.
67210         [POSIX] (off_t): Likewise.
67211         [POSIX] (pid_t): Likewise.
67212         [POSIX] (sys/stat.h): Do not allow header.
67213         [POSIX] (unistd.h): Likewise.
67214         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67215         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67216         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67217         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67218         require.
67219         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67220         sigevent): Specify elements.
67221         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67222         entry.
67223         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67224         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67226         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67227         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67228         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67229         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67230         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67231         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67232         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67233         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67234         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67235         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67236         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67237         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67238         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67239         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67240         Likewise.
67241         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67242         Likewise.
67243         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67244         Likewise.
67245         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67246         Likewise.
67247         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67248         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67249         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67250         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67252         Specify lower bound on value.
67253         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67254         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67257         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67258         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67259         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67260         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67261         value.
67262         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67263         as optional.
67264         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67265         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67266         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67267         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67268         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67269         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67270         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67271         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67272         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67273         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67274         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67275         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67276         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67277         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67278         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67279         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67280         entry.
67281         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67282         optional.
67283         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67284         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67285         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67286         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67287         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67288         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67289         Likewise.
67290         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67291         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67292         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67293         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67294         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67295         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67296         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67297         as optional.
67298         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67299         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67300         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67301         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67302         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67303         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67304         specify as optional.
67305         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67306         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67307         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67308         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67309         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67310         [XPG3] (NL_LANGMAX): Likewise.
67311         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67312         [POSIX || XPG3] (NL_NMAX): Likewise.
67313         [POSIX || XPG3] (NL_SETMAX): Likewise.
67314         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67315         [XPG3] (NZERO): Likewise.
67316         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67317         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67318         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67319         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67320         (REG_ERANGE): Expect.
67321         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67322         optional-constant.
67323         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67324         Use (void) in prototype.
67325         [POSIX] (*_t): Allow.
67326         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67327         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67328         (WRDE_BADVAL): Expect.
67330         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67331         expect.
67332         [XPG3 || XPG4] (O_RSYNC): Likewise.
67333         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67334         Likewise.
67335         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67336         [XPG3 || XPG4] (sigqueue): Likewise.
67337         [XPG3 || XPG4] (sigtimedwait): Likewise.
67338         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67339         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67340         [XPG3 || XPG4] (vsnprintf): Likewise.
67341         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67342         Likewise.
67343         [XPG3 || XPG4] (blksize_t): Likewise.
67344         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67345         Likewise.
67346         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67347         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67348         [XPG3 || XPG4] (struct itimerspec): Likewise.
67349         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67350         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67351         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67352         [XPG3 || XPG4] (clockid_t): Likewise.
67353         [XPG3 || XPG4] (timer_t): Likewise.
67354         [XPG3 || XPG4] (clock_getres): Likewise.
67355         [XPG3 || XPG4] (clock_gettime): Likewise.
67356         [XPG3 || XPG4] (clock_settime): Likewise.
67357         [XPG3 || XPG4] (nanosleep): Likewise.
67358         [XPG3 || XPG4] (timer_create): Likewise.
67359         [XPG3 || XPG4] (timer_delete): Likewise.
67360         [XPG3 || XPG4] (timer_gettime): Likewise.
67361         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67362         [XPG3 || XPG4] (timer_settime): Likewise.
67363         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67364         [XPG3 || XPG4] (getlogin_r): Likewise.
67365         [XPG3 || XPG4] (pread): Likewise.
67366         [XPG3 || XPG4] (pthread_atfork): Likewise.
67367         [XPG3 || XPG4] (pwrite): Likewise.
67369         [BZ #14835]
67370         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67371         <bits/siginfo.h>.
67373 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67375         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67376         finalizing MALLSTREAM.
67378         * sysdeps/mach/hurd/syncfs.c: New file.
67380 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67382         [BZ #14719]
67383         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67384         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67385         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67386         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67387         (_nss_dns_gethostbyname4_r): Likewise.
67388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67389         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67391 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67393         [BZ #13763]
67394         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67396 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67398         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67399         * elf/cache.c (print_entry): Print ",AArch64" for
67400         FLAG_AARCH64_LIB64
67402         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67403         * elf/cache.c (print_entry): Print ",hard-float" for
67404         FLAG_ARM_LIBHF.
67406 2012-11-18  David S. Miller  <davem@davemloft.net>
67408         With help from Joseph Myers.
67409         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67410         cutoff to 2**-13.
67411         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67412         cutoff to 2**-25.
67413         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67414         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67415         small.
67416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67417         * math/libm-test.inc (y0_test): New tests.
67418         (y1_test): New tests.
67419         * sysdeps/i386/fpu/libm-test-ulps: Update.
67420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67423 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67425         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67426         64-bit targets.
67427         * configure: Regenerated.
67429 2012-11-17  David S. Miller  <davem@davemloft.net>
67431         [BZ #14811]
67432         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67433         nonzero exponents with absolute value below 0x1p-128 to +/-
67434         0x1p-128.
67436 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67438         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67440         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67442         * posix/getconf-speclist.c: New file.
67443         * posix/posix-envs.def: Likewise.
67444         * posix/confstr.c (START_ENV_GROUP): New macro.
67445         (END_ENV_GROUP): Likewise.
67446         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67447         (KNOWN_PRESENT_ENV_STRING): Likewise.
67448         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67449         (UNKNOWN_ENVIRONMENT): Likewise.
67450         (confstr): Include posix-envs.def instead of handling
67451         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67452         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67453         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67454         (END_ENV_GROUP): Likewise.
67455         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67456         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67457         (UNKNOWN_ENVIRONMENT): Likewise.
67458         (__sysconf): Include posix-envs.def instead of handling associated
67459         cases directly here.
67460         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67461         preprocessing getconf-speclist.c rather than running getconf or
67462         generating empty file.
67464 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67466         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67468 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67470         [BZ #14672]
67471         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67473 2012-11-16  David S. Miller  <davem@davemloft.net>
67475         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67476         smaller than LDBL_EPSILON/2.0L, just return xm1.
67478 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67480         * elf/tst-array1.c (init): Set constructor priority to 1000.
67481         (fini): Set destructor priority to 1000.
67482         * elf/tst-array2dep.c: Likewise.
67484 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67486         [BZ #11741]
67487         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67488         (_IO_new_file_xsputn): Also return EOF if none of the input
67489         data was written when overflow failed.
67490         * libio/iopadn.c (_IO_padn): Likewise.
67491         * libio/iowpadn.c (_IO_wpadn): Likewise.
67492         * stdio-common/tst-put-error.c: Add copyright notice.
67493         (do_test): Add case for printing padded string.
67494         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67495         _IO_padn returned error.
67496         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67497         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67498         return EOF.
67500 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67502         * libio/libioP.h: Add comment note that the references to C++
67503         bits are now obsolete.
67505 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67507         * math/libm-test.inc (check_complex): Use asprintf.
67509 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67511         * debug/pcprofiledump.c (print_version): Update copyright year.
67512         * malloc/memusagestat.c (print_version): Likewise.
67514 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67516         [BZ #14831]
67517         * elf/Makefile (tests): Add tst-audit8.
67518         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67519         ($(objpfx)tst-audit8.out): New target.
67520         (tst-audit8-ENV): New variable.
67521         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67522         audit if l_reloc_result is NULL.
67523         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67524         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67525         * elf/tst-audit8.c: New file.
67527 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67529         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67530         * misc/Makefile (CFLAGS-select.c): Define.
67531         * posix/Makefile (CFLAGS-pause.c): Define.
67533 2012-11-13  David S. Miller  <davem@davemloft.net>
67535         * crypt/Makefile: Move test targets after toplevel Rules
67536         inclusion.  Grab any necessary sysdep routines when linking.
67537         * crypt/md5.c (md5_process_block): Remove define, we will always
67538         name it __md5_process_block.
67539         (md5_finish_ctx): Update md5_process_block call.
67540         (md5_stream): Likewise.
67541         (md5_process_bytes): Likewise.
67542         (md5_process_block): Rename to __md5_process_block and move to ...
67543         * crypt/md5-block.c: ... here.
67544         * crypt/sha256.c (sha256_process_block): Move to ...
67545         * crypt/sha256-block.c: ... here.
67546         * crypt/sha512.c (sha512_process_block): Move to ...
67547         * crypt/sha512-block.c: ... here.
67548         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67549         path.
67550         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67551         * sysdeps/sparc/sparc64/multiarch/Makefile
67552         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67553         crypt subdir.
67554         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67555         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67556         multiarch changes.
67557         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67558         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67559         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67560         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67561         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67562         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67563         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67564         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67565         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67566         file.
67567         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67568         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67569         file.
67570         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67572 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67574         * timezone/tzselect.ksh: Update from tzcode git revision
67575         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67576         * timezone/zdump.c: Likewise.
67577         * timezone/zic.c: Likewise.
67578         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67579         in TZVERSION setting, not $(PKGVERSION).
67580         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67581         REPORT_BUGS_TO settings.
67583         [BZ #14838]
67584         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67585         macro.
67587 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67589         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67590         detection to immediately after _FP_ROUND().
67591         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67592         bits are 0.
67594 2012-11-11  David S. Miller  <davem@davemloft.net>
67596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67597         inttypes.h
67598         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67599         __close rather than their public counterparts.
67601 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67603         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67604         file.
67605         [UNIX98] (sem_timedwait): Do not expect.
67606         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67607         [XPG4 || UNIX98] (sockatmark): Do not expect.
67608         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67609         (clock_getcpuclockid): Do not expect.
67610         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67611         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67612         Do not expect.
67613         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67614         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67615         [UNIX98] (vwscanf): Likewise.
67616         [UNIX98] (vswscanf): Likewise.
67618 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67620         * timezone/version.h: Remove file.
67621         * timezone/README: Do not refer to version.h.
67622         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67623         $(objpfx)version.h.
67624         ($(objpfx)zdump.o): Likewise.
67625         ($(objpfx)version.h): New target.
67627         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67628         2012i.
67629         * timezone/README: Don't mention modification to tzselect.ksh.
67630         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67631         work on unmodified tzselect.ksh.  Substitute version numbers in
67632         tzselect.ksh.
67634         * Makefile (format-me): Remove.
67635         (INSTALL): Adjust indentation.  Use commands directly instead of
67636         using $(format-me).
67638         * aclocal.m4 (ACX_PKGVERSION): New macro.
67639         (ACX_BUGURL): Likewise.
67640         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67641         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67642         (REPORT_BUGS_TO): Likewise.
67643         * configure: Regenerated.
67644         * config.h.in (PKGVERSION): New macro.
67645         (REPORT_BUGS_TO): Likewise.
67646         * config.make.in (PKGVERSION): New variable.
67647         (PKGVERSION_TEXI): Likewise.
67648         (REPORT_BUGS_TO): Likewise.
67649         (REPORT_BUGS_TEXI): Likewise.
67650         * Makefile (format-me): Use -I$(common-objpfx)manual.
67651         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67652         ($(common-objpfx)manual/%): New target.
67653         (manual/%): Remove target.
67654         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67655         (print_version): Use PKGVERSION.
67656         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67657         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67658         and REPORT_BUGS_TO.
67659         ($(objpfx)xtrace): Likewise.
67660         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67661         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67662         (print_version): Use PKGVERSION.
67663         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67664         (do_version): Use PKGVERSION.
67665         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67666         REPORT_BUGS_TO.
67667         (common-ldd-rewrite): Likewise.
67668         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67669         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67670         (print_version): Use PKGVERSION.
67671         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67672         * elf/pldd.c (argp_program_bug_address): Remove variable.
67673         (more_help): New function.
67674         (argp): Use more_help.
67675         (print_version): Use PKGVERSION.
67676         * elf/sln.c (main): Use PKGVERSION.
67677         (usage): Use REPORT_BUGS_TO.
67678         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67679         (top level): Use PKGVERSION.
67680         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67681         (print_version): Use PKGVERSION.
67682         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67683         (print_version): Use PKGVERSION.
67684         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67685         (print_version): Use PKGVERSION.
67686         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67687         (print_version): Use PKGVERSION.
67688         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67689         (print_version): Use PKGVERSION.
67690         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67691         (print_version): Use PKGVERSION.
67692         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67693         and BUGURL.
67694         ($(objpfx)memusage): Likewise.
67695         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67696         (do_version): Use PKGVERSION.
67697         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67698         (print_version): Use PKGVERSION.
67699         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67700         ($PKGVERSION): New variable.
67701         ($REPORT_BUGS_TO): Likewise.
67702         (usage): Use $REPORT_BUGS_TO.
67703         (top level): Use $PKGVERSION.
67704         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67705         ($(objpfx)pkgvers.texi): New rule.
67706         ($(objpfx)stamp-pkgvers): Likewise.
67707         * manual/install.texi: Include pkgvers.texi.
67708         (--with-pkgversion): Document new configure option.
67709         (--with-bugurl): Likewise.
67710         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67711         than necessarily for this particular distribution.  Use
67712         REPORT_BUGS_TO for where to report bugs.
67713         * INSTALL: Regenerated.
67714         * manual/libc.texinfo: Include pkgvers.texi.
67715         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67716         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67717         (print_version): Use PKGVERSION.
67718         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67719         (print_version): Use PKGVERSION.
67720         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67721         (print_version): Use PKGVERSION.
67722         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67723         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67724         macro.
67725         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67726         (print_version): Use PKGVERSION.
67727         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67728         (print_version): Use PKGVERSION.
67729         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67730         and PKGVERSION.
67732         * timezone/checktab.awk: Update from tzcode 2012i.
67733         * timezone/ialloc.c: Likewise.
67734         * timezone/private.h: Likewise.
67735         * timezone/scheck.c: Likewise.
67736         * timezone/tzfile.h: Likewise.
67737         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67738         (TZVERSION): Hardcode tzcode version number.
67739         * timezone/zdump.c: Update from tzcode 2012i.
67740         * timezone/zic.c: Likewise.
67741         * timezone/version.h: New file.
67742         * timezone/README: Describe version.h.  Update upstream location.
67744         [BZ #14824]
67745         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67746         (mktemp): Enable declaration.
67747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67750         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67751         Likewise.
67752         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67753         Likewise.
67754         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67755         Likewise.
67756         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67757         Likewise.
67758         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67759         Likewise.
67760         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67761         Likewise.
67763         [BZ #14821]
67764         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67765         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67766         for copies of such integer values.
67767         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67768         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67770 2012-11-09  Andreas Jaeger  <aj@suse.de>
67772         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67773         definitions and declarations that are provided by
67774         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67776 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67778         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67779         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67780         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67781         definition.
67783 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67785         * elf/elf.h: Update comment before AArch64 relocations.
67787 2012-11-07  David S. Miller  <davem@davemloft.net>
67789         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67790         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67791         (__start_context): Declare.
67792         (__makecontext_ret): Delete.
67793         (__makecontext): Hook up __start_context instead of
67794         __makecontext_ret.
67795         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67796         (sysdep_routines): Add __start_context when in stdlib.
67798 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67800         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67801         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67802         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67803         hardcoded "nm".
67804         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67805         (READELF): New variable.  Use it instead of hardcoded "readelf".
67807 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67809         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67810         * sysdeps/x86/Makefile: Here.
67811         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67812         * sysdeps/x86/tst-xmmymm.sh: This.
67814 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67816         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67817         expectations.
67818         [UNIX98] (pthread_barrier_t): Do not expect.
67819         [UNIX98] (pthread_barrierattr_t): Likewise.
67820         [UNIX98] (pthread_spinlock_t): Likewise.
67821         [UNIX98] (pthread_barrier_destroy): Likewise.
67822         [UNIX98] (pthread_barrier_init): Likewise.
67823         [UNIX98] (pthread_barrier_wait): Likewise.
67824         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67825         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67826         [UNIX98] (pthread_barrierattr_init): Likewise.
67827         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67828         [UNIX98] (pthread_getcpuclockid): Likewise.
67829         [UNIX98] (pthread_mutex_timedlock): Likewise.
67830         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67831         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67832         [UNIX98] (pthread_sigmask): Likewise.
67833         [UNIX98] (pthread_spin_destroy): Likewise.
67834         [UNIX98] (pthread_spin_init): Likewise.
67835         [UNIX98] (pthread_spin_lock): Likewise.
67836         [UNIX98] (pthread_spin_trylock): Likewise.
67837         [UNIX98] (pthread_spin_unlock): Likewise.
67838         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67839         Do not expect.
67840         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67841         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67842         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67843         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67844         [XPG3 || XPG4] (pthread_key_t): Likewise.
67845         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67846         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67847         [XPG3 || XPG4] (pthread_once_t): Likewise.
67848         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67849         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67850         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67851         [XPG3 || XPG4] (pthread_t): Likewise.
67853         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67854         not expect.
67855         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67857         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67858         Change function return type to int.
67860         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67861         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67862         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67863         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67864         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67865         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67866         [!POSIX] (posix_madvise): Likewise.
67867         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67868         && !UNIX98].
67869         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67870         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67871         (mode_t): Likewise.
67872         (posix_mem_offset): Likewise.
67873         (posix_typed_mem_get_info): Likewise.
67874         (posix_typed_mem_open): Likewise.
67876         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67877         Change condition to [XOPEN2K8].
67879         * conform/conformtest.pl: Preprocess allow-header data with -x c
67880         instead of from stdin.
67881         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67882         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67883         [C99-based standards] (cerfc): Likewise.
67884         [C99-based standards] (cexp2): Likewise.
67885         [C99-based standards] (cexpm1): Likewise.
67886         [C99-based standards] (clog10): Likewise.
67887         [C99-based standards] (clog1p): Likewise.
67888         [C99-based standards] (clog2): Likewise.
67889         [C99-based standards] (clgamma): Likewise.
67890         [C99-based standards] (ctgamma): Likewise.
67891         [C99-based standards] (cerff): Likewise.
67892         [C99-based standards] (cerfcf): Likewise.
67893         [C99-based standards] (cexp2f): Likewise.
67894         [C99-based standards] (cexpm1f): Likewise.
67895         [C99-based standards] (clog10f): Likewise.
67896         [C99-based standards] (clog1pf): Likewise.
67897         [C99-based standards] (clog2f): Likewise.
67898         [C99-based standards] (clgammaf): Likewise.
67899         [C99-based standards] (ctgammaf): Likewise.
67900         [C99-based standards] (cerfl): Likewise.
67901         [C99-based standards] (cerfcl): Likewise.
67902         [C99-based standards] (cexp2l): Likewise.
67903         [C99-based standards] (cexpm1l): Likewise.
67904         [C99-based standards] (clog10l): Likewise.
67905         [C99-based standards] (clog1pl): Likewise.
67906         [C99-based standards] (clog2l): Likewise.
67907         [C99-based standards] (clgammal): Likewise.
67908         [C99-based standards] (ctgammal): Likewise.
67909         * conform/data/inttypes.h-data [C99-based standards]: Include
67910         stdint.h-data.  Remove all expectations for stdint.h contents.
67911         [C99-based standards] (PRI*): Do not allow.
67912         [C99-based standards] (SCN*): Likewise.
67913         [C99-based standards] (*_t): Likewise.
67914         [C99-based-standards] (PRId8): Expect macro.
67915         [C99-based-standards] (PRIi8): Likewise.
67916         [C99-based-standards] (PRIo8): Likewise.
67917         [C99-based-standards] (PRIu8): Likewise.
67918         [C99-based-standards] (PRIx8): Likewise.
67919         [C99-based-standards] (PRIX8): Likewise.
67920         [C99-based-standards] (SCNd8): Likewise.
67921         [C99-based-standards] (SCNi8): Likewise.
67922         [C99-based-standards] (SCNo8): Likewise.
67923         [C99-based-standards] (SCNu8): Likewise.
67924         [C99-based-standards] (SCNx8): Likewise.
67925         [C99-based-standards] (PRIdLEAST8): Likewise.
67926         [C99-based-standards] (PRIiLEAST8): Likewise.
67927         [C99-based-standards] (PRIoLEAST8): Likewise.
67928         [C99-based-standards] (PRIuLEAST8): Likewise.
67929         [C99-based-standards] (PRIxLEAST8): Likewise.
67930         [C99-based-standards] (PRIXLEAST8): Likewise.
67931         [C99-based-standards] (SCNdLEAST8): Likewise.
67932         [C99-based-standards] (SCNiLEAST8): Likewise.
67933         [C99-based-standards] (SCNoLEAST8): Likewise.
67934         [C99-based-standards] (SCNuLEAST8): Likewise.
67935         [C99-based-standards] (SCNxLEAST8): Likewise.
67936         [C99-based-standards] (PRIdFAST8): Likewise.
67937         [C99-based-standards] (PRIiFAST8): Likewise.
67938         [C99-based-standards] (PRIoFAST8): Likewise.
67939         [C99-based-standards] (PRIuFAST8): Likewise.
67940         [C99-based-standards] (PRIxFAST8): Likewise.
67941         [C99-based-standards] (PRIXFAST8): Likewise.
67942         [C99-based-standards] (SCNdFAST8): Likewise.
67943         [C99-based-standards] (SCNiFAST8): Likewise.
67944         [C99-based-standards] (SCNoFAST8): Likewise.
67945         [C99-based-standards] (SCNuFAST8): Likewise.
67946         [C99-based-standards] (SCNxFAST8): Likewise.
67947         [C99-based-standards] (PRId16): Likewise.
67948         [C99-based-standards] (PRIi16): Likewise.
67949         [C99-based-standards] (PRIo16): Likewise.
67950         [C99-based-standards] (PRIu16): Likewise.
67951         [C99-based-standards] (PRIx16): Likewise.
67952         [C99-based-standards] (PRIX16): Likewise.
67953         [C99-based-standards] (SCNd16): Likewise.
67954         [C99-based-standards] (SCNi16): Likewise.
67955         [C99-based-standards] (SCNo16): Likewise.
67956         [C99-based-standards] (SCNu16): Likewise.
67957         [C99-based-standards] (SCNx16): Likewise.
67958         [C99-based-standards] (PRIdLEAST16): Likewise.
67959         [C99-based-standards] (PRIiLEAST16): Likewise.
67960         [C99-based-standards] (PRIoLEAST16): Likewise.
67961         [C99-based-standards] (PRIuLEAST16): Likewise.
67962         [C99-based-standards] (PRIxLEAST16): Likewise.
67963         [C99-based-standards] (PRIXLEAST16): Likewise.
67964         [C99-based-standards] (SCNdLEAST16): Likewise.
67965         [C99-based-standards] (SCNiLEAST16): Likewise.
67966         [C99-based-standards] (SCNoLEAST16): Likewise.
67967         [C99-based-standards] (SCNuLEAST16): Likewise.
67968         [C99-based-standards] (SCNxLEAST16): Likewise.
67969         [C99-based-standards] (PRIdFAST16): Likewise.
67970         [C99-based-standards] (PRIiFAST16): Likewise.
67971         [C99-based-standards] (PRIoFAST16): Likewise.
67972         [C99-based-standards] (PRIuFAST16): Likewise.
67973         [C99-based-standards] (PRIxFAST16): Likewise.
67974         [C99-based-standards] (PRIXFAST16): Likewise.
67975         [C99-based-standards] (SCNdFAST16): Likewise.
67976         [C99-based-standards] (SCNiFAST16): Likewise.
67977         [C99-based-standards] (SCNoFAST16): Likewise.
67978         [C99-based-standards] (SCNuFAST16): Likewise.
67979         [C99-based-standards] (SCNxFAST16): Likewise.
67980         [C99-based-standards] (PRId32): Likewise.
67981         [C99-based-standards] (PRIi32): Likewise.
67982         [C99-based-standards] (PRIo32): Likewise.
67983         [C99-based-standards] (PRIu32): Likewise.
67984         [C99-based-standards] (PRIx32): Likewise.
67985         [C99-based-standards] (PRIX32): Likewise.
67986         [C99-based-standards] (SCNd32): Likewise.
67987         [C99-based-standards] (SCNi32): Likewise.
67988         [C99-based-standards] (SCNo32): Likewise.
67989         [C99-based-standards] (SCNu32): Likewise.
67990         [C99-based-standards] (SCNx32): Likewise.
67991         [C99-based-standards] (PRIdLEAST32): Likewise.
67992         [C99-based-standards] (PRIiLEAST32): Likewise.
67993         [C99-based-standards] (PRIoLEAST32): Likewise.
67994         [C99-based-standards] (PRIuLEAST32): Likewise.
67995         [C99-based-standards] (PRIxLEAST32): Likewise.
67996         [C99-based-standards] (PRIXLEAST32): Likewise.
67997         [C99-based-standards] (SCNdLEAST32): Likewise.
67998         [C99-based-standards] (SCNiLEAST32): Likewise.
67999         [C99-based-standards] (SCNoLEAST32): Likewise.
68000         [C99-based-standards] (SCNuLEAST32): Likewise.
68001         [C99-based-standards] (SCNxLEAST32): Likewise.
68002         [C99-based-standards] (PRIdFAST32): Likewise.
68003         [C99-based-standards] (PRIiFAST32): Likewise.
68004         [C99-based-standards] (PRIoFAST32): Likewise.
68005         [C99-based-standards] (PRIuFAST32): Likewise.
68006         [C99-based-standards] (PRIxFAST32): Likewise.
68007         [C99-based-standards] (PRIXFAST32): Likewise.
68008         [C99-based-standards] (SCNdFAST32): Likewise.
68009         [C99-based-standards] (SCNiFAST32): Likewise.
68010         [C99-based-standards] (SCNoFAST32): Likewise.
68011         [C99-based-standards] (SCNuFAST32): Likewise.
68012         [C99-based-standards] (SCNxFAST32): Likewise.
68013         [C99-based-standards] (PRId64): Likewise.
68014         [C99-based-standards] (PRIi64): Likewise.
68015         [C99-based-standards] (PRIo64): Likewise.
68016         [C99-based-standards] (PRIu64): Likewise.
68017         [C99-based-standards] (PRIx64): Likewise.
68018         [C99-based-standards] (PRIX64): Likewise.
68019         [C99-based-standards] (SCNd64): Likewise.
68020         [C99-based-standards] (SCNi64): Likewise.
68021         [C99-based-standards] (SCNo64): Likewise.
68022         [C99-based-standards] (SCNu64): Likewise.
68023         [C99-based-standards] (SCNx64): Likewise.
68024         [C99-based-standards] (PRIdLEAST64): Likewise.
68025         [C99-based-standards] (PRIiLEAST64): Likewise.
68026         [C99-based-standards] (PRIoLEAST64): Likewise.
68027         [C99-based-standards] (PRIuLEAST64): Likewise.
68028         [C99-based-standards] (PRIxLEAST64): Likewise.
68029         [C99-based-standards] (PRIXLEAST64): Likewise.
68030         [C99-based-standards] (SCNdLEAST64): Likewise.
68031         [C99-based-standards] (SCNiLEAST64): Likewise.
68032         [C99-based-standards] (SCNoLEAST64): Likewise.
68033         [C99-based-standards] (SCNuLEAST64): Likewise.
68034         [C99-based-standards] (SCNxLEAST64): Likewise.
68035         [C99-based-standards] (PRIdFAST64): Likewise.
68036         [C99-based-standards] (PRIiFAST64): Likewise.
68037         [C99-based-standards] (PRIoFAST64): Likewise.
68038         [C99-based-standards] (PRIuFAST64): Likewise.
68039         [C99-based-standards] (PRIxFAST64): Likewise.
68040         [C99-based-standards] (PRIXFAST64): Likewise.
68041         [C99-based-standards] (SCNdFAST64): Likewise.
68042         [C99-based-standards] (SCNiFAST64): Likewise.
68043         [C99-based-standards] (SCNoFAST64): Likewise.
68044         [C99-based-standards] (SCNuFAST64): Likewise.
68045         [C99-based-standards] (SCNxFAST64): Likewise.
68046         [C99-based-standards] (PRIdMAX): Likewise.
68047         [C99-based-standards] (PRIiMAX): Likewise.
68048         [C99-based-standards] (PRIoMAX): Likewise.
68049         [C99-based-standards] (PRIuMAX): Likewise.
68050         [C99-based-standards] (PRIxMAX): Likewise.
68051         [C99-based-standards] (PRIXMAX): Likewise.
68052         [C99-based-standards] (SCNdMAX): Likewise.
68053         [C99-based-standards] (SCNiMAX): Likewise.
68054         [C99-based-standards] (SCNoMAX): Likewise.
68055         [C99-based-standards] (SCNuMAX): Likewise.
68056         [C99-based-standards] (SCNxMAX): Likewise.
68057         [C99-based-standards] (PRIdPTR): Likewise.
68058         [C99-based-standards] (PRIiPTR): Likewise.
68059         [C99-based-standards] (PRIoPTR): Likewise.
68060         [C99-based-standards] (PRIuPTR): Likewise.
68061         [C99-based-standards] (PRIxPTR): Likewise.
68062         [C99-based-standards] (PRIXPTR): Likewise.
68063         [C99-based-standards] (SCNdPTR): Likewise.
68064         [C99-based-standards] (SCNiPTR): Likewise.
68065         [C99-based-standards] (SCNoPTR): Likewise.
68066         [C99-based-standards] (SCNuPTR): Likewise.
68067         [C99-based-standards] (SCNxPTR): Likewise.
68068         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68069         allow.
68070         * conform/data/stdint.h-data: Update comments to clarify
68071         requirements.
68072         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68073         type.
68074         [C99-based standards] (INT8_MAX): Likewise.
68075         [C99-based standards] (INT16_MIN): Likewise.
68076         [C99-based standards] (INT16_MAX): Likewise.
68077         [C99-based standards] (INT32_MIN): Likewise.
68078         [C99-based standards] (INT32_MAX): Likewise.
68079         [C99-based standards] (INT64_MIN): Likewise.
68080         [C99-based standards] (INT64_MAX): Likewise.
68081         [C99-based standards] (UINT8_MAX): Likewise.
68082         [C99-based standards] (UINT16_MAX): Likewise.
68083         [C99-based standards] (UINT32_MAX): Likewise.
68084         [C99-based standards] (UINT64_MAX): Likewise.
68085         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68086         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68087         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68088         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68089         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68090         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68091         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68092         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68093         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68094         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68095         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68096         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68097         [C99-based standards] (INT_FAST8_MIN): Likewise.
68098         [C99-based standards] (INT_FAST8_MAX): Likewise.
68099         [C99-based standards] (INT_FAST16_MIN): Likewise.
68100         [C99-based standards] (INT_FAST16_MAX): Likewise.
68101         [C99-based standards] (INT_FAST32_MIN): Likewise.
68102         [C99-based standards] (INT_FAST32_MAX): Likewise.
68103         [C99-based standards] (INT_FAST64_MIN): Likewise.
68104         [C99-based standards] (INT_FAST64_MAX): Likewise.
68105         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68106         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68107         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68108         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68109         [C99-based standards] (INTPTR_MIN): Likewise.
68110         [C99-based standards] (INTPTR_MAX): Likewise.
68111         [C99-based standards] (UINTPTR_MAX): Likewise.
68112         [C99-based standards] (INTMAX_MIN): Likewise.
68113         [C99-based standards] (INTMAX_MAX): Likewise.
68114         [C99-based standards] (UINTMAX_MAX): Likewise.
68115         [C99-based standards] (PTRDIFF_MIN): Likewise.
68116         [C99-based standards] (PTRDIFF_MAX): Likewise.
68117         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68118         [C99-based standards] (SIZE_MAX): Likewise.
68119         [C99-based standards] (WCHAR_MAX): Likewise.
68120         [C99-based standards] (WINT_MAX): Likewise.
68121         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68122         constraint on value.
68123         [C99-based standards] (WCHAR_MIN): Likewise.
68124         [C99-based standards] (WINT_MIN): Likewise.
68125         [C99-based standards] (*_t): Allow.
68126         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68127         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68128         Include math.h-data and complex.h-data.  Remove all expectations
68129         of math.h and complex.h contents.
68130         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68131         at end of line.
68132         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68133         (struct tm): Expect tag.
68134         [C99-based-standards] (wcstof): Expect function.
68135         [C99-based-standards] (wcstold): Likewise.
68136         [C99-based-standards] (wcstoll): Likewise.
68137         [C99-based-standards] (wcstoull): Likewise.
68138         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68139         macro-int-constant.  Specify type.
68140         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68141         constraint on value.
68142         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68143         Specify type.
68144         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68145         Specify value.
68146         [ISO C standards]: Do not allow headers.
68147         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68148         wcs[abcdefghijklmnopqrstuvwxyz]*.
68149         [ISO C standards] (*_t): Do not allow.
68150         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68151         Expect function.
68152         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68153         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68154         Specify type.
68155         [ISO C standards]: Do not allow headers.
68156         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68157         is[abcdefghijklmnopqrstuvwxyz]*.
68158         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68159         to[abcdefghijklmnopqrstuvwxyz]*.
68160         [ISO C standards] (*_t): Do not allow.
68161         * conform/data/stdalign.h-data: New file.
68162         * conform/data/stdbool.h-data: Likewise.
68163         * conform/data/stdnoreturn.h-data: Likewise.
68165 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68167         [BZ #14815]
68168         * manual/filesys.texi (Directory Entries): Typo fix.
68169         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68171 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68173         * elf/elf.h (EM_AARCH64): New macro.
68174         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68175         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68176         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68177         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68178         (R_AARCH64_TLSDESC): Likewise.
68179         (NT_ARM_TLS): Likewise.
68180         (NT_ARM_HW_BREAK): Likewise.
68181         (NT_ARM_HW_WATCH): Likewise.
68183 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68185         [BZ #14811]
68186         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68187         (__ieee754_powl): Saturate nonzero exponents with absolute value
68188         below 0x1p-79 to +/- 0x1p-79.
68189         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68190         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68191         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68192         nonzero exponents with absolute value below 0x1p-32 to +/-
68193         0x1p-32.
68194         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68195         (__ieee754_powl): Saturate nonzero exponents with absolute value
68196         below 0x1p-79 to +/- 0x1p-79.
68197         * math/libm-test.inc (pow_test): Add more tests.
68199 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68201         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68202         _dl_s390_cap_flags with kernel. Increase string length.
68203         (_dl_s390_platforms): Add z196 and zEC12.
68205 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68207         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68208         Change XOPEN21K to XOPEN2K.
68210 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68212         * string/memmove.c: Use memcpy when possible.
68214 2012-11-06  Andreas Jaeger  <aj@suse.de>
68216         * po/eo.po: Update from translation team.
68218 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #14793]
68221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68222         exponent and small x and y exponents, scale x or y up.  Increase
68223         by 2 the exponent used in scaling up.
68224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68225         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68226         * math/libm-test.inc (fma_test): Add more tests.
68227         (fma_test_towardzero): Likewise.
68228         (fma_test_downward): Likewise.
68229         (fma_test_upward): Likewise.
68231 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68233         [BZ #14805]
68234         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68235         fenv_t *.
68237         [BZ #14801]
68238         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68239         namespace for names of struct fields.
68240         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68241         fenv_t fields.
68242         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68243         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68245 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68247         [BZ #3665]
68248         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68250 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68252         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68253         PTR_DEMANGLE.
68255         [BZ #5246]
68256         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68257         PTR_DEMANGLE.
68259 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68261         [BZ #14797]
68262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68263         definitely overflow as x * y not x * y + z.
68264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68266         * math/libm-test.inc (fma_test): Add more tests.
68267         (fma_test_towardzero): Likewise.
68268         (fma_test_downward): Likewise.
68269         (fma_test_upward): Likewise.
68271 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68273         [BZ #157]
68275         * include/stub-tag.h: Remove file.
68276         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68277         '#include' of it.
68278         * manual/maint.texi (Porting): Don't reference it.
68279         * Makerules ($(objpfx)stubs): Likewise.
68280         * dirent/closedir.c: Don't include <stub-tag.h>.
68281         * dirent/dirfd.c: Likewise.
68282         * dirent/fdopendir.c: Likewise.
68283         * dirent/getdents.c: Likewise.
68284         * dirent/getdents64.c: Likewise.
68285         * dirent/opendir.c: Likewise.
68286         * dirent/readdir.c: Likewise.
68287         * dirent/readdir64.c: Likewise.
68288         * dirent/readdir64_r.c: Likewise.
68289         * dirent/readdir_r.c: Likewise.
68290         * dirent/rewinddir.c: Likewise.
68291         * dirent/seekdir.c: Likewise.
68292         * dirent/telldir.c: Likewise.
68293         * gmon/profil.c: Likewise.
68294         * grp/setgroups.c: Likewise.
68295         * inet/if_index.c: Likewise.
68296         * io/access.c: Likewise.
68297         * io/chdir.c: Likewise.
68298         * io/chmod.c: Likewise.
68299         * io/chown.c: Likewise.
68300         * io/close.c: Likewise.
68301         * io/dup.c: Likewise.
68302         * io/dup2.c: Likewise.
68303         * io/dup3.c: Likewise.
68304         * io/euidaccess.c: Likewise.
68305         * io/faccessat.c: Likewise.
68306         * io/fchdir.c: Likewise.
68307         * io/fchmod.c: Likewise.
68308         * io/fchmodat.c: Likewise.
68309         * io/fchown.c: Likewise.
68310         * io/fchownat.c: Likewise.
68311         * io/fcntl.c: Likewise.
68312         * io/flock.c: Likewise.
68313         * io/fstatfs.c: Likewise.
68314         * io/fstatfs64.c: Likewise.
68315         * io/fstatvfs.c: Likewise.
68316         * io/fstatvfs64.c: Likewise.
68317         * io/futimens.c: Likewise.
68318         * io/fxstat.c: Likewise.
68319         * io/fxstat64.c: Likewise.
68320         * io/fxstatat.c: Likewise.
68321         * io/fxstatat64.c: Likewise.
68322         * io/getcwd.c: Likewise.
68323         * io/isatty.c: Likewise.
68324         * io/lchmod.c: Likewise.
68325         * io/lchown.c: Likewise.
68326         * io/link.c: Likewise.
68327         * io/linkat.c: Likewise.
68328         * io/lseek.c: Likewise.
68329         * io/lseek64.c: Likewise.
68330         * io/lxstat64.c: Likewise.
68331         * io/mkdir.c: Likewise.
68332         * io/mkdirat.c: Likewise.
68333         * io/mkfifo.c: Likewise.
68334         * io/mkfifoat.c: Likewise.
68335         * io/open.c: Likewise.
68336         * io/open64.c: Likewise.
68337         * io/openat.c: Likewise.
68338         * io/openat64.c: Likewise.
68339         * io/pipe.c: Likewise.
68340         * io/pipe2.c: Likewise.
68341         * io/poll.c: Likewise.
68342         * io/posix_fadvise.c: Likewise.
68343         * io/posix_fadvise64.c: Likewise.
68344         * io/posix_fallocate.c: Likewise.
68345         * io/posix_fallocate64.c: Likewise.
68346         * io/read.c: Likewise.
68347         * io/readlink.c: Likewise.
68348         * io/readlinkat.c: Likewise.
68349         * io/rmdir.c: Likewise.
68350         * io/sendfile.c: Likewise.
68351         * io/sendfile64.c: Likewise.
68352         * io/statfs.c: Likewise.
68353         * io/statfs64.c: Likewise.
68354         * io/statvfs.c: Likewise.
68355         * io/statvfs64.c: Likewise.
68356         * io/symlink.c: Likewise.
68357         * io/symlinkat.c: Likewise.
68358         * io/ttyname.c: Likewise.
68359         * io/ttyname_r.c: Likewise.
68360         * io/umask.c: Likewise.
68361         * io/unlink.c: Likewise.
68362         * io/unlinkat.c: Likewise.
68363         * io/utime.c: Likewise.
68364         * io/utimensat.c: Likewise.
68365         * io/write.c: Likewise.
68366         * io/xmknod.c: Likewise.
68367         * io/xmknodat.c: Likewise.
68368         * io/xstat.c: Likewise.
68369         * io/xstat64.c: Likewise.
68370         * login/getpt.c: Likewise.
68371         * login/grantpt.c: Likewise.
68372         * login/unlockpt.c: Likewise.
68373         * math/e_acoshl.c: Likewise.
68374         * math/e_acosl.c: Likewise.
68375         * math/e_asinl.c: Likewise.
68376         * math/e_atan2l.c: Likewise.
68377         * math/e_atanhl.c: Likewise.
68378         * math/e_coshl.c: Likewise.
68379         * math/e_expl.c: Likewise.
68380         * math/e_fmodl.c: Likewise.
68381         * math/e_gammal_r.c: Likewise.
68382         * math/e_hypotl.c: Likewise.
68383         * math/e_j0l.c: Likewise.
68384         * math/e_j1l.c: Likewise.
68385         * math/e_jnl.c: Likewise.
68386         * math/e_lgammal_r.c: Likewise.
68387         * math/e_log10l.c: Likewise.
68388         * math/e_log2l.c: Likewise.
68389         * math/e_logl.c: Likewise.
68390         * math/e_powl.c: Likewise.
68391         * math/e_rem_pio2l.c: Likewise.
68392         * math/e_sinhl.c: Likewise.
68393         * math/e_sqrtl.c: Likewise.
68394         * math/fclrexcpt.c: Likewise.
68395         * math/fedisblxcpt.c: Likewise.
68396         * math/feenablxcpt.c: Likewise.
68397         * math/fegetenv.c: Likewise.
68398         * math/fegetexcept.c: Likewise.
68399         * math/fegetround.c: Likewise.
68400         * math/feholdexcpt.c: Likewise.
68401         * math/fesetenv.c: Likewise.
68402         * math/fesetround.c: Likewise.
68403         * math/feupdateenv.c: Likewise.
68404         * math/fgetexcptflg.c: Likewise.
68405         * math/fraiseexcpt.c: Likewise.
68406         * math/fsetexcptflg.c: Likewise.
68407         * math/ftestexcept.c: Likewise.
68408         * math/k_cosl.c: Likewise.
68409         * math/k_rem_pio2l.c: Likewise.
68410         * math/k_sinl.c: Likewise.
68411         * math/k_tanl.c: Likewise.
68412         * math/s_asinhl.c: Likewise.
68413         * math/s_atanl.c: Likewise.
68414         * math/s_cbrtl.c: Likewise.
68415         * math/s_erfl.c: Likewise.
68416         * math/s_expm1l.c: Likewise.
68417         * math/s_log1pl.c: Likewise.
68418         * math/s_tanhl.c: Likewise.
68419         * misc/acct.c: Likewise.
68420         * misc/brk.c: Likewise.
68421         * misc/chflags.c: Likewise.
68422         * misc/chroot.c: Likewise.
68423         * misc/fchflags.c: Likewise.
68424         * misc/fgetxattr.c: Likewise.
68425         * misc/flistxattr.c: Likewise.
68426         * misc/fremovexattr.c: Likewise.
68427         * misc/fsetxattr.c: Likewise.
68428         * misc/fsync.c: Likewise.
68429         * misc/ftruncate.c: Likewise.
68430         * misc/futimes.c: Likewise.
68431         * misc/futimesat.c: Likewise.
68432         * misc/getdomain.c: Likewise.
68433         * misc/getdtsz.c: Likewise.
68434         * misc/gethostid.c: Likewise.
68435         * misc/gethostname.c: Likewise.
68436         * misc/getloadavg.c: Likewise.
68437         * misc/getpagesize.c: Likewise.
68438         * misc/getsysstats.c: Likewise.
68439         * misc/getxattr.c: Likewise.
68440         * misc/gtty.c: Likewise.
68441         * misc/ioctl.c: Likewise.
68442         * misc/lgetxattr.c: Likewise.
68443         * misc/listxattr.c: Likewise.
68444         * misc/llistxattr.c: Likewise.
68445         * misc/lremovexattr.c: Likewise.
68446         * misc/lsetxattr.c: Likewise.
68447         * misc/lutimes.c: Likewise.
68448         * misc/madvise.c: Likewise.
68449         * misc/mincore.c: Likewise.
68450         * misc/mlock.c: Likewise.
68451         * misc/mlockall.c: Likewise.
68452         * misc/mmap.c: Likewise.
68453         * misc/mprotect.c: Likewise.
68454         * misc/msync.c: Likewise.
68455         * misc/munlock.c: Likewise.
68456         * misc/munlockall.c: Likewise.
68457         * misc/munmap.c: Likewise.
68458         * misc/preadv.c: Likewise.
68459         * misc/preadv64.c: Likewise.
68460         * misc/ptrace.c: Likewise.
68461         * misc/pwritev.c: Likewise.
68462         * misc/pwritev64.c: Likewise.
68463         * misc/readv.c: Likewise.
68464         * misc/reboot.c: Likewise.
68465         * misc/remap_file_pages.c: Likewise.
68466         * misc/removexattr.c: Likewise.
68467         * misc/revoke.c: Likewise.
68468         * misc/select.c: Likewise.
68469         * misc/setdomain.c: Likewise.
68470         * misc/setegid.c: Likewise.
68471         * misc/seteuid.c: Likewise.
68472         * misc/sethostid.c: Likewise.
68473         * misc/sethostname.c: Likewise.
68474         * misc/setregid.c: Likewise.
68475         * misc/setreuid.c: Likewise.
68476         * misc/setxattr.c: Likewise.
68477         * misc/sstk.c: Likewise.
68478         * misc/stty.c: Likewise.
68479         * misc/swapoff.c: Likewise.
68480         * misc/swapon.c: Likewise.
68481         * misc/sync.c: Likewise.
68482         * misc/syncfs.c: Likewise.
68483         * misc/syscall.c: Likewise.
68484         * misc/truncate.c: Likewise.
68485         * misc/ualarm.c: Likewise.
68486         * misc/usleep.c: Likewise.
68487         * misc/ustat.c: Likewise.
68488         * misc/utimes.c: Likewise.
68489         * misc/vhangup.c: Likewise.
68490         * misc/writev.c: Likewise.
68491         * posix/_exit.c: Likewise.
68492         * posix/alarm.c: Likewise.
68493         * posix/execve.c: Likewise.
68494         * posix/fexecve.c: Likewise.
68495         * posix/fork.c: Likewise.
68496         * posix/fpathconf.c: Likewise.
68497         * posix/getaddrinfo.c: Likewise.
68498         * posix/getegid.c: Likewise.
68499         * posix/geteuid.c: Likewise.
68500         * posix/getgid.c: Likewise.
68501         * posix/getgroups.c: Likewise.
68502         * posix/getlogin.c: Likewise.
68503         * posix/getlogin_r.c: Likewise.
68504         * posix/getpgid.c: Likewise.
68505         * posix/getpid.c: Likewise.
68506         * posix/getppid.c: Likewise.
68507         * posix/getresgid.c: Likewise.
68508         * posix/getresuid.c: Likewise.
68509         * posix/getsid.c: Likewise.
68510         * posix/getuid.c: Likewise.
68511         * posix/glob64.c: Likewise.
68512         * posix/nanosleep.c: Likewise.
68513         * posix/pathconf.c: Likewise.
68514         * posix/pause.c: Likewise.
68515         * posix/posix_madvise.c: Likewise.
68516         * posix/pread.c: Likewise.
68517         * posix/pread64.c: Likewise.
68518         * posix/pwrite.c: Likewise.
68519         * posix/pwrite64.c: Likewise.
68520         * posix/sched_getaffinity.c: Likewise.
68521         * posix/sched_getp.c: Likewise.
68522         * posix/sched_gets.c: Likewise.
68523         * posix/sched_primax.c: Likewise.
68524         * posix/sched_primin.c: Likewise.
68525         * posix/sched_rr_gi.c: Likewise.
68526         * posix/sched_setaffinity.c: Likewise.
68527         * posix/sched_setp.c: Likewise.
68528         * posix/sched_sets.c: Likewise.
68529         * posix/sched_yield.c: Likewise.
68530         * posix/setgid.c: Likewise.
68531         * posix/setlogin.c: Likewise.
68532         * posix/setpgid.c: Likewise.
68533         * posix/setresgid.c: Likewise.
68534         * posix/setresuid.c: Likewise.
68535         * posix/setsid.c: Likewise.
68536         * posix/setuid.c: Likewise.
68537         * posix/sleep.c: Likewise.
68538         * posix/spawni.c: Likewise.
68539         * posix/sysconf.c: Likewise.
68540         * posix/times.c: Likewise.
68541         * posix/wait.c: Likewise.
68542         * posix/wait3.c: Likewise.
68543         * posix/wait4.c: Likewise.
68544         * posix/waitpid.c: Likewise.
68545         * resolv/gai_sigqueue.c: Likewise.
68546         * resource/getpriority.c: Likewise.
68547         * resource/getrlimit.c: Likewise.
68548         * resource/getrusage.c: Likewise.
68549         * resource/nice.c: Likewise.
68550         * resource/setpriority.c: Likewise.
68551         * resource/setrlimit.c: Likewise.
68552         * resource/ulimit.c: Likewise.
68553         * rt/aio_cancel.c: Likewise.
68554         * rt/aio_fsync.c: Likewise.
68555         * rt/aio_read.c: Likewise.
68556         * rt/aio_sigqueue.c: Likewise.
68557         * rt/aio_suspend.c: Likewise.
68558         * rt/aio_write.c: Likewise.
68559         * rt/clock_getres.c: Likewise.
68560         * rt/clock_gettime.c: Likewise.
68561         * rt/clock_nanosleep.c: Likewise.
68562         * rt/clock_settime.c: Likewise.
68563         * rt/lio_listio.c: Likewise.
68564         * rt/mq_close.c: Likewise.
68565         * rt/mq_getattr.c: Likewise.
68566         * rt/mq_notify.c: Likewise.
68567         * rt/mq_open.c: Likewise.
68568         * rt/mq_receive.c: Likewise.
68569         * rt/mq_send.c: Likewise.
68570         * rt/mq_setattr.c: Likewise.
68571         * rt/mq_timedreceive.c: Likewise.
68572         * rt/mq_timedsend.c: Likewise.
68573         * rt/mq_unlink.c: Likewise.
68574         * rt/shm_open.c: Likewise.
68575         * rt/shm_unlink.c: Likewise.
68576         * rt/timer_create.c: Likewise.
68577         * rt/timer_delete.c: Likewise.
68578         * rt/timer_getoverr.c: Likewise.
68579         * rt/timer_gettime.c: Likewise.
68580         * rt/timer_settime.c: Likewise.
68581         * setjmp/__longjmp.c: Likewise.
68582         * setjmp/setjmp.c: Likewise.
68583         * signal/kill.c: Likewise.
68584         * signal/killpg.c: Likewise.
68585         * signal/raise.c: Likewise.
68586         * signal/sigaction.c: Likewise.
68587         * signal/sigaltstack.c: Likewise.
68588         * signal/sigblock.c: Likewise.
68589         * signal/sigignore.c: Likewise.
68590         * signal/sigintr.c: Likewise.
68591         * signal/signal.c: Likewise.
68592         * signal/sigpause.c: Likewise.
68593         * signal/sigpending.c: Likewise.
68594         * signal/sigqueue.c: Likewise.
68595         * signal/sigreturn.c: Likewise.
68596         * signal/sigset.c: Likewise.
68597         * signal/sigsetmask.c: Likewise.
68598         * signal/sigstack.c: Likewise.
68599         * signal/sigsuspend.c: Likewise.
68600         * signal/sigtimedwait.c: Likewise.
68601         * signal/sigvec.c: Likewise.
68602         * signal/sigwait.c: Likewise.
68603         * signal/sigwaitinfo.c: Likewise.
68604         * signal/sysv_signal.c: Likewise.
68605         * socket/accept.c: Likewise.
68606         * socket/accept4.c: Likewise.
68607         * socket/bind.c: Likewise.
68608         * socket/connect.c: Likewise.
68609         * socket/getpeername.c: Likewise.
68610         * socket/getsockname.c: Likewise.
68611         * socket/getsockopt.c: Likewise.
68612         * socket/isfdtype.c: Likewise.
68613         * socket/listen.c: Likewise.
68614         * socket/recv.c: Likewise.
68615         * socket/recvfrom.c: Likewise.
68616         * socket/recvmsg.c: Likewise.
68617         * socket/send.c: Likewise.
68618         * socket/sendmsg.c: Likewise.
68619         * socket/sendto.c: Likewise.
68620         * socket/setsockopt.c: Likewise.
68621         * socket/shutdown.c: Likewise.
68622         * socket/sockatmark.c: Likewise.
68623         * socket/socket.c: Likewise.
68624         * socket/socketpair.c: Likewise.
68625         * stdio-common/ctermid.c: Likewise.
68626         * stdio-common/cuserid.c: Likewise.
68627         * stdio-common/remove.c: Likewise.
68628         * stdio-common/rename.c: Likewise.
68629         * stdio-common/renameat.c: Likewise.
68630         * stdio-common/tempname.c: Likewise.
68631         * stdlib/getcontext.c: Likewise.
68632         * stdlib/makecontext.c: Likewise.
68633         * stdlib/setcontext.c: Likewise.
68634         * stdlib/swapcontext.c: Likewise.
68635         * stdlib/system.c: Likewise.
68636         * streams/fattach.c: Likewise.
68637         * streams/fdetach.c: Likewise.
68638         * streams/getmsg.c: Likewise.
68639         * streams/getpmsg.c: Likewise.
68640         * streams/putmsg.c: Likewise.
68641         * streams/putpmsg.c: Likewise.
68642         * sysdeps/unix/bsd/getpt.c: Likewise.
68643         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68644         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68645         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68647         Likewise.
68648         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68649         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68650         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68651         * sysvipc/msgctl.c: Likewise.
68652         * sysvipc/msgget.c: Likewise.
68653         * sysvipc/msgrcv.c: Likewise.
68654         * sysvipc/msgsnd.c: Likewise.
68655         * sysvipc/semctl.c: Likewise.
68656         * sysvipc/semget.c: Likewise.
68657         * sysvipc/semop.c: Likewise.
68658         * sysvipc/semtimedop.c: Likewise.
68659         * sysvipc/shmat.c: Likewise.
68660         * sysvipc/shmctl.c: Likewise.
68661         * sysvipc/shmdt.c: Likewise.
68662         * sysvipc/shmget.c: Likewise.
68663         * termios/tcdrain.c: Likewise.
68664         * termios/tcflow.c: Likewise.
68665         * termios/tcflush.c: Likewise.
68666         * termios/tcgetattr.c: Likewise.
68667         * termios/tcgetpgrp.c: Likewise.
68668         * termios/tcsendbrk.c: Likewise.
68669         * termios/tcsetattr.c: Likewise.
68670         * termios/tcsetpgrp.c: Likewise.
68671         * time/adjtime.c: Likewise.
68672         * time/clock.c: Likewise.
68673         * time/getitimer.c: Likewise.
68674         * time/gettimeofday.c: Likewise.
68675         * time/setitimer.c: Likewise.
68676         * time/settimeofday.c: Likewise.
68677         * time/stime.c: Likewise.
68678         * time/time.c: Likewise.
68680 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68682         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68683         /usr/old/bin.
68685         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68686         instead of spaces.
68687         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68689 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68691         [BZ #14796]
68692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68693         FE_TONEAREST before applying Dekker multiplication and Knuth
68694         addition.  Clear inexact exceptions and check for exact zero
68695         results afterwards.
68696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68697         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68698         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68699         * math/libm-test.inc (fma_test): Add more tests.
68700         (fma_test_towardzero): Likewise.
68701         (fma_test_downward): Likewise.
68702         (fma_test_upward): Likewise.
68703         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68704         function.
68705         (libc_fesetround): New macro.
68706         (libc_fesetroundf): Likewise.
68707         (libc_fesetroundl): Likewise.
68708         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68709         function.
68710         (libc_fesetround_387): Likewise.
68711         (libc_fesetroundf): New macro.
68712         (libc_fesetround): Likewise.
68713         (libc_fesetroundl): Likewise.
68714         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68715         function.
68716         (libc_fesetroundf): New macro.
68717         (libc_fesetround): Likewise.
68718         (libc_fesetroundl): Likewise.
68719         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68720         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68721         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68722         libm_hidden_ver.
68723         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68724         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68725         libm_hidden_def.
68726         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68727         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68728         libm_hidden_ver.
68729         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68730         libm_hidden_def.
68732         [BZ #3439]
68733         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68734         integer constant usable in #if and use that to give value to enum
68735         constant.
68736         (FE_DIVBYZERO): Likewise.
68737         (FE_UNDERFLOW): Likewise.
68738         (FE_OVERFLOW): Likewise.
68739         (FE_INVALID): Likewise.
68740         (FE_INVALID_SNAN): Likewise.
68741         (FE_INVALID_ISI): Likewise.
68742         (FE_INVALID_IDI): Likewise.
68743         (FE_INVALID_ZDZ): Likewise.
68744         (FE_INVALID_IMZ): Likewise.
68745         (FE_INVALID_COMPARE): Likewise.
68746         (FE_INVALID_SOFTWARE): Likewise.
68747         (FE_INVALID_SQRT): Likewise.
68748         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68749         (FE_TONEAREST): Likewise.
68750         (FE_TOWARDZERO): Likewise.
68751         (FE_UPWARD): Likewise.
68752         (FE_DOWNWARD): Likewise.
68753         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68754         (FE_DIVBYZERO): Likewise.
68755         (FE_OVERFLOW): Likewise.
68756         (FE_UNDERFLOW): Likewise.
68757         (FE_INEXACT): Likewise.
68758         (FE_TONEAREST): Likewise.
68759         (FE_DOWNWARD): Likewise.
68760         (FE_UPWARD): Likewise.
68761         (FE_TOWARDZERO): Likewise.
68762         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68763         (FE_UNDERFLOW): Likewise.
68764         (FE_OVERFLOW): Likewise.
68765         (FE_DIVBYZERO): Likewise.
68766         (FE_INVALID): Likewise.
68767         (FE_TONEAREST): Likewise.
68768         (FE_TOWARDZERO): Likewise.
68769         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68770         (FE_OVERFLOW): Likewise.
68771         (FE_UNDERFLOW): Likewise.
68772         (FE_DIVBYZERO): Likewise.
68773         (FE_INEXACT): Likewise.
68774         (FE_TONEAREST): Likewise.
68775         (FE_TOWARDZERO): Likewise.
68776         (FE_UPWARD): Likewise.
68777         (FE_DOWNWARD): Likewise.
68778         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68779         (FE_DIVBYZERO): Likewise.
68780         (FE_OVERFLOW): Likewise.
68781         (FE_UNDERFLOW): Likewise.
68782         (FE_INEXACT): Likewise.
68783         (FE_TONEAREST): Likewise.
68784         (FE_DOWNWARD): Likewise.
68785         (FE_UPWARD): Likewise.
68786         (FE_TOWARDZERO): Likewise.
68788 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68790         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68792 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68794         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68795         commands.  Quote $PWD.
68796         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68797         -x" by "export".
68798         (remove_newlines): Remove.
68800 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68802         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68803         * stdlib/stdlib.h (atof): Moved to ...
68804         * include/bits/stdlib-float.h: Here.  New file.
68805         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68806         * stdlib/bits/stdlib-float.h: New file.
68807         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68808         -mno-sse -mno-mmx.
68809         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68810         <xmmintrin.h>.
68812 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68814         * conform/conformtest.pl (@headers): Add fenv.h.
68815         * conform/data/fenv.h-data: New file.
68816         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68817         include of <math/fenv.h>.
68819         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68820         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68821         && !UNIX98].  Enables tests for XOPEN2K8.
68822         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68823         POSIX2008]: Likewise.
68825         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68826         (struct rusage): Do not expect type or its members.
68828         [BZ #3439]
68829         * math/math.h (FP_NAN): Define macro to integer constant usable in
68830         #if and use that to give value to enum constant.
68831         (FP_INFINITE): Likewise.
68832         (FP_ZERO): Likewise.
68833         (FP_SUBNORMAL): Likewise.
68834         (FP_NORMAL): Likewise.
68836 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68838         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68839         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68840         arguments.
68842 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68844         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68845         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68846         autoconf-time if not.
68847         * configure.in: Remove AC_PREREQ.
68849 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68851         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68852         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68853         of the internal implementation.
68855 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68857         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68858         except include of <misc/sys/syslog.h>.
68860 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68863         function returns with a NULL context exit with zero.
68865 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68867         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68869 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68871         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68872         (run_program_cmd): This.
68873         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68874         (tst_langinfo): New variable.  Use it.
68876 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68878         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68879         floating point opcodes.
68881 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68883         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68884         variable.
68886         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68888         * sysdeps/mach/hurd/powerpc: Remove directory.
68889         * sysdeps/mach/powerpc: Likewise.
68891 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68893         * scripts/check-local-headers.sh: Ignore c++ headers.
68895 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68897         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68898         __libc_cleanup_region_start argument.
68900 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68902         [BZ #14784]
68903         [BZ #14785]
68904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68905         x * y using scaling, not as x * y + z.
68906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68908         * math/libm-test.inc (fma_test): Add more tests.
68909         (fma_test_towardzero): Likewise.
68910         (fma_test_downward): Likewise.
68911         (fma_test_upward): Likewise.
68913 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68915         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68917 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68919         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68920         New variable.
68922 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68924         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68926 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68929         Fix sort order.
68930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68931         Likewise.
68933 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68936         Fix the order of the list for glibc 2.17.
68937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68938         Likewise.
68940 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68944 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68946         [BZ #14610]
68947         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68948         for low part of x being zero before using __atanl (y).
68949         * math/libm-test.inc (atan2_test): Add another test.
68951         * manual/install.texi (Configuring and compiling): Document
68952         general use of test-wrapper and test-wrapper-env.
68953         * INSTALL: Regenerated.
68955         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68956         (__fma): Do not extract and scale down low bits on after-rounding
68957         systems when result rounded to normal precision would have normal
68958         exponent.
68959         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68960         (__fmal): Do not extract and scale down low bits on after-rounding
68961         systems when result rounded to normal precision would have normal
68962         exponent.
68963         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68964         (__fmal): Do not extract and scale down low bits on after-rounding
68965         systems when result rounded to normal precision would have normal
68966         exponent.
68967         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68968         macro.
68969         (fma_test): Add more tests.
68970         (fma_test_towardzero): Likewise.
68971         (fma_test_downward): Likewise.
68972         (fma_test_upward): Likewise.
68974 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68976         * sysdeps/i386/tininess.h: Renamed to ...
68977         * sysdeps/x86/tininess.h: This.
68978         * sysdeps/x86_64/tininess.h: Removed.
68980 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68982         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68983         input.  Use $(build-program-cmd).
68984         ($(objpfx)tst-array1-static.out): Likewise.
68985         ($(objpfx)tst-array2.out): Likewise.
68986         ($(objpfx)tst-array3.out): Likewise.
68987         ($(objpfx)tst-array4.out): Likewise.
68988         ($(objpfx)tst-array5.out): Likewise.
68989         ($(objpfx)tst-array5-static.out): Likewise.
68991 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68993         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68994         if defined.
68996         * nss/nsswitch.h (nss_interface_function): Provide new
68997         macro for use with NSS functions.
68998         * grp/initgroups.c: Use new macro.
68999         * nss/getXXbyYY.c: Likewise.
69000         * nss/getXXbyYY_r.c: Likewise.
69001         * nss/getXXent.c: Likewise.
69002         * nss/getXXent_r.c: Likewise.
69003         * sysdeps/posix/getaddrinfo.c: Likewise.
69005 2012-10-30  Andreas Jaeger  <aj@suse.de>
69007         * po/ru.po: Update Russion translation from translation project.
69009 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69011         [BZ #14152]
69012         [BZ #14783]
69013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69014         result and shift together with sticky bit instead of replicating
69015         round-to-nearest rounding.
69016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69018         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69019         missing underflow exceptions.
69020         (fma_test_towardzero): Add more tests.
69021         (fma_test_downward): Likewise.
69022         (fma_test_upward): Likewise.
69024         [BZ #14047]
69025         * sysdeps/generic/tininess.h: New file.
69026         * sysdeps/i386/tininess.h: Likewise.
69027         * sysdeps/sh/tininess.h: Likewise.
69028         * sysdeps/x86_64/tininess.h: Likewise.
69029         * stdlib/tst-strtod-underflow.c: Likewise.
69030         * stdlib/tst-tininess.c: Likewise.
69031         * stdlib/strtod_l.c: Include <tininess.h>.
69032         (round_and_return): Do not set errno for exact underflow cases.
69033         Force an underflow exception when setting errno for underflow.
69034         Determine underflow based on rounding to normal precision if
69035         TININESS_AFTER_ROUNDING.
69036         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69037         ERANGE for exact underflow cases.
69038         * stdlib/Makefile (tests): Add tst-tininess and
69039         tst-strtod-underflow.
69040         ($(objpfx)tst-tininess): Use $(link-libm).
69041         ($(objpfx)tst-strtod-underflow): Likewise.
69043 2012-10-30  Andreas Jaeger  <aj@suse.de>
69045         [BZ #14767]
69046         * elf/Makefile (tests): Remove conditional for have-initfini-array
69047         since this is now always required and the variable does not exist
69048         anymore.
69049         (tests-static): Likewise.
69050         (modules-names): Likewise.
69052         * po/eo.po: Add Esperanto translation from translation project.
69054         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69055         merged with constructor/destructor.
69056         (init_array): Likewise.
69057         * elf/tst-array2dep.c (fini_array): Likewise.
69058         (init_array): Likewise.
69060 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69062         * manual/message.texi: Delete @cartouche tags.
69064 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69066         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69067         EOPNOTSUPP.
69068         * sysdeps/mach/hurd/fsync.c: Likewise.
69070         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69071         [_POSIX_REALTIME_SIGNALS]: Change condition to
69072         [_POSIX_REALTIME_SIGNALS > 0].
69074 2012-10-27  Andreas Jaeger  <aj@suse.de>
69076         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69077         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69078         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69079         [__WORDSIZE != 64]: Likewise.
69081 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69083         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69084         *  iconvdata/tst-tables.sh: Likewise.
69086 2012-10-25  David S. Miller  <davem@davemloft.net>
69088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69089         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69090         of strtoull.
69092         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69093         ifunc-impl-list.c
69094         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69095         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69096         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69097         file.
69099 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69101         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69102         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69103         __getdirentries.
69105 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69106             Jim Blandy  <jimb@codesourcery.com>
69108         * scripts/cross-test-ssh.sh: New file.
69109         * manual/install.texi (Configuring and compiling): Document use of
69110         cross-test-ssh.sh.
69111         * INSTALL: Regenerated.
69113 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69115         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69116         EOPNOTSUPP.
69118 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69120         * Makeconfig (run-program-prefix): Fix comment.
69122 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69123             Jim Blandy  <jimb@codesourcery.com>
69125         * Makeconfig (test-wrapper): New variable,
69126         (test-wrapper-env): Likewise.
69127         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69128         (run-built-tests): Define to yes.
69129         (run-program-prefix): Use $(test-wrapper).
69130         (built-program-cmd): Likewise.
69131         * Rules (make-test-out): Use $(test-wrapper-env) and
69132         $(host-built-program-cmd).
69133         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69134         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69135         tst-pathopt.sh.
69136         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69137         $(test-wrapper-env) to tst-rtld-load-self.sh.
69138         ($(objpfx)order2.out): Use $(test-wrapper).
69139         ($(objpfx)tst-initorder.out): Likewise.
69140         ($(objpfx)tst-initorder2.out): Likewise.
69141         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69142         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69143         (test_wrapper_env): New variable.  Use it to run ld.so.
69144         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69145         Use it to run ld.so.
69146         (test_wrapper_env): Likewise.
69147         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69148         $(test-wrapper) to run-iconv-test.sh.
69149         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69150         (ICONV): Use $test_wrapper.
69151         * posix/Makefile ($(objpfx)globtest.out): Pass
69152         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69153         globtest.sh, not $(run-program-prefix).
69154         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69155         (test_wrapper): Likewise.
69156         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69157         set together with run_via_rtld_prefix.
69158         (run_program_prefix): Define in terms of test_wrapper and
69159         run_via_rtld_prefix.
69161 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69163         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69164         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69165         Targets removed.
69167         [BZ #14743]
69168         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69169         Declare __clock_getres, __clock_gettime, __clock_settime,
69170         __clock_nanosleep, and __clock_getcpuclockid.
69171         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69172         Remove librt_hidden_def (clock_gettime).
69173         * sysdeps/unix/clock_gettime.c: Likewise.
69174         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69175         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69176         * rt/clock_getres.c: Define __clock_getres as an alias.
69177         * sysdeps/posix/clock_getres.c: Likewise.
69178         * rt/clock_settime.c: Define __clock_settime as an alias.
69179         * sysdeps/unix/clock_settime.c: Likewise.
69180         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69181         * sysdeps/unix/clock_nanosleep.c: Likewise.
69182         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69183         * rt/clock-compat.c: New file.
69184         * rt/Makefile (librt-routines): Add clock-compat and move
69185         $(clock-routines) to ...
69186         (routines): ... here, new variable.
69187         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69188         Don't add get_clockfreq here.
69189         * rt/Versions (libc: GLIBC_2.17): New version set.
69190         Add clock_* symbols here.
69191         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69193         (GLIBC_2.17): Add clock_* symbols.
69194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69198         Likewise.
69199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69200         Likewise.
69201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69205         * NEWS: Mention the move.
69207         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69208         Use __open, __read, __close rather than their public counterparts.
69209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69210         (__get_clockfreq_via_cpuinfo): Likewise.
69211         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69212         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69214         * config.h.in (HAVE_IFUNC): New #undef.
69215         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69216         was successful.
69217         * configure: Regenerated.
69219 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69221         * configure.in: Move READELF check to start of file.
69222         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69223         libc_cv_asm_gnu_indirect_function in the process.
69224         * configure: Regenerated.
69226 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69228         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69229         send the output to /dev/null.
69230         (libc_cv_cc_with_libunwind): Likewise.
69231         (libc_cv_as_noexecstack): Likewise.
69232         * configure: Regenerate.
69234 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69236         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69238         * posix/globtest.sh (TMPDIR): Do not set.
69239         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69240         (testout): Likewise.
69242 2012-10-24  Andreas Jaeger  <aj@suse.de>
69244         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69245         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69246         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69247         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69248         posix_fadvise64, posix_fallocate64.
69250         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69251         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69252         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69253         Likewise.
69254         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69255         Likewise.
69256         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69259         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69260         <bits/fcntl-linux.h>.
69261         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69263         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69264         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69265         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69266         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69267         [__WORDSIZE != 64]: Likewise.
69269 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69271         * Makeconfig (run-built-tests): New variable.
69272         * Rules [$(cross-compiling) = yes]: Change condition to
69273         [$(run-built-tests) = no].
69274         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69275         to [$(run-built-tests) = yes].
69276         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69277         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69278         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69279         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69280         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69281         * io/Makefile [$(cross-compiling) = no]: Likewise.
69282         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69283         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69284         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69285         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69286         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69287         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69288         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69289         * string/Makefile [$(cross-compiling) = no]: Likewise.
69291         * posix/Makefile ($(objpfx)globtest.out): Pass
69292         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69293         $(rtld-installed-name).
69294         * posix/globtest.sh (elf_objpfx): Remove variable.
69295         (rtld_installed_name): Likewise.
69296         (library_path): Likewise.
69297         (run_program_prefix): New variable.  Use for running globtest
69298         binary.
69300 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69301             Joseph Myers  <joseph@codesourcery.com>
69303         * Makeconfig (host-built-program-cmd): New variable.
69304         * elf/Makefile (tst-stackguard1-ARGS): Use
69305         $(host-built-program-cmd).
69306         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69307         (tst-spawn-ARGS): Likewise.
69308         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69310 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69311             Jim Blandy  <jimb@codesourcery.com>
69313         * Makeconfig (run-via-rtld-prefix): New variable.
69314         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69315         (built-program-cmd): Likewise.
69317 2012-10-22  Andreas Jaeger  <aj@suse.de>
69319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69320         __O_RSYNC if it exists, otherwise to O_SYNC.
69322 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69323             Joseph Myers  <joseph@codesourcery.com>
69325         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69326         /dev/null.
69327         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69328         from /dev/null
69329         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69330         /dev/null.
69332 2012-10-22  Andreas Jaeger  <aj@suse.de>
69334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69335         Define always.
69336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69339         bits/fcntl-linux.h.
69341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69342         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69345         to __O_LARGEFILE.
69346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69347         to __O_LARGEFILE.
69349 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69350             Joseph Myers  <joseph@codesourcery.com>
69352         * config.make.in (NM): New variable.
69354 2012-10-21  Andreas Jaeger  <aj@suse.de>
69356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69357         definitions and declarations that are provided by
69358         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69360 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69362         [BZ #14683]
69363         * elf/Makefile (tests-static): Add tst-leaks1-static.
69364         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69365         ($(objpfx)tst-leaks1-static): New rule.
69366         ($(objpfx)tst-leaks1-static-mem): Likewise.
69367         (tst-leaks1-static-ENV): New macro.
69368         * elf/dl-open.c (dl_open_worker): Check the main application
69369         only if SHARED is defined.
69370         * elf/tst-leaks1-static.c: New file.
69372 2012-10-20  Andreas Jaeger  <aj@suse.de>
69374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69375         generic values for Linux.
69376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69377         and declarations that are provided by <bits/fcntl-linux.h> and
69378         include <bits/fcntl-linux.h>.
69379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69382 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69384         * io/fcntl.h: Move include of <bits/types.h> to the top and
69385         include it unconditionally.
69387 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69389         * wcsmbs/Makefile (tests-ifunc): New variable.
69390         (tests): Add $(tests-ifunc).
69391         * wcsmbs/test-wcschr-ifunc.c: New file.
69392         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69393         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69394         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69395         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69396         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69398         * string/Makefile (tests-ifunc): New variable.
69399         (tests): Add $(tests-ifunc).
69400         * string/test-memccpy.c (TEST_NAME): New macro.
69401         * string/test-memchr.c (TEST_NAME): Likewise.
69402         * string/test-memcmp.c (TEST_NAME): Likewise.
69403         * string/test-memcpy.c (TEST_NAME): Likewise.
69404         * string/test-memmem.c (TEST_NAME): Likewise.
69405         * string/test-memmove.c (TEST_NAME): Likewise.
69406         * string/test-memset.c (TEST_NAME): Likewise.
69407         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69408         * string/test-stpcpy.c (TEST_NAME): Likewise.
69409         * string/test-stpncpy.c (TEST_NAME): Likewise.
69410         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69411         * string/test-strcasestr.c (TEST_NAME): Likewise.
69412         * string/test-strcat.c (TEST_NAME): Likewise.
69413         * string/test-strchr.c (TEST_NAME): Likewise.
69414         * string/test-strcmp.c(TEST_NAME): Likewise.
69415         * string/test-strcpy.c (TEST_NAME): Likewise.
69416         * string/test-strcspn.c (TEST_NAME): Likewise.
69417         * string/test-strlen.c (TEST_NAME): Likewise.
69418         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69419         * string/test-strncmp.c (TEST_NAME): Likewise.
69420         * string/test-strncpy.c (TEST_NAME): Likewise.
69421         * string/test-strnlen.c (TEST_NAME): Likewise.
69422         * string/test-strpbrk.c (TEST_NAME): Likewise.
69423         * string/test-strrchr.c (TEST_NAME): Likewise.
69424         * string/test-strspn.c (TEST_NAME): Likewise.
69425         * string/test-strstr.c (TEST_NAME): Likewise.
69426         * string/test-bcopy-ifunc.c: New file.
69427         * string/test-bzero-ifunc.c: Likewise.
69428         * string/test-memccpy-ifunc.c: Likewise.
69429         * string/test-memchr-ifunc.c: Likewise.
69430         * string/test-memcmp-ifunc.c: Likewise.
69431         * string/test-memcpy-ifunc.c: Likewise.
69432         * string/test-memmem-ifunc.c: Likewise.
69433         * string/test-memmove-ifunc.c: Likewise.
69434         * string/test-mempcpy-ifunc.c: Likewise.
69435         * string/test-memset-ifunc.c: Likewise.
69436         * string/test-rawmemchr-ifunc.c: Likewise.
69437         * string/test-stpcpy-ifunc.c: Likewise.
69438         * string/test-stpncpy-ifunc.c: Likewise.
69439         * string/test-strcasecmp-ifunc.c: Likewise.
69440         * string/test-strcasestr-ifunc.c: Likewise.
69441         * string/test-strcat-ifunc.c: Likewise.
69442         * string/test-strchr-ifunc.c: Likewise.
69443         * string/test-strchrnul-ifunc.c: Likewise.
69444         * string/test-strcmp-ifunc.c: Likewise.
69445         * string/test-strcpy-ifunc.c: Likewise.
69446         * string/test-strcspn-ifunc.c: Likewise.
69447         * string/test-strlen-ifunc.c: Likewise.
69448         * string/test-strncasecmp-ifunc.c: Likewise.
69449         * string/test-strncat-ifunc.c: Likewise.
69450         * string/test-strncmp-ifunc.c: Likewise.
69451         * string/test-strncpy-ifunc.c: Likewise.
69452         * string/test-strnlen-ifunc.c: Likewise.
69453         * string/test-strpbrk-ifunc.c: Likewise.
69454         * string/test-strrchr-ifunc.c: Likewise.
69455         * string/test-strspn-ifunc.c: Likewise.
69456         * string/test-strstr-ifunc.c: Likewise.
69458         * debug/Makefile (tests-ifunc): New variable.
69459         (tests): Add $(tests-ifunc).
69460         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69461         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69462         * debug/test-stpcpy_chk-ifunc.c: New file.
69463         * debug/test-strcpy_chk-ifunc.c: Likewise.
69465 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69467         [BZ #13601]
69468         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69469         header is not read in.
69471 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69473         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69474         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69475         directly.  Pass built executable to script as
69476         $(built-program-cmd).
69477         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69478         $testprogram without using LD_LIBRARY_PATH and $ldso.
69480         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69481         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69482         $(rtld-installed-name).
69483         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69484         (rtld_installed_name): Likewise.
69485         (library_path): Likewise.
69486         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69487         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69488         $(run-program-prefix) to tst-tables.sh.
69489         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69490         it to run tst-table-from and tst-table-to.
69491         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69492         Pass it to tst-table.sh.
69493         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69494         $(run-program-prefix) to tst-gettext.sh.
69495         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69496         tst-translit.sh.
69497         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69498         tst-gettext2.sh.
69499         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69500         to run tst-gettext.
69501         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69502         to run tst-gettext2.
69503         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69504         to run tst-translit.
69505         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69506         $(run-program-prefix) to tst-mtrace.sh.
69507         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69508         to run tst-mtrace.
69509         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69510         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69511         $(rtld-installed-name).
69512         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69513         (rtld_installed_name): Likewise.
69514         (run_program_prefix): New variable.  Use it to run wordexp-test.
69516         * Makeconfig (ARCH): Remove all definitions.
69517         (machine): Likewise.
69518         [ARCH]: Remove conditional code.
69519         [!objdir]: Give error.
69520         [!objdir] (objpfx): Remove.
69521         [!objdir] (common-objpfx): Likewise.
69522         [!objdir] (common-objdir): Likewise.
69523         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69524         AC_CONFIG_FILES call.
69525         * configure: Regenerated.
69527         [BZ #13888]
69528         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69529         or TMPDIR.
69530         (testout): Likewise.
69532         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69533         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69534         $(rtld-installed-name).
69535         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69536         (rtld_installed_name): Likewise.
69537         (runit): Remove function.
69538         (run_getconf): New variable,  Use it for running getconf binary.
69540 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69542         [BZ #14716]
69543         * string/test-memmem.c (check_result): New function.
69544         (do_one_test): Use it.
69545         (check1): New function.
69546         (test_main): Use it.
69548 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69550         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69552 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69554         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69555         (_G_LSEEK64): Likewise.
69556         (_G_MMAP64): Likewise.
69557         (_G_FSTAT64): Likewise.
69558         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69559         (_G_LSEEK64): Likewise.
69560         (_G_MMAP64): Likewise.
69561         (_G_FSTAT64): Likewise.
69562         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69563         unconditional.  Call __mmap64 directly.
69564         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69565         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69566         __lseek64 directly.
69567         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69568         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69569         __mmap64 directly.
69570         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69571         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69572         __lseek64 directly.
69573         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69574         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69575         __lseek64 directly.
69576         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69577         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69578         __lseek64 directly.
69579         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69580         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69581         __fxstat64 directly.
69582         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69583         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69584         unconditional.
69585         (freopen64) [!_G_OPEN64]: Remove conditional code.
69586         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69587         unconditional.
69588         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69589         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69590         unconditional.
69591         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69592         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69593         unconditional.
69594         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69595         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69596         unconditional.
69597         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69598         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69599         unconditional.
69600         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69601         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69602         unconditional.
69603         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69604         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69605         unconditional.
69606         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69608 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69610         [BZ #12140]
69611         * manual/memory.texi (Malloc Tunable Parameters): Add note
69612         about free list pointers overwriting some perturb bytes.
69613         Wording suggested by Roland McGrath.
69615 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69617         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69618         (lgamma_test): Likewise.
69619         (tgamma_test): Likewise.
69621 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69623         [BZ #14700]
69624         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69625         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69627 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69629         * NEWS: Mention BZ #14716.
69630         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69631         when removing AVAILABLE1_USES_J macro.
69633 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69635         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69636         (__bswap_64): __uint64_t for unsigned 64-bit int.
69638 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69640         * include/string.h (memmem): Declare libc hidden alias.
69641         * string/memmem.c (memmem): Define libc hidden alias.
69642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69643         __read, __close instead of open, read, close.
69645 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69648         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69649         global and hidden.
69650         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69651         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69652         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69653         Likewise.
69654         (__rawmemchr_sse2): Likewise.
69655         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69656         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69657         (__strchr_sse2): Likewise.
69658         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69659         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69660         (__strcasecmp_sse2): Likewise.
69661         (__strncasecmp_sse2): Likewise.
69662         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69663         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69664         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69665         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69666         (__strrchr_sse2): Likewise.
69667         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69668         ifunc-impl-list.c.
69669         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69670         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69671         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69672         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69673         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69674         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69675         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69676         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69677         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69678         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69679         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69680         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69681         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69682         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69683         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69684         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69685         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69686         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69687         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69688         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69689         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69690         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69691         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69692         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69693         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69695         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69696         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69697         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69698         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69700         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69701         global and hidden.
69702         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69703         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69704         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69705         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69706         Likewise.
69707         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69708         Likewise.
69709         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69710         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69711         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69712         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69713         ifunc-impl-list.c.
69714         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69715         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69716         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69717         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69718         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69719         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69720         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69721         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69722         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69723         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69724         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69725         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69726         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69727         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69728         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69729         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69730         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69731         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69732         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69733         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69734         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69735         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69736         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69737         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69738         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69739         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69740         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69741         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69742         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69743         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69744         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69745         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69746         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69747         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69748         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69749         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69750         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69751         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69752         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69753         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69754         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69756         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69757         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69758         * include/ifunc-impl-list.h: New file.
69759         * misc/ifunc-impl-list.c: Likewise.
69760         * misc/Makefile (routines): Add ifunc-impl-list.
69761         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69762         * string/test-string.h: Include <ifunc-impl-list.h>.
69763         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69764         TEST_NAME]: New variables.
69765         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69766         are defined.
69767         (test_init): Call __libc_ifunc_impl_list to initialize
69768         func_list if TEST_IFUNC and TEST_NAME are defined.
69770         * string/Makefile (strop-tests): Add bcopy and bzero.
69771         * string/test-bcopy.c: New file.
69772         * string/test-bzero.c: Likewise.
69773         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69774         defined.
69775         * string/test-memset.c: Support bzero test if TEST_BZERO is
69776         defined.
69777         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69778         __libc_memmove.
69779         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69780         __libc_memset.
69781         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69782         of memset.
69784 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69786         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69787         * configure: Regenerated.
69789         * Makeconfig (+link-static-before-libc): Don't include
69790         $(link-static-libc).
69792         * libio/libio.h (_IO_pos_t): Remove.
69794 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69796         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69797         McGrath.
69799 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69801         * crypt/crypt-entry.c: Include fips-private.h.
69802         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69803         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69804         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69805         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69807 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69809         * crypt/crypt-private.h: Include stdbool.h.
69810         (_ufc_setup_salt_r): Return bool.
69811         * crypt/crypt-entry.c: Include errno.h.
69812         (__crypt_r): Return NULL with EINVAL for bad salt.
69813         * crypt/crypt_util.c (bad_for_salt): New.
69814         (_ufc_setup_salt_r): Check that salt is long enough and within
69815         the specified alphabet.
69816         * crypt/badsalttest.c: New file.
69817         * crypt/Makefile (tests): Add it.
69818         ($(objpfx)badsalttest): New.
69820 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69822         * NEWS: Add entry for BZ #14602.
69824 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69826         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69827         type-generic.
69828         * math/libm-test.inc: Update comment listing what functions and
69829         macros are tested.
69830         (isgreater_test): New function.
69831         (isgreaterequal_test): Likewise.
69832         (isless_test): Likewise.
69833         (islessequal_test): Likewise.
69834         (islessgreater_test): Likewise.
69835         (isunordered_test): Likewise.
69836         (main): Call the new functions.
69838 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69840         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69841         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69842         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69843         * sysdeps/i386/configure: Regenerated.
69844         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69845         * sysdeps/mach/configure: Regenerated.
69846         * sysdeps/mach/hurd/configure: Regenerated.
69847         * sysdeps/powerpc/configure: Regenerated.
69848         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69849         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69850         * sysdeps/s390/s390-32/configure: Regenerated.
69851         * sysdeps/s390/s390-64/configure: Regenerated.
69852         * sysdeps/sh/configure: Regenerated.
69853         * sysdeps/sparc/configure: Regenerated.
69854         * sysdeps/unix/sysv/linux/configure: Regenerated.
69855         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69856         * sysdeps/x86_64/configure: Regenerated.
69858         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69859         defined.  Don't check if MAP is NULL.
69861 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69863         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69864         (_G_stat64): Likewise.
69865         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69866         (_G_stat64): Likewise.
69867         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69868         instead of struct _G_stat64.
69869         * libio/fileops.c (mmap_remap_check): Likewise.
69870         (decide_maybe_mmap): Likewise.
69871         (_IO_new_file_seekoff): Likewise.
69872         (_IO_file_stat): Likewise.
69873         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69874         _G_off64_t.
69875         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69876         instead of struct _G_stat64.
69877         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69879 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69881         [BZ #14602]
69882         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69883         Replace with ...
69884         (CHECK_EOL): New macro.
69885         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69886         CHECK_EOL.
69887         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69888         Replace with CHECK_EOL.
69889         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69890         Replace with CHECK_EOL.
69892 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69894         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69895         type-generic.
69896         * math/libm-test.inc: Update comment listing what functions and
69897         macros are tested.
69898         (finite_test): New function.
69899         (isinf_test): Likewise.
69900         (isnan_test): Likewise.
69901         (fpclassify_test): Test subnormal input.
69902         (isfinite_test): Likewise.
69903         (isnormal_test): Likewise.
69904         (main): Call the new functions.
69906 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69908         [BZ #14660]
69909         * Makerules (%.dynsym): Force C locale when running
69910         $(OBJDUMP) --dynamic-syms.
69912 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69914         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69915         <stdint.h>.
69917 2012-10-06  David S. Miller  <davem@davemloft.net>
69919         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69920         upper 32-bits of the length value in %o2 since we use branch-on-register
69921         tests which consider the entire 64-bit register.
69923 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69925         * string/test-strstr.c (check2): Add a test for page boundary.
69927 2012-10-05  David S. Miller  <davem@davemloft.net>
69929         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69930         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69931         file.
69932         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69933         sysdep_routines.
69934         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69935         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69936         and bzero when HWCAP_SPARC_CRYPTO is present.
69938 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69940         [BZ #14602]
69941         * string/test-strstr.c (check2): New function.
69942         (test_main): Call check2.
69944         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69945         and bug-strchr1.
69946         * string/bug-strcasestr1.c (do_test): Moved to ...
69947         * string/test-strcasestr.c (check1): Here.  New function.
69948         (do_one_test): Break out result checking code into ...
69949         (check_result): This.  New function.
69950         (do_one_test): Call check_result.
69951         (test_main): Call check1.
69952         * string/bug-strchr1.c (do_test): Moved to ...
69953         * string/test-strchr.c (check1): Here.  New function.
69954         (do_one_test): Break out result checking code into ...
69955         (check_result): This.  New function.
69956         (do_one_test): Call check_result.
69957         (test_main): Call check1.
69958         * string/bug-strstr1.c (main): Moved to ...
69959         * string/test-strstr.c (check1): Here.  New function.
69960         (do_one_test): Break out result checking code into ...
69961         (check_result): This.  New function.
69962         (do_one_test): Call check_result.
69963         (test_main): Call check1.
69964         * string/bug-strcasestr1.c: Removed.
69965         * string/bug-strchr1.c: Likewise.
69966         * string/bug-strstr1.c: Likewise.
69968         * elf/Makefile (dl-routines): Add hwcaps.
69969         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69970         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69971         (_dl_important_hwcaps): Moved to ...
69972         * elf/dl-hwcaps.c: Here.  New file.
69973         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69975         [BZ #14557]
69976         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69977         if IS_IN_rtld isn't defined.
69979         * elf/dl-support.c (_dl_sysinfo_map): New.
69980         Include "get-dynamic-info.h" and "setup-vdso.h".
69981         (_dl_non_dynamic_init): Call setup_vdso.
69982         * elf/dynamic-link.h: Don't include <assert.h>.
69983         (elf_get_dynamic_info): Moved to ...
69984         * elf/get-dynamic-info.h: Here.  New file.
69985         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69986         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69987         * elf/setup-vdso.h: Here.  New file.
69988         * elf/rtld.c: Include "setup-vdso.h".
69989         (dl_main): Call setup_vdso.
69991 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69993         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69994         creal in comment listing functions tested.  List finite, isinf,
69995         isnan, isless, islessequal, isgreater, isgreaterequal,
69996         islessgreater, isunordered, lgamma_r and pow10 as functions and
69997         macros not tested.  Mention which functions not tested are aliases
69998         for other functions.  Fix typo.  Note that signs of NaNs are not
69999         tested.
70001         * scripts/config.guess: Update from config.git.
70002         * scripts/config.sub: Likewise.
70004 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70006         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70007         * misc/madvise.c (madvise): Renamed to __madvise.
70008         Make madvise a weak alias.
70009         * include/sys/mman.h: Declare __madvise.
70010         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70011         * sysdeps/unix/syscalls.list
70012         (madvise): Make __madvise the strong name, and madvise a weak alias.
70013         * sysdeps/unix/sysv/linux/syscalls.list
70014         (madvise, mmap): Remove redundant entries.
70015         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70016         * malloc/malloc.c (mtrim): Likewise.
70017         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70019 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70021         * sysdeps/mach/hurd/dl-cache.c: File removed.
70022         * config.h.in (USE_LDCONFIG): New #undef.
70023         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70024         * configure: Regenerated.
70025         * elf/Makefile (dl-routines): Add dl-cache only under
70026         [$(use-ldconfig) = yes].
70027         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70028         cache on [USE_LDCONFIG].
70029         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70030         [USE_LDCONFIG].
70031         * elf/rtld.c (dl_main): Likewise.
70033 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70035         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70036         _SC_LEVEL4_CACHE_LINESIZE.
70038 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70040         * sysdeps/unix/bsd/confstr.h: File removed.
70042 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70044         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70045         sys/sdt-config.h.
70047 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70049         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70050         Make 'mapoff' field ElfW(Off) rather than off_t.
70052 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70054         * nscd/Makefile: Remove nscd-cflags and all its users.
70055         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70056         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70058         [BZ #10631]
70059         * malloc.c (malloc_printerr): Clarify error message.
70061 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70063         [BZ #14648]
70064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70065         Set bit_FMA_Usable if FMA is supported.
70066         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70067         macro.
70068         (bit_FMA4_Usable): Updated.
70069         (index_FMA_Usable): New macro.
70070         (CPUID_FMA): Likewise.
70071         (HAS_FMA): Defined with bit_FMA_Usable.
70073 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70075         * bits/types.h (__swblk_t): Type removed.
70076         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70077         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70079         (__SWBLK_T_TYPE): Likewise.
70080         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70081         (__SWBLK_T_TYPE): Likewise.
70082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70083         (__SWBLK_T_TYPE): Likewise.
70084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70085         (__SWBLK_T_TYPE): Likewise.
70087 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70088             Honza Horak <hhorak@redhat.com>
70090         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70091         (xdr_mapname): Use YPMAXMAP as maxsize.
70092         (xdr_peername): Use YPMAXPEER as maxsize.
70093         (xdr_keydat): Use YPAXRECORD as maxsize.
70094         (xdr_valdat): Use YPMAXRECORD as maxsize.
70096 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70098         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70100         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70101         * csu/init-first.c: ... here.
70102         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70103         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70104         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70105         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70106         * sysdeps/i386/init-first.c: File removed.
70107         * sysdeps/sh/init-first.c: File removed.
70109 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70111         [BZ #14645]
70112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70113         if x * y might underflow to zero and z is zero.
70114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70116         * math/libm-test.inc (min_subnorm_value): New variable.
70117         (fma_test): Add more tests.
70118         (fma_test_towardzero): Likewise.
70119         (fma_test_downward): Likewise.
70120         (fma_test_upward): Likewise.
70121         (initialize): Set min_subnorm_value.
70123 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70125         [BZ #14638]
70126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70127         0 + 0.
70128         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70129         mode for addition resulting in exact zero.
70130         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70132         exact 0 + 0.
70133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70135         * math/libm-test.inc (fma_test): Add more tests.
70136         (fma_test_towardzero): New function.
70137         (fma_test_downward): Likewise.
70138         (fma_test_upward): Likewise.
70139         (main): Call the new functions.
70141 2012-09-28  David S. Miller  <davem@davemloft.net>
70143         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70145 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70147         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70148         instead of SIGALRM.
70150         * sysdeps/gnu/_G_config.h: Moved to ...
70151         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70152         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70153         * sysdeps/generic/_G_config.h: ... here.
70155         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70157         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70159         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70160         Conditionalize target on [libnss_test1.so-version].
70162         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70164         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70165         (elfobjdir): Move out of conditionals.
70167         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70168         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70169         (__nss_lookup_function): Conditionalize label remove_from_tree on
70170         [!DO_STATIC_NSS || SHARED], matching its only use.
70172 2012-09-28  David S. Miller  <davem@davemloft.net>
70174         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70175         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70176         file.
70177         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70178         sysdep_routines.
70179         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70181         when HWCAP_SPARC_CRYPTO is present.
70183 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70185         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70187 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70189         [BZ #6530]
70190         * stdio-common/vfprintf.c (process_string_arg): Revert
70191         2000-07-22 change.
70193 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70195         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70196         for testcase.
70197         * stdio-common/tst-sprintf.c: Include <locale.h>
70198         (main): Test sprintf's handling of incomplete multibyte
70199         characters.
70201 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70203         * elf/dl-runtime.c (VERSYMIDX): Removed.
70204         * elf/dl-version.c (VERSYMIDX): Likewise.
70205         * elf/do-rel.h (VERSYMIDX): Likewise.
70206         (VALIDX): Likewise.
70207         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70208         * elf/rtld.c (VALIDX): Likewise.
70209         (ADDRIDX): Likewise.
70210         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70211         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70212         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70213         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70214         (VALIDX): Likewise.
70215         (ADDRIDX): Likewise.
70217 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70219         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70221 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70223         [BZ #11438]
70224         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70225         to global scope.
70226         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70227         addresses are in the same scope as 192.0.2/24.
70228         * posix/gai.conf: Document new scope table defaults.
70230 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70232         [BZ #5298]
70233         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70234         for ftell.  Compute offsets from write pointers instead.
70235         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70237 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70239         [BZ #14543]
70240         * libio/Makefile (tests): New test case tst-fseek.
70241         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70242         combination works in wide mode.
70243         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70244         state when the external buffer state changes.
70246 2012-09-27  David S. Miller  <davem@davemloft.net>
70248         [BZ #14376]
70249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70250         pass reloc->r_addend in as the 'high' argument to
70251         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70255 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70257         * rt/tst-aio2.c: Include <pthread.h>.
70258         * rt/tst-aio3.c: Likewise.
70260 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70262         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70264 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70266         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70267         contents on [SHARED].
70269 2012-09-26  Marek Polacek  <polacek@redhat.com>
70271         [BZ #14530]
70272         [BZ #13741]
70273         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70274         for C++ and GCC <4.3 as well as for non GCC compilers.
70276 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70280 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70282         * Makefile.in (all, install): Declare with .PHONY.
70283         Reported by Michael Hope <michael.hope@linaro.org>.
70285 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70287         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70288         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70289         system header.
70290         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70291         Likewise.
70292         (sydep_routines): Add the new and the internal functions.
70293         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70294         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70296         (GLIBC_2.17): Add the new function.
70297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70298         (GLIBC_2.17): Likewise.
70299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70300         (GLIBC_2.17): Likewise.
70301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70302         (GLIBC_2.17): Likewise.
70303         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70305 2012-09-25  Alan Modra  <amodra@gmail.com>
70307         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70308         Add release barrier before setting once_control to say
70309         initialisation is done.  Add hints on lwarx.  Use macro in
70310         place of isync.
70311         (clear_once_control): Add release barrier.
70313 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70315         [BZ #13629]
70316         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70317         specially.
70318         * math/s_clog10.c (__clog10): Likewise.
70319         * math/s_clog10f.c (__clog10f): Likewise.
70320         * math/s_clog10l.c (__clog10l): Likewise.
70321         * math/s_clogf.c (__clogf): Likewise.
70322         * math/s_clogl.c (__clogl): Likewise.
70323         * math/Makefile (libm-calls): Add x2y2m1.
70324         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70325         (__x2y2m1): Likewise.
70326         (__x2y2m1l): Likewise.
70327         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70328         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70329         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70330         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70331         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70332         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70333         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70334         * sysdeps/i386/fpu/libm-test-ulps: Update.
70335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70337         [BZ #14621]
70338         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70339         int as type of variable DEPTH.
70340         (glob): Use size_t instead of int as type of variables NEWCOUNT
70341         and OLD_PATHC.
70343 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70345         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70346         Add s_sincosf-sse2.
70347         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70348         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70349         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70350         macros for using routine as __sincosf_ia32.
70351         Use macro for function declaration and weak_alias.
70352         * sysdeps/i386/fpu/libm-test-ulps: Update.
70354         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70357         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70358         subnormal argument.
70359         * math/s_cexpf.c (__cexpf): Likewise.
70360         * math/s_csinf.c (__csinf): Likewise.
70361         * math/s_csinhf.c (__csinhf): Likewise.
70362         * math/s_ctanf.c (__ctanf): Likewise.
70363         * math/s_ctanhf.c (__ctanhf): Likewise.
70364         * math/s_ccosh.c (__ccoshf): Likewise.
70365         * math/s_cexp.c (__cexpl): Likewise.
70366         * math/s_csin.c (__csin): Likewise.
70367         * math/s_csinh.c (__csinh): Likewise.
70368         * math/s_ctan.c (__ctan): Likewise.
70369         * math/s_ctanh.c (ctanh): Likewise.
70370         * math/s_ccoshl.c (__ccoshl): Likewise.
70371         * math/s_cexpl.c (__cexpl): Likewise.
70372         * math/s_csinl.c (__csinl): Likewise.
70373         * math/s_csinhl.c (__csinhl): Likewise.
70374         * math/s_ctanl.c (__ctanl): Likewise.
70375         * math/s_ctanhl.c (__ctanhl): Likewise.
70377 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70379         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70380         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70381         (_IO_off_t): Define to __off_t, not _G_off_t.
70382         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70383         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70384         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70385         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70386         type of __dummy and __dummy2 fields.
70387         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70388         (_G_ssize_t): Likewise.
70389         (_G_off_t): Likewise.
70390         (_G_pid_t): Likewise.
70391         (_G_uid_t): Likewise.
70392         (_G_wchar_t): Likewise.
70393         (_G_wint_t): Likewise.
70394         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70395         (_G_ssize_t): Likewise.
70396         (_G_off_t): Likewise.
70397         (_G_pid_t): Likewise.
70398         (_G_uid_t): Likewise.
70399         (_G_wchar_t): Likewise.
70400         (_G_wint_t): Likewise.
70401         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70402         (_G_ssize_t): Likewise.
70403         (_G_off_t): Likewise.
70404         (_G_pid_t): Likewise.
70405         (_G_uid_t): Likewise.
70406         (_G_wchar_t): Likewise.
70407         (_G_wint_t): Likewise.
70409 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70411         * malloc/arena.c: Include malloc-sysdep.h.
70412         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70413         is sufficient to shrink the heap or an unmap is needed.
70414         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70415         new function check_may_shrink_heap.
70416         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70417         new function check_may_shrink_heap.
70419 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70421         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70422         comments.
70424 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70426         * catgets/test-gencat.sh: Add "set -e".
70427         * elf/tst-pathopt.sh: Likewise.
70428         * grp/tst_fgetgrent.sh: Likewise.
70429         * iconvdata/run-iconv-test.sh: Likewise.
70430         * intl/tst-gettext.sh: Likewise.
70431         * intl/tst-gettext2.sh: Likewise.
70432         * intl/tst-gettext4.sh: Likewise.
70433         * intl/tst-gettext6.sh: Likewise.
70434         * intl/tst-translit.sh: Likewise.
70435         * io/ftwtest-sh: Likewise.
70436         * libio/test-freopen.sh: Likewise.
70437         * malloc/tst-mtrace.sh: Likewise.
70438         * posix/globtest.sh: Likewise.
70439         * posix/tst-getconf.sh: Likewise.
70440         * posix/wordexp-tst.sh: Likewise.
70441         * stdio-common/tst-printf.sh: Likewise.
70442         * stdio-common/tst-unbputc.sh: Likewise.
70443         * stdlib/tst-fmtmsg.sh: Likewise.
70444         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70445         * catgets/Makefile: Do not specify -e option when running
70446         testsuite shell scripts.
70447         * elf/Makefile: Likewise.
70448         * grp/Makefile: Likewise.
70449         * iconvdata/Makefile: Likewise.
70450         * intl/Makefile: Likewise.
70451         * io/Makefile: Likewise.
70452         * libio/Makefile: Likewise.
70453         * malloc/Makefile: Likewise.
70454         * posix/Makefile: Likewise.
70455         * stdio-common/Makefile: Likewise.
70456         * stdlib/Makefile: Likewise.
70457         * sysdeps/x86_64/Makefile: Likewise.
70459         * io/ftwtest-sh: Add copyright header.
70460         * posix/globtest.sh: Likewise.
70461         * posix/tst-getconf.sh: Likewise.
70462         * posix/wordexp-tst.sh: Likewise.
70463         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70465 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70467         [BZ #13679]
70468         * Makeconfig (+link): Defined as $(+link-static) if
70469         $(build-shared) isn't yes.
70470         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70471         isn't yes.
70472         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70474         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70476         [BZ #14562]
70477         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70478         new chunk size with MALLOC_ALIGN_MASK.
70480 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70482         [BZ #5044]
70483         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70484         <rounding-mode.h>.
70485         (__printf_fphex): Determine rounding using get_rounding_mode and
70486         round_away.
70487         * stdio-common/tst-printf-round.c (struct hex_test): New
70488         structure.
70489         (hex_tests): New variable.
70490         (test_hex_in_one_mode): New function.
70491         (do_test): Also run tests for hex float output.
70493 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70495         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70496         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70497         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70498         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70499         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70500         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70501         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70502         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70504 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70506         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70507         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70508         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70509         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70511 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70513         [BZ #14579]
70514         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70515         mode only.
70516         * elf/tst-rtld-load-self.sh: New test.
70517         * elf/Makefile: Run it.
70519 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70521         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70522         (tst-writev-ENV): Remove.
70523         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70525 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70527         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70529 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70531         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70532         unconditional.
70533         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70534         Likewise.
70535         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70536         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70537         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70538         Likewise.
70540 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70542         [BZ #14587]
70543         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70544         * config.make.in (have-cpp-asm-debuginfo): Removed.
70545         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70546         * configure: Regenerated.
70548 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70550         [BZ #5044]
70551         * stdio-common/printf_fp.c: Include <stdbool.h> and
70552         <rounding-mode.h>.
70553         (___printf_fp): Determine rounding using get_rounding_mode and
70554         round_away.
70555         * stdio-common/tst-printf-round.c: New file.
70556         * stdio-common/Makefile (tests): Add tst-printf-round.
70557         (link-libm): New variable.
70558         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70560 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70562         [BZ #14576]
70563         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70564         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70565         Likewise.
70566         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70567         Likewise.
70569 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70571         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70572         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70573         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70574         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70576 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70578         [BZ #14518]
70579         * include/rounding-mode.h: New file.
70580         * sysdeps/generic/get-rounding-mode.h: Likewise.
70581         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70582         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70583         (MAX_VALUE): New macro.
70584         (MIN_VALUE): Likewise.
70585         (overflow_value): New function.
70586         (underflow_value): Likewise.
70587         (round_and_return): Use overflow_value and underflow_value to
70588         determine return values in overflow and underflow cases.  Use
70589         round_away to determine rounding depending on rounding mode.
70590         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70591         determine return values in overflow and underflow cases.
70592         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70593         (struct test_results): New structure.
70594         (struct test): Use struct test_results to store expected results
70595         for all rounding modes.
70596         (TEST): Include expected results for all rounding modes.
70597         (test_in_one_mode): New function.
70598         (do_test): Use test_in_one_mode to compute and check results.
70599         Check results for all rounding modes.
70600         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70601         $(link-libm).
70603 2012-12-09  Allan McRae  <allan@archlinux.org>
70605         * sysdeps/i386/fpu/libm-test-ulps: Update
70607 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70609         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70610         (_G_int32_t): Likewise.
70611         (_G_uint16_t): Likewise.
70612         (_G_uint32_t): Likewise.
70613         (_G_HAVE_BOOL): Likewise.
70614         (_G_HAVE_ATEXIT): Likewise.
70615         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70616         (_G_HAVE_IO_FILE_OPEN): Likewise.
70617         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70618         (_G_int32_t): Likewise.
70619         (_G_uint16_t): Likewise.
70620         (_G_uint32_t): Likewise.
70621         (_G_HAVE_BOOL): Likewise.
70622         (_G_HAVE_ATEXIT): Likewise.
70623         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70624         (_G_HAVE_IO_FILE_OPEN): Likewise.
70625         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70626         (_G_int32_t): Likewise.
70627         (_G_uint16_t): Likewise.
70628         (_G_uint32_t): Likewise.
70629         (_G_HAVE_BOOL): Likewise.
70630         (_G_HAVE_ATEXIT): Likewise.
70631         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70632         (_G_HAVE_IO_FILE_OPEN): Likewise.
70634 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70636         * csu/libc-tls.c: Update copyright years.
70638 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70640         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70641         [!_G_USING_THUNKS]: Remove conditional code.
70642         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70643         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70645         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70646         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70647         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70648         (_G_VTABLE_LABEL_PREFIX): Likewise.
70649         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70650         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70651         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70652         (_G_VTABLE_LABEL_PREFIX): Likewise.
70653         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70654         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70655         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70656         (_G_VTABLE_LABEL_PREFIX): Likewise.
70657         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70659 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70661         * libio/Makefile: Include ../Makeconfig before tests.
70662         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70663         only if $(build-shared) is yes.
70665         * iconv/gconv_db.c: Update copyright years.
70667 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70669         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70670         unwind info if defined PIC. Fix special cases description.
70671         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70673         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70674         DP_HI_MASK entry.
70675         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70677 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70679         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70681         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70682         is NULL.
70684         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70685         (LDLIBS-tst-chk4): This.
70686         (LDFLAGS-tst-chk5): Renamed to ...
70687         (LDLIBS-tst-chk5): This.
70688         (LDFLAGS-tst-chk6): Renamed to ...
70689         (LDLIBS-tst-chk6): This.
70690         (LDFLAGS-tst-lfschk4): Renamed to ...
70691         (LDLIBS-tst-lfschk4): This.
70692         (LDFLAGS-tst-lfschk5): Renamed to ...
70693         (LDLIBS-tst-lfschk5): This.
70694         (LDFLAGS-tst-lfschk6): Renamed to ...
70695         (LDLIBS-tst-lfschk6): This.
70697         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70698         on $(common-objpfx)soversions.mk.
70700 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70702         [BZ #10014]
70703         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70704         example host name.
70706 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70708         * malloc/arena.c (arena_get_retry): New function that gets
70709         another arena for the caller to try its request on.
70710         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70711         current arena cannot fulfill the request.
70712         (__libc_memalign): Likewise.
70713         (__libc_memalign): Likewise.
70714         (__libc_pvalloc): Likewise.
70715         (__libc_calloc): Likewise.
70717 2012-09-05  John Tobey  <john.tobey@gmail.com>
70719         [BZ #13542]
70720         * manual/arith.texi (Operations on Complex): Fix description
70721         of carg branch cut.
70723 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70725         [BZ #10014]
70726         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70727         host name.
70729         [BZ #10038]
70730         * manual/memory.texi (Memory): Make order of menu items match
70731         order of sections.
70733 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70735         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70736         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70737         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70741         * csu/libc-tls.c (static_dtv): Renamed to ...
70742         (_dl_static_dtv): This.  Make it global.
70743         (_dl_initial_dtv): Removed.
70744         (__libc_setup_tls): Updated.
70745         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70746         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70747         DL_INITIAL_DTV.
70749 2012-09-06  Petr Machata  <pmachata@redhat.com>
70751         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70752         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70753         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70754         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70756 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70758         [BZ #14545]
70759         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70760         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70761         freeing dtv[-1].
70763 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70765         [BZ #14544]
70766         * Makeconfig (link-static-before-libc): Replace $(+prector)
70767         with $(+prectorT).
70768         (link-static-after-libc): Replace $(+postctor) with
70769         $(+postctorT).
70770         (link-bounded): Replace $(+prector)/$(+postctor) with
70771         $(+prectorT)/$(+postctorT).
70772         (+prectorT): New macro.
70773         (+postctorT): Likewise.
70775 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70777         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70778         (round_str): Handle values above the maximum for IBM long double
70779         as inexact.
70780         * stdlib/tst-strtod-round.c (tests): Regenerated.
70782 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70784         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70785         assembler flag.
70786         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70787         zarch_nohighgprs around the zarch optimized routines.
70788         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70789         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70790         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70791         for zarch.
70793 2012-09-05  David S. Miller  <davem@davemloft.net>
70795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70797         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70798         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70799         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70800         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70801         entries.
70803 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70805         * malloc/arena.c: Fold copyright years.
70806         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70808 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70810         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70812 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70814         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70816 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70818         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70819         change internal state upon failure.
70821 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70823         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70824         * malloc/memusage.c (mmap): Likewise.
70825         (mmap64, mremap): Likewise.  Adjust name in comment.
70827 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70829         * libio/fileops.c: Fix typos in comments.
70830         * libio/oldfileops.c: Likewise.
70831         * libio/wfileops.c: Likewise.
70833 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70835         [BZ #1349]
70836         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70837         (tst-malloc-usable-ENV): Set environment for test case.
70838         * malloc/hooks.c (malloc_check_get_size): New function to get
70839         requested size.
70840         * malloc/malloc.c (musable): Use malloc_check_get_size.
70841         * malloc/tst-malloc-usable.c: New test case.
70843 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70845         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70847 2012-09-05  Allan McRae  <allan@archlinux.org>
70849         [BZ #13966]
70850         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70851         determine header location.
70852         * configure: Regenerated.
70854 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70856         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70857         float format.
70858         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70859         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70860         format.
70861         (test): Regenerate.
70863 2012-09-04  David S. Miller  <davem@davemloft.net>
70865         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70866         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70867         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70869 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70871         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70872         failures.
70874         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70876 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70878         [BZ #9914]
70879         * libio/iogetdelim.c: Include <limits.h>.
70880         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70881         + len + 1 would overflow.
70883 2012-09-03  Andreas Jaeger  <aj@suse.de>
70885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70886         * sysdeps/i386/fpu/libm-test-ulps: Update.
70888 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70890         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70891         Add s_sinf-sse2, s_conf-sse2.
70893         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70894         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70895         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70896         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70898         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70899         for using routine as __sinf_ia32.
70900         Use macro for function declaration and weak_alias.
70901         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70902         for using routine as __cosf_ia32.
70903         Use macro for function declaration and weak_alias.
70905         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70906         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70908         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70909         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70912         * math/libm-test.inc (cos_test): Add more test cases.
70913         (sin_test): Likewise.
70914         (sincos_test): Likewise.
70916 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70918         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70919         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70920         hidden.
70921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70923 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70925         [BZ #14538]
70926         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70927         first element of the GOT.
70928         (elf_machine_load_address): Return the difference between
70929         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70931 2012-09-01  Allan McRae  <allan@archlinux.org>
70933         [BZ #13412]
70934         * configure.in (AWK): Require gawk version 3.0 or later.
70935         * configure: Regenerated.
70937 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70939         * sysdeps/unix/sysv/linux/kernel-features.h
70940         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70942         [__NR_clock_getres]: Make code unconditional.
70943         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70944         (clock_getcpuclockid): Remove code left unreachable by removal of
70945         conditionals.
70946         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70947         code unconditional.
70948         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70949         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70950         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70951         Make code unconditional.
70952         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70953         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70954         * sysdeps/unix/sysv/linux/clock_settime.c
70955         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70956         conditional code.
70957         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70958         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70960 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70962         [BZ #14476]
70963         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70964         scripts/test-installation.pl.
70966         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70967         and $ld_so_version if it is set.
70969 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70971         [BZ #14516]
70972         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70973         failure if reading from procfs failed.
70974         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70976 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70978         * sysdeps/unix/sysv/linux/kernel-features.h
70979         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70980         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70981         Remove conditional code.
70982         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70983         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70984         Remove conditional code.
70985         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70986         * sysdeps/unix/sysv/linux/i386/fxstat.c
70987         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70988         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70989         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70990         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70991         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70992         * sysdeps/unix/sysv/linux/i386/lxstat.c
70993         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70994         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70995         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70996         Remove conditional code.
70997         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70998         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70999         Remove conditional code.
71000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71001         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71002         <kernel-features.h>.
71003         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71004         Remove.
71005         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71006         Remove conditional code.
71007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71008         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71009         Remove conditional.
71011 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71013         [BZ #5400]
71014         * NEWS: Add fixed bug number.
71016 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71018         [BZ #14519]
71019         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71020         underflowing exponent in case of negative sign.
71021         * stdlib/tst-strtod-round-data: Add more tests.
71022         * stdlib/tst-strtod-round.c (tests): Regenerated.
71024         [BZ #3479]
71025         * stdlib/strtod_l.c (NDIG): Remove.
71026         (HEXNDIG): Likewise.
71027         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71028         smallest representable value.
71029         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71030         lie within an exact representation of 1/2 ulp of the result.
71031         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71032         unconditionally.
71033         (TENS_P9_IDX): Define unconditionally.
71034         (TENS_P9_SIZE): Likewise.
71035         (TENS_P10_IDX): Likewise.
71036         (TENS_P10_SIZE): Likewise.
71037         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71038         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71039         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71040         entries for 10^2^13 and 10^2^14.
71041         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71042         (TENS_P13_IDX): Define.
71043         (TENS_P13_SIZE): Likewise.
71044         (TENS_P14_IDX): Likewise.
71045         (TENS_P14_SIZE): Likewise.
71046         (_fpioconst_pow10): Change array size to
71047         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71048         unconditional.
71049         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71050         1024]: Add entries for 10^2^13 and 10^2^14.
71051         [LAST_POW10 > _LAST_POW10]: Remove #error.
71052         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71053         (_fpioconst_pow10): Change array size to
71054         FPIOCONST_POW10_ARRAY_SIZE.
71055         * stdlib/gen-fpioconst.c: New file.
71056         * stdlib/gen-tst-strtod-round.c: Likewise.
71057         * stdlib/tst-strtod-round-data: Likewise.
71058         * stdlib/tst-strtod-round.c: Likewise.
71059         * stdlib/Makefile (tests): Add tst-strtod-round.
71061         [BZ #14459]
71062         * stdlib/strtod_l.c: Include <stdint.h>.
71063         (NDEBUG): Do not define.
71064         (round_and_return): Change EXPONENT parameter to type intmax_t.
71065         Rearrange calculations to avoid internal overflow possibilities.
71066         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71067         Rearrange calculations to avoid internal overflow possibilities.
71068         Assert that number fits inside MPNSIZE limbs.
71069         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71070         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71071         calculations and add assertions to avoid internal overflow
71072         possibilities.  Add casts to avoid signed/unsigned operations.
71073         * stdlib/tst-strtod-overflow.c: New file.
71074         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71076 2012-08-25  Marek Polacek  <polacek@redhat.com>
71078         * time/time.h: Fix some typos in comments.
71080 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71082         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71083         * posix/tst-rfc3484-2.c: Likewise.
71084         * posix/tst-rfc3484-3.c: Likewise.
71086 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71088         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71089         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71091 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71093         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71094         #include of fxstatat64.c.
71096 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71098         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71099         * shadow/getspent_r.c: Likewise.
71100         * shadow/getspnam.c: Likewise.
71101         * shadow/getspnam_r.c: Likewise.
71102         * gshadow/getsgent.c: Likewise.
71103         * gshadow/getsgent_r.c: Likewise.
71104         * gshadow/getsgnam.c: Likewise.
71105         * gshadow/getsgnam_r.c: Likewise.
71106         * inet/getnetbyad.c: Likewise.
71107         * inet/getnetbyad_r.c: Likewise.
71108         * inet/getnetbynm.c: Likewise.
71109         * inet/getnetbynm_r.c: Likewise.
71110         * inet/getnetent.c: Likewise.
71111         * inet/getnetent_r.c: Likewise.
71112         * inet/getproto.c: Likewise.
71113         * inet/getproto_r.c: Likewise.
71114         * inet/getprtent.c: Likewise.
71115         * inet/getprtent_r.c: Likewise.
71116         * inet/getprtname.c: Likewise.
71117         * inet/getprtname_r.c: Likewise.
71118         * inet/getrpcbyname.c: Likewise.
71119         * inet/getrpcbyname_r.c: Likewise.
71120         * inet/getrpcbynumber.c: Likewise.
71121         * inet/getrpcbynumber_r.c: Likewise.
71122         * inet/getrpcent.c: Likewise.
71123         * inet/getrpcent_r.c: Likewise.
71124         * inet/getaliasent.c: Likewise.
71125         * inet/getaliasent_r.c: Likewise.
71126         * inet/getaliasname.c: Likewise.
71127         * inet/getaliasname_r.c: Likewise.
71128         * nscd/getgrgid_r.c: Likewise.
71129         * nscd/getgrnam_r.c: Likewise.
71130         * nscd/gethstbyad_r.c: Likewise.
71131         * nscd/gethstbynm3_r.c: Likewise.
71132         * nscd/getpwnam_r.c: Likewise.
71133         * nscd/getpwuid_r.c: Likewise.
71134         * nscd/getsrvbynm_r.c: Likewise.
71135         * nscd/getsrvbypt_r.c: Likewise.
71136         * nscd/gai.c: Likewise.
71138         * configure.in (build_nscd): New substituted variable, set
71139         by --disable-build-nscd and defaults to $use_nscd.
71140         * configure: Regenerated.
71141         * config.make.in (build-nscd): New substituted variable.
71142         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71143         Change conditional to require [$(build-nscd) = yes] as well.
71144         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71146         [BZ #13696]
71147         * configure.in (use_nscd): New substituted variable, set by
71148         --disable-nscd.  If enabled, define USE_NSCD.
71149         * configure: Regenerated.
71150         * config.h.in: Add USE_NSCD.
71151         * config.make.in (use-nscd): New substituted variable.
71152         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71153         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71154         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71155         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71156         (CFLAGS-getgrnam_r.c): Likewise.
71157         (CFLAGS-initgroups.c): Likewise.
71158         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71159         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71160         Variables removed.
71161         * inet/getnetgrent_r.c
71162         (nscd_setnetgrent): New function, broken out of ...
71163         (setnetgrent): ... here.  Call it.
71164         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71165         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71166         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71167         * nscd/Makefile (routines, aux): Move definitions after include of
71168         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71169         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71170         Conditionalize on [USE_NSCD].
71171         (is_nscd, nscd_init_cb): Likewise.
71172         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71173         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71174         * nss/nss_db/db-init.c: Likewise.
71175         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71176         [USE_NSCD].
71177         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71178         (make_request): Use it.
71179         (cache_valid_p): New function.
71180         (__check_pf): Use it.
71181         * NEWS: Add item for --disable-nscd.
71183 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71185         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71186         to support sed >= 4.2.1-20-ga9bf076.
71187         * configure: Regenerated.
71189 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71191         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71192         Conditionalize whole body on [IREL].
71194 2012-08-22  Jeff Law <law@redhat.com>
71196         [BZ #14505]
71197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71198         if the family is PF_UNSPEC.
71200 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71202         * Makerules (lib-version): Rename from V.
71203         (install-lib-nosubdir): Change V to lib-version.
71205 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71207         [BZ #14252]
71208         * powerpc32/power6/wcschr.c: New file.
71209         * powerpc32/power6/wcscpy.c: New file.
71210         * powerpc32/power6/wcsrchr.c: New file.
71211         * powerpc64/power6/wcschr.c: New file.
71212         * powerpc64/power6/wcscpy.c: New file.
71213         * powerpc64/power6/wcsrchr.c: New file.
71215 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71217         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71218         (two_way_short_needle): Use it.
71219         * string/strstr.c (AVAILABLE1_USES_J): Define.
71220         * string/strcasestr.c: Likewise.
71222         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71223         array references.
71224         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71226         [BZ #11607]
71227         * NEWS: Add an entry.
71228         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71229         define their defaults.
71230         (two_way_short_needle): Detect end-of-string on-the-fly.
71231         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71232         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71233         * string/bug-strcasestr1.c: New test.
71234         * string/Makefile: Run it.
71236 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71238         [BZ #11607]
71239         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71240         the first character.
71242 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71244         * csu/elf-init.c (__libc_csu_irel): Function removed.
71245         * csu/libc-start.c (apply_irel): New function.
71246         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71248 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71250         * sysdeps/unix/sysv/linux/kernel-features.h
71251         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71252         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71253         <kernel-features.h>.
71254         [__NR_fadvise64_64]: Make code unconditional.
71255         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71256         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71257         !__NR_fadvise64_64)]: Likewise.
71258         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71259         !__NR_fadvise64_64))]: Likewise.
71260         [__NR_fadvise64]: Make code unconditional.
71261         [!__NR_fadvise64]: Remove conditional code.
71262         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71263         <kernel-features.h>.
71264         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71265         unconditional.
71266         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71267         conditional code.
71268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71269         not include <kernel-features.h>.
71270         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71271         unconditional.
71272         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71273         conditional code.
71274         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71275         include <kernel-features.h>.
71276         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71277         unconditional.
71278         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71279         conditional code.
71281 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71283         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71284         slight instruction rearrangements per scrollpipe analysis.
71285         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71287 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71289         * manual/syslog.texi (syslog; vsyslog, closelog):
71290         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71291         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71293         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71294         DSOCAPS to match condition on defining it.
71296 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71298         * sysdeps/unix/sysv/linux/kernel-features.h
71299         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71301         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71302         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71304         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71305         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71307         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71308         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71310         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71311         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71313         * sysdeps/unix/sysv/linux/kernel-features.h
71314         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71315         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71316         unconditional.
71317         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71318         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71319         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71320         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71321         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71322         Make code unconditional.
71323         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71324         (__mmap64) [!__NR_mmap2]: Likewise.
71325         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71326         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71327         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71328         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71329         [__NR_mmap2]: Make code unconditional.
71330         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71331         (__mmap64) [!__NR_mmap2]: Likewise.
71333 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71335         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71337 2012-08-18  Andreas Jaeger  <aj@suse.de>
71339         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71341 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71343         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71344         * include/unistd.h (__have_sock_cloexec): Likewise.
71345         (__have_pipe2): Likewise.
71346         (__have_dup3): Likewise.
71348 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71350         [BZ #9685]
71351         * include/unistd.h (__have_pipe2): Change define into an extern int.
71352         (__have_dup3): Likewise.
71353         * socket/have_sock_cloexec.c: Include fcntl.h.
71354         (__have_pipe2): New variable.
71355         (__have_dup3): Likewise.
71357 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71359         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71361 2012-08-17  Marek Polacek  <polacek@redhat.com>
71363         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71364         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71366 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71368         * configure.in: Add AC_SUBST for sysheaders.
71369         * configure: Regenerated.
71370         * config.make.in (sysheaders): New substituted variable.
71372         * sysdeps/unix/mkfifo.c: Moved ...
71373         * sysdeps/posix/mkfifo.c: ... here.
71374         * sysdeps/unix/mkfifoat.c: Moved ...
71375         * sysdeps/posix/mkfifoat.c: ... here.
71377         * sysdeps/unix/utime.c: Moved ...
71378         * sysdeps/posix/utime.c: ... here.
71380         * sysdeps/unix/time.c: Moved ...
71381         * sysdeps/posix/time.c: ... here.
71382         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71383         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71385         * sysdeps/unix/nice.c: Moved ...
71386         * sysdeps/posix/nice.c: ... here.
71388         * sysdeps/unix/alarm.c: Moved ...
71389         * sysdeps/posix/alarm.c: ... here.
71391         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71393 2012-08-17  Jeff Law <law@redhat.com>
71395         * intl/Makefile (codeset_mo): New variable.
71396         ($(codeset_mo)): New target.
71397         (tst-codeset.out): Depend on that.  Remove explicit rule.
71398         (tst-gettext3.out, tst-gettext5.out): Likewise.
71399         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71400         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71401         * intl/tst-codeset.sh: Remove.
71402         * intl/tst-gettext3.sh: Likewise.
71403         * intl/tst-gettext5.sh: Likewise.
71405 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71407         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71408         * sysdeps/unix/syscalls.list: ... here.
71410         * sysdeps/posix/getaddrinfo.c
71411         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71412         (gaiconf_init, gaiconf_reload): Use them.
71413         [!_STATBUF_ST_NSEC]
71414         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71415         Define using time_t rather than struct timespec.
71417         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71418         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71419         Macros removed.
71420         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71421         [!NO_THREADS].
71422         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71423         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71424         Likewise.
71426         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71427         __libc_cleanup_push argument.
71429         * bits/param.h: New file.
71430         * misc/sys/param.h: New file.
71431         * include/sys/param.h: New file.
71432         * misc/Makefile (headers): Add bits/param.h.
71433         * sysdeps/generic/sys/param.h: File removed.
71434         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71435         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71436         * sysdeps/mach/hurd/bits/param.h: New file.
71437         * sysdeps/mach/hurd/sys/param.h: File removed.
71439         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71440         last change.
71442         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71443         [_IO_MTSAFE_IO].
71444         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71445         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71446         New macros.
71448         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71449         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71450         rather than -D_IO_MTSAFE_IO conditionally.
71451         * stdio-common/Makefile (CPPFLAGS): Likewise.
71452         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71453         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71454         Use $(libio-mtsafe).
71455         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71456         of -D_IO_MTSAFE_IO.
71457         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71458         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71459         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71460         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71461         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71462         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71463         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71464         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71465         (CFLAGS-fread_u_chk.c): Likewise.
71466         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71467         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71468         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71469         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71470         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71471         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71472         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71473         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71474         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71476         * libio/Makefile: Test [$(libc-reentrant) = yes]
71477         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71479         * Makeconfig
71480         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71481         * sysdeps/pthread/configure: File removed.
71482         * sysdeps/pthread/Makeconfig: New file.
71483         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71484         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71486 2012-08-16  Gary Benson  <gbenson@redhat.com>
71488         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71489         unmapping the first object in a namespace.
71491 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71493         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71494         (__internal_setnetgrent): ... this.  Add internal_function to
71495         definition.  Add libc_hidden_def.
71496         (setnetgrent): Update caller.
71497         (internal_endnetgrent): Renamed to ...
71498         (__internal_endnetgrent): ... this.  Add internal_function to
71499         definition.  Add libc_hidden_def.
71500         (endnetgrent): Update caller.
71501         (internal_getnetgrent_r): Renamed to ...
71502         (__internal_getnetgrent_r): ... this.  Add internal_function to
71503         definition.  Add libc_hidden_def.
71504         (__getnetgrent_r): Update caller.
71505         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71507 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71509         * stdlib/longlong.h: Update from GCC.
71511 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71513         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71514         on _QL, which is set by umul_ppmm but never used.
71515         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71516         variables, which are set by GMP macros but never used.
71517         * stdio-common/_itowa.c (_itowa): Likewise.
71518         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71519         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71521 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71523         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71524         struct La_sh_regs is not constant.
71525         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71526         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71527         and struct La_sparc64_regs are not constant.
71529 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71531         * sysdeps/unix/sysv/linux/kernel-features.h
71532         (__ASSUME_POSIX_TIMERS): Remove.
71533         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71534         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71535         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71536         Make code unconditional.
71537         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71538         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71539         Make code unconditional.
71540         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71541         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71542         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71543         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71544         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71545         Make code unconditional.
71546         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71547         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71548         (__libc_missing_posix_timers): Remove.
71550 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71552         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71553         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71555         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71557         * elf/dl-sym.c: Include <stdlib.h>.
71559         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71560         constants, which avoids warnings in 32-bit builds.
71562         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71563         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71565         * misc/lseek.c: File moved to ...
71566         * io/lseek.c: ... here.
71568         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71570         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71571         shifting LEN more than 31 bits at once.
71573 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71575         [BZ #14195]
71576         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71577         segmentation fault for a case of two empty input strings.
71578         * string/test-strncasecmp.c (check1): Renamed to...
71579         (bz12205): ...this.
71580         (bz14195): Add new testcase for two empty input strings and N > 0.
71581         (test_main): Call new testcase, adapt for renamed function.
71583 2012-08-15  Andreas Jaeger  <aj@suse.de>
71585         [BZ #14090]
71586         * crypt/md5test2.c: New test, based on test supplied by Serge
71587         Belyshev <belyshev@depni.sinp.msu.ru>.
71588         * crypt/Makefile (xtests): Add md5test-giant..
71589         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71591 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71593         [BZ #14090]
71594         * crypt/md5.c (md5_process_block): Don't assume the buffer
71595         length is less than 2**32.
71596         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71597         length is less than 2**64.
71599 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71601         * string/str-two-way.h: Include <sys/param.h>.
71602         (MAX): Macro removed.
71604         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71605         Move #define and #undef of memmove to just before and after
71606         including <string.h>.
71608         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71609         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71610         and after including <string.h>.  Move declarations of
71611         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71612         to before #include "string/memmove.c".
71614         * include/dirent.h: Declare __getdirentries.
71616         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71617         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71619 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71621         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71622         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71623         * sysdeps/i386/configure: Regenerated.
71624         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71625         STABS_CURRENT_FILE, and STABS_FUN.
71626         (END): Remove call to STABS_FUN_END.
71627         (STABS_CURRENT_FILE1): Delete.
71628         (STABS_CURRENT_FILE): Likewise.
71629         (STABS_FUN): Likewise.
71630         (STABS_FUN_END): Likewise.
71631         (STABS_FUN2): Likewise.
71632         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71633         * sysdeps/x86_64/configure: Regenerated.
71635 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71637         * elf/dl-open.c: Include <atomic.h>.
71638         * elf/dl-lookup.c: Likewise.
71640 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71642         * sysdeps/unix/sysv/linux/kernel-features.h
71643         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71644         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71645         unconditionally.
71646         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71647         unconditionally.
71648         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71649         condition on __ASSUME_CLONE_THREAD_FLAGS.
71651 2012-08-14  Andreas Jaeger  <aj@suse.de>
71653         * sysdeps/i386/fpu/libm-test-ulps: Update.
71655 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71657         * include/atomic.h (atomic_exchange_and_add): Split into ...
71658         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71659         New atomic macros.
71661 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71665 2012-08-13  Jeff Law <law@redhat.com>
71667         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71668         null byte in the output string.
71670 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71672         * sysdeps/unix/sysv/linux/kernel-features.h
71673         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71674         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71675         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71676         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71677         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71678         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71679         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71681 2012-08-09  Jeff Law <law@redhat.com>
71683         [BZ #13939]
71684         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71685         When avoid_arena is set, don't retry in the that arena.  Pick the
71686         next one, whatever it might be.
71687         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71688         (arena_lock): Pass in new parameter to arena_get2.
71689         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71690         arena_get2.
71691         (__libc_malloc): Unify retrying after main arena failure with
71692         __libc_memalign version.
71693         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71695 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71697         [BZ #14166]
71698         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71699         to __redirect_strstr.
71700         (__strstr_sse42): Use typeof __redirect_strstr.
71701         (__strstr_ia32): Likewise.
71702         (__libc_strstr): New prototype.
71703         (strstr): Renamed to ...
71704         (__libc_strstr): This.
71705         (strstr): New strong alias of __libc_strstr.
71706         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71707         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71708         __redirect_time.
71709         Include <time.h>.
71710         (__libc_time): New prototype.
71711         (time_ifunc): Replace time with __libc_time.
71712         (time): New strong alias and hidden definition of __libc_time.
71713         (__GI_time): Remove strong alias.
71714         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71715         Include <stddef.h>.
71716         (memmove): Redefined to __redirect_memmove.
71717         (__memmove_sse2): Use typeof __redirect_memmove.
71718         (__memmove_ssse3): Likewise.
71719         (__memmove_ssse3_back): Likewise.
71720         (__libc_memmove): New prototype.
71721         (memmove): Renamed to ...
71722         (__libc_memmove): This.
71723         (memmove): New strong alias of __libc_memmove.
71725 2012-08-08  Mark Salter  <msalter@redhat.com>
71727         * elf/elf.h
71728         (R_MN10300_TLS_GD): Define.
71729         (R_MN10300_TLS_LD): Likewise.
71730         (R_MN10300_TLS_LDO): Likewise.
71731         (R_MN10300_TLS_GOTIE): Likewise.
71732         (R_MN10300_TLS_IE): Likewise.
71733         (R_MN10300_TLS_LE): Likewise.
71734         (R_MN10300_TLS_DTPMOD): Likewise.
71735         (R_MN10300_TLS_DTPOFF): Likewise.
71736         (R_MN10300_TLS_TPOFF): Likewise.
71737         (R_MN10300_SYM_DIFF): Likewise.
71738         (R_MN10300_ALIGN): Likewise.
71739         (R_MN10300_NUM): Update.
71741 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71744         Remove.
71746 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71748         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71750         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71751         sysdeps/unix -> sysdeps/posix move.
71752         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71754 2012-08-07      Allan McRae     <allan@archlinux.org>
71756         [BZ #14303]
71757         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71758         (SUNOS_CPP): Likewise.
71759         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71760         not found.
71761         (open_input): Call CPP using execvp.
71763 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71765         * sysdeps/unix/sysv/linux/kernel-features.h
71766         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71767         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71768         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71769         (__ASSUME_WAITID_SYSCALL): Likewise.
71770         * sysdeps/unix/sysv/linux/dl-execstack.c
71771         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71772         code unconditional.
71773         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71774         conditional code.
71775         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71776         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71777         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71778         code.
71779         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71780         unconditional.
71781         [__ASSUME_WAITID_SYSCALL]: Likewise.
71782         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71784 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71786         * sysdeps/unix/closedir.c: Renamed to ...
71787         * sysdeps/posix/closedir.c: ... here.
71788         * sysdeps/unix/dirfd.c: Renamed to ...
71789         * sysdeps/posix/dirfd.c: ... here.
71790         * sysdeps/unix/dirstream.h: Renamed to ...
71791         * sysdeps/posix/dirstream.h: ... here.
71792         * sysdeps/unix/fdopendir.c: Renamed to ...
71793         * sysdeps/posix/fdopendir.c: ... here.
71794         * sysdeps/unix/opendir.c: Renamed to ...
71795         * sysdeps/posix/opendir.c: ... here.
71796         * sysdeps/unix/readdir.c: Renamed to ...
71797         * sysdeps/posix/readdir.c: ... here.
71798         * sysdeps/unix/readdir_r.c: Renamed to ...
71799         * sysdeps/posix/readdir_r.c: ... here.
71800         * sysdeps/unix/rewinddir.c: Renamed to ...
71801         * sysdeps/posix/rewinddir.c: ... here.
71802         * sysdeps/unix/seekdir.c: Renamed to ...
71803         * sysdeps/posix/seekdir.c: ... here.
71804         * sysdeps/unix/telldir.c: Renamed to ...
71805         * sysdeps/posix/telldir.c: ... here.
71806         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71807         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71808         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71809         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71811         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71812         * bits/fcntl.h: ... here.
71814         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71815         not 0.
71816         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71817         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71818         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71819         (struct flock): Move l_start, l_len to the beginning.
71820         Use __pid_t for l_pid.
71821         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71822         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71823         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71824         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71825         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71826         [__USE_LARGEFILE64] (struct flock64): New type.
71827         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71829         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71830         * bits/dirent.h: ... here.
71832         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71833         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71835 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71838         Change from 2.6.0 to 2.6.16.
71839         * sysdeps/unix/sysv/linux/configure: Regenerated.
71840         * sysdeps/unix/sysv/linux/kernel-features.h
71841         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71842         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71843         version.
71844         (__ASSUME_UTIMES): Likewise.
71845         (__ASSUME_CLONE_STOPPED): Remove.
71846         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71847         architectures, not kernel version.
71848         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71849         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71850         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71851         (__ASSUME_WAITID_SYSCALL): Likewise.
71852         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71853         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71854         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71855         refer to older versions.
71857 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71859         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71860         Define alphasort64 as an alias.
71861         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71862         Define versionsort64 as an alias.
71863         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71864         Define scandir64 as an alias.
71865         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71866         Define scandirat64 as an alias.
71867         * dirent/alphasort64.c (alphasort64):
71868         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71869         * dirent/versionsort64.c: Likewise.
71870         * dirent/scandir64.c: Likewise.
71871         * dirent/scandirat64.c: Likewise.
71872         * sysdeps/wordsize-64/alphasort.c: File removed.
71873         * sysdeps/wordsize-64/alphasort64.c: File removed.
71874         * sysdeps/wordsize-64/scandir.c: File removed.
71875         * sysdeps/wordsize-64/scandir64.c: File removed.
71876         * sysdeps/wordsize-64/scandirat.c: File removed.
71877         * sysdeps/wordsize-64/scandirat64.c: File removed.
71878         * sysdeps/wordsize-64/versionsort.c: File removed.
71879         * sysdeps/wordsize-64/versionsort64.c: File removed.
71880         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71881         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71882         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71883         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71884         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71885         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71886         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71887         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71889         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71891         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71893         [defined __arch64__ || defined __sparcv9]
71894         (__INO_T_MATCHES_INO64_T): New macro.
71895         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71896         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71897         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71898         * sysdeps/unix/sysv/linux/bits/dirent.h
71899         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71900         (_DIRENT_MATCHES_DIRENT64): New macro.
71902         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71903         Define lockf64 as an alias.
71904         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71905         Define fseeko64 as an alias.
71906         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71907         Define ftello64 as an alias.
71908         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71909         Define _IO_fgetpos64 and fgetpos64 as aliases.
71910         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71911         Define _IO_fsetpos64 and fsetpos64 as aliases.
71912         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71913         Conditionalize body on this.
71914         * libio/fseeko64.c: Likewise.
71915         * libio/ftello64.c: Likewise.
71916         * libio/iofgetpos64.c: Likewise.
71917         * libio/iofsetpos64.c: Likewise.
71918         * sysdeps/wordsize-64/lockf.c: File removed.
71919         * sysdeps/wordsize-64/lockf64.c: File removed.
71920         * sysdeps/wordsize-64/fseeko.c: File removed.
71921         * sysdeps/wordsize-64/fseeko64.c: File removed.
71922         * sysdeps/wordsize-64/ftello.c: File removed.
71923         * sysdeps/wordsize-64/ftello64.c: File removed.
71924         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71925         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71926         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71927         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71929         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71931         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71933         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71934         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71935         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71939         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71941         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71943         [defined __arch64__ || defined __sparcv9]
71944         (__OFF_T_MATCHES_OFF64_T): New macro.
71945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71946         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71948         (__OFF_T_MATCHES_OFF64_T): New macro.
71950 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71952         * stdlib/secure-getenv.c (__secure_getenv): Replace
71953         GLIBC_2_16 with GLIBC_2_17.
71955 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71958         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71960 2012-08-03  David S. Miller  <davem@davemloft.net>
71962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71964 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71967         Remove.
71968         (__ASSUME_CORRECT_SI_PID): Likewise.
71969         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71970         (__ASSUME_TMPFS_NAME): Likewise.
71971         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71972         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71973         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71974         (HAVE_AUX_SECURE): Make definition unconditional.
71975         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71976         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71978 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71980         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71981         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71982         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71983         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71984         __eloop_threshold instead of SYMLOOP_MAX.
71986         * sysdeps/generic/eloop-threshold.h: New file.
71987         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71988         of MAXSYMLINKS.
71989         * elf/chroot_canon.c (chroot_canon): Likewise.
71991 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71993         [BZ #13717]
71994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71995         Change to 2.6.0 everywhere.
71996         * sysdeps/unix/sysv/linux/configure: Regenerated.
71997         * sysdeps/unix/sysv/linux/kernel-features.h
71998         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71999         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72000         kernel versions.
72001         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72002         (__ASSUME_FUTEX_REQUEUE): Remove.
72003         (__ASSUME_STATFS64): Define unconditionally.
72004         (__ASSUME_AT_SECURE): Likewise.
72005         (__ASSUME_CORRECT_SI_PID): Likewise.
72006         (__ASSUME_TGKILL): Define without depending on kernel version for
72007         i386.
72008         (__ASSUME_UTIMES): Likewise.
72009         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72010         kernel version.
72011         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72012         (__ASSUME_TMPFS_NAME): Likewise.
72013         * README: Update reference to Linux kernel versions.
72015 2012-08-02  Marek Polacek  <polacek@redhat.com>
72017         [BZ #14150]
72018         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72019         libc_cv_asm_type_prefix with %.
72020         * configure: Regenerated.
72021         * include/libc-symbols.h: Remove comment about
72022         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72023         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72024         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72025         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72026         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72027         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72028         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72029         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72030         * elf/tst-unique2mod1.c: Likewise.
72031         * elf/tst-unique1mod2.c: Likewise.
72032         * elf/tst-unique1mod1.c: Likewise.
72033         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72034         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72035         Replace ASM_TYPE_DIRECTIVE with .type.
72036         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72037         * sysdeps/i386/sysdep.h: Likewise.
72038         * sysdeps/x86_64/sysdep.h: Likewise.
72039         * sysdeps/sh/sysdep.h: Likewise.
72040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72041         Do not define ASM_TYPE_DIRECTIVE.
72042         * sysdeps/powerpc/sysdep.h: Likewise.
72043         * sysdeps/powerpc/powerpc32/sysdep.h:
72044         Replace ASM_TYPE_DIRECTIVE with .type.
72045         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72046         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72047         * sysdeps/i386/fpu/e_powf.S: Likewise.
72048         * sysdeps/i386/fpu/e_expl.S: Likewise.
72049         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72050         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72051         * sysdeps/i386/fpu/e_pow.S: Likewise.
72052         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72053         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72054         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72055         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72056         * sysdeps/i386/fpu/e_log2.S: Likewise.
72057         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72058         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72059         * sysdeps/i386/fpu/e_powl.S: Likewise.
72060         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72061         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72062         * sysdeps/i386/fpu/e_logl.S: Likewise.
72063         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72064         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72065         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72066         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72067         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72068         * sysdeps/i386/fpu/e_log.S: Likewise.
72069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72070         * sysdeps/i386/fpu/e_logf.S: Likewise.
72071         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72072         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72073         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72074         * sysdeps/i386/fpu/e_log10.S: Likewise.
72075         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72077         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72078         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72079         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72080         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72081         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72082         * sysdeps/i386/i686/strtok.S: Likewise.
72083         * sysdeps/i386/i386-mcount.S: Likewise.
72084         * sysdeps/i386/strtok.S: Likewise.
72085         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72086         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72087         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72088         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72089         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72090         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72091         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72092         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72094         * sysdeps/x86_64/_mcount.S: Likewise.
72095         * sysdeps/x86_64/strtok.S: Likewise.
72096         * sysdeps/sh/_mcount.S: Likewise.
72098 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72100         * libio/iofopen.c: Include <fcntl.h>.
72101         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72102         (_IO_fopen64, fopen64): Define as aliases.
72103         * libio/iofopen64.c: Include <fcntl.h>.
72104         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72105         Conditionalize body on this.
72106         * sysdeps/wordsize-64/iofopen.c: File removed.
72107         * sysdeps/wordsize-64/iofopen64.c: File removed.
72109 2012-08-01  Marek Polacek  <polacek@redhat.com>
72111         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72112         Use dlfcn directly instead of a variable.
72113         (binfmt-subdir): Do not define.
72114         (dlfcn): Likewise.
72116 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72119         Remove all definitions.
72120         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72121         <kernel-features.h>.
72122         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72123         (miss_F_GETOWN_EX): Remove all definitions.
72124         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72125         macro definition.
72126         [!__ASSUME_FCNTL64]: Remove conditional code.
72127         [__ASSUME_FCNTL64]: Make code unconditional.
72128         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72129         <kernel-features.h>.
72130         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72131         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72132         (lockf64) [__NR_fcntl64]: Make code unconditional.
72133         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72135         * sysdeps/unix/sysv/linux/kernel-features.h
72136         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72137         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72138         Make code unconditional.
72139         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72140         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72142         [__NR_vfork]: Make code unconditional.
72143         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72144         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72146         [__NR_vfork]: Make code unconditional.
72147         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72148         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72150 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72152         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72153         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72155         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72156         Define mkstemp64 as an alias.
72157         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72158         Define mkstemps64 as an alias.
72159         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72160         Define mkostemp64 as an alias.
72161         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72162         Define mkostemps64 as an alias.
72163         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72164         Conditionalize body on this.
72165         * misc/mkostemp64.c: Likewise.
72166         * misc/mkostemps64.c: Likewise.
72167         * misc/mkstemps64.c: Likewise.
72168         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72169         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72170         * sysdeps/wordsize-64/mkostemp.c: File removed.
72171         * sysdeps/wordsize-64/mkstemp.c: File removed.
72172         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72173         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72174         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72175         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72177         [BZ #14138]
72178         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72179         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72180         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72181         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72183         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72184         compat_symbol macros from <shlib-compat.h> rather than the underlying
72185         default_symbol_version and symbol_version macros, so that DEFAULT
72186         lines in shlib-versions are respected.
72187         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72189 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72191         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72192         Declare with warn_unused_result.
72193         (setgid, setregid, setegid, setresgid): Likewise.
72194         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72195         Likewise.
72196         * WUR-REPORT: Remove set*id functions.
72198 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72200         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72202 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72204         [BZ #10191]
72205         * include/sys/socket.h (__libc_accept, __libc_accept4):
72206         Add attribute_hidden.
72207         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72209         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72210         use of PTR_MANGLE.
72211         * inet/getnetgrent_r.c (setup): Likewise.
72213         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72215 2012-07-31  David S. Miller  <davem@davemloft.net>
72217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72219 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72221         [BZ #13629]
72222         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72223         value between 1.0 and 2.0 and smaller part has absolute value less
72224         than 1.0.
72225         * math/s_clog10.c (__clog10): Likewise.
72226         * math/s_clog10f.c (__clog10f): Likewise.
72227         * math/s_clog10l.c (__clog10l): Likewise.
72228         * math/s_clogf.c (__clogf): Likewise.
72229         * math/s_clogl.c (__clogl): Likewise.
72230         * math/libm-test.inc (clog_test): Add more tests.
72231         (clog10_test): Likewise.
72232         * sysdeps/i386/fpu/libm-test-ulps: Update.
72233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72235 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72237         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72238         Exit with zero in case no suitable GID is found, and write a
72239         message to standard error.
72241 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72243         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72244         rather than to 1.
72245         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72246         (MAXPATHLEN): Removed.
72247         (NOGROUP, NODEV): New macros.
72248         (setbit, clrbit, isset, isclr): New macros.
72249         (howmany, roundup, powerof2): New macros.
72250         (DEV_BSIZE): New macro.
72252         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72253         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72255         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72256         definition on [!__NO_LONG_DOUBLE_MATH].
72258         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72259         PTR_MANGLE and PTR_DEMANGLE.
72261         * socket/accept4.c (accept4): Rename to __libc_accept4.
72262         Define accept4 as a weak alias.
72264         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72265         on [_DIRENT_HAVE_D_TYPE].
72266         * io/ftw.c (ftw_dir): Likewise.
72268         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72270         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72272         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72273         Use the BSD numbers rather than the arbitrary ones we had.
72274         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72275         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72276         (SIGXCPU, SIGXFSZ): New macros.
72277         (_NSIG): Now 32.
72279         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72280         initializer on [_LIBC_REENTRANT].
72282         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72283         definitions inside [_POSIX_MAPPED_FILES].
72285         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72287         * dirent/opendir.c: Include <fcntl.h>.
72289         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72290         (__libc_getspecific): Likewise.
72291         (__libc_key_create): Likewise.
72293         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72294         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72295         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72296         (tmpfile64): Define as alias.
72297         * sysdeps/wordsize-64/tmpfile.c: File removed.
72298         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72299         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72300         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72302         * stdio-common/vfscanf.c: Include <stdbool.h>.
72303         * nss/makedb.c: Likewise.
72304         * stdio-common/_i18n_number.h: Likewise.
72305         * argp/argp-help.c: Likewise.
72306         * posix/wordexp.c: Likewise.
72307         * sysdeps/posix/spawni.c: Likewise.
72308         * nss/nss_files/files-initgroups.c: Likewise.
72309         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72310         * nss/nss_files/files-initgroups.c: Likewise.
72311         * nss/nss_db/db-netgrp.c: Likewise.
72312         * nss/nss_db/db-initgroups.c: Likewise.
72313         * io/fchmodat.c: Include <sys/stat.h>.
72315         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72316         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72318         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72319         [HAVE_MMAP].
72321         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72322         Add multiple inclusion protection.
72324 2012-07-27  David S. Miller  <davem@davemloft.net>
72326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72328 2012-07-27  Gary Benson  <gbenson@redhat.com>
72330         [BZ #14298]
72331         * elf/rtld.c: Include <stap-probe.h>.
72332         (dl_main): Added static probes "init_start" and "init_complete".
72333         * elf/dl-load.c: Include <stap-probe.h>.
72334         (lose): Take new parameter "nsid".
72335         Added static probe "map_failed".
72336         (_dl_map_object_from_fd): Pass namespace id to lose.
72337         Added static probe "map_start".
72338         (open_verify): Pass namespace id to lose.
72339         * elf/dl-open.c: Include <stap-probe.h>.
72340         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72341         and "reloc_complete".
72342         * elf/dl-close.c: Include <stap-probe.h>.
72343         (_dl_close_worker): Added static probes "unmap_start" and
72344         "unmap_complete".
72345         * elf/rtld-debugger-interface.txt: New file documenting the above.
72347 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72349         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72350         rather than a string variable.
72351         * sunrpc/rpc_main.c (h_output): Likewise.
72352         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72354 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72356         * inet/check_native.c: New file.
72358 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72360         [BZ #13629]
72361         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72362         if larger part has absolute value 1.0.
72363         * math/s_clog10.c (__clog10): Likewise.
72364         * math/s_clog10f.c (__clog10f): Likewise.
72365         * math/s_clog10l.c (__clog10l): Likewise.
72366         * math/s_clogf.c (__clogf): Likewise.
72367         * math/s_clogl.c (__clogl): Likewise.
72368         * math/libm-test.inc (clog_test): Add more tests.
72369         (clog10_test): Likewise.
72370         * sysdeps/i386/fpu/libm-test-ulps: Update.
72371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72373         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72374         (pltexit): Likewise.
72375         (La_regs): Likewise.
72376         (La_retval): Likewise.
72377         (int_retval): Likewise.
72378         Update #error for removed macros to refer only to definitions in
72379         tst-audit.h.
72380         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72381         macro.
72382         (pltexit): Likewise.
72383         (La_regs): Likewise.
72384         (La_retval): Likewise.
72385         (int_retval): Likewise.
72386         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72387         macro.
72388         (pltexit): Likewise.
72389         (La_regs): Likewise.
72390         (La_retval): Likewise.
72391         (int_retval): Likewise.
72392         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72393         macro.
72394         (pltexit): Likewise.
72395         (La_regs): Likewise.
72396         (La_retval): Likewise.
72397         (int_retval): Likewise.
72398         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72399         macro.
72400         (pltexit): Likewise.
72401         (La_regs): Likewise.
72402         (La_retval): Likewise.
72403         (int_retval): Likewise.
72404         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72405         macro.
72406         (pltexit): Likewise.
72407         (La_regs): Likewise.
72408         (La_retval): Likewise.
72409         (int_retval): Likewise.
72410         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72411         macro.
72412         (pltexit): Likewise.
72413         (La_regs): Likewise.
72414         (La_retval): Likewise.
72415         (int_retval): Likewise.
72416         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72417         macro definitions in tst-audit.h.
72418         * sysdeps/i386/tst-audit.h: New file.
72419         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72420         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72421         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72422         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72423         * sysdeps/sh/tst-audit.h: Likewise.
72424         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72425         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72426         * sysdeps/x86_64/tst-audit.h: Likewise.
72428 2012-07-26  Andreas Jaeger  <aj@suse.de>
72430         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72431         ptrace.
72433         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72434         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72435         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72436         PTRACE_O_MASK.
72437         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72438         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72439         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72441         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72442         value.
72444         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72445         _sigsys.
72446         (si_call_addr, si_syscall, si_arch): Define new macro.
72447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72448         _sigsys.
72449         (si_call_addr, si_syscall, si_arch): Define new marcro.
72450         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72451         _sigsys.
72452         (si_call_addr, si_syscall, si_arch): Define new macro.
72453         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72454         _sigsys.
72455         (si_call_addr, si_syscall, si_arch): Define new macro.
72457 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72459         [BZ #13717]
72460         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72461         Change to 2.4.21 where previously 2.4.1.
72462         * sysdeps/unix/sysv/linux/configure: Regenerated.
72463         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72464         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72465         Linux kernel version.
72466         (__ASSUME_STD_AUXV): Remove.
72467         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72468         kernel version.
72469         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72470         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72471         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72472         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72473         (__ASSUME_NETLINK_SUPPORT): Likewise.
72474         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72475         (__no_netlink_support): Remove conditional definition.
72476         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72477         Remove.
72478         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72479         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72480         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72481         (if_nameindex_ioctl): Remove.
72482         (if_nameindex_netlink): Do not handle __no_netlink_support.
72483         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72484         code.
72485         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72486         Remove conditional code.
72487         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72488         code.
72489         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72490         unconditional.
72491         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72492         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72493         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72494         Remove.
72495         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72496         [!__ASSUME_STD_AUXV]: Remove conditional code.
72497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72498         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72499         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72501         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72502         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72503         code.
72504         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72506         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72507         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72508         conditional code.
72509         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72511         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72512         code.
72513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72514         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72515         conditional code.
72516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72517         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72518         code unconditional.
72519         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72520         conditional code.
72521         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72522         unconditional.
72523         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72524         conditional code.
72525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72526         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72527         unconditional.
72528         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72529         conditional code.
72530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72531         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72532         code unconditional.
72533         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72534         conditional code.
72535         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72536         unconditional.
72537         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72538         conditional code.
72539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72540         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72541         code unconditional.
72542         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72543         conditional code.
72544         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72545         unconditional.
72546         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72547         conditional code.
72549 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72551         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72552         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72553         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72554         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72555         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72556         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72557         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72558         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72559         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72560         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72561         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72562         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72563         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72564         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72565         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72566         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72567         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72568         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72569         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72571         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72572         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72573         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72575 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72577         * Versions.def: Add GLIBC_2.17.
72578         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72579         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72580         Introduce __libc_secure_getenv.
72581         * stdlib/Versions (2.17): Add secure_getenv
72582         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72583         * stdlib/secure-getenv.c: Rename __secure_getenv to
72584         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72585         symbol __secure_getenv for GLIBC_2.0.
72586         * stdlib/tst-secure-getenv.c: New.
72587         * stdlib/Makefile (tests): Add testcase.
72588         * manual/startup.texi (Environment Access): Document
72589         secure_getenv.
72590         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72591         __libc_secure_getenv.
72592         * inet/ruserpass.c (ruserpass): Likewise.
72593         * malloc/mtrace.c (mtrace): Likewise.
72594         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72595         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72596         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72597         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72598         HAVE_SECURE_GETENV.
72599         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72600         __secure_getenv to __libc_secure_getenv.
72601         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72603         Likewise.
72604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72605         Likewise.
72606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72614 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72616         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72617         (struct La_i86_retval): Likewise.
72618         (struct La_x86_64_regs): Likewise.
72619         (struct La_x86_64_retval): Likewise.
72620         (struct La_x32_regs): Likewise.
72621         (struct La_x32_retval): Likewise.
72622         (struct La_ppc32_regs): Likewise.
72623         (struct La_ppc32_retval): Likewise.
72624         (struct La_ppc64_regs): Likewise.
72625         (struct La_ppc64_retval): Likewise.
72626         (struct La_sh_regs): Likewise.
72627         (struct La_sh_retval): Likewise.
72628         (struct La_s390_32_regs): Likewise.
72629         (struct La_s390_32_retval): Likewise.
72630         (struct La_s390_64_regs): Likewise.
72631         (struct La_s390_64_retval): Likewise.
72632         (struct La_sparc32_regs): Likewise.
72633         (struct La_sparc32_retval): Likewise.
72634         (struct La_sparc64_regs): Likewise.
72635         (struct La_sparc64_retval): Likewise.
72636         (struct audit_ifaces): Remove architecture-specific pltenter and
72637         pltexit members.
72638         * sysdeps/i386/ldsodefs.h: New file.
72639         * sysdeps/powerpc/ldsodefs.h: Likewise.
72640         * sysdeps/s390/ldsodefs.h: Likewise.
72641         * sysdeps/sh/ldsodefs.h: Likewise.
72642         * sysdeps/sparc/ldsodefs.h: Likewise.
72643         * sysdeps/x86_64/ldsodefs.h: Likewise.
72645 2012-07-25  Marek Polacek  <polacek@redhat.com>
72647         [BZ #6808]
72648         * math/libm-test.inc (yn_test): Add another test.
72649         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72650         to ERANGE when the result is +-Inf.
72651         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72652         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72653         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72654         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72656 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72658         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72659         equal to 0.
72660         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72661         clock_t.
72662         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72664 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72666         * configure.in <sysdeps resolving>: Correct printing
72667         Implies_before.
72668         * configure: Regenerate.
72670 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72672         * math/w_ilogb.c: Include <limits.h>.
72673         * math/w_ilogbl.c: Likewise.
72675 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72677         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72678         va_copy.  Document allowing for unavailable va_copy only as
72679         pre-C99 compatibility.
72680         * manual/string.texi (Copying and Concatenation): Use va_copy
72681         instead of __va_copy in concat example.
72683 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72685         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72686         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72687         it if not null.
72689         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72690         with O_NOLINK passed to __file_name_lookup.
72692         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72693         with O_NOLINK passed to __file_name_lookup.
72695         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72696         negative N or less than NGIDS.
72698         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72699         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72700         enough.  Use memcpy instead of strncpy.
72702 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72704         * elf/Makefile (check-data): Remove.
72705         (localplt.data): New vpath directive.
72706         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72707         instead of $(check-data).
72708         * scripts/data/localplt-generic.data: Move to ...
72709         * sysdeps/generic/localplt.data: ... here.
72710         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72711         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72712         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72714         ... here.
72715         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72717         ... here.
72718         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72720         ... here.
72721         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72723         ... here.
72724         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72726         ... here.
72727         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72729         ... here.
72731 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72733         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72734         PPC32 and PPC64 files.
72735         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72736         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72738 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72740         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72741         __makecontext_ret to ...
72742         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72743         ... here and call exit if uc_link is NULL.  New file.
72744         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72745         __makecontext_ret.S.
72746         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72747         __makecontext_ret to ...
72748         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72749         ... here and call exit if uc_link is NULL.  New file.
72750         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72751         __makecontext_ret.S.
72753 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72755         * elf/elf.h (R_390_IRELATIVE): New definition.
72756         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72757         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72758         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72760         (elf_machine_lazy_rel): Likewise.
72761         * sysdeps/s390/dl-irel.h: New file.
72762         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72763         * sysdeps/s390/s390-64/memset.S: New asm code.
72764         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72765         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72766         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72767         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72768         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72769         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72771         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72772         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72773         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72774         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72775         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72776         * sysdeps/s390/s390-32/memset.S: New asm code.
72777         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72779 2012-07-17  Marek Polacek  <polacek@redhat.com>
72781         [BZ #14349]
72782         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72783         * sysdeps/s390/s390-64/configure.in: Likewise.
72784         * sysdeps/sparc/configure.in: Likewise.
72785         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72786         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72787         * sysdeps/i386/configure.in: Likewise.
72788         * sysdeps/x86_64/configure.in: Likewise.
72789         * sysdeps/sh/configure.in: Likewise.
72790         * sysdeps/s390/s390-32/configure: Regenerated.
72791         * sysdeps/s390/s390-64/configure: Likewise.
72792         * sysdeps/x86_64/configure: Likewise.
72793         * sysdeps/sh/configure: Likewise.
72794         * sysdeps/powerpc/powerpc64/configure: Likewise.
72795         * sysdeps/powerpc/powerpc32/configure: Likewise.
72796         * sysdeps/sparc/configure: Likewise.
72797         * sysdeps/i386/configure: Likewise.
72799         * elf/dl-open.c: Comment fixes.
72801 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72803         * Makefile [CXX] (check-data): Remove.
72804         [CXX] (c++-types.data): New vpath directive.
72805         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72806         vpath.  Do not allow for C++ type data being missing.
72807         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72808         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72809         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72810         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72811         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72812         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72813         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72815         ... here.
72816         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72818         ... here.
72819         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72821         ... here.
72822         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72824         ... here.
72825         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72827         ... here.
72828         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72830         ... here.
72831         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72833         ... here.
72834         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72837         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72838         definitions to architecture-specific files.
72839         (TLS_IE): Likewise.
72840         (TLS_LD): Likewise.
72841         (TLS_GD): Likewise.
72842         * sysdeps/i386/tls-macros.h: New file.
72843         * sysdeps/powerpc/tls-macros.h: Likewise.
72844         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72845         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72846         * sysdeps/sh/tls-macros.h: Likewise.
72847         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72848         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72849         * sysdeps/x86_64/tls-macros.h: Likewise.
72851 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72853         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72854         zero value for regular exit case.
72856         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72857         (__start_context): Preserve zero value for regular exit case.
72859 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72860             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72862         * manual/setjmp.texi (setcontext): Clarify normal process
72863         termination when uc_link is the null pointer.
72864         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72865         exit call.
72867 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72869         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72870         preprocessor.  Test for each exception mask separately.
72872 2012-07-16  Andreas Jaeger  <aj@suse.de>
72874         * po/ru.po: Update from translation team.
72876 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72878         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72879         equal to 0.
72880         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72881         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72882         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72883         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72884         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72886 2012-07-13  Andreas Jaeger  <aj@suse.de>
72888         * po/fr.po: Update from translation team.
72890 2012-07-12  Marek Polacek  <polacek@redhat.com>
72892         [BZ #14173]
72893         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72895         loop condition.
72897 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72899         [BZ #13717]
72900         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72901         Change to 2.4.1 where previously 2.4.0.
72902         * sysdeps/unix/sysv/linux/configure: Regenerated.
72903         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72904         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72905         version.
72906         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72907         (__ASSUME_AT_CLKTCK): Remove.
72908         (__ASSUME_AT_PAGESIZE): Likewise.
72909         (__ASSUME_AT_XID): Likewise.
72910         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72911         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72912         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72913         unconditionally.
72914         (HAVE_AUX_PAGESIZE): Likewise.
72915         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72916         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72917         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72919 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72921         [BZ #14307]
72922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72923         the temporary buffer used to invoke __gethostbyname2_r,
72924         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72925         host_data / struct gaih_addrtuple.
72926         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72927         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72928         header file nss/nsswitch.h.
72929         * nss/nsswitch.h (global scope): Add definition of implementation
72930         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72931         resolv/nss_dns/dns-host.c).
72933 2012-07-11  Andreas Jaeger  <aj@suse.de>
72935         * po/fr.po: Update from translation team.
72937         * po/sv.po: Update from translation team
72938         * po/fr.po: Another update from translation team.
72940 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72942         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72943         for subnormals or multiply small sinh result by itself.
72944         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72947 2012-07-11  David S. Miller  <davem@davemloft.net>
72949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72951 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72953         [BZ #14347]
72954         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72955         (INTERNAL_MARK): Shift it here.
72957 2012-07-10  Marek Polacek  <polacek@redhat.com>
72959         [BZ #14151]
72960         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72961         libc_cv_asm_global_directive with .globl.
72962         * configure: Regenerated.
72963         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72964         with .globl.
72965         * sysdeps/i386/configure: Regenerated.
72966         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72967         with .globl.
72968         * sysdeps/x86_64/configure: Regenerated.
72969         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72970         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72971         * elf/tst-unique2mod2.c: Likewise.
72972         * elf/tst-unique2mod1.c: Likewise.
72973         * elf/tst-unique1mod2.c: Likewise.
72974         * elf/tst-unique1mod1.c: Likewise.
72975         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72976         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72977         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72978         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72979         * sysdeps/mach/sysdep.h: Likewise.
72980         * sysdeps/i386/sysdep.h: Likewise.
72981         * sysdeps/i386/i386-mcount.S: Likewise.
72982         * sysdeps/x86_64/_mcount.S: Likewise.
72983         * sysdeps/x86_64/sysdep.h: Likewise.
72984         * sysdeps/sh/_mcount.S: Likewise.
72985         * sysdeps/sh/sysdep.h: Likewise.
72986         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72987         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72988         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72989         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72990         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72991         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72992         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72993         * locale/localeinfo.h: Likewise.
72994         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72995         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72997 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72999         [BZ #14336]
73000         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73001         system".
73002         * manual/message.texi (The Uniforum approach): Likewise.
73003         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73004         (glibc iconv Implementation): Likewise.
73006 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73008         [BZ #14337]
73009         * math/s_clog.c (__clog): Avoid scaling a value down where that
73010         could result in underflow.
73011         * math/s_clog10.c (__clog10): Likewise.
73012         * math/s_clog10f.c (__clog10f): Likewise.
73013         * math/s_clog10l.c (__clog10l): Likewise.
73014         * math/s_clogf.c (__clogf): Likewise.
73015         * math/s_clogl.c (__clogl): Likewise.
73016         * math/libm-test.inc (clog_test): Add more tests.
73017         (clog10_test): Likewise.
73018         * sysdeps/i386/fpu/libm-test-ulps: Update.
73019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73021 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73023         [BZ #14283]
73024         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73025         by 7 not 8 to examine high bit of fractional part.
73027         [BZ #14042]
73028         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73029         for call to __mcount_internal.
73030         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73031         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73032         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73034 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73036         [BZ #14154]
73037         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73038         approximation for values within 0x1p-13f of an odd multiple of
73039         pi/4.
73040         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73041         exception.  Add more tests.
73042         * sysdeps/i386/fpu/libm-test-ulps: Update.
73044         [BZ #6778]
73045         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73046         inputs and return -1 for them.  Do not check for +Inf in case not
73047         reachable for +Inf.
73048         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73049         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73050         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73051         and return -1 for them.  Do not check for +Inf in case not
73052         reachable for +Inf.
73053         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73054         define.
73055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73056         and return -1 for them.  Do not check for +Inf in case not
73057         reachable for +Inf.
73058         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73059         spurious underflow.
73060         * sysdeps/i386/fpu/libm-test-ulps: Update.
73061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73063 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73065         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73067 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73069         [BZ #14157]
73070         [BZ #14331]
73071         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73072         could result in spurious underflow.  Scale down values above
73073         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73074         * math/s_csqrtf.c (__csqrtf): Likewise.
73075         * math/s_csqrtl.c (__csqrtl): Likewise.
73076         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73077         spurious underflow.
73078         * sysdeps/i386/fpu/libm-test-ulps: Update.
73079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73081 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73083         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73084         xopen-msg.sed.
73085         * catgets/xopen-msg.awk: New file.
73086         * catgets/xopen-msg.sed: Removed.
73088         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73089         po2text.sed.
73090         * intl/po2test.awk: New file.
73091         * intl/po2test.sed: Removed.
73093 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73095         [BZ #14328]
73096         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73097         or multiply small sinh result by itself.
73098         * math/s_ctanf.c (__ctanf): Likewise.
73099         * math/s_ctanh.c (__ctanh): Likewise.
73100         * math/s_ctanhf.c (__ctanhf): Likewise.
73101         * math/s_ctanhl.c (__ctanhl): Likewise.
73102         * math/s_ctanl.c (__ctanl): Likewise.
73103         * math/libm-test.inc (ctan_test_tonearest): New function.
73104         (ctan_test_towardzero): Likewise.
73105         (ctan_test_downward): Likewise.
73106         (ctan_test_upward): Likewise.
73107         (ctanh_test_tonearest): Likewise.
73108         (ctanh_test_towardzero): Likewise.
73109         (ctanh_test_downward): Likewise.
73110         (ctanh_test_upward): Likewise.
73111         (main): Call these new functions.
73112         * sysdeps/i386/fpu/libm-test-ulps: Update.
73113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73115 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73117         * .gitignore: Delete /ports entry.
73119 2012-07-03  Andreas Jaeger  <aj@suse.de>
73121         * po/bg.po: Update from translation team.
73122         * po/cs.po: Likewise.
73123         * po/de.po: Likewise.
73124         * po/hr.po: Likewise.
73125         * po/nl.pl: Likewise.
73126         * po/pl.po: Likewise.
73127         * po/vi.po: Likewise.
73129 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73131         * Makeconfig [!+link] (+link-before-libc): New variable.
73132         [!+link] (+link-after-libc): Likewise.
73133         [!+link] (+link-tests): Likewise.
73134         [!+link] (+link): Define in terms of $(+link-before-libc) and
73135         $(+link-after-libc).
73136         [!+link-static] (+link-static-before-libc): New variable.
73137         [!+link-static] (+link-static-after-libc): Likewise.
73138         [!+link-static] (+link-static-tests): Likewise.
73139         [!+link-static] (+link-static): Define in terms of
73140         $(+link-static-before-libc) and $(+link-static-after-libc).
73141         [build-shared] (link-libc-before-gnulib): New variable.
73142         [build-shared] (link-libc-tests): Likewise.
73143         [build-shared] (link-libc): Define in terms of
73144         $(link-libc-before-gnulib).
73145         [!build-shared] (link-libc-tests): New variable.
73146         (link-libc-static-tests): New variable.
73147         [!gnulib] (gnulib-arch): New variable.
73148         [!gnulib] (gnulib-tests): Likewise.
73149         [!gnulib] (static-gnulib-arch): Likewise.
73150         [!gnulib] (static-gnulib-tests): Likewise.
73151         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73152         Define with "=" instead of ":=".
73153         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73154         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73155         * Rules (binaries-all-notests): New variable.
73156         (binaries-all-tests): Likewise.
73157         (binaries-static-notests): Likewise.
73158         (binaries-static-tests): Likewise.
73159         (binaries-all): Define using $(binaries-all-notests) and
73160         $(binaries-all-tests).
73161         (binaries-static): Define using $(binaries-static-notests) and
73162         $(binaries-static-tests).
73163         (binaries-shared-tests): New variable.
73164         (binaries-shared-notests): Likewise.
73165         (binaries-shared): Remove variable.
73166         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73167         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73168         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73169         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73170         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73171         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73172         * elf/Makefile (sln-modules): New variable.
73173         (extra-objs): Add $(sln-modules:=.o).
73174         (ldconfig-modules): Add static-stubs.
73175         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73176         * elf/static-stubs.c: New file.
73178         [BZ #14283]
73179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73180         by 7 not 8 to examine high bit of fractional part.  Use volatile
73181         variables when splitting into final array of floats if
73182         __FLT_EVAL_METHOD__ != 0.
73183         * math/libm-test.inc (cos_test): Add another test.
73184         (sin_test): Likewise.
73185         * sysdeps/i386/fpu/libm-test-ulps: Update.
73187         [BZ #14273]
73188         * math/libm-test.inc (cosh_test): Add more tests.
73190         * version.h (RELEASE): Set to "development".
73191         (VERSION): Set to "2.16.90".
73193 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73195         * NEWS: Update copyright. Remove last-updated date.
73196         Mention math library bug fixes and timezone data changes.
73197         * README: Mention GNU/Hurd, x32, and HPPA support status.
73199 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73201         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73203 2012-06-27  Andreas Jaeger  <aj@suse.de>
73205         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73207 2012-06-25  Andreas Jaeger  <aj@suse.de>
73209         * sysdeps/s390/fpu/libm-test-ulps: Update.
73211 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73212             Thomas Schwinge  <thomas@codesourcery.com>
73214         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73215         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73216         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73217         fanotify_mark.
73219 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73221         * sysdeps/mach/start.c: Remove file.
73222         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73223         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73224         * sysdeps/sh/init-first.c: Likewise.
73226         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73227         registers for frame unwinding purposes, add CFI directives.
73228         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73229         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73230         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73231         Likewise.
73233         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73234         __fortify_fail returning.
73235         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73237         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73238         sysdeps/sh/____longjmp_chk.S.
73239         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73240         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73241         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73242         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73244         * sysdeps/sh/abort-instr.h: New file.
73245         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73246         process in case exit returns.
73248         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73249         initialize the GOT register before use.
73251         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73252         calculation of ARGC > 4.
73254         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73255         meaningful names to some local labels.
73257 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73258             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73260         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73261         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73262         (__arch_compare_and_exchange_val_16_acq): Likewise.
73263         (__arch_compare_and_exchange_val_32_acq): Likewise.
73264         (atomic_exchange_and_add): Fix gUSA sequence.
73265         (atomic_add): Likewise.
73266         (atomic_add_negative): Likewise.
73267         (atomic_add_zero): Likewise.
73268         (atomic_bit_test_set): Likewise.
73270 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73272         [BZ #13579]
73273         * include/link.h (struct link_map): Add l_free_initfini.
73274         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73275         l_initfini.
73276         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73277         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73278         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73279         set.
73281 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73283         * configure.in: Use AC_LANG_SOURCE.
73284         * configure: Regenerate.
73286 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73288         * configure.in (libc_cv_localstatedir): New substituted variable.
73289         * configure: Regenerated.
73290         * config.make.in (localstatedir): New variable, substituted from
73291         libc_cv_localstatedir.
73292         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73293         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73294         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73295         * sysdeps/gnu/configure: Regenerated.
73297 2012-06-21  Jeff Law  <law@redhat.com>
73299         [BZ #14277]
73300         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73301         free.  Simplify list management for _LIBC case.
73303 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73305         [BZ #14273]
73306         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73307         Clear sign bit of 64-bit integer value before comparing against
73308         overflow value.
73310         * sysdeps/mach/configure: Regenerated.
73312 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73314         [BZ #14278]
73315         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73317 2012-06-21  Jeff Law  <law@redhat.com>
73319         [BZ #13882]
73320         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73321         uint16_t for elements in the "seen" array to avoid char overflows.
73322         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73323         * elf/dl-open.c (dl_open_worker): Likewise.
73325 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73327         * scripts/list-sources.sh: Scan PORTS for translations.
73328         * po/libc.pot: Regenerated.
73330 2012-06-21  Andreas Jaeger  <aj@suse.de>
73332         [BZ #12194]
73333         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73334         warning.
73335         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73336         * bits/byteswap-16.h (__bswap_16): Likewise.
73337         * bits/byteswap.h (__bswap_constant_16): Likewise.
73339 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73341         [BZ #14117]
73342         * sysdeps/i386/fpu_control.h: Removed.
73343         * sysdeps/x86_64/fpu_control.h: Moved to ...
73344         * sysdeps/x86/fpu_control.h: Here.
73346         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73347         (_FPU_SETCW): Likewise.
73349 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73351         [BZ #14117]
73352         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73353         * sysdeps/x86/fpu/bits/mathinline.h: This.
73354         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73356         [BZ #14050]
73357         [BZ #14117]
73358         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73359         functions if __x86_64__ is defined.
73361 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73363         * string/endian.h: Add !__ASSEMBLER__ condition for including
73364         conversion interfaces.
73366 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73368         [BZ #14241]
73369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73370         of ABS(x) in calculating zero to negative powers other than odd
73371         integers.
73372         * math/libm-test.inc (pow_test): Add more tests.
73374 2012-06-15  Andreas Jaeger  <aj@suse.de>
73376         * manual/contrib.texi (Contributors): Update entry of Liubov
73377         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73378         Machado Filho.
73380 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73382         * string/string.h: Add __wur to GNU version of strerror_r.
73384 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73386         [BZ #14229]
73387         * string/Makefile (tests): Add tst-strtok_r.
73388         * string/tst-strtok_r.c: New file.
73389         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73390         RAX_LP/RDX_LP on SAVE_PTR.
73392 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73394         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73396 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73398         * libm_test.inc (csqrt_test): Allow more spurious underflow
73399         exceptions.
73400         (j0_test): Likewise.
73401         (j1_test): Likewise.
73402         (y0_test): Likewise.
73403         (y1_test): Likewise.
73405 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73407         * po/Makefile (libc.pot): Use UTF-8 charset.
73409 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73411         [BZ #14210]
73412         Suppress sign-conversion warning from FD_SET.
73413         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73414         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73415         not unsigned long int.
73416         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73418 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73420         [BZ #14050]
73421         [BZ #14117]
73422         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73423         __extern_always_inline instead of __extern_inline.
73424         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73425         (__signbit): Likewise.
73426         (__signbitl): Support C++ namespace.
73427         (lrintf): New inline function.
73428         (lrint): Likewise.
73429         (llrintf): Likewise.
73430         (llrint): Likewise.
73431         (fmaxf): Likewise.
73432         (fmax): Likewise.
73433         (fminf): Likewise.
73434         (fmin): Likewise.
73435         (rint): Likewise.
73436         (rintf): Likewise.
73437         (ceil): Likewise.
73438         (ceilf): Likewise.
73439         (floor): Likewise.
73440         (floorf): Likewise.
73441         (nearbyint): Likewise.
73442         (nearbyintf): Likewise.
73444 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73446         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73447         non-default versions.
73449 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73451         [BZ #14218]
73452         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73454 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73456         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73457         (FE_UPWARD, FE_DOWNWARD): Don't define.
73458         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73459         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73461         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73462         reading it.
73463         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73464         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73466 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73468         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73470         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73471         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73473 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73475         [BZ #14117]
73476         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73477         * sysdeps/i386/fpu/Implies: New file.
73478         * sysdeps/x86_64/fpu/Implies: Likewise.
73479         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73480         * sysdeps/x86/fpu/bits/fenv.h: This.
73482         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73483         __SSE_MATH__.
73485 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73487         [BZ #14134]
73488         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73489         character 0xffff that matches the last element of the
73490         conversion table.
73492 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73495         fmodl commit.
73497 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73499         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73500         values higher than 25.6283.
73502 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73504         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73505         subnormal exponent extraction and add some __builtin_expect.
73506         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73507         Fix for subnormal mantissa calculation.
73509 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73511         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73512         cpu2 is -1 and errno is not ENOSYS.
73514 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73516         [BZ #14117]
73517         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73518         * sysdeps/x86/bits/string.h: This.
73519         * sysdeps/x86_64/bits/string.h: Removed.
73521         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73522         if not compiling for x86-64, but compiling for >= i486.
73524         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73525         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73527         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73528         New macro from Linux kernel 3.4.0.
73529         (FP_XSTATE_MAGIC2): Likewise.
73530         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73531         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73532         (struct _fpx_sw_bytes): New struct.
73533         (struct _xsave_hdr): Likewise.
73534         (struct _ymmh_state): Likewise.
73535         (struct _xstate): Likewise.
73537         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73538         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73539         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73540         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73541         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73542         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73544         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73545         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73546         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73547         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73548         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73549         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73551 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73553         [BZ #13743]
73554         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73555         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73556         (sysdep_headers): Include sys/platform/ppc.h.
73557         * sysdeps/powerpc/test-gettimebase.c: Test for
73558         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73559         * manual/Makefile (appendices): Include platform.texi.
73560         * manual/contrib.texi (Contributors): Update @node pointers.
73561         * manual/maint.texi (Maintenance): Likewise.
73562         (Platform): New node.
73563         * manual/platform.texi: New file.  Document the new features.
73565 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73566             Jakub Jelinek  <jakub@redhat.com>
73568         [BZ #14188]
73569         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73570         where __builtin_expect is unavailable.
73572 2012-06-03  David S. Miller  <davem@davemloft.net>
73574         * stdlib/longlong.h: Updated from GCC.
73576 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73578         [BZ #14042]
73579         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73580         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73581         __mcount_internal.
73582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73583         (GLIBC_2.16): Likewise.
73585 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73587         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73589 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73592         (default-abi): New variable.
73593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73594         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73595         variable.
73596         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73597         Likewise.
73598         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73599         Likewise.
73600         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73601         Likewise.
73603         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73604         definition.  Document in comment.
73606 2012-06-01  David S. Miller  <davem@davemloft.net>
73608         * stdlib/longlong.h: Updated from GCC.
73610 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73612         [BZ #14117]
73613         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73614         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73615         sys/debugreg.h sys/io.h here.
73616         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73617         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73618         sys/io.h.
73619         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73620         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73621         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73622         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73623         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73624         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73626         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73627         Define only if __x86_64__ is defined.
73629 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73631         [BZ #14048]
73632         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73633         Use int64_t for variable i.
73634         * math/libm-test.inc (fmod_test): Add more tests.
73636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73637         z computation is not scheduled after fetestexcept.
73638         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73639         Use math_force_eval instead of asm to ensure calculation scheduled
73640         before exception test.
73641         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73642         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73644 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73647         computation is not scheduled after fetestexcept.
73649 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73651         [BZ #14117]
73652         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73653         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73655 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73657         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73658         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73660 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73662         [BZ #14117]
73663         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73664         <bits/wordsize.h>.
73665         (__WCHAR_MIN): Support __WORDSIZE == 64.
73666         (__WCHAR_MAX): Likewise.
73668         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73669         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73671         [BZ #14183]
73672         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73673         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73675         [BZ #14117]
73676         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73677         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73679         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73680         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73682         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73683         Defined to 1 if __x86_64__ isn't defined.
73684         (_STAT_VER_LINUX_OLD): New.
73685         (st_atime): Remove duplicate.
73686         (st_mtime): Likewise.
73687         (st_ctime): Likewise.
73689 2012-05-31  David S. Miller  <davem@davemloft.net>
73691         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73692         entries.
73694 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73696         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73697         gen-libm-test.pl.
73699         [BZ #14132]
73700         * elf/dl-reloc.c: Include <_itoa.h>.
73701         (_dl_reloc_bad_type): Remove use of INTUSE.
73702         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73703         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73704         * stdio-common/psiginfo.c (psiginfo): Likewise.
73705         * stdio-common/psignal.c (psignal): Likewise.
73706         * string/strsignal.c (strsignal): Likewise.
73707         * include/signal.h (_sys_siglist): Declare hidden proto.
73708         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73709         INTVARDEF with libc_hidden_data_def.
73710         * stdio-common/itoa-udigits.c: Likewise.
73711         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73712         (_itoa_lower_digits_internal): Remove declaration.
73713         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73714         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73715         (_sys_sigabbrev_internal): Remove aliases.
73716         (_sys_siglist): Define hidden alias.
73718 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73721         bits/sysctl.h.
73723 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73725         [BZ #14117]
73726         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73727         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73729         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73730         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73731         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73732         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73733         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73734         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73736         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73737         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73738         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73740         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73741         with __addr.
73742         (insw): Likewise.
73743         (insl): Likewise.
73744         (outsb): Likewise.
73745         (outsw): Likewise.
73746         (outsl): Likewise.
73748         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73749         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73750         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73752         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73753         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73755         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73756         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73757         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73759         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73760         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73762         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73763         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73769         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73770         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73771         to ...
73772         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73774         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73775         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73776         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73778         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73779         for x86-64.
73780         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73782 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73784         * math/math.h (M_El): Use two more decimal places.
73785         (M_LOG2El): Likewise.
73786         (M_LOG10El): Likewise.
73787         (M_LN2l): Likewise.
73788         (M_LN10l): Likewise.
73789         (M_PIl): Likewise.
73790         (M_PI_2l): Likewise.
73791         (M_PI_4l): Likewise.
73792         (M_1_PIl): Likewise.
73793         (M_2_PIl): Likewise.
73794         (M_2_SQRTPIl): Likewise.
73795         (M_SQRT2l): Likewise.
73796         (M_SQRT1_2l): Likewise.
73798 2012-05-31  David S. Miller  <davem@davemloft.net>
73800         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73801         values between float registers.
73802         * sysdeps/sparc/sparc64/memset.S: Likewise.
73803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73805 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73807         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73808         -D_FORTIFY_SOURCE=1.
73809         (CPPFLAGS-tst-longjmp_chk.c): Define.
73810         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73811         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73812         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73813         CFLAGS-tst-wchar-h.c.
73815 2012-05-31  Marek Polacek  <polacek@redhat.com>
73817         [BZ #14132]
73818         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73819         __endmntent_internal): Remove declaration.
73820         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73821         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73822         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73824 2012-05-30  David S. Miller  <davem@davemloft.net>
73826         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73827         (___Q_simulate_exceptions): Use real FP ops rather than writing
73828         into the %fsr.
73829         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73830         Likewise.
73832 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73834         [BZ #14117]
73835         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73836         * sysdeps/x86/bits/xtitypes.h: This.
73838         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73839         * sysdeps/x86/bits/wordsize.h: This.
73841         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73842         * sysdeps/x86/bits/huge_vall.h: This.
73844         * sysdeps/i386/bits/select.h: Removed.
73845         * sysdeps/x86_64/bits/select.h: Renamed to ...
73846         * sysdeps/x86/bits/select.h: This.
73848         * sysdeps/i386/bits/setjmp.h: Removed.
73849         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73850         * sysdeps/x86/bits/setjmp.h: This.
73852         * sysdeps/i386/bits/mathdef.h: Removed.
73853         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73854         * sysdeps/x86/bits/mathdef.h: This.
73856 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73858         [BZ #14132]
73859         * include/sys/socket.h (__connect_internal)
73860         (__libc_sa_len_internal): Remove declaration.
73861         (__connect, __libc_sa_len): Declare hidden_proto.
73862         (SA_LEN): Remove use of INTUSE.
73863         * socket/connect.c: Add libc_hidden_def.
73864         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73865         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73866         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73867         alias.
73868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73869         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73870         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73871         of adding _internal alias.
73873 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73875         [BZ #14117]
73876         * sysdeps/i386/bits/link.h: Removed.
73877         * sysdeps/i386/bits/linkmap.h: Likewise.
73878         * sysdeps/x86_64/bits/link.h: Renamed to ...
73879         * sysdeps/x86/bits/link.h: This.
73880         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73881         * sysdeps/x86/bits/linkmap.h: This.
73883         * sysdeps/i386/bits/endian.h: Removed.
73884         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73885         * sysdeps/x86/bits/endian.h: This.
73887         * sysdeps/i386/bits/byteswap.h: Removed.
73888         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73889         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73890         * sysdeps/x86/bits/byteswap.h: This.
73891         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73892         * sysdeps/x86/bits/byteswap-16.h: This.
73893         * sysdeps/i386/Implies: Add x86.
73894         * sysdeps/x86_64/Implies: Likewise.
73896 2012-05-30  David S. Miller  <davem@davemloft.net>
73898         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73899         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73900         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73901         (FP_TRAPPING_EXCEPTIONS): Define.
73902         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73903         (FP_TRAPPING_EXCEPTIONS): Define.
73904         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73905         subnormals only when inexact has been signalled or underflow
73906         exceptions are enabled.
73907         (_FP_PACK_CANONICAL): Likewise.
73909 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73911         [BZ #14183]
73912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73913         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73915 2012-05-30  Richard Henderson  <rth@twiddle.net>
73917         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73918         with #ifndef NOT_IN_libc.
73920         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73921         marked to avoid plt entry.
73923 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73925         [BZ #14112]
73926         * Makeconfig (default-abi): New macro.
73927         (abi-includes): Likewise.
73928         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73929         $(abi-$(default-abi)-lib-soname) for soname if defined.
73930         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73931         abi-variants.
73932         * Makefile (installed-stubs): Likewise.
73933         * include/stubs-biarch.h: Removed.
73934         * scripts/lib-names.awk: Only handle one library at a time.
73935         * scripts/soversions.awk: Remove WORDSIZE support.
73936         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73937         entries.
73938         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73939         Removed.
73940         (syscall-list-default-condition): Likewise.
73941         (syscall-list-default-condition): Likewise.
73942         (syscall-list-includes): Likewise.
73943         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73944         syscall-list-* with abi-*.  Handle undefined abi-variants.
73945         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73946         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73947         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73948         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73949         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73950         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73951         Removed.
73952         (syscall-list-32-options): Likewise.
73953         (syscall-list-32-condition): Likewise.
73954         (syscall-list-64-options): Likewise.
73955         (syscall-list-64-condition): Likewise.
73956         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73957         macro.
73958         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73959         Renamed to ...
73960         (abi-*): This.
73961         (abi-64-ld-soname): New macro.
73962         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73963         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73964         Renamed to ...
73965         (abi-*): This.
73966         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73967         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73969 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73971         * sysdeps/unix/sysv/linux/kernel-features.h
73972         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73973         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73974         include <kernel-features.h>.
73975         [!__NR_ftruncate64]: Remove conditional code.
73976         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73977         [__NR_ftruncate64]: Make code unconditional.
73978         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73979         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73980         include <kernel-features.h>.
73981         [!__NR_ftruncate64]: Remove conditional code.
73982         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73983         [__NR_ftruncate64]: Make code unconditional.
73984         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73986         include <kernel-features.h>.
73987         [!__NR_ftruncate64]: Remove conditional code.
73988         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73989         [__NR_ftruncate64]: Make code unconditional.
73990         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73992         include <kernel-features.h>.
73993         [!__NR_ftruncate64]: Remove conditional code.
73994         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73995         [__NR_ftruncate64]: Make code unconditional.
73996         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73998         * configure.in (libc_cv_fpie): Weaken to a compile test using
73999         LIBC_TRY_CC_OPTION.
74000         * configure: Regenerated.
74002 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74008         Refreshed.
74009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74015         Refreshed.
74017 2012-05-27  David S. Miller  <davem@davemloft.net>
74019         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74020         (___Q_zero): New.
74021         (__Q_simulate_exceptions): Return void.  Change to simulate
74022         exceptions by writing into the %fsr.
74023         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74024         (__Qp_handle_exceptions): Likewise.
74025         (numbers): Delete.
74026         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74027         __Qp_handle_exceptions.
74028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74029         __Qp_handle_exceptions.
74030         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74031         as unused and give dummy FP_RND_NEAREST initializer.
74032         (FP_INHIBIT_RESULTS): Define.
74033         (___Q_simulate_exceptions): Update declaration.
74034         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74035         formatting.
74036         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74037         as unused and give dummy FP_RND_NEAREST initializer.
74038         (__Qp_handle_exceptions): Update declaration.
74039         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74040         formatting.
74042 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74044         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74045         the temporary FPU control word.
74046         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74047         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74048         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74049         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74050         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74051         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74052         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74055         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74056         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74058 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74060         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74061         fields.
74063 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74065         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74066         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74067         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74068         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74069         Likewise.
74070         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74071         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74072         Likewise.
74074 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74076         * po/h.po: Update from translation team.
74078 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74080         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74082         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74083         handling of denormals.
74084         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74085         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74086         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74087         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74088         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74090         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74091         Likewise.
74093 2012-05-26  Marek Polacek  <polacek@redhat.com>
74095         [BZ #14152]
74096         * math/libm-test.inc (fma_test): Don't always expect underflow
74097         exception.
74099 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74101         [BZ #12416]
74102         * elf/tst-execstack.c: Include stackinfo.h.
74103         (do_test): Adjust test case to ensure that pthread_getattr_np
74104         behaviour remains the same after marking stack executable.
74106 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74108         * sysdeps/unix/sysv/linux/kernel-features.h
74109         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74110         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74111         kernel-features.h.
74112         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74113         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74114         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74115         kernel-features.h.
74116         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74117         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74119 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74121         * configure.in: Define the default includes to being none.
74122         * configure: Regenerated.
74124 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74126         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74127         * sysdeps/x86_64/setjmp.S: Likewise.
74128         * sysdeps/i386/bsd-setjmp.S: Likewise.
74129         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74130         * sysdeps/i386/setjmp.S: Likewise.
74131         * sysdeps/i386/__longjmp.S: Likewise.
74132         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74133         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74135         * include/stap-probe.h: New file.
74136         * configure.in: Handle --enable-systemtap.
74137         * configure: Regenerated.
74138         * config.h.in (USE_STAP_PROBE): New #undef.
74139         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74140         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74141         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74143 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74145         [BZ #13717]
74146         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74147         to 2.4.0 where earlier.
74148         * sysdeps/unix/sysv/linux/configure: Regenerated.
74149         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74150         <kernel-features.h>.
74151         [__ASSUME_32BITUIDS]: Make code unconditional.
74152         [!__ASSUME_32BITUIDS]: Remove conditional code.
74153         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74154         <kernel-features.h>.
74155         [__ASSUME_32BITUIDS]: Make code unconditional.
74156         [!__ASSUME_32BITUIDS]: Remove conditional code.
74157         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74158         [__ASSUME_32BITUIDS]: Make code unconditional.
74159         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74160         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74161         <kernel-features.h>.
74162         [__ASSUME_32BITUIDS]: Make code unconditional.
74163         [!__ASSUME_32BITUIDS]: Remove conditional code.
74164         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74165         <kernel-features.h>.
74166         [__ASSUME_32BITUIDS]: Make code unconditional.
74167         [!__ASSUME_32BITUIDS]: Remove conditional code.
74168         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74169         <kernel-features.h>.
74170         [__ASSUME_32BITUIDS]: Make code unconditional.
74171         [!__ASSUME_32BITUIDS]: Remove conditional code.
74172         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74173         <kernel-features.h>.
74174         [__ASSUME_32BITUIDS]: Make code unconditional.
74175         [!__ASSUME_32BITUIDS]: Remove conditional code.
74176         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74177         <kernel-features.h>.
74178         [__ASSUME_32BITUIDS]: Make code unconditional.
74179         [!__ASSUME_32BITUIDS]: Remove conditional code.
74180         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74181         <kernel-features.h>.
74182         [__ASSUME_32BITUIDS]: Make code unconditional.
74183         [!__ASSUME_32BITUIDS]: Remove conditional code.
74184         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74185         <kernel-features.h>.
74186         [__ASSUME_32BITUIDS]: Make code unconditional.
74187         [!__ASSUME_32BITUIDS]: Remove conditional code.
74188         * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.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/i386/semctl.c: Do not include
74197         <kernel-features.h>.
74198         [__ASSUME_32BITUIDS]: Make code unconditional.
74199         [!__ASSUME_32BITUIDS]: Remove conditional code.
74200         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74201         <kernel-features.h>.
74202         [__NR_setresgid] (__setresgid): Do not declare.
74203         [__ASSUME_32BITUIDS]: Make code unconditional.
74204         [!__ASSUME_32BITUIDS]: Remove conditional code.
74205         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74206         <kernel-features.h>.
74207         [__NR_setresuid] (__setresuid): Do not declare.
74208         [__ASSUME_32BITUIDS]: Make code unconditional.
74209         [!__ASSUME_32BITUIDS]: Remove conditional code.
74210         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
74215         <kernel-features.h>.
74216         [__ASSUME_32BITUIDS]: Make code unconditional.
74217         [!__ASSUME_32BITUIDS]: Remove conditional code.
74218         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74219         <kernel-features.h>.
74220         [__ASSUME_32BITUIDS]: Make code unconditional.
74221         [!__ASSUME_32BITUIDS]: Remove conditional code.
74222         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74223         <kernel-features.h>.
74224         [__ASSUME_32BITUIDS]: Make code unconditional.
74225         [!__ASSUME_32BITUIDS]: Remove conditional code.
74226         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74227         <kernel-features.h>.
74228         [__ASSUME_32BITUIDS]: Make code unconditional.
74229         [!__ASSUME_32BITUIDS]: Remove conditional code.
74230         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74231         <kernel-features.h>.
74232         [__ASSUME_32BITUIDS]: Make code unconditional.
74233         [!__ASSUME_32BITUIDS]: Remove conditional code.
74234         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74235         <kernel-features.h>.
74236         [__ASSUME_32BITUIDS]: Make code unconditional.
74237         [!__ASSUME_32BITUIDS]: Remove conditional code.
74238         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74239         <kernel-features.h>.
74240         [__ASSUME_32BITUIDS]: Make code unconditional.
74241         [!__ASSUME_32BITUIDS]: Remove conditional code.
74242         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74243         <kernel-features.h>.
74244         [__ASSUME_32BITUIDS]: Make code unconditional.
74245         [!__ASSUME_32BITUIDS]: Remove conditional code.
74246         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74247         <kernel-features.h>.
74248         [__ASSUME_32BITUIDS]: Make code unconditional.
74249         [!__ASSUME_32BITUIDS]: Remove conditional code.
74250         * sysdeps/unix/sysv/linux/kernel-features.h
74251         (__ASSUME_SETRESUID_SYSCALL): Remove.
74252         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74253         (__ASSUME_32BITUIDS): Likewise.
74254         (__ASSUME_LDT_WORKS): Likewise.
74255         (__ASSUME_O_DIRECTORY): Likewise.
74256         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74257         architecture but not kernel version.
74258         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74259         (__ASSUME_MMAP2_SYSCALL): Likewise.
74260         (__ASSUME_STAT64_SYSCALL): Likewise.
74261         (__ASSUME_IPC64): Likewise.
74262         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74263         <kernel-features.h>.
74264         [__ASSUME_32BITUIDS]: Make code unconditional.
74265         [!__ASSUME_32BITUIDS]: Remove conditional code.
74266         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74267         <kernel-features.h>.
74268         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74269         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74270         132096]: Remove conditional code.
74271         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74272         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74273         <kernel-features.h>.
74274         [__ASSUME_32BITUIDS]: Make code unconditional.
74275         [!__ASSUME_32BITUIDS]: Remove conditional code.
74276         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74277         <kernel-features.h>.
74278         [__ASSUME_32BITUIDS]: Make code unconditional.
74279         [!__ASSUME_32BITUIDS]: Remove conditional code.
74280         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74281         <kernel-features.h>.
74282         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74283         unconditional.
74284         (__setresgid): Do not declare.
74285         [__ASSUME_32BITUIDS]: Make code unconditional.
74286         [!__ASSUME_32BITUIDS]: Remove conditional code.
74287         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74288         <kernel-features.h>.
74289         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74290         unconditional.
74291         (__setresuid): Do not declare.
74292         [__ASSUME_32BITUIDS]: Make code unconditional.
74293         [!__ASSUME_32BITUIDS]: Remove conditional code.
74294         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74295         <kernel-features.h>.
74296         [__ASSUME_32BITUIDS]: Make code unconditional.
74297         [!__ASSUME_32BITUIDS]: Remove conditional code.
74298         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74299         <kernel-features.h>.
74300         [__ASSUME_32BITUIDS]: Make code unconditional.
74301         [!__ASSUME_32BITUIDS]: Remove conditional code.
74303 2012-05-25  Richard Henderson  <rth@twiddle.net>
74305         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74306         dl_hwcap to ifunc resolver.
74307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74308         elf_ifunc_invoke.
74309         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74310         dl_hwcap to ifunc resolver.
74311         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74313 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74315         [BZ #14153]
74316         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74317         for |x| <= 2**-26, not 2**-57.
74318         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74319         exception.
74321 2012-05-24  Jeff Law  <law@redhat.com>
74323         * stdio-common/Makefile (tests): Add bug25.
74324         * stdio-common/bug25.c: New test.
74326 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74328         [BZ #13576]
74329         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74330         multiple of MALLOC_ALIGNMENT in size.
74331         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74333 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74335         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74336         Require >= 256.
74337         (FILENAME_MAX): Use macro-int-constant.
74338         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74339         (_IOFBF): Use macro-int-constant.
74340         (_IOLBF): Likewise.
74341         (_IONBF): Likewise.
74342         (SEEK_CUR): Likewise.
74343         (SEEK_END): Likewise.
74344         (SEEK_SET): Likewise.
74345         (TMP_MAX): Likewise.
74346         (EOF): Use macro-int-constant.  Require < 0.
74347         (NULL): Use macro-constant.  Require == 0.
74348         (stdin): Require type to be FILE *.
74349         (stdout): Likewise.
74350         (stderr): Likewise.
74351         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74352         macro-int-constant.
74353         (EXIT_SUCCESS): Likewise.
74354         (NULL): Use macro-constant.  Require == 0.
74355         (RAND_MAX): Use macro-int-constant.
74356         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74357         [C99-based standards] (strtof): Require function.
74358         [C99-based standards] (strtold): Likewise.
74359         [C99-based standards] (strtoll): Likewise.
74360         [C99-based standards] (strtoull): Likewise.
74361         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74362         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74363         [ISO || ISO99 || ISO11] (math.h): Likewise.
74364         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74365         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74368 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74370         [BZ #14132]
74371         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74372         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74373         * intl/dgettext.c (DCGETTEXT): Likewise.
74374         * intl/gettext.c (DCGETTEXT): Likewise.
74375         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74376         * posix/regex_internal.h (gettext): Likewise.
74377         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74378         Remove declaration.
74379         * include/argz.h (__argz_count_internal)
74380         (__argz_stringify_internal): Remove declaration.
74381         (__argz_count, __argz_stringify): Declare hidden proto.
74382         * intl/dcgettext.c: Remove use of INTDEF.
74383         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74384         * string/argz-stringify.c: Likewise.
74385         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74386         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74387         Declare hidden proto.
74388         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74389         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74390         Declare hidden proto.
74391         * include/stdio.h (__asprintf_internal): Don't declare.
74392         (__asprintf): Don't define as macro.  Declare hidden proto.
74393         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74394         (__fsetlocking): Declare hidden proto.
74395         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74396         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74397         hidden proto.
74398         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74399         (_IO_setlinebuf): Remove use of INTUSE.
74400         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74401         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74402         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74403         Remove declaration.
74404         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74405         (_IO_do_flush): Remove use of INTUSE.
74406         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74407         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74408         (_IO_adjust_column, _IO_least_wmarker)
74409         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74410         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74411         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74412         (_IO_default_doallocate, _IO_wdefault_doallocate)
74413         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74414         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74415         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74416         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74417         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74418         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74419         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74420         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74421         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74422         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74423         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74424         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74425         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74426         proto.
74427         (_IO_flush_all_internal, _IO_adjust_column_internal)
74428         (_IO_default_uflow_internal, _IO_default_finish_internal)
74429         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74430         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74431         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74432         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74433         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74434         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74435         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74436         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74437         (_IO_file_close_internal, _IO_file_close_it_internal)
74438         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74439         (_IO_file_init_internal, _IO_file_attach_internal)
74440         (_IO_file_fopen_internal, _IO_file_read_internal)
74441         (_IO_file_sync_internal, _IO_file_seek_internal)
74442         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74443         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74444         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74445         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74446         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74447         (_IO_list_all_internal, _IO_link_in_internal)
74448         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74449         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74450         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74451         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74452         (_IO_do_write_internal, _IO_padn_internal)
74453         (_IO_getline_info_internal, _IO_getline_internal)
74454         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74455         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74456         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74457         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74458         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74459         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74460         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74461         with libc_hidden_ver, remove use of INTUSE.
74462         * libio/genops.c: Likewise.
74463         * libio/freopen.c: Likewise.
74464         * libio/freopen64.c: Likewise.
74465         * libio/iofclose.c: Likewise.
74466         * libio/iofdopen.c: Likewise.
74467         * libio/iofflush.c: Likewise.
74468         * libio/iofflush_u.c: Likewise.
74469         * libio/iofgets.c: Likewise.
74470         * libio/iofgets_u.c: Likewise.
74471         * libio/iofopen.c: Likewise.
74472         * libio/iofopncook.c: Likewise.
74473         * libio/iofread.c: Likewise.
74474         * libio/iofread_u.c: Likewise.
74475         * libio/ioftell.c: Likewise.
74476         * libio/iofwrite.c: Likewise.
74477         * libio/iogetline.c: Likewise.
74478         * libio/iogets.c: Likewise.
74479         * libio/iogetwline.c: Likewise.
74480         * libio/iopadn.c: Likewise.
74481         * libio/iopopen.c: Likewise.
74482         * libio/ioseekoff.c: Likewise.
74483         * libio/ioseekpos.c: Likewise.
74484         * libio/iosetbuffer.c: Likewise.
74485         * libio/iosetvbuf.c: Likewise.
74486         * libio/ioungetc.c: Likewise.
74487         * libio/ioungetwc.c: Likewise.
74488         * libio/iovdprintf.c: Likewise.
74489         * libio/iovsprintf.c: Likewise.
74490         * libio/iovsscanf.c: Likewise.
74491         * libio/memstream.c: Likewise.
74492         * libio/obprintf.c: Likewise.
74493         * libio/oldfileops.c: Likewise.
74494         * libio/oldiofclose.c: Likewise.
74495         * libio/oldiofdopen.c: Likewise.
74496         * libio/oldiofopen.c: Likewise.
74497         * libio/oldiopopen.c: Likewise.
74498         * libio/oldstdfiles.c: Likewise.
74499         * libio/putc.c: Likewise.
74500         * libio/setbuf.c: Likewise.
74501         * libio/setlinebuf.c: Likewise.
74502         * libio/stdfiles.c: Likewise.
74503         * libio/strops.c: Likewise.
74504         * libio/vasprintf.c: Likewise.
74505         * libio/vscanf.c: Likewise.
74506         * libio/vsnprintf.c: Likewise.
74507         * libio/vswprintf.c: Likewise.
74508         * libio/wfiledoalloc.c: Likewise.
74509         * libio/wfileops.c: Likewise.
74510         * libio/wgenops.c: Likewise.
74511         * libio/wmemstream.c: Likewise.
74512         * libio/wstrops.c: Likewise.
74513         * libio/__fpurge.c: Likewise.
74514         * libio/__fsetlocking.c: Likewise.
74515         * assert/assert.c: Likewise.
74516         * debug/fgets_chk.c: Likewise.
74517         * debug/fgets_u_chk.c: Likewise.
74518         * debug/fread_chk.c: Likewise.
74519         * debug/fread_u_chk.c: Likewise.
74520         * debug/gets_chk.c: Likewise.
74521         * debug/obprintf_chk.c: Likewise.
74522         * debug/vasprintf_chk.c: Likewise.
74523         * debug/vdprintf_chk.c: Likewise.
74524         * debug/vsnprintf_chk.c: Likewise.
74525         * debug/vsprintf_chk.c: Likewise.
74526         * malloc/mtrace.c: Likewise.
74527         * misc/error.c: Likewise.
74528         * misc/syslog.c: Likewise.
74529         * stdio-common/asprintf.c: Likewise.
74530         * stdio-common/fxprintf.c: Likewise.
74531         * stdio-common/getw.c: Likewise.
74532         * stdio-common/isoc99_fscanf.c: Likewise.
74533         * stdio-common/isoc99_scanf.c: Likewise.
74534         * stdio-common/isoc99_vfscanf.c: Likewise.
74535         * stdio-common/isoc99_vscanf.c: Likewise.
74536         * stdio-common/isoc99_vsscanf.c: Likewise.
74537         * stdio-common/printf-prs.c: Likewise.
74538         * stdio-common/printf_fp.c: Likewise.
74539         * stdio-common/printf_fphex.c: Likewise.
74540         * stdio-common/printf_size.c: Likewise.
74541         * stdio-common/putw.c: Likewise.
74542         * stdio-common/scanf.c: Likewise.
74543         * stdio-common/sprintf.c: Likewise.
74544         * stdio-common/tmpfile.c: Likewise.
74545         * stdio-common/vfprintf.c: Likewise.
74546         * stdio-common/vfscanf.c: Likewise.
74547         * stdlib/strfmon_l.c: Likewise.
74548         * sunrpc/openchild.c: Likewise.
74549         * sunrpc/xdr_stdio.c: Likewise.
74550         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74551         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74553 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74555         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74557         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74558         in the third column, to generate for the shared library an IFUNC
74559         that uses _dl_vdso_vsym.
74560         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74561         * Makeconfig (object-suffixes-noshared): New variable.
74563         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74564         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74565         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74566         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74568         [BZ #14132]
74569         * include/sys/time.h (__gettimeofday): Remove macro.
74570         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74571         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74572         Remove INTDEF.
74573         (__gettimeofday): Add libc_hidden_def.
74574         (gettimeofday): Add libc_hidden_weak.
74575         * sysdeps/mach/gettimeofday.c: Likewise.
74576         * sysdeps/posix/gettimeofday.c: Likewise.
74577         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74578         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74580         (__gettimeofday_internal): Remove strong_alias.
74581         (__gettimeofday): Add libc_hidden_def.
74582         (gettimeofday): Add libc_hidden_weak.
74583         * sysdeps/unix/syscalls.list (gettimeofday):
74584         Remove __gettimeofday_internal alias.
74586 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74587             H.J. Lu  <hongjiu.lu@intel.com>
74589         [BZ #12495]
74590         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74591         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74592         (largebin_index_32_big): New.
74593         (largebin_index): Use it for 16-byte alignment.
74594         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74595         correction with front_misalign.
74597 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74601         Likewise.
74602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74603         Likewise.
74604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74605         Likewise.
74606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74607         Likewise.
74608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74609         Likewise.
74610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74611         Likewise.
74612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74613         Likewise.
74614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74615         Likewise.
74616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74617         Likewise.
74618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74619         Likewise.
74620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74621         Likewise.
74622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74623         Likewise.
74625         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74626         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74628 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74630         [BZ #10846]
74631         [BZ #14036]
74632         * math/libm-test.inc (exp_test): Add test from bug 14036.
74633         (pow_test): Add test from bug 10846.
74635         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74636         and other flags.
74637         (special_function): Do not include flags in test name.
74638         (parse_args): Likewise.
74639         * sysdeps/i386/fpu/libm-test-ulps: Update.
74640         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74641         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74642         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74645         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74646         exceptions.
74647         * math/libm-test.inc ("Philosophy"): Update comment about
74648         exception testing.
74649         (UNDERFLOW_EXCEPTION): New macro.
74650         (UNDERFLOW_EXCEPTION_OK): Likewise.
74651         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74652         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74653         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74654         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74655         (INVALID_EXCEPTION_OK): Update value.
74656         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74657         (OVERFLOW_EXCEPTION_OK): Likewise.
74658         (IGNORE_ZERO_INF_SIGN): Likewise.
74659         (test_exceptions): Handle underflow exceptions.
74660         (acos_test): Update for underflow exception expectations.
74661         (cexp_test): Likewise.
74662         (clog_test): Likewise.
74663         (clog10_test): Likewise.
74664         (csqrt_test): Likewise.
74665         (ctan_test): Likewise.
74666         (ctanh_test): Likewise.
74667         (exp_test): Likewise.
74668         (exp10_test): Likewise.
74669         (exp2_test): Likewise.
74670         (expm1_test): Likewise.
74671         (fma_test): Likewise.
74672         (j0_test): Likewise.
74673         (jn_test): Likewise.
74674         (nexttoward_test): Likewise.
74675         (pow_test): Likewise.
74676         (scalbn_test): Likewise.
74677         (scalbln_test): Likewise.
74678         (tan_test): Likewise.
74679         (y1_test): Likewise.
74680         * sysdeps/i386/fpu/libm-test-ulps: Update.
74681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74683 2012-05-23  David S. Miller  <davem@davemloft.net>
74685         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74686         (__libc_sigaction): Remove unused local variables.
74688 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74690         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74692 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74694         mktime: avoid signed integer overflow
74695         * time/mktime.c (__mktime_internal): Do not mishandle the case
74696         where diff == INT_MIN.
74698         mktime: simplify computation of average
74699         * time/mktime.c (ranged_convert): Use new time_t_avg function
74700         instead of rolling our own (probably-slower) code.
74702         mktime: do not assume signed right shift propagates sign bit
74703         * time/mktime.c (isdst_differ): New static function.
74704         (__mktime_internal): No need to normalize tm_isdst now.
74705         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74706         tm_isdst values.
74708         mktime: merge another wrapv change from gnulib
74709         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74710         from some compilers.
74712         mktime: remove incorrect attempt at unusual arithmetics
74713         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74714         The code didn't really work on such machines anyway.
74715         (TYPE_MINIMUM): Assume two's complement.
74716         (twos_complement_arithmetic): Verify that long_int and time_t
74717         are two's complement (or unsigned, in the latter case).
74719         mktime: check signed shifts on long_int and time_t, too
74720         * time/mktime.c (SHR): Check that shifts work as desired
74721         on the types long_int and time_t too, as SHR is used on
74722         such types.
74724         mktime: do not assume 'long' is wide enough
74725         * time/mktime.c (verify): Move decl up.
74726         (long_int): New type.
74727         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74728         to remove assumption in the code that 'long' is wide enough to
74729         store year values.  This assumption is not true on x32 and on
74730         some non-glibc platforms.
74732         mktime: merge wrapv change from gnulib
74733         * time/mktime.c (WRAPV): New macro.
74734         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74735         (guess_time_tm, __mktime_internal): Do not assume that signed
74736         integer overflow wraps around; modern compilers generate code
74737         where this assumption is no longer valid.
74739 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74741         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74742         Replace "jmp L(pseudo_end)" with "ret".
74743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74744         Likewise.
74746 2012-05-23  Andreas Jaeger  <aj@suse.de>
74748         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74749         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74751 2012-05-23  Andreas Jaeger  <aj@suse.de>
74752             Maximilian Attems  <max@stro.at>
74754         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74755         New macros.
74757 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74759         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74760         code so that pseudo_end is just ret and the stack pointer is
74761         correct also for static library in error case.
74763 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74765         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74766         move to syscalls.list.
74767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74772         * manual/install.texi (Running make install): Do not mention Linux
74773         kernel version for which pt_chown is not needed.
74774         (Linux): Do not mention problems with nscd with 2.0 kernels.
74775         * INSTALL: Regenerated.
74777 2012-05-23  Andreas Jaeger  <aj@suse.de>
74779         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74780         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74781         macro.
74782         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74783         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74784         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74785         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74786         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74787         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74788         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74789         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74790         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74791         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74792         * sysdeps/unix/sysv/linux/bits/in.h
74793         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74795 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74797         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74798         (PREPARE_VERSION): Just use assert instead, it will be elided
74799         under [NDEBUG] anyway.
74801 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74803         * sysdeps/unix/sysv/linux/Makefile: Include
74804         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74805         (sysdep_routines): Remove sysctl.
74806         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74807         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74808         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74809         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74810         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74812 2012-05-22  Andreas Jaeger  <aj@suse.de>
74814         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74815         that pseudo_end is just ret and the stack pointer is correct also
74816         for static library in error case.
74818 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74820         [BZ #14122]
74821         * nss/nsswitch.c (defconfig_entries): New variable.
74822         (__nss_database_lookup): Don't leak defconfig entries.
74823         (nss_parse_service_list): Don't leak on error paths.
74824         (free_database_entries): New function.
74825         (free_defconfig): New function.
74826         (free_mem): Move common code to free_database_entries.
74828 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74830         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74831         Add arch_prctl.
74832         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74834         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74835         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74837         New macro.
74838         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74839         (INTERNAL_SYSCALL_TYPES): Likewise.
74840         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74841         (LOAD_REGS_TYPES_[1-6]): Likewise.
74842         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74843         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74845 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74847         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74848         copysignl for GLIBC_2_0.
74849         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74850         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74852         logbl for GLIBC_2_0.
74853         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74854         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74856 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74858         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74859         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74861         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74862         Use "neg %eax".
74864         * time/mktime.c: Update copyright years.
74866 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74868         mktime: merge comment-quoting-style change from gnulib
74869         * time/mktime.c: Quote 'like this' in comments.
74870         The GNU coding standards suggest that we no longer quote `like this',
74871         as "`" and "'" are typically rendered asymmetrically nowadays.
74872         The typical gnulib style is to quote 'like this' when quoting
74873         code, and "like this" when quoting English.
74875         * time/mktime.c (compile-command): Add "-I.".
74877         mktime: merge mktime-internal.h change from gnulib
74878         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74880         mktime: merge time_r change from gnulib
74881         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74883         mktime: merge DEBUG change from gnulib
74884         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74885         case system <time.h> has a #define.
74887         mktime: merge <sys/types.h> change from gnulib
74888         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74889         since <time.t> is now guaranteed to define time_t.
74891         mktime: merge HAVE_CONFIG_H change from gnulib
74892         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74894 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74897         Use "neg %eax".
74899         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74900         __rlim_t cast.
74901         (struct rusage): Use anonymous union to pad each field to
74902         __syscall_slong_t.
74904 2012-05-21  David S. Miller  <davem@davemloft.net>
74906         * Makefules (o-iterator): Remove .s cases.
74907         (compile-command.s): Delete.
74908         (COMPILE.s): Delete.
74909         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74911 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74913         * configure.in (libc_cv_predef_stack_protector): Only consider
74914         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74915         * configure: Regenerated.
74917 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74920         New macro.  Use R*LP on int and pointer.
74921         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74922         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74923         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74924         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74926         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74927         [__WORDSIZE_TIME64_COMPAT32] instead of
74928         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74929         (struct utmp): Likewise.
74930         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74931         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74932         Renamed to ...
74933         (__WORDSIZE_TIME64_COMPAT32): This.
74934         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74935         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74936         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74937         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74938         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74939         (__WORDSIZE_TIME64_COMPAT32): New macro.
74941 2012-05-21  Andreas Jaeger  <aj@suse.de>
74943         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74944         only if [SHARED]. Add prototype for __wcschr_ia32.
74946 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74948         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74949         of %rbp unmolested in the jmp_buf while mangling the low bits.
74950         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74951         unmolested high bits of %rbp while demangling the low bits.
74952         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74954 2012-05-21  Andreas Jaeger  <aj@suse.de>
74956         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74957         * sunrpc/svc_simple.c: Use it for registerrpc.
74958         * sunrpc/xcrypt.c: Use it for passwd2des.
74960         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74962 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74964         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74965         Don't define if [__SYSCALL_WORDSIZE != 32].
74966         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74967         New macro.
74969 2012-05-21  Bruno Haible  <bruno@clisp.org>
74970             Andreas Jaeger  <aj@suse.de>
74972         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74973         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74974         inptr and inend for must_buffer_ch.
74975         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74976         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74977         * stdio-common/Makefile (tests): Remove bug15.
74978         (bug15-ENV): Remove macro.
74979         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74980         anymore.
74982 2012-05-19  Andreas Jaeger  <aj@suse.de>
74983             Roland McGrath  <roland@hack.frob.com>
74985         * manual/contrib.texi: Completely rewritten. It contains now an
74986         alphabetical list of contributors and their contributions.
74988 2012-05-21  Richard Henderson  <rth@twiddle.net>
74990         * misc/getauxval.c (__getauxval): Use unsigned long int.
74991         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74992         (getauxval): Use unsigned long int.
74994 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74996         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74998 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75000         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75001         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75002         __alignof__ (long double).
75004 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75008 2012-05-20  Richard Henderson  <rth@twiddle.net>
75010         * misc/getauxval.c: New file.
75011         * misc/sys/auxv.h: New file.
75012         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75013         (routines): Add getauxval.
75014         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75015         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75016         * elf/dl-sysdep.c (_dl_auxv): Remove.
75017         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75018         * elf/dl-support.c (_dl_auxv): New variable.
75019         (_dl_aux_init): Initialize it.
75020         * manual/startup.texi (Auxiliary Vector): New node.
75021         * sysdeps/generic/bits/hwcap.h: New file.
75022         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75023         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75024         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75025         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75026         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75027         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75029         Update.
75030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75039 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75043 2012-05-19  David S. Miller  <davem@davemloft.net>
75045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75047 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75049         [BZ #14123]
75050         * math/s_ccosh.c: Include <float.h>
75051         (__ccosh): Avoid internal overflow calculating sinh and cosh
75052         values before multiplying by sin and cos values.
75053         * math/s_ccoshf.c: Likewise.
75054         * math/s_ccoshl.c: Likewise.
75055         * math/s_csin.c: Likewise.
75056         * math/s_csinf.c: Likewise.
75057         * math/s_csinl.c: Likewise.
75058         * math/s_csinh.c: Likewise.
75059         * math/s_csinhf.c: Likewise.
75060         * math/s_csinhl.c: Likewise.
75061         * math/libm-test.inc (ccos_test): Add more tests.
75062         (ccosh_test): Likewise.
75063         (csin_test): Likewise.
75064         (csinh_test): Likewise.
75065         * sysdeps/i386/fpu/libm-test-ulps: Update.
75066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75068 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75070         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75071         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75073         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75075 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75077         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75078         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75079         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75080         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75081         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75082         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75083         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75084         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75085         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75086         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75087         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75088         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75089         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75090         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75091         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75092         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75093         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75094         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75095         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75096         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75097         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75098         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75099         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75100         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75101         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75102         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75103         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75104         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75105         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75106         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75107         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75109 2012-05-18  Andreas Jaeger  <aj@suse.de>
75111         * csu/.gitignore: Delete.
75113 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75115         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75116         (timex): Use __syscall_slong_t.
75118 2012-05-18  Andreas Jaeger  <aj@suse.de>
75119             Carlos O'Donell  <carlos_odonell@mentor.com>
75121         * manual/install.texi (Configuring and compiling): Update
75122         description about files modified in the source directory.
75123         * INSTALL: Regenerated.
75125 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75127         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75128         value.  Use "or" to set return value to -1.
75129         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75130         negate return value.
75132 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75134         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75135         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75136         failure if the compiler has Graphite support disabled.
75137         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75138         Likewise.
75139         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75140         (CFLAGS-memmove.c): Likewise.
75141         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75142         Likewise.
75144 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75146         * sysdeps/x86_64/x32/_itoa.h: New file.
75148         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75149         getdents system call only if kernel and user dirents have the
75150         same d_ino and d_off.
75152         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75153         LLONG_MAX != LONG_MAX.
75154         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75155         (_fitoa_word): Likewise.
75157         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75158         years.
75159         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75163         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75164         include <bits/wordsize.h>.  Check __x86_64__ instead of
75165         __WORDSIZE.
75166         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75167         if __x86_64__ is defined.  Use anonymous union on fpstate.
75169         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75170         anonymous union.
75172 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75174         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75175         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75176         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75177         Refer to _rtld_local_ro instead of _rtld_global_ro.
75178         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75179         Likewise.
75180         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75181         Likewise.
75182         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75183         Likewise.
75184         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75185         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75186         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75188         [BZ #10882]
75189         * sysdeps/powerpc/powerpc32/dl-machine.c
75190         (__elf_machine_runtime_setup) [PROF]: Don't reference
75191         _dl_prof_resolve.
75193 2012-05-18  Andreas Jaeger  <aj@suse.de>
75195         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75196         function only available for GCCs before 3.4 since GCC 3.4
75197         introduced a builtin.
75198         (lrint): Likewise.
75199         (llrintf): Likewise.
75200         (llrint): Likewise.
75201         (fmaxf): Likewise.
75202         (fmax): Likewise.
75203         (fminf): Likewise.
75204         (fmin): Likewise.
75205         (rint): Likewise.
75206         (rintf): Likewise.
75207         (nearbyint): Likewise.
75208         (nearbyintf): Likewise.
75209         (ceil): Likewise.
75210         (ceilf): Likewise.
75211         (floor): Likewise.
75212         (floorf): Likewise.
75214 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75216         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75217         on both fields and cast pointer to __syscall_ulong_t.
75219         * bits/types.h (__fsword_t): New type.
75220         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75221         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75222         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75223         (__FSWORD_T_TYPE): Likewise.
75224         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75225         (__FSWORD_T_TYPE): Likewise.
75226         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75227         (__FSWORD_T_TYPE): Likewise.
75228         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75229         (__FSWORD_T_TYPE): Likewise.
75230         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75231         __SWORD_TYPE with __fsword_t.
75232         (statfs64): Likewise.
75234 2012-05-17  David S. Miller  <davem@davemloft.net>
75236         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75238 2012-05-17  Andreas Jaeger  <aj@suse.de>
75240         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75241         warning.
75243 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75245         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75247 2012-05-17  Andreas Jaeger  <aj@suse.de>
75249         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75250         when it is used.
75252 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75254         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75256 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75258         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75259         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75261 2012-05-17  Andreas Jaeger  <aj@suse.de>
75262             Carlos O'Donell  <carlos_odonell@mentor.com>
75264         [BZ #14059]
75265         * sysdeps/x86_64/multiarch/init-arch.h
75266         (bit_YMM_Usable): Rename to...
75267         (bit_AVX_Usable): ... this.
75268         (bit_FMA4_Usable): New macro.
75269         (bit_XMM_state): New macro.
75270         (bit_YMM_state): New macro.
75271         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75272         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75273         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75274         (CPUID_OSXSAVE): New macro.
75275         (CPUID_AVX): New macro.
75276         (CPUID_FMA4): New macro.
75277         (index_YMM_Usable): Rename to...
75278         (index_AVX_Usable): ... this.
75279         (HAS_AVX): Use HAS_ARCH_FEATURE.
75280         (HAS_FMA4): Likewise.
75281         (HAS_YMM_USABLE): Remove.
75282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75283         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75284         are present.
75285         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75286         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75287         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75288         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75289         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75291 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75293         * math/libm-test.c: Support platforms without multiple rounding modes.
75294         * math/bug-nextafter.c: Support platforms without FP exceptions.
75295         * math/bug-nexttoward.c: Likewise.
75296         * math/test-fenv.c: Likewise.
75297         * math/test-misc.c: Likewise.
75298         * stdlib/bug-getcontext.c: Likewise.
75300 2012-05-17  Andreas Jaeger  <aj@suse.de>
75302         * manual/examples/search.c (critter_cmp): Change signature to
75303         avoid warnings.
75304         * manual/string.texi (Collation Functions): Likewise.
75306 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75308         * bits/types.h: Fold copyright years.
75309         * bits/typesizes.h: Likewise.
75310         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75312         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75314         * time/time.h: Likewise.
75316 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75318         [BZ #208]
75319         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75320         in instead of returning them.  Return void.
75321         (__libc_mallinfo): Accumulate over all arenas.
75322         (__malloc_stats): Adjust for change in int_mallinfo interface.
75324 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75326         [BZ #10375]
75327         * configure.in (NM): Add AC_CHECK_TOOL for it.
75328         (libc_extra_cflags): New substituted variable.
75329         Check for -fstack-protector being used implicitly.
75330         * configure: Regenerated.
75331         * config.make.in (config-extra-cflags): New variable,
75332         gets @libc_extra_cflags@.
75333         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75335         [BZ #10375]
75336         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75337         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75338         * configure: Regenerated.
75339         * config.make.in (CPPUNDEFS): New substituted variable.
75340         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75341         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75342         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75344 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75346         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75347         (mq_attr): Use __syscall_slong_t.
75349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75351         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75352         Check __x86_64__ instead of __WORDSIZE.
75353         (_STAT_VER_LINUX): Likewise.
75354         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75355         __syscall_ulong_t and __syscall_slong_t.
75356         (stat64): Likewise.
75358 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75360         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75362 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75364         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75368         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75369         __syscall_ulong_t.
75371         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75372         include <bits/wordsize.h>.  Check __x86_64__ instead of
75373         __WORDSIZE.
75374         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75375         defined.
75376         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75378         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75379         include <bits/wordsize.h>.  Check __x86_64__ instead of
75380         __WORDSIZE.
75381         (user_regs_struct): Use "__extension__ unsigned long long"
75382         instead of "unsigned long" if __x86_64__ is defined.
75383         (user): Likewise.  Pad after pointer field if __ILP32__ is
75384         defined.
75386 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75388         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75389         versions 5 to 9.
75390         * configure: Regenerated.
75391         * manual/install.texi (texinfo): Increase version requirement to
75392         4.5 or later.
75393         * INSTALL: Regenerated.
75395         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75399         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75401         * sysdeps/x86_64/x32/ffs.c: New file.
75403         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75404         __syscall_ulong_t.
75405         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75406         defined.  Use __syscall_ulong_t.
75407         (shminfo): Use __syscall_ulong_t.
75408         (shm_info): Likewise.
75410         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75411         __syscall_ulong_t.
75413         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75414         <bits/wordsize.h>.
75415         (msgqnum_t): Use __syscall_ulong_t.
75416         (msglen_t): Likewise.
75417         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75418         __syscall_ulong_t.
75420         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75421         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75423         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75425         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75426         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75428         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75429         __syscall_slong_t.
75431         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75432         include <bits/wordsize.h>.  Check __x86_64__ instead of
75433         __WORDSIZE.
75435         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75436         "unsigned long long int" if __x86_64__ is defined.
75437         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75439         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75440         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75441         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75443         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75444         <stdint.h>.
75445         (GET_PC): Cast to uintptr_t first.
75446         (GET_FRAME): Likewise.
75447         (GET_STACK): Likewise.
75449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75450         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75451         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75452         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75453         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75454         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75455         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75456         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75457         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75459         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75460         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75461         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75464         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75465         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75467         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75469         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75470         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75471         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75472         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75473         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75474         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75475         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75479 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75481         * Makerules (+depfiles): Also collect depfiles from .oS in
75482         $(extra-objs).
75483         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75484         .oS, $(libnldbl-routines)).
75486         * Makerules (native-compile-mkdep-flags): Define.
75487         * sunrpc/Makefile (extra-objs): Add $(addprefix
75488         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75489         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75490         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75491         calling $(make-target-directory).
75493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75495         * bits/types.h (__snseconds_t): Removed.
75496         * time/time.h (struct timespec): Replace __snseconds_t with
75497         __syscall_slong_t.
75498         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75499         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75500         Likewise.
75501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75502         (__SNSECONDS_T_TYPE): Likewise.
75503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75504         (__SNSECONDS_T_TYPE): Likewise.
75505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75506         (__SNSECONDS_T_TYPE): Likewise.
75508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75510         * sysdeps/mach/hurd/bits/typesizes.h
75511         (__SYSCALL_SLONG_TYPE): New macro.
75512         (__SYSCALL_ULONG_TYPE): Likewise.
75514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75516         * bits/types.h (__syscall_slong_t): New type.
75517         (__syscall_ulong_t): Likewise.
75519         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75520         (__SYSCALL_ULONG_TYPE): Likewise.
75521         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75522         (__SYSCALL_SLONG_TYPE): Likewise.
75523         (__SYSCALL_ULONG_TYPE): Likewise.
75524         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75525         (__SYSCALL_SLONG_TYPE): Likewise.
75526         (__SYSCALL_ULONG_TYPE): Likewise.
75527         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75528         (__SYSCALL_SLONG_TYPE): Likewise.
75529         (__SYSCALL_ULONG_TYPE): Likewise.
75531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75533         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75534         Add sigaltstack-offsets.sym.
75535         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75536         <sigaltstack-offsets.h>.
75537         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75538         longjmp_msg pointer.
75539         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75540         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75541         signal stack.
75542         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75544 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75546         * elf/stackguard-macros.h: Remove file.
75547         * sysdeps/generic/stackguard-macros.h: New file.
75548         * sysdeps/i386/stackguard-macros.h: Likewise.
75549         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75550         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75551         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75552         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75553         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75554         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75555         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75556         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75557         <elf/stackguard-macros.h>.
75559         [BZ #14109]
75560         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75561         __aligned__ in attribute.
75562         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75563         (gregset_t): Likewise.
75565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75567         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75568         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75569         * sysdeps/x86_64/x32/Implies-after: New file.
75571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75573         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75574         and access return value for _dl_profile_fixup.  Use R10_LP to
75575         load frame size.
75577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75579         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75583         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75584         * sysdeps/x86_64/x32/sysdep.h: New file.
75586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75588         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75589         * sysdeps/x86_64/setjmp.S: Likewise.
75591 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75594         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75595         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75596         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75597         remove unused global constant.
75599 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75601         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75602         include of <not-cancel.h>.
75604 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75606         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75608 2012-05-15  Jeff Law  <law@redhat.com>
75609             Andreas Jaeger  <aj@suse.de>
75611         [BZ #13594]
75612         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75613         out from...
75614         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75615         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75616         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75617         code changing __hst_map_handle.map.
75619 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75621         * configure.in (sysnames): Look for Implies-before and Implies-after
75622         files.
75623         * configure: Regenerated.
75625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75627         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75628         8-byte data alignment with LP_SIZE alignment.
75630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75632         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75633         into R10_LP.
75635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75637         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75641         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75642         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75643         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75644         Likewise.
75645         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75649         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75650         (stackinfo_sub_sp): Likewise.
75652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75654         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75655         RAX_LP.
75657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75659         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75660         into R*_LP.
75662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75664         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75665         sizes into R*_LP.
75667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75669         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75673         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75674         into R11_LP and load __x86_64_shared_cache_size_half into
75675         R8_LP.
75677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75679         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75680         R8_LP.
75682 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75685         logb for POWER7.
75686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75687         logbf for POWER7.
75688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75689         logbl for POWER7.
75690         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75691         powerpc32/power7/fpu/s_logb.c via #include.
75692         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75693         powerpc32/power7/fpu/s_logbf.c via #include.
75694         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75695         powerpc32/power7/fpu/s_logbl.c via #include.
75697 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75699         * README.libm: Remove file.
75701 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75703         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75704         count for x32.  Use R*_LP and omit operand-size suffix.
75706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75708         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75709         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75710         * sysdeps/x86_64/x32/shlib-versions: New file.
75712 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75714         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75715         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75716         Use _dl_fatal_printf instead.
75718 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75720         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75721         set if not set by the user.  Do not allow for being unset.
75722         * sysdeps/unix/sysv/linux/configure: Regenerated.
75724 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75726         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75727         the `q' suffix from lea and replace .quad with ASM_ADDR.
75729 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75732         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75733         instead of $17.
75734         (PTR_DEMANGLE): Likewise.
75736 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75738         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75739         (LP_OP): Likewise.
75740         (ASM_ADDR): Likewise.
75741         (RAX_LP): Likewise.
75742         (RBP_LP): Likewise.
75743         (RBX_LP): Likewise.
75744         (RCX_LP): Likewise.
75745         (RDI_LP): Likewise.
75746         (RSI_LP): Likewise.
75747         (RSP_LP): Likewise.
75748         (R8_LP): Likewise.
75749         (R9_LP): Likewise.
75750         (R10_LP): Likewise.
75751         (R10_LP): Likewise.
75752         (R11_LP): Likewise.
75753         (R12_LP): Likewise.
75754         (R13_LP): Likewise.
75755         (R14_LP): Likewise.
75756         (R15_LP): Likewise.
75758 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75760         * sysdeps/x86_64/x32/dl-machine.h: New file.
75762 2012-05-14  Andreas Jaeger  <aj@suse.de>
75764         * manual/Makefile (subdir): Remove export of subdir.
75765         (all): Remove target.
75766         (.PHONY): Remove all from list.
75767         (mkinstalldirs): Remove.
75768         (.PHONY): Remove installdirs from list.
75769         ($(inst_infodir)/libc.info): Use make-target-directory.
75770         (installdirs): Remove.
75771         (subdir_%): Remove.
75772         (glibc-targets): Remove.
75773         (lib): Remove.
75774         (stubs): Remove.
75775         ($(objpfx)stubs ../po/manual.pot): Remove.
75776         ($(objpfx)stamp%): Remove.
75777         (make-target-directory): Remove.
75778         (subdir_install): Remove.
75779         (routines): Remove.
75780         (aux): Remove.
75781         (sources): Remove.
75782         (objects): Remove.
75783         (headers): Remove.
75785         [BZ #13750]
75786         * manual/.gitignore: Remove, it's not needed anymore.
75787         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75788         all files in it.
75789         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75790         directory.
75791         (texis): Renamed to $(objpfx)texis.
75792         (texis-path): New, contains path to generated files.
75793         (chapters.%): Use texis-path for complete path, add extra argument
75794         libc-texinfo.sh.
75795         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75796         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75797         (summary,texi, stamp-summary): Use complete path of
75798         files. Generate files in build dir.
75799         (dir-add.texi): Build in build dir.
75800         (libm-err.texi,stamp-libm-err): Likewise.
75801         (version.texi, stamp-version): Likewise.
75802         (.%c.texi): Likewise.
75803         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75804         (mostlyclean): Remove target.
75805         (realclean): Remove target.
75806         (generated): Add new variable with contents from mostlyclean and
75807         realclean, remove entries duplicated in common-mostlyclean, add
75808         stamp-libm-err and stamp-version.
75809         (generated-dirs): Add libc directory.
75810         ($(inst_infodir)/libc.info): Install files from build dir.
75812         * manual/install.texi (Configuring and compiling): Adjust since
75813         the info files are not part of the tar ball anymore.
75815 2012-05-14  Andreas Jaeger  <aj@suse.de>
75817         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75818         variable.
75820 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75822         [BZ #13717]
75823         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75824         to 2.2.0 where earlier.
75825         * sysdeps/unix/sysv/linux/configure: Regenerated.
75826         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75827         Remove conditional code.
75828         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75829         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75830         Remove conditional code.
75831         [!__NR_lchown]: Likewise.
75832         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75833         [__NR_lchown]: Likewise.
75834         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75835         comment referencing __ASSUME_LCHOWN_SYSCALL.
75836         * sysdeps/unix/sysv/linux/i386/sigaction.c
75837         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75838         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75839         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75840         Remove conditional code.
75841         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75842         (__protocol_available): Remove #if 0 code.
75843         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75844         conditional code.
75845         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75846         * sysdeps/unix/sysv/linux/kernel-features.h
75847         (__ASSUME_GETCWD_SYSCALL): Don't define.
75848         (__ASSUME_REALTIME_SIGNALS): Likewise.
75849         (__ASSUME_PREAD_SYSCALL): Likewise.
75850         (__ASSUME_PWRITE_SYSCALL): Likewise.
75851         (__ASSUME_POLL_SYSCALL): Likewise.
75852         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75853         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75854         non-SPARC.
75855         (__ASSUME_SIOCGIFNAME): Don't define.
75856         (__ASSUME_MSG_NOSIGNAL): Likewise.
75857         (__ASSUME_SENDFILE): Define unconditionally.
75858         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75859         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75860         conditional code.
75861         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75862         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75863         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75864         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75865         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75866         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75867         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75869         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75870         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75872         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75875         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75876         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75878         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75881         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75884         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75887         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75890         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75892         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75893         Remove conditional code.
75894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75895         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75896         Remove conditional code.
75897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75898         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75899         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75900         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75901         Remove conditional code.
75902         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75903         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75904         Remove conditional code.
75905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75906         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75907         Remove conditional code.
75908         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75909         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75910         Remove conditional code.
75911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75912         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75913         Remove conditional code.
75914         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75915         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75916         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75917         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75918         * sysdeps/unix/sysv/linux/sigaction.c
75919         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75920         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75921         * sysdeps/unix/sysv/linux/sigpending.c
75922         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75923         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75924         * sysdeps/unix/sysv/linux/sigprocmask.c
75925         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75926         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75927         * sysdeps/unix/sysv/linux/sigsuspend.c
75928         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75929         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75930         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75931         (__libc_missing_rt_sigs): Remove.
75932         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75933         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75934         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75935         Remove conditional code.
75936         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75937         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75938         return 1.
75939         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75940         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75941         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75942         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75944 2012-05-14  Andreas Jaeger  <aj@suse.de>
75946         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75947         it's not used in glibc.
75948         (__coshm1): Likewise.
75949         (__acosh1p): Likewise.
75950         (__sgn): Likewise.
75952         * manual/string.texi (Copying and Concatenation): Add missing
75953         variable in concat example.
75954         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75958         [BZ #14103]
75959         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75960         __builtin_clzl with __builtin_clzll.
75962 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75964         [BZ #14104]
75965         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75966         libc_freeres_ptr.
75968 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75970         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75971         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75972         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75973         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75975 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75977         * NEWS: Update ia64 info.
75979 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75981         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75982         used as bcopy.
75984 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75986         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75987         * sysdeps/unix/syscalls.list (dup3): Likewise.
75988         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75989         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75991 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75993         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75994         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75996 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75998         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75999         thread pointer.
76000         (TLS_IE): Use mov/add instead of movq/addq to load thread
76001         pointer.
76002         (TLS_GD_PREFIX): New.
76003         (TLS_GD): Use it.
76005 2012-05-11  David S. Miller  <davem@davemloft.net>
76007         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76008         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76009         (_FPU_SETCW): Likewise.
76011 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76013         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76014         is 32-byte aligned.
76016 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76018         [BZ #11837]
76019         * iconvdata/gb18030.c: Update tables.
76020         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76021         characters specially.
76022         (BODY for TO_LOOP): Add encoding of missing ranges.
76024 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76026         [BZ #13673]
76027         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76028         * sysdeps/mach/hurd/dup3.c: Likewise.
76029         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76030         * sysdeps/powerpc/memmove.c:: Likewise.
76032 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76034         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76035         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76037 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76039         * elf/elf.h (R_X86_64_RELATIVE64): New.
76040         (R_X86_64_NUM): Updated.
76041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76042         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76043         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76044         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76045         tst-quad1pie tst-quad2pie
76046         (modules-names): Add tst-quadmod1 tst-quadmod2.
76047         ($(objpfx)tst-quad1): New dependency.
76048         ($(objpfx)tst-quad2): Likewise.
76049         ($(objpfx)tst-quad1pie): Likewise.
76050         ($(objpfx)tst-quad2pie): Likewise.
76051         * sysdeps/x86_64/tst-quad1.c: New file.
76052         * sysdeps/x86_64/tst-quad1pie.c: New file.
76053         * sysdeps/x86_64/tst-quad2.c: Likewise.
76054         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76055         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76056         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76057         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76058         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76062         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76063         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76064         * streams/stropts.h (t_scalar_t): Define type.
76066         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76067         (_PATH_PRESERVE): Set to "/var/lib".
76068         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76070         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76071         instead of int.
76073         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76074         if __dir_mkfile succeeded.
76076         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76077         checking for _hurd_dtablesize.  Unlock it right after having
76078         finished _hurd_dtable allocation.
76080 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76082         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76083         * sysdeps/mach/hurd/configure: Regenerated.
76084         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76085         special-casing to...
76086         * sysdeps/gnu/configure.in: ... this new file.
76087         * sysdeps/unix/sysv/linux/configure: Regenerated.
76088         * sysdeps/gnu/configure: New generated file.
76090         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76091         for Linux: use nsec instead of usec, as well as:
76092         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76093         members of type struct timespec.
76094         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76095         New macros.
76096         (struct stat64): Likewise.
76097         (_STATBUF_ST_NSEC): New macro.
76098         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76100         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76101         __strtoul_internal rather than strtoul.
76103 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76105         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76106         and reject them.
76108 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76110         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76111         which preserves existing values.
76112         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76114 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76116         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76117         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76118         greater than FD_SETSIZE.
76120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76122         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76123         allocated, call __vm_protect to finish enabling the existing space, and
76124         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76125         allocate the remainder.
76127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76129         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76130         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76134         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76135         sysdeps/mach/hurd/readlink.c.
76137         * posix/tst-sysconf.c (posix_options): Only use
76138         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76139         _POSIX_SYNCHRONIZED_IO when they are defined
76140         * sysdeps/mach/hurd/bits/posix_opt.h:
76141         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76142         (_XOPEN_REALTIME): Undefine macro.
76143         (_XOPEN_REALTIME_THREADS): Undefine macro.
76144         (_XOPEN_SHM): Undefine macro.
76145         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76146         macro to -1.
76147         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76148         macro to -1.
76149         (_POSIX_ASYNC_IO): Undefine macro.
76150         (_POSIX_PRIORITIZED_IO): Undefine macro.
76151         (_POSIX_SPIN_LOCKS): Define macro to -1.
76153         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76154         SA_NODEFER, SA_RESETHAND.
76155         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76156         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76157         F_DUPFD_CLOEXEC.
76159 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76161         * elf/Makefile (pldd-modules): Define unconditionally.
76163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76165         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76167 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76169         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76170         Return ENOENT when name is empty.
76171         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76175         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76177         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76181         Fix mlock in all cases except non-readable pages.
76182         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76183         instead of VM_PROT_ALL as parameter to __vm_wire function.
76185         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76186         (__mkdir): When path is `/', just fail with EEXIST.
76187         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76189 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76191         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76192         <sys/uio.h> (for writev).
76193         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76194         and <sys/param.h> (for MIN).
76196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76198         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76199         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76200         if interrupted.
76202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76204         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76205         Depend on against $(link-rpcuserlibs).
76207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76209         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76210         (__libc_stack_end): Do not use attribute_relro.
76211         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76212         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76213         to libthread-provided value.
76214         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76215         attribute_relro.
76217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76219         [BZ #3748]
76220         * bits/libc-lock.h (__libc_once_get): New macro.
76221         * sysdeps/mach/bits/libc-lock.h: Likewise.
76222         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76223         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76224         instead of using implementation details.
76226         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76227         * libio/freopen.c: Likewise.
76228         * libio/freopen64.c: Likewise.
76229         * misc/syslog.c: Likewise.
76230         * nscd/connections.c: Likewise.
76231         * nscd/netgroupcache.c: Likewise.
76232         * sysdeps/posix/getcwd.c: Likewise.
76234 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76236         * math/w_ilogbf.c: Add #include <limits.h>.
76238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76240         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76241         path instead of returning without unlocking.
76243         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76244         immediate-write ioctls.
76245         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76247 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76249         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76250         __builtin_frame_address instead of making assumptions about the
76251         location of the return address relative to DATA.  Force early load of
76252         the return address.
76253         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76254         __builtin_frame_address.
76256         dup3 for GNU Hurd.
76257         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76258         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76259         implement dup3 and do some further code clean-ups.
76260         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76261         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76265         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76267         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76268         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76269         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76270         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76271         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76272         d->port.lock.
76274         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76275         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76276         when handler == SIG_ERR, not when handler != SIG_ERR.
76278 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76280         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76281         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76282         definitions.
76284         accept4 for GNU Hurd.
76285         * include/sys/socket.h (__libc_accept4): New prototype.
76286         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76287         to implement __libc_accept4.
76288         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76289         __libc_accept4.
76290         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76292         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76293         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76294         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76295         signal-defines.sym.
76297 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76299         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76301 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76303         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76304         assertion on O_CLOEXEC flag.
76305         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76306         * hurd/intern-fd.c: Likewise.
76307         * hurd/port2fd.c: Likewise.
76309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76311         [BZ #3906]
76312         * bits/in.h (IPV6_PKTINFO): Define new macro.
76313         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76315 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76317         [BZ #13954]
76318         [BZ #13955]
76319         [BZ #13956]
76320         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76321         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76322         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76323         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76325         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76326         * math/libm-test.inc (logb_test) : Additional logb tests.
76328 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76329             Andreas Jaeger  <aj@suse.de>
76331         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76332         * configure: Regenerated.
76333         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76334         * config.make.in (link-obsolete-rpc): New substituted variable.
76335         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76336         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76337         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76338         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76339         so that libc.a contains the symbols.
76340         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76341         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76342         * sunrpc/auth_none.c: Likewise.
76343         * sunrpc/auth_unix.c: Likewise.
76344         * sunrpc/authdes_prot.c: Likewise.
76345         * sunrpc/authuxprot.c: Likewise.
76346         * sunrpc/clnt_gen.c: Likewise.
76347         * sunrpc/clnt_perr.c: Likewise.
76348         * sunrpc/clnt_raw.c: Likewise.
76349         * sunrpc/clnt_simp.c: Likewise.
76350         * sunrpc/clnt_tcp.c: Likewise.
76351         * sunrpc/clnt_udp.c: Likewise.
76352         * sunrpc/clnt_unix.c: Likewise.
76353         * sunrpc/des_crypt.c: Likewise.
76354         * sunrpc/des_soft.c: Likewise.
76355         * sunrpc/get_myaddr.c: Likewise.
76356         * sunrpc/key_call.c: Likewise.
76357         * sunrpc/key_prot.c: Likewise.
76358         * sunrpc/netname.c: Likewise.
76359         * sunrpc/pm_getmaps.c: Likewise.
76360         * sunrpc/pm_getport.c: Likewise.
76361         * sunrpc/pmap_clnt.c: Likewise.
76362         * sunrpc/pmap_prot.c: Likewise.
76363         * sunrpc/pmap_prot2.c: Likewise.
76364         * sunrpc/pmap_rmt.c: Likewise.
76365         * sunrpc/publickey.c: Likewise.
76366         * sunrpc/rpc_cmsg.c: Likewise.
76367         * sunrpc/rpc_common.c: Likewise.
76368         * sunrpc/rpc_dtable.c: Likewise.
76369         * sunrpc/rpc_prot.c: Likewise.
76370         * sunrpc/rpc_thread.c: Likewise.
76371         * sunrpc/rtime.c: Likewise.
76372         * sunrpc/svc.c: Likewise.
76373         * sunrpc/svc_auth.c: Likewise.
76374         * sunrpc/svc_raw.c: Likewise.
76375         * sunrpc/svc_run.c: Likewise.
76376         * sunrpc/svc_tcp.c: Likewise.
76377         * sunrpc/svc_udp.c: Likewise.
76378         * sunrpc/svc_unix.c: Likewise.
76379         * sunrpc/svcauth_des.c: Likewise.
76380         * sunrpc/xcrypt.c: Likewise.
76381         * sunrpc/xdr.c: Likewise.
76382         * sunrpc/xdr_array.c: Likewise.
76383         * sunrpc/xdr_float.c: Likewise.
76384         * sunrpc/xdr_intXX_t.c: Likewise.
76385         * sunrpc/xdr_mem.c: Likewise.
76386         * sunrpc/xdr_rec.c: Likewise.
76387         * sunrpc/xdr_ref.c: Likewise.
76388         * sunrpc/xdr_sizeof.c: Likewise.
76389         * sunrpc/xdr_stdio.c: Likewise.
76391 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76393         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76394         change.  Update copyright years.
76396 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76398         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76400 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76401             Joseph Myers  <joseph@codesourcery.com>
76402             Paul Pluzhnikov  <ppluzhnikov@google.com>
76404         [BZ #14012]
76405         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76406         requiring rpcgen.
76407         [cross-compiling] (extra-libs): Likewise.
76408         [cross-compiling] (extra-libs-others): Likewise.
76409         [cross-compiling] (librpcsvc-routines): Likewise.
76410         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76411         [cross-compiling] (omit-deps): Likewise.
76412         (sunrpc-CPPFLAGS): New variable.
76413         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76414         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76415         (cross-rpcgen-objs): New variable.
76416         (extra-objs): Append $(cross-rpcgen-objs).
76417         ($(cross-rpcgen-objs)): New rule.
76418         ($(objpfx)cross-rpcgen): Likewise.
76419         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76420         comment.
76421         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76422         ($(objpfx)x%.stmp): Likewise.
76423         * sunrpc/proto.h [IS_IN_build] (_): Define.
76424         [IS_IN_build] (_libc_intl_domainname): Likewise.
76426 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76429         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76430         and R_X86_64_TPOFF64.
76432 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76434         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76435         sysdeps/unix/sysv/syscalls.list.
76436         (stime): Likewise.
76437         (utime): Likewise.
76438         * sysdeps/unix/sysv/syscalls.list: Remove file.
76440 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76442         [BZ #3440]
76443         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76444         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76445         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76446         (__LC_IDENTIFICATION): Make these macros useful in #if
76447         expressions, as required by C99.
76449 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76451         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76452         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76453         after this.
76455 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76457         * stdlib/longlong.h: Updated from GCC.
76459 2012-05-09  Andreas Jaeger  <aj@suse.de>
76461         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76462         default is first entry.
76463         (run_mode): Set type.
76464         (main): Remove informal message about syslog.
76465         (options): Fix typo.
76467         [BZ #14053]
76468         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76469         to asm.
76470         (lrint): Likewise.
76471         (llrintf): Likewise.
76472         (llrint): Likewise.
76473         (rint): Likewise.
76474         (rintf): Likewise.
76475         (nearbyint): Likewise.
76476         (nearbyintf): Likewise.
76478 2012-05-09  Andreas Jaeger  <aj@suse.de>
76479             Pedro Alves  <palves@redhat.com>
76481         * nscd/nscd.c (run_mode): Use enum.
76482         (main): Cleanup coding style issue.
76484 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76485             Andreas Jaeger  <aj@suse.de>
76487         * nscd/nscd.c (go_background): Replaced with...
76488         (run_mode): ... this.
76489         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76490         (options): Add -F --foreground.
76491         (main): Implement it.
76492         (parse_opt): Parse it.
76494 2012-05-09  Andreas Jaeger  <aj@suse.de>
76496         [BZ #14083]
76497         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76498         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76499         -Wconversion warning.
76500         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76501         Likewise.
76503 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76505         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76506         == 0.
76507         (LC_ALL): Use macro-int-constant.
76508         (LC_COLLATE): Likewise.
76509         (LC_CTYPE): Likewise.
76510         (LC_MESSAGES): Likewise.
76511         (LC_MONETARY): Likewise.
76512         (LC_NUMERIC): Likewise.
76513         (LC_TIME): Likewise.
76514         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76515         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76517         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76518         Specify type.
76519         [C99-based standards] (float_t): Expect type.
76520         [C99-based standards] (double_t): Expect type.
76521         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76522         type.
76523         [C99-based standards] (HUGE_VALL): Likewise.
76524         [C99-based standards] (INFINITY): Likewise.
76525         [C99-based standards] (NAN): Likewise.
76526         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76527         [C99-based standards] (FP_NAN): Likewise.
76528         [C99-based standards] (FP_NORMAL): Likewise.
76529         [C99-based standards] (FP_SUBNORMAL): Likewise.
76530         [C99-based standards] (FP_ZERO): Likewise.
76531         [C99-based standards] (FP_FAST_FMA): Use
76532         optional-macro-int-constant.  Specify type.  Require == 1.
76533         [C99-based standards] (FP_FAST_FMAF): Likewise.
76534         [C99-based standards] (FP_FAST_FMAL): Likewise.
76535         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76536         [C99-based standards] (FP_ILOGBNAN): Likewise.
76537         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76538         Specify type.
76539         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76540         [C99-based standards] (math_errhandling): Specify type.
76541         [ISO99 || ISO11] (signgam): Do not allow.
76542         [non-C99-based standards] (copysignf): Do not allow.
76543         [non-C99-based standards] (exp2f): Likewise.
76544         [non-C99-based standards] (log2f): Likewise.
76545         [non-C99-based standards] (modff): Allow.
76546         [non-C99-based standards] (erff): Do not allow.
76547         [non-C99-based standards] (erfcf): Likewise.
76548         [non-C99-based standards] (gammaf): Likewise.
76549         [non-C99-based standards] (hypotf): Likewise.
76550         [non-C99-based standards] (j0f): Likewise.
76551         [non-C99-based standards] (j1f): Likewise.
76552         [non-C99-based standards] (jnf): Likewise.
76553         [non-C99-based standards] (lgammaf): Likewise.
76554         [non-C99-based standards] (tgammaf): Likewise.
76555         [non-C99-based standards] (y0f): Likewise.
76556         [non-C99-based standards] (y1f): Likewise.
76557         [non-C99-based standards] (ynf): Likewise.
76558         [non-C99-based standards] (isnanf): Likewise.
76559         [non-C99-based standards] (acoshf): Likewise.
76560         [non-C99-based standards] (asinhf): Likewise.
76561         [non-C99-based standards] (atanhf): Likewise.
76562         [non-C99-based standards] (cbrtf): Likewise.
76563         [non-C99-based standards] (expm1f): Likewise.
76564         [non-C99-based standards] (ilogbf): Likewise.
76565         [non-C99-based standards] (log1pf): Likewise.
76566         [non-C99-based standards] (logbf): Likewise.
76567         [non-C99-based standards] (nextafterf): Likewise.
76568         [non-C99-based standards] (remainderf): Likewise.
76569         [non-C99-based standards] (rintf): Likewise.
76570         [non-C99-based standards] (scalbf): Likewise.
76571         [non-C99-based standards] (copysignl): Likewise.
76572         [non-C99-based standards] (exp2l): Likewise.
76573         [non-C99-based standards] (log2l): Likewise.
76574         [non-C99-based standards] (modfl): Allow.
76575         [non-C99-based standards] (erfl): Do not allow.
76576         [non-C99-based standards] (erfcl): Likewise.
76577         [non-C99-based standards] (gammal): Likewise.
76578         [non-C99-based standards] (hypotl): Likewise.
76579         [non-C99-based standards] (j0l): Likewise.
76580         [non-C99-based standards] (j1l): Likewise.
76581         [non-C99-based standards] (jnl): Likewise.
76582         [non-C99-based standards] (lgammal): Likewise.
76583         [non-C99-based standards] (tgammal): Likewise.
76584         [non-C99-based standards] (y0l): Likewise.
76585         [non-C99-based standards] (y1l): Likewise.
76586         [non-C99-based standards] (ynl): Likewise.
76587         [non-C99-based standards] (isnanl): Likewise.
76588         [non-C99-based standards] (acoshl): Likewise.
76589         [non-C99-based standards] (asinhl): Likewise.
76590         [non-C99-based standards] (atanhl): Likewise.
76591         [non-C99-based standards] (cbrtl): Likewise.
76592         [non-C99-based standards] (expm1l): Likewise.
76593         [non-C99-based standards] (ilogbl): Likewise.
76594         [non-C99-based standards] (log1pl): Likewise.
76595         [non-C99-based standards] (logbl): Likewise.
76596         [non-C99-based standards] (nextafterl): Likewise.
76597         [non-C99-based standards] (remainderl): Likewise.
76598         [non-C99-based standards] (rintl): Likewise.
76599         [non-C99-based standards] (scalbl): Likewise.
76600         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76601         [non-C99-based standards] (FP_*): Do not allow.
76602         [C99-based standards] (FP_*): Change to
76603         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76604         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76605         allow.
76606         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76607         (SIG_ERR): Likewise.
76608         [X/Open-based standards] (SIG_HOLD): Likewise.
76609         (SIG_IGN): Likewise.
76610         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76611         positive value.
76612         (SIGFPE): Likewise.
76613         (SIGILL): Likewise.
76614         (SIGINT): Likewise.
76615         (SIGSEGV): Likewise.
76616         (SIGTER): Likewise.
76617         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76618         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76619         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76620         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76621         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76622         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76623         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76624         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76625         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76626         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76627         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76628         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76629         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76630         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76631         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76632         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76633         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76634         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76635         [X/Open-based standards] (SIGTRAP): Likewise.
76636         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76637         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76638         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76639         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76640         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76641         allow.
76643 2012-05-08  Ian Wienand  <ianw@vmware.com>
76645         [BZ #14080]
76646         * time/tzset.c (__tzset_parse_tz): Update default rules for
76647         daylight time changes in the Energy Policy Act of 2005.
76649 2012-05-09  Andreas Jaeger  <aj@suse.de>
76651         [BZ #13983]
76652         * elf/ldconfig.c (parse_conf): Change string to make clear that
76653         ldconfig only issued a warning if ld.so.conf does not exist.
76655 2012-05-08  David S. Miller  <davem@davemloft.net>
76657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76658         movxtod instead of popping the value on the stack.
76660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76662 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76664         * config.h.in: Add HAVE_ARM_PCS_VFP.
76666 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76668         [BZ #13979]
76669         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76670         checking but the checks are disabled for any reason.
76672 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76674         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76675         and ELF64_R_TYPE with ELFW(R_TYPE).
76677 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76679         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76680         (ulimit): Likewise.
76682         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76683         (settimeofday): Likewise.
76685 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76687         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76688         a struct th_u2 inside the union, and move tu_block/tu_code into
76689         a new th_u3 union of tu_block/tu_code inside of that.  Move
76690         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76691         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76692         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76693         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76694         (th_stuff): Change to th_u1.tu_stuff.
76695         (th_data): Define.
76696         (th_msg): Change to th_u1.th_u2.tu_data.
76698 2012-05-07  David S. Miller  <davem@davemloft.net>
76700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76702         [BZ #14074]
76703         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76704         (SETUP_PIC_REG): Use it.
76705         (SETUP_PIC_REG_LEAF): Use it.
76707 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76709         [BZ #13885]
76710         [BZ #13923]
76711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76712         USE_AS_EXPM1L.
76713         (EXPL_FINITE): Likewise.
76714         (FLDLOG): Likewise.
76715         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76716         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76717         e_expl.S.
76718         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76719         USE_AS_EXPM1L.
76720         (EXPL_FINITE): Likewise.
76721         (FLDLOG): Likewise.
76722         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76723         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76724         e_expl.S.
76725         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76726         test of -max_value argument for long double.
76727         * sysdeps/i386/fpu/libm-test-ulps: Update.
76728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76730 2012-05-06  David S. Miller  <davem@davemloft.net>
76732         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76733         quad soft-float symbols whose references which are compiler
76734         generated.
76735         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76737 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76739         [BZ #13884]
76740         [BZ #13914]
76741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76742         USE_AS_EXP10L.
76743         (EXPL_FINITE): Likewise.
76744         (FLDLOG): Likewise.
76745         (c0): Likewise.
76746         (c1): Likewise.
76747         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76748         Adjust comments for base varying.
76749         (__expl_finite): Change alias to EXPL_FINITE.
76750         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76751         e_expl.S.
76752         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76753         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76754         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76755         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76757         USE_AS_EXP10L.
76758         (EXPL_FINITE): Likewise.
76759         (FLDLOG): Likewise.
76760         (c0): Likewise.
76761         (c1): Likewise.
76762         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76763         Adjust comments for base varying.
76764         (__expl_finite): Change alias to EXPL_FINITE.
76765         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76766         tests for bugs.
76767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76769         [BZ #14064]
76770         * math/libm-test.inc (check_float_internal): Correct ulp
76771         calculation for subnormal expected results.
76773 2012-05-06  Andreas Jaeger  <aj@suse.de>
76775         * Makeconfig (+math-flags): New, set to -frounding-math.
76776         (+cflags): Add +math-flags so that all of glibc gets compiled with
76777         it.
76779         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76781 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76783         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76784         Disable one test.
76786         [BZ #13787]
76787         [BZ #13922]
76788         [BZ #14036]
76789         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76790         (__ieee754_expl): Allow for and saturate large arguments.
76791         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76792         (u_threshold): Likewise.
76793         (__exp): Call __ieee754_exp before checking for overflow and
76794         underflow.
76795         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76796         (u_threshold): Likewise.
76797         (__expf): Call __ieee754_expf before checking for overflow and
76798         underflow.
76799         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76800         (u_threshold): Likewise.
76801         (__expl): Call __ieee754_expl before checking for overflow and
76802         underflow.
76803         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76804         (__ieee754_expl): Allow for and saturate large arguments.
76805         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76806         missing overflow exception on overflow.
76807         (expm1_test): Do not allow missing overflow exception on overflow.
76809         * sysdeps/i386/fpu/e_expl.c: Move to ...
76810         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76811         rather than using inline asm.
76812         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76813         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76814         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76816         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76817         (nice): Likewise.
76818         (poll): Likewise.
76819         (signal): Likewise.
76820         (time): Likewise.
76821         (times): Likewise.
76823 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76825         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76826         sysdeps/unix/common/syscalls.list.
76827         (fchmod): Likewise.
76828         (fchown): Likewise.
76829         (ftruncate): Likewise.
76830         (getrusage): Likewise.
76831         (gettimeofday): Likewise.
76832         (setpgid): Likewise.
76833         (setregid): Likewise.
76834         (setreuid): Likewise.
76835         (sigaction): Likewise.
76836         (truncate): Likewise.
76837         (vhangup): Likewise.
76838         * sysdeps/unix/common/syscalls.list: Remove file.
76839         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76840         * sysdeps/unix/sysv/linux/Implies: Likewise.
76842 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76844         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76846         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76847         Moved to ...
76848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76849         Here.
76850         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76851         to ...
76852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76853         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76854         to ...
76855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76856         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76857         to ...
76858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76859         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76860         to ...
76861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76862         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76863         to ...
76864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76865         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76866         to ...
76867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76868         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76869         to ...
76870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76871         Here.
76872         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76873         to ...
76874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76875         Here.
76876         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76877         to ...
76878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76879         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76880         Moved to ...
76881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76882         Here.
76883         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76884         to ...
76885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76887 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76889         * sysdeps/unix/common/bits/dirent.h: Remove file.
76890         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76892         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76893         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76894         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76895         * sysdeps/unix/bsd/isatty.c: Likewise.
76896         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76897         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76898         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76900 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76902         [BZ #13563]
76903         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76904         long double comparison inaccuracies.
76905         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76908 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76910         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76911         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76913 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76915         [BZ #14049]
76916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76917         nonzero digits before rounding a hex value.
76918         * stdlib/tst-strtod.c (tests): Add another test.
76920 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76922         * sysdeps/s390/fpu/libm-test-ulps: Update.
76924 2012-05-03  Andreas Jaeger  <aj@suse.de>
76926         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76927         does not get optimized out.
76928         (malloc_opt_barrier): New.
76930 2012-05-03  Andreas Jaeger  <aj@suse.de>
76931             Roland McGrath  <roland@hack.frob.com>
76933         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76934         intermediate file deletion.
76935         (generated): Add .symlist files.
76937 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76939         [BZ #13775]
76940         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76941         Redirect under this condition.
76942         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76943         [__USE_GNU] (__dprintf_chk): Not under this condition.
76944         [__USE_GNU] (__vdprintf_chk): Likewise.
76945         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76946         under this condition.
76947         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76948         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76949         [__USE_XOPEN2K8] (vdprintf): Likewise.
76950         [__USE_GNU] (__dprintf_chk): Not under this condition.
76951         [__USE_GNU] (__vdprintf_chk): Likewise.
76952         [__USE_GNU] (dprintf): Likewise.
76953         [__USE_GNU] (vdprintf): Likewise.
76955 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76957         * elf/Makefile (common-generated): Set this instead of generated for
76958         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76959         $(all-built-dso)-derived lists.
76961 2012-05-03  Andreas Jaeger  <aj@suse.de>
76963         * sysdeps/i386/fpu/libm-test-ulps: Update.
76965         * FAQ: Removed.
76966         * FAQ.in: Likewise.
76967         * scripts/gen-FAQ.pl: Likewise.
76968         * manual/install.texi (Installation): Point to online location of
76969         FAQ.
76970         * Makefile (files-for-dist): Remove FAQ.
76971         (FAQ): Remove.
76973 2012-05-02  Allan McRae  <allan@archlinux.org>
76975         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76976         (LDFLAGS-reldepmod5.so): Likewise.
76977         (LDFLAGS-reldep6mod1.so): Likewise.
76978         (LDFLAGS-reldep6mod4.so): Likewise.
76979         (LDFLAGS-reldep8mod3.so): Likewise.
76980         (LDFLAGS-unload4mod1.so): Likewise.
76981         (LDFLAGS-unload4mod2.so): Likewise.
76982         (LDFLAGS-tst-initorder): Likewise.
76983         (LDFLAGS-tst-initordera2.so): Likewise.
76984         (LDFLAGS-tst-initordera3.so): Likewise.
76985         (LDFLAGS-tst-initordera4.so): Likewise.
76986         (LDFLAGS-tst-initorderb2.so): Likewise.
76987         (LDFLAGS-noload): Likewise.
76988         (LDFLAGS-next): Likewise.
76989         (LDFLAGS-order2mod1.so): Likewise.
76990         (LDFLAGS-order2mod2.so): Likewise.
76991         (LDFLAGS-tst-initorder2): Likewise.
76992         (LDFLAGS-tst-initorder2a.so): Likewise.
76993         (LDFLAGS-tst-initorder2b.so): Likewise.
76994         (LDFLAGS-tst-initorder2c.so): Likewise.
76995         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76997 2012-05-02  David S. Miller  <davem@davemloft.net>
76999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77001 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77003         [BZ #14055]
77004         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77006 2012-05-02  Andreas Jaeger  <aj@suse.de>
77008         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77009         since we manipulate rounding mode.
77010         (CPPFLAGS-test-idouble.c): Likewise.
77011         (CPPFLAGS-test-ifloat.c): Likewise.
77012         (CFLAGS-test-ldouble.c): Likewise.
77013         (CFLAGS-test-double.c): Likewise.
77014         (CFLAGS-test-float.c): Likewise.
77015         (CFLAGS-test-misc.c): Likewise.
77016         (CFLAGS-test-test-fenv.c): Likewise.
77018 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77020         [BZ #2550]
77021         [BZ #2570]
77022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77023         comparisons to determine direction to adjust input.
77025 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77027         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77028         output to the target.
77030         * scripts/localplt.awk: New file.
77031         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77032         (check-localplt-CFLAGS): Variable removed.
77033         ($(all-built-dso:=.jmprel)): New static pattern rule.
77034         (generated): Add those targets.
77035         (localplt-built-dso): New variable.
77036         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77038         * elf/check-localplt.c: File removed.
77040         * scripts/check-execstack.awk: New file.
77041         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77042         (check-execstack-CFLAGS): Variable removed.
77043         ($(objpfx)check-execstack.h): Target removed.
77044         ($(objpfx)execstack-default): New target.
77045         (generated): Add that instead of check-execstack.h.
77046         ($(all-built-dso:=.phdr)): New static pattern rule.
77047         (generated): Add those targets.
77048         * elf/check-execstack.c: File removed.
77050         * scripts/check-textrel.awk: New file.
77051         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77052         (check-textrel-CFLAGS): Variable removed.
77053         (all-built-dso): Use := to define.o
77054         ($(all-built-dso:=.dyn)): New static pattern rule.
77055         (generated): Add those targets.
77056         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77057         * config.make.in (READELF): New substituted variable.
77058         * elf/check-textrel.c: File removed.
77060 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77062         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77063         allow.
77064         * conform/data/ctype.h-data [C99-based standards] (isblank):
77065         Expect function.
77066         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77067         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77068         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77069         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77070         Specify type.  Require positive value.
77071         (EILSEQ): Likewise.
77072         (ERANGE): Likewise.
77073         [ISO || POSIX] (EILSEQ): Do not expect.
77074         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77075         Specify type.  Require positive value.
77076         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77077         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77078         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77079         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77080         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77081         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77082         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77083         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77084         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77085         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77086         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77087         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77088         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77089         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77090         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77091         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77092         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77093         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77094         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77095         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77096         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77097         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77098         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77099         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77100         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77101         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77102         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77103         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77104         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77105         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77106         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77107         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77108         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77109         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77110         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77111         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77112         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77113         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77114         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77115         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77116         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77117         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77118         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77119         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77120         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77121         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77122         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77123         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77124         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77125         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77126         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77127         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77128         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77129         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77130         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77131         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77132         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77133         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77134         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77135         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77136         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77137         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77138         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77139         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77140         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77141         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77142         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77143         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77144         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77145         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77146         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77147         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77148         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77149         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77150         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77151         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77152         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77153         Require >= 2.
77154         (FLT_ROUNDS): Expect as macro, not constant.
77155         (FLT_MANT_DIG): Use macro-int-constant.
77156         (DBL_MANT_DIG): Likewise.
77157         (LDBL_MANT_DIG): Likewise.
77158         (FLT_DIG): Likewise.
77159         (DBL_DIG): Likewise.
77160         (LDBL_DIG): Likewise.
77161         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77162         (DBL_MIN_EXP): Likewise.
77163         (LDBL_MIN_EXP): Likewise.
77164         (FLT_MAX_EXP): Use macro-int-constant.
77165         (DBL_MAX_EXP): Likewise.
77166         (LDBL_MAX_EXP): Likewise.
77167         (FLT_MAX_10_EXP): Likewise.
77168         (DBL_MAX_10_EXP): Likewise.
77169         (LDBL_MAX_10_EXP): Likewise.
77170         (FLT_MAX): Use macro-constant.
77171         (DBL_MAX): Likewise.
77172         (LDBL_MAX): Likewise.
77173         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77174         (DBL_EPSILON): Likewise.
77175         (LDBL_EPSILON): Likewise.
77176         (FLT_MIN): Likewise.
77177         (DBL_MIN): Likewise.
77178         (LDBL_MIN): Likewise.
77179         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77180         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77181         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77182         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77183         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77184         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77185         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77186         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77187         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77188         [ISO11] (FLT_TRUE_MIN): Likewise.
77189         [ISO11] (LDBL_TRUE_MIN): Likewise.
77190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77191         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77192         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77193         (SCHAR_MAX): Likewise.
77194         (UCHAR_MAX): Likewise.
77195         (CHAR_MIN): Likewise.
77196         (CHAR_MAX): Likewise.
77197         (MB_LEN_MAX): Use macro-int-constant.
77198         (SHRT_MIN): Use macro-int-constant.  Specify type.
77199         (SHRT_MAX): Likewise.
77200         (USHRT_MAX): Likewise.
77201         (INT_MAX): Likewise.
77202         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77203         bound negative.
77204         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77205         bound with "U".
77206         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77207         bound with "L".
77208         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77209         bound negative.  Suffix upper bound with "L".
77210         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77211         bound with "UL".
77212         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77213         Specify type.
77214         [C99-based standards] (LLONG_MAX): Likewise.
77215         [C99-based standards] (ULLONG_MAX): Likewise.
77216         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77217         == 0.
77218         [ISO11] (max_align_t): Require type.
77219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77221         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77222         from $CFLAGS, without defining away __attribute__ calls.
77223         (checknamespace): Use $CFLAGS_namespace.
77225         * conform/conformtest.pl (@keywords): Only include C99 keywords
77226         for standards based on C99 or C11.
77228         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77229         Disable tests.
77230         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77231         UNIX98]: Likewise.
77233         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77234         usability of symbols in #if.
77236         * conform/conformtest.pl: If macro or constant types start
77237         "promoted:", expect the symbol to be of the following type
77238         promoted by the integer promotions.
77240         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77241         in one place.  Also handle "macro-constant".
77243         * conform/conformtest.pl: Only accept expected macro values with
77244         "==".  Parse all "macro" lines in one place.
77245         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77247         * conform/conformtest.pl: Handle braced types on "constant" lines
77248         instead of handling "typed-constant".
77249         * conform/data/signal.h-data: Use "constant" instead of
77250         "typed-constant".
77252         * conform/conformtest.pl: Handle "optional-" at start of lines in
77253         one place rather than duplicating several cases.  Handle each
77254         format of "macro" line with initial "optional-".
77256         * conform/conformtest.pl: Only accept expected constant or
77257         optional-constant values with "==".  Parse all "constant" lines in
77258         one place.  Parse all "optional-constant" lines in one place.
77259         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77260         * conform/data/fmtmsg.h-data: Likewise.
77261         * conform/data/netinet/in.h-data: Likewise.
77262         * conform/data/tar.h-data: Likewise.
77263         * conform/data/limits.h-data: Use "==" form on "constant" and
77264         "optional-constant" lines.
77266         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77267         Use -std=c99 for XOPEN2K.
77268         (@knownproblems): Remove.
77269         (newtoken): Don't check %isknown.
77271         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77272         Do not expect macro.
77273         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77274         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77275         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77276         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77277         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77278         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77279         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77280         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77281         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77282         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77283         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77284         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77285         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77286         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77287         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77288         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77289         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77290         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77291         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77292         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77293         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77294         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77295         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77296         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77297         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77298         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77299         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77300         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77301         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77302         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77303         [XPG3] (acosh): Likewise.
77304         [XPG3] (asinh): Likewise.
77305         [XPG3] (atanh): Likewise.
77306         [XPG3] (cbrt): Likewise.
77307         [XPG3] (expm1): Likewise.
77308         [XPG3] (ilogb): Likewise.
77309         [XPG3] (log1p): Likewise.
77310         [XPG3] (logb): Likewise.
77311         [XPG3] (nextafter): Likewise.
77312         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77313         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77314         [XPG3] (remainder): Likewise.
77315         [XPG3] (rint): Likewise.
77316         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77317         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77318         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77319         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77320         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77321         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77322         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77323         [UNIX98 || XOPEN2K] (scalb): Expect.
77324         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77325         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77326         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77327         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77328         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77329         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77330         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77331         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77332         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77333         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77334         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77335         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77336         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77337         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77338         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77339         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77340         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77341         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77342         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77343         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77344         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77345         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77346         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77347         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77348         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77349         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77350         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77351         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77352         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77353         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77354         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77355         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77356         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77357         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77358         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77359         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77360         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77361         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77362         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77363         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77364         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77365         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77366         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77367         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77368         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77369         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77370         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77371         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77372         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77373         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77374         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77375         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77376         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77377         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77378         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77379         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77380         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77381         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77382         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77383         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77384         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77385         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77386         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77387         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77388         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77389         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77390         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77391         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77392         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77393         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77394         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77395         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77396         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77397         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77398         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77399         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77400         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77401         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77402         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77403         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77404         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77405         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77406         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77407         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77408         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77409         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77410         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77411         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77412         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77413         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77414         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77415         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77416         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77417         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77418         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77419         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77420         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77421         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77422         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77423         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77424         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77425         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77426         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77427         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77428         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77429         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77430         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77431         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77432         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77433         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77434         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77435         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77436         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77437         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77438         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77439         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77440         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77441         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77442         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77443         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77444         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77445         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77446         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77447         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77448         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77449         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77450         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77451         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77452         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77453         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77454         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77455         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77456         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77457         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77458         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77459         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77460         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77462         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77463         _XOPEN_SOURCE_EXTENDED for XPG4.
77465         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77467         * Makeconfig (localtime): Remove variable.
77468         (inst_localtime-file): Likewise.
77470 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77473         Update.
77474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77475         Update.
77476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77477         Update.
77478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77479         Update.
77480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77481         Update.
77482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77483         Update.
77484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77485         Update.
77486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77487         Update.
77488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77489         Update.
77491 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77493         [BZ #2550]
77494         [BZ #2570]
77495         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77496         comparisons to determine direction to adjust input.
77497         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77498         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77499         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77500         Likewise.
77501         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77502         Likewise.
77503         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77504         Likewise.
77505         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77506         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77507         Likewise.
77508         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77509         Likewise.
77510         * math/libm-test.inc (nexttoward_test): Add more tests.
77512 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77514         [BZ #14040]
77515         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77516         in version GLIBC_2.1, not GLIBC_2.0.
77517         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77518         Likewise.
77520 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77522         [BZ #13942]
77523         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77524         (1 - x) * (1 + x).
77525         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77526         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77527         * math/libm-test.inc (acos_test): Add more tests.
77528         (asin_test): Likewise.
77529         * sysdeps/i386/fpu/libm-test-ulps: Update.
77530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77532         [BZ #14034]
77533         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77534         of square root.
77535         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77536         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77537         * math/libm-test.inc (acos_test_tonearest): New function.
77538         (acos_test_towardzero): Likewise.
77539         (acos_test_downward): Likewise.
77540         (acos_test_upward): Likewise.
77541         (asin_test_tonearest): Likewise.
77542         (asin_test_towardzero): Likewise.
77543         (asin_test_downward): Likewise.
77544         (asin_test_upward): Likewise.
77545         (main): Call the new functions.
77546         * sysdeps/i386/fpu/libm-test-ulps: Update.
77547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77549         [BZ #13884]
77550         [BZ #13924]
77551         * math/e_exp10.c: Include <float.h>.
77552         (__ieee754_exp10): Handle underflow here rather than multiplying
77553         large negative argument by M_LN10.
77554         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77555         of __ieee754_expf.
77556         * math/e_exp10l.c: Include <float.h>.
77557         (__ieee754_exp10l): Handle underflow here rather than multiplying
77558         large negative argument by M_LN10l.
77559         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77560         spurious overflow exception on underflow.
77562 2012-04-29  Marek Polacek  <polacek@redhat.com>
77564         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77565         (__fortify_function): New macro.
77566         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77567         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77568         __extern_always_inline.
77569         * libio/bits/stdio2.h: Likewise.
77570         * libio/bits/stdio.h: Likewise.
77571         * string/string.h: Likewise.
77572         * string/bits/string3.h: Likewise.
77573         * include/stdio.h: Likewise.
77574         * stdlib/bits/stdlib.h: Likewise.
77575         * stdlib/stdlib.h: Likewise.
77576         * rt/bits/mqueue2.h: Likewise.
77577         * rt/mqueue.h: Likewise.
77578         * posix/bits/unistd.h: Likewise.
77579         * posix/unistd.h: Likewise.
77580         * io/bits/poll2.h: Likewise.
77581         * io/bits/fcntl2.h: Likewise.
77582         * io/fcntl.h: Likewise.
77583         * io/sys/poll.h: Likewise.
77584         * misc/bits/syslog.h: Likewise.
77585         * misc/bits/syslog-ldbl.h: Likewise.
77586         * misc/sys/syslog.h: Likewise.
77587         * socket/bits/socket2.h: Likewise.
77588         * socket/sys/socket.h: Likewise.
77589         * debug/tst-chk1.c: Likewise.
77590         * wcsmbs/bits/wchar2.h: Likewise.
77591         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77592         * wcsmbs/wchar.h: Likewise.
77594 2012-04-29  Andreas Jaeger  <aj@suse.de>
77596         * Makerules (tests): Remove enable-check-abi protection.
77597         (check-abi-warn): Remove.
77598         (check-abi-%): Remove check-abi-warn usage.
77600         * configure.in: Remove check-abi configure option.
77601         * configure: Regenerated.
77602         * config.make.in (enable-check-abi): Remove.
77604 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77606         [BZ #14033]
77607         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77608         double functions to double *_finite functions.
77610         [BZ #13941]
77611         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77612         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77613         LDBL_MIN_EXP.
77614         * stdio-common/Makefile (tests): Add tst-sprintf3.
77615         * stdio-common/tst-sprintf3.c: New file.
77617         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77618         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77620 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77622         * conform/conformtest.pl: Remove duplicate typed-constant
77623         handling.
77625 2012-04-28  David S. Miller  <davem@davemloft.net>
77627         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77628         (check-abi-%): Remove AWK script prerequisite and explicit
77629         abilist directory.
77630         (check-abi): Rewrite to just diff the symlist with the abilist.
77631         (config-tls, config-abi-config): Delete, no longer used.
77632         (update-abi-%): Remove AWK script and explicit abilist directory.
77633         (update-abi): Rewrite to simply compare and conditionally copy the
77634         symlist and the sysdep abilist file.  Remove update-abi-config
77635         checks.
77636         * abilist/ld.abilist: Remove.
77637         * abilist/libBrokenLocale.abilist: Remove.
77638         * abilist/libanl.abilist: Remove.
77639         * abilist/libcrypt.abilist: Remove.
77640         * abilist/libdl.abilist: Remove.
77641         * abilist/librt.abilist: Remove.
77642         * abilist/libthread_db.abilist: Remove.
77643         * abilist/libutil.abilist: Remove.
77644         * scripts/extract-abilist.awk: Remove.
77645         * scripts/merge-abilist.awk: Remove.
77646         * sysdeps/generic/libcidn.abilist: New file.
77647         * sysdeps/generic/libnss_compat.abilist: New file.
77648         * sysdeps/generic/libnss_db.abilist: New file.
77649         * sysdeps/generic/libnss_dns.abilist: New file.
77650         * sysdeps/generic/libnss_files.abilist: New file.
77651         * sysdeps/generic/libnss_hesiod.abilist: New file.
77652         * sysdeps/generic/libnss_nis.abilist: New file.
77653         * sysdeps/generic/libnss_nisplus.abilist: New file.
77654         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77655         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77656         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77657         file.
77658         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77659         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77660         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77661         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77662         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77663         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77664         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77665         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77666         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77667         file.
77668         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77669         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77670         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77671         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77672         file.
77673         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77674         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77675         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77676         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77677         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77678         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77679         file.
77680         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77681         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77682         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77683         file.
77684         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77686         New file.
77687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77688         New file.
77689         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77690         New file.
77691         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77692         New file.
77693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77694         New file.
77695         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77696         New file.
77697         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77698         New file.
77699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77700         New file.
77701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77702         New file.
77703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77704         New file.
77705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77706         New file.
77707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77708         New file.
77709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77710         New file.
77711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77712         file.
77713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77714         New file.
77715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77716         New file.
77717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77718         file.
77719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77720         New file.
77721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77722         New file.
77723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77724         file.
77725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77726         New file.
77727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77728         New file.
77729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77730         New file.
77731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77732         New file.
77733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77734         New file.
77735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77736         New file.
77737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77739         file.
77740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77741         New file.
77742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77743         file.
77744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77745         file.
77746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77747         file.
77748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77749         file.
77750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77751         file.
77752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77753         New file.
77754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77755         file.
77756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77757         file.
77758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77759         New file.
77760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77761         file.
77762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77764         file.
77765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77766         New file.
77767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77768         file.
77769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77770         file.
77771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77772         file.
77773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77774         file.
77775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77776         file.
77777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77778         New file.
77779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77780         file.
77781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77782         file.
77783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77784         New file.
77785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77786         file.
77787         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77788         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77789         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77790         file.
77791         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77792         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77793         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77794         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77795         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77796         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77797         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77798         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77799         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77800         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77803         file.
77804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77805         New file.
77806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77807         file.
77808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77809         file.
77810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77811         file.
77812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77813         file.
77814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77815         file.
77816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77817         New file.
77818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77819         New file.
77820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77821         file.
77822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77823         New file.
77824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77825         file.
77826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77828         file.
77829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77830         New file.
77831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77832         file.
77833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77834         file.
77835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77836         file.
77837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77838         file.
77839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77840         file.
77841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77842         New file.
77843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77844         New file.
77845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77846         file.
77847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77848         New file.
77849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77850         file.
77852 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77854         * conform/conformtest.pl: Fix typo in handling typed-constant from
77855         allow-header.
77857 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77859         * README: Cut down references to pre-2.6 Linux kernels and
77860         Linuxthreads.  Update lists of configurations in libc and ports
77861         and sort alphabetically.  Say "or newer" with Linux kernel version
77862         requirements.
77864         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77866 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77868         [BZ #887]
77869         * math/libm-test.inc (logb_test_downward): New test to expose
77870         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77871         rounding mode.
77873 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77875         [BZ #14027]
77876         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77877         to be done.
77878         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77879         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77881 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77883         * sysdeps/unix/i386/brk.S: Remove file.
77884         * sysdeps/unix/i386/dl-brk.S: Likewise.
77885         * sysdeps/unix/i386/pipe.S: Likewise.
77886         * sysdeps/unix/i386/sigreturn.S: Likewise.
77887         * sysdeps/unix/i386/syscall.S: Likewise.
77888         * sysdeps/unix/i386/vfork.S: Likewise.
77889         * sysdeps/unix/i386/wait.S: Likewise.
77891         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77892         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77894         * configure.in (arm*-none*): Do not allow without
77895         --enable-hacker-mode.
77896         (netbsd*): Remove case setting base_os.
77897         (386bsd*): Likewise.
77898         (freebsd*): Likewise.
77899         (bsdi*): Likewise.
77900         (osf*): Likewise.
77901         (sunos*): Likewise.
77902         (ultrix*): Likewise.
77903         (newsos*): Likewise.
77904         (dynix*): Likewise.
77905         (*bsd*): Likewise.
77906         (sysv*): Likewise.
77907         (isc*): Likewise.
77908         (esix*): Likewise.
77909         (sco*): Likewise.
77910         (minix*): Likewise.
77911         (irix4*): Likewise.
77912         (irix6*): Likewise.
77913         (solaris[2-9]*): Likewise.
77914         (none): Likewise.
77915         * configure: Regenerated.
77917 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77919         [BZ #11521]
77920         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77921         overflow or cancellation in calculating denominator.
77922         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77923         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77924         down expression to avoid unexpected rounding in newer GCCs.
77925         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77927 2012-04-26  David S. Miller  <davem@davemloft.net>
77929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77930         long-double compat symbols.
77931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77945 2012-04-25  David S. Miller  <davem@davemloft.net>
77947         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77948         HWCAP_* values only after the memory barriers have been defined.
77949         (atomic_full_barrier): Define.
77950         (atomic_read_barrier): Define.
77951         (atomic_write_barrier): Define.
77953 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77955         * shlib-versions: Add libgcc_s version information.
77956         * sysdeps/generic/libgcc_s.h: Remove.
77957         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77958         libgcc_s.h.
77959         * sysdeps/gnu/unwind-resume.c: Likewise.
77960         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77962 2012-04-25  David S. Miller  <davem@davemloft.net>
77964         * sysdeps/unix/sparc/brk.S: Delete.
77965         * sysdeps/unix/sparc/dl-brk.S: Delete.
77966         * sysdeps/unix/sparc/pipe.S: Delete.
77967         * sysdeps/unix/sparc/sysdep.S: Delete.
77968         * sysdeps/unix/sparc/sysdep.h: Delete.
77969         * sysdeps/unix/sparc/vfork.S: Delete.
77970         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77971         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77972         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77973         (ret_ERRVAL, r0, r1, MOVE): Define.
77974         (JUMPTARGET): Remove.
77975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77976         sysdeps/unix/sparc/sysdep.h
77977         (ENTRY, END): Remove.
77978         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77980 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77982         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77983         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77984         -DIS_IN_build.
77986         * timezone/README: Update upstream location and email address for
77987         tzcode and tzdata.
77988         * timezone/zdump.c: Update from tzcode 2012b.
77989         * timezone/zic.c: Likewise.
77991         * configure.in (libc_cv_as_needed): Remove test.
77992         * configure: Regenerated.
77993         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77994         conditional definition.
77995         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77996         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77997         * config.make.in (have-as-needed): Remove variable.
77999 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78000             Paul Pluzhnikov  <ppluzhnikov@google.com>
78002         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78003         strings correctly.
78005 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78007         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78008         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78009         * sysdeps/sh/strlen.S: Likewise.
78011 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78013         * sysdeps/unix/fork.S: Remove file.
78014         * sysdeps/unix/i386/fork.S: Likewise.
78015         * sysdeps/unix/sparc/fork.S: Likewise.
78017         * sysdeps/unix/system.c: Remove file.
78018         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78020         * sysdeps/unix/getegid.S: Remove file.
78021         * sysdeps/unix/geteuid.S: Likewise.
78023 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78025         * scripts/check-localplt.awk: New file.
78026         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78027         of diff.
78028         * scripts/data/localplt-generic.data: Add a comment.
78030         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78031         NODE when __dir_mkfile failed.
78032         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78033         Reported by Ludovic Courtès <ludo@gnu.org>.
78035 2012-04-24  Andreas Jaeger  <aj@suse.de>
78037         * Makerules (common-clean): Also remove gen-as-const-headers
78038         files.
78040 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78042         * Makerules (native-compile): Do not change working directory for
78043         build.  Use $(OUTPUT_OPTION) in command.
78044         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78046 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78048         [BZ #13886]
78049         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78050         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78051         * math/libm-test.inc (floor_test): Add more tests.
78052         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78054 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78056         * sysdeps/unix/getdents.c: Remove file.
78057         * sysdeps/unix/sysv/getdents.c: Likewise.
78058         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78060         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78061         sysdeps/unix/mman/syscalls.list.
78062         (mmap): Likewise.
78063         (mprotect): Likewise.
78064         (msync): Likewise.
78065         (munmap): Likewise.
78066         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78067         * sysdeps/unix/mman/syscalls.list: Remove.
78068         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78070         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78071         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78072         * configure: Regenerated.
78073         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78074         $(libgcc_s_suffix).
78075         * config.make.in (libgcc_s_suffix): Remove variable.
78077 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78079         * sysdeps/unix/sysv/gethostname.c: Move to ...
78080         * sysdeps/posix/gethostname.c: ... here.
78082         * sysdeps/unix/execve.S: Remove file.
78084         * sysdeps/unix/_exit.S: Remove file.
78086 2012-04-23  Andreas Jaeger  <aj@suse.de>
78088         [BZ #13739]
78089         * manual/Makefile: Remove make dist support, there's no
78090         need for a stand-alone documentation tar ball.
78091         (TEXI2DVI): Define always, it's not in Makeconfig.
78092         (dist): Removed.
78093         (tar-it): Removed.
78094         (edition): Removed.
78095         (glibc-doc-$(edition).tar): Removed
78096         (%.Z): Removed.
78097         (%.gz): Removed.
78098         (%.uu): Removed.
78099         (ETAGS): Remove, it's in Makeconfig.
78100         (move-if-change): Remove, it's in Makeconfig.
78102 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78104         [BZ #13970]
78105         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78106         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78107         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78108         (strtod_l, strtof_l, strtold_l): Remove __wur.
78109         It is not necessarily an error to ignore strtol's return value.
78110         One can reliably look at the stored endptr to decide whether
78111         the number had valid syntax.
78113 2012-04-21  Andreas Jaeger  <aj@suse.de>
78115         [BZ #13739]
78116         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78118 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78120         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78121         * sysdeps/unix/sysv/Versions: Remove file.
78123 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78125         [BZ #13927]
78126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78128 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78130         [BZ #7064]
78131         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78132         version from __vm86.
78134 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78136         * sysdeps/unix/common/lxstat.c: Remove file.
78137         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78139         * sysdeps/unix/sysv/Makefile: Remove file.
78141         * sysdeps/unix/sysv/direct.h: Remove file.
78143         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78144         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78145         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78146         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78147         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78148         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78149         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78151         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78153         * sysdeps/unix/xmknod.c: Remove file.
78154         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78156         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78158         * sysdeps/unix/sysv/i386/time.S: Remove file.
78160         * sysdeps/unix/fxstat.c: Remove file.
78161         * sysdeps/unix/xstat.c: Likewise.
78162         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78164         * sysdeps/unix/sysv/sigaction.c: Remove file.
78166         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78167         (sysdep_headers): Remove variable.
78168         [termio.h not in sysdep_headers] (generated): Likewise.
78169         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78170         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78171         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78172         * sysdeps/unix/sysv/tcflow.c: Likewise.
78173         * sysdeps/unix/sysv/tcflush.c: Likewise.
78174         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78175         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78176         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78177         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78178         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78180         * sysdeps/unix/siglist.c: Remove file.
78182         * sysdeps/unix/getppid.S: Remove file.
78184         * sysdeps/unix/mkdir.c: Remove file.
78185         * sysdeps/unix/rmdir.c: Likewise.
78187 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78189         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78190         ERR_MAX value.
78191         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78192         errlist-compat value.
78194 2012-04-18  David S. Miller  <davem@davemloft.net>
78196         * sysdeps/generic/memcopy.h (reg_char): Delete.
78197         * debug/strcat_chk.c: Use char, not reg_char.
78198         * debug/strcpy_chk.c: Likewise.
78199         * debug/strncat_chk.c: Likewise.
78200         * debug/strncpy_chk.c: Likewise.
78201         * string/memchr.c: Likewise.
78202         * string/memrchr.c: Likewise.
78203         * string/rawmemchr.c: Likewise.
78204         * string/strcat.c: Likewise.
78205         * string/strchr.c: Likewise.
78206         * string/strchrnul.c: Likewise.
78207         * string/strcmp.c: Likewise.
78208         * string/strcpy.c: Likewise.
78209         * string/strncat.c: Likewise.
78210         * string/strncmp.c: Likewise.
78211         * string/strncpy.c: Likewise.
78213 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78215         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78216         __builtin_memcopy is called when src and dest ranges are known to not
78217         overlap.
78219 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78221         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78222         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78223         fwd_align_merge macro call.
78224         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78225         bwd_align_merge macro call.
78226         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78228 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78230         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78231         bwd_align_merge macros.
78232         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78233         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78236 2012-04-18  David S. Miller  <davem@davemloft.net>
78238         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78240 2012-04-18  Andreas Jaeger  <aj@suse.de>
78242         [BZ #6794]
78243         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78244         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78245         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78247         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78248         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78249         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78251         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78252         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78253         Adjust for changed ldbl-128 files.
78255         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78256         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78257         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78259 2012-04-17  David S. Miller  <davem@davemloft.net>
78261         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78263 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78265         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78266         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78267         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78268         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78269         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78270         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78272 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78274         [BZ #6794]
78275         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78276         * math/libm-test.inc: Add ilogb errno and exception tests.
78277         * math/w_ilogb.c: New file: ilogb wrapper.
78278         * math/w_ilogbf.c: New file: ilogbf wrapper.
78279         * math/w_ilogbl.c: New file: ilogbl wrapper.
78280         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78281         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78282         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78283         exception being thrown with 0.0 as argument.
78284         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78285         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78286         exception being thrown with 0.0 as argument.
78287         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78288         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78289         exception being thrown with 0.0 as argument.
78290         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78291         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78292         exception being thrown with 0.0 as argument.
78293         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78294         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78295         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78296         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78297         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78298         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78299         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78300         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78301         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78303 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78305         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78306         with altivec.
78308 2012-04-16  Marek Polacek  <polacek@redhat.com>
78310         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78312 2012-04-16  Marek Polacek  <polacek@redhat.com>
78314         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78315         operands of fdivp instruction.
78317 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78319         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78320         * elf/tst-auditmod3b.c: Likewise.
78321         * elf/tst-auditmod4b.c: Likewise.
78322         * elf/tst-auditmod5b.c: Likewise.
78323         * elf/tst-auditmod6b.c: Likewise.
78324         * elf/tst-auditmod6c.c: Likewise.
78325         * elf/tst-auditmod7b.c: Likewise.
78326         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78327         * sysdeps/x86_64/preconfigure.in: Likewise.
78328         * sysdeps/x86_64/preconfigure: Regenerated.
78330 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78332         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78333         __ILP32__.
78335 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78338         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78340 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78342         [BZ #13973]
78343         * locale/iso-639.def: Fix gl language name. Spotted by
78344         Yaron Shahrabani.
78346 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78348         [BZ #2074]
78349         * libio/libio.h (__io_write_fn): Update comment.
78351 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78353         [BZ #2074]
78354         * stdio.texi (Hook Functions): The user provided writer function
78355         is not allowed to return -1.
78357 2012-04-11  David S. Miller  <davem@davemloft.net>
78359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78361 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78363         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78364         Add a leading slash to rtkaio.
78366 2012-04-11  Jim Meyering  <meyering@redhat.com>
78368         [BZ #11959]
78369         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78370         It is not necessarily an error to ignore fwrite's return
78371         value.  One can reliably use ferror to test for errors after
78372         the fact.
78374 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78376         * bits/types.h (__snseconds_t): New type.
78377         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78379         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78381         (__SNSECONDS_T_TYPE): Likewise.
78382         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78383         (__SNSECONDS_T_TYPE): Likewise.
78384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78385         (__SNSECONDS_T_TYPE): Likewise.
78387 2012-04-10  Andreas Jaeger  <aj@suse.de>
78389         [BZ #2636]
78390         * manual/time.texi (Processor Time): Return type of times is
78391         elapsed real time since an arbitrary point in the past.
78392         (CPU Time): Move CLK_TCK from here...
78393         (Processor Time): ...to here.  Correct description.
78394         * manual/conf.texi (Constants for Sysconf): Correct description of
78395         _SC_CLK_TCK.
78397 2012-04-10  David S. Miller  <davem@davemloft.net>
78399         [BZ #13967]
78400         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78401         where the is a gap between DT_REL(A) and DT_JMPREL.
78403 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78405         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78406         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78407         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78409 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78411         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78412         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78413         (dl_main): Handle --inhibit-cache.
78414         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78415         _dl_inhibit_cache.
78416         * elf/dl-load.c (_dl_map_object): Use it.
78417         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78419 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78421         [BZ #13872]
78422         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78423         (__ieee754_powl): Saturate large exponents rather than testing for
78424         overflow of y*log2(x).
78425         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78426         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78427         exceptions.
78429         [BZ #11521]
78430         * math/s_ctan.c: Include <float.h>.
78431         (__ctan): Avoid internal overflow or cancellation in calculating
78432         denominator.
78433         * math/s_ctanf.c: Likewise.
78434         * math/s_ctanl.c: Likewise.
78435         * math/s_ctanh.c: Likewise.
78436         * math/s_ctanhf.c: Likewise.
78437         * math/s_ctanhl.c: Likewise.
78438         * math/libm-test.inc (ctan_test): Add more tests.
78439         (ctanh_test): Likewise.
78440         * sysdeps/i386/fpu/libm-test-ulps: Update.
78441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78443 2012-04-09  Andreas Jaeger  <aj@suse.de>
78445         [BZ #6894]
78446         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78447         is an optional BSD extension.
78449         [BZ #10254]
78450         * manual/stdio.texi (Opening Streams): Document additional fopen
78451         parameters.
78453 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78455         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78456         %eax without telling the compiler.
78458 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78460         [BZ # 13963]
78461         * manual/install.texi: Use sourceware.org.
78463 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78465         [BZ #13873]
78466         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78467         (__ieee754_pow): Generate overflow and underflow using huge*huge
78468         and tiny*tiny rather than just returning constant infinity or zero
78469         for large exponents.
78470         * math/libm-test.inc (pow_test): Require overflow exceptions for
78471         applicable cases of large exponents.
78473         [BZ #706]
78474         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78475         (__ieee754_pow): Use iterative multiplication algorithm only for
78476         integer exponents with absolute value below 1024.  Check for odd
78477         integer exponents when using algorithm for real exponents.
78478         * math/libm-test.inc (pow_test): Add more tests.
78479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78481 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78483         [BZ #13705]
78484         * math/libm-test.inc (exp_test): Do not allow overflow exception
78485         on underflow test.
78487 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78489         [BZ #13705]
78490         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78491         instead of __kernel_standard_f.
78493 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78495         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78496         * sysdeps/x86_64/memset_chk.S: Likewise.
78498 2012-04-08  Andreas Jaeger  <aj@suse.de>
78500         [BZ #10153]
78501         * manual/startup.texi (Environment Access): Describe return value
78502         for putenv and setenv.
78504         [BZ #6895]
78505         * manual/filesys.texi (Directory Entries): Add description for
78506         DT_LNK.
78508         [BZ #6890]
78509         * manual/filesys.texi (Directory Entries): Clarify that it's file
78510         system not operating system in the description of DT_UNKNOWN.
78512         [BZ #6578]
78513         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78515 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78517         [BZ #6649]
78518         * manual/llio.texi (Opening and Closing Files): Add cross
78519         reference to explain mode argument.
78521 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78523         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78524         * sysdeps/x86_64/memset_chk.S: Likewise.
78526 2012-04-07  David S. Miller  <davem@davemloft.net>
78528         * elf/elf.h (R_SPARC_WDISP10): Define.
78529         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78530         R_SPARC_SIZE32.
78531         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78532         R_SPARC_SIZE64 and R_SPARC_H34.
78534 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78537         conditions and remove no longer applicable assertion.
78539 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78541         * bits/byteswap.h: Include <features.h>.
78542         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78543         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78545 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78547         * bits/byteswap.h (__bswap_16): Removed.
78548         Include <bits/byteswap-16.h> to get __bswap_16.
78549         * sysdeps/i386/bits/byteswap.h: Likewise.
78550         * sysdeps/s390/bits/byteswap.h: Likewise.
78551         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78552         * bits/byteswap-16.h: New file.
78553         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78554         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78555         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78556         * string/Makefile (headers): Add bits/byteswap-16.h.
78558 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78560         [BZ #13895]
78561         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78562         extra indirection.
78563         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78564         * nss/tst-nss-static.c: New.
78566 2012-04-06  Robert Millan  <rmh@gnu.org>
78568         [BZ #6486]
78569         * manual/llio.texi (File Position Primitive): lseek
78570         refers to WHENCE when it really means OFFSET.
78572 2012-04-06  Andreas Jaeger  <aj@suse.de>
78574         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78575         strncmp declarations.
78577         * abilist/libc.abilist: Add __poll and __ppoll.
78579 2012-04-05  David S. Miller  <davem@davemloft.net>
78581         * scripts/check-local-headers.sh: Accept a host triplet in the
78582         path matched by the exclude regexp.
78584         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78585         definition.
78586         * sysdeps/powerpc/powerpc32/dl-machine.h
78587         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78588         * sysdeps/s390/s390-32/dl-machine.h
78589         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78590         * sysdeps/sparc/sparc32/dl-machine.h
78591         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78592         * sysdeps/sparc/sparc64/dl-machine.h
78593         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78595         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78596         lazy binding.
78597         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78598         undefined symbol errors.
78600         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78601         DT_NEEDED entries.
78603 2012-04-05  Michael Matz  <matz@suse.de>
78605         [BZ #13592]
78606         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78608 2012-04-05  Andreas Jaeger  <aj@suse.de>
78610         [BZ #13908]
78611         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78612         comment.
78614 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78616         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78617         which ROUND is no valid rounding mode.
78619 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78622         read again.
78623         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78625 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78627         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78628         an exception using FPU order intentionally.
78630 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78632         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78633         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78634         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78635         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78637 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78639         [BZ #12340]
78640         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78641         EINVAL when BUFLEN is too smal.
78643 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78645         [BZ #13553]
78646         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78647         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78649 2012-04-03  Andreas Jaeger  <aj@suse.de>
78651         [BZ #13938]
78652         * manual/setjmp.texi (System V contexts): Fix sentence.
78654         [BZ #13926]
78655         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78656         New macro for this case.
78657         [!__GNUC__] (__bswap_64): New inline function for this case.
78658         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78659         * bits/byteswap.h: Likewise.
78660         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78661         ull, guard with __GLIBC_HAVE_LONG_LONG.
78663         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78664         __GLIBC_HAVE_LONG_LONG.
78666         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78667         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78669 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78671         [BZ #13691]
78672         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78673         inptr and inend, rather than using last_ch.
78675 2012-04-02  David S. Miller  <davem@davemloft.net>
78677         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78678         * stdio-common/printf-parse.h (read_int): Change return type to
78679         'int', return -1 on INT_MAX overflow.
78680         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78681         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78682         overflows INT_MAX.  Check for overflow of in-format-string precision
78683         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78684         SIZE_MAX not INT_MAX for integer overflow test.
78685         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78686         skip the construct in the format string but do not record anything.
78687         * stdio-common/bug22.c: Adjust to test both width/prevision
78688         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78689         explicitly for proper errno values.
78691 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78693         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78694         CHAR_MAX.
78695         * string/test-strcmp.c [! WIDE]: Likewise.
78696         * time/tst-mktime2.c: Likewise for INT_MAX.
78697         * string/test-string.h: #include <sys/param.h> for MIN.
78699         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78700         * sysdeps/i386/init-first.c (init): Likewise.
78701         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78702         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78703         * sysdeps/sh/init-first.c (init): Likewise.
78705 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78707         * po/ru.po: Update from translation team.
78708         * po/vi.po: Likewise.
78710 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78712         * resolv/nss_dns/dns-host.c: Merge copyright years.
78714 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78716         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78717         Optimize memcpy with prefetch if
78718         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78719         src, dst pointers have unequal 16 byte alignments.
78721 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78723         [BZ #13928]
78724         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78725         from a CNAME entry and return the minimum ttl for the query.
78726         (gaih_getanswer_slice): Likewise.
78728 2012-03-30  Jeff Law  <law@redhat.com>
78730         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78731         due to long keys.
78732         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78733         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78735         * resolv/nss_dns/dns-host.c: Update copyright year.
78737 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78739         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78740         requests to save a system call.  Fix check that all bytes are sent.
78742         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78743         comments for sendmmsg.
78745 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78747         [BZ #13691]
78748         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78749         with only 1 character between 0x0041 and 0x01b0.
78750         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78751         * wcsmbs/tst-mbsnrtowcs.c: New file.
78753 2012-03-29  David S. Miller  <davem@davemloft.net>
78755         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78756         small copies by hand.
78758 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78760         [BZ #13761]
78761         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78762         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78763         group memberships.
78765 2012-03-28  David S. Miller  <davem@davemloft.net>
78767         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78768         that branches into memcpy.
78769         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78771         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78772         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78773         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78774         bits.
78775         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78776         implementation too.
78777         * sysdeps/sparc/mempcpy.S: New file.
78779         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78780         the IFUNC routine in the libc case.
78781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78783         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78784         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78785         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78786         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78787         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78788         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78789         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78790         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78792         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78793         loop to 256 bytes instead of 64 bytes and fix test signedness.
78795         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78796         * sysdeps/sparc/sparc32/Makefile: rather than here...
78797         * sysdeps/sparc/sparc64/Makefile: and here.
78799 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78801         * malloc/mallocbug.c: Avoid warnings about unused variables.
78803 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78805         [BZ #13760]
78806         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78807         in the right place. Discard and retry query if response is
78808         larger than input buffer size.
78810 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78812         [BZ #369]
78813         [BZ #2678]
78814         [BZ #3866]
78815         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78816         x for large integer exponent.
78817         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78818         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78819         sign of result as needed afterwards.
78820         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78821         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78822         result for underflowing pow the same as for overflow.
78823         (__kernel_standard_l): Handle powl overflow and underflow here
78824         rather than calling __kernel_standard.
78825         * math/libm-test.inc (pow_test): Add more tests.
78827         [BZ #3868]
78828         [BZ #13879]
78829         [BZ #13910]
78830         [BZ #13911]
78831         [BZ #13912]
78832         [BZ #13913]
78833         [BZ #13915]
78834         [BZ #13916]
78835         [BZ #13917]
78836         [BZ #13918]
78837         [BZ #13919]
78838         [BZ #13920]
78839         [BZ #13921]
78840         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78841         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78842         (__kernel_standard_l): New function.
78843         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78844         __kernel_standard.
78845         * math/w_acosl.c (__acosl): Likewise.
78846         * math/w_asinl.c (__asinl): Likewise.
78847         * math/w_atan2l.c (__atan2l): Likewise.
78848         * math/w_atanhl.c (__atanhl): Likewise.
78849         * math/w_coshl.c (__coshl): Likewise.
78850         * math/w_exp10l.c (__exp10l): Likewise.
78851         * math/w_exp2l.c (__exp2l): Likewise.
78852         * math/w_fmodl.c (__fmodl): Likewise.
78853         * math/w_hypotl.c (__hypotl): Likewise.
78854         * math/w_j0l.c (__j0l, __y0l): Likewise.
78855         * math/w_j1l.c (__j1l, __y1l): Likewise.
78856         * math/w_jnl.c (__jnl, __ynl): Likewise.
78857         * math/w_lgammal.c (__lgammal): Likewise.
78858         * math/w_log10l.c (__log10l): Likewise.
78859         * math/w_log2l.c (__log2l): Likewise.
78860         * math/w_logl.c (__logl): Likewise.
78861         * math/w_powl.c (__powl): Likewise.
78862         * math/w_remainderl.c (__remainderl): Likewise.
78863         * math/w_scalbl.c (sysv_scalbl): Likewise.
78864         * math/w_sinhl.c (__sinhl): Likewise.
78865         * math/w_sqrtl.c (__sqrtl): Likewise.
78866         * math/w_tgammal.c (__tgammal): Likewise.
78867         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78868         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78869         * math/libm-test.inc (acos_test): Add more tests.
78870         (acosh_test): Likewise.
78871         (asin_test): Likewise.
78872         (atanh_test): Likewise.
78873         (exp_test): Likewise.
78874         (exp10_test): Likewise.
78875         (exp2_test): Likewise.
78876         (expm1_test): Likewise.
78877         (lgamma_test): Likewise.
78878         (log_test): Likewise.
78879         (log10_test): Likewise.
78880         (log1p_test): Likewise.
78881         (log2_test): Likewise.
78882         (pow_test): Do not allow some spurious overflow exceptions.
78883         (sqrt_test): Add more tests.
78884         (tgamma_test): Likewise.
78885         (y0_test): Likewise.
78886         (y1_test): Likewise.
78887         (yn_test): Likewise.
78889 2012-03-27  Anton Blanchard  <anton@samba.org>
78891         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78892         MAP_HUGETLB.
78893         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78894         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78895         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78897 2012-03-27  David S. Miller  <davem@davemloft.net>
78899         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78901         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78902         have-as-vis3 check.
78904 2012-03-27  Andreas Jaeger  <aj@suse.de>
78906         * sysdeps/x86_64/elf/configure.in: Moved to ...
78907         * sysdeps/x86_64/configure.in: ... here.
78908         * sysdeps/x86_64/elf/start.S: Moved to ...
78909         * sysdeps/x86_64/start.S: ... here.
78910         * sysdeps/x86_64/elf/configure: Delete.
78912         * sysdeps/x86_64/configure.in: Merge contents from
78913         sysdeps/i386/configure.in (without i686 check).
78915         * sysdeps/i386/elf/Versions: Merge into ...
78916         * sysdeps/i386/Versions: ... this.
78917         * sysdeps/i386/elf/Versions: Delete file.
78918         * sysdeps/i386/elf/start.S: Moved to ...
78919         * sysdeps/i386/start.S: ...here.
78920         * sysdeps/i386/elf/configure.in: Merge into...
78921         * sysdeps/i386/configure.in: ...here.
78922         * sysdeps/i386/elf/configure.in: Delete file.
78923         * sysdeps/i386/elf/configure: Delete file.
78925         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78926         * debug/backtracesyms.c: ... here.
78927         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78928         * debug/backtracesymsfd.c: ... here.
78929         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78930         * sysdeps/generic/ifunc-sel.h: ... here.
78932         * sysdeps/unix/i386/start.c: Delete file.
78933         * sysdeps/unix/sparc/start.c: Delete file.
78934         * sysdeps/unix/start.c: Delete file.
78936         * sysdeps/sh/elf/configure.in: Moved to ...
78937         * sysdeps/sh/configure.in: ... here.
78938         * sysdeps/sh/elf/start.S: Moved to ...
78939         * sysdeps/sh/start.S: ... here.
78940         * sysdeps/sh/elf/configure: Delete file.
78942         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78943         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78944         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78945         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78946         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78947         * sysdeps/powerpc/powerpc64/start.S: here.
78948         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78949         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78950         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78951         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78952         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78954         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78955         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78956         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78957         * sysdeps/powerpc/powerpc32/start.S: ... here.
78958         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78959         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78960         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78962         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78963         * sysdeps/powerpc/ifunc-sel.h: ... here.
78964         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78965         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78967         * sysdeps/sparc/elf/configure.in: Moved to ...
78968         * sysdeps/sparc/configure.in: ... here.
78969         * sysdeps/sparc/elf/configure: Delete file.
78970         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78971         * sysdeps/sparc/sparc32/start.S: ... here.
78972         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78973         * sysdeps/sparc/sparc64/start.S: ... here.
78974         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78975         * sysdeps/sparc/sparc32/Makefile: ... this.
78976         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78977         * sysdeps/sparc/sparc64/Makefile: ... this.
78979         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78980         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78981         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78982         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78983         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78984         * sysdeps/s390/s390-32/setjmp.S: ... here.
78985         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78986         * sysdeps/s390/s390-32/configure.in: ... here.
78987         * sysdeps/s390/s390-32/elf/configure: Delete file.
78988         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78989         * sysdeps/s390/s390-32/start.S: ... here.
78991         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78992         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78993         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78994         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78995         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78996         * sysdeps/s390/s390-64/setjmp.S: ... here.
78997         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78998         * sysdeps/s390/s390-64/configure.in: ... here
78999         * sysdeps/s390/s390-64/elf/configure: Delete file.
79000         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79001         * sysdeps/s390/s390-64/start.S: ... here.
79002         * sysdeps/s390/s390-64/elf/configure: Delete.
79004         * configure.in: Remove support for elf directories in sysdeps.
79006         * configure: Regenerated.
79007         * sysdeps/i386/configure: Regenerated.
79008         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79009         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79010         * sysdeps/s390/s390-32/configure: Regenerated.
79011         * sysdeps/s390/s390-64/configure: Regenerated.
79012         * sysdeps/sh/configure: Regenerated.
79013         * sysdeps/sparc/configure: Regenerated.
79014         * sysdeps/x86_64/configure: Regenerated.
79016 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79020         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79021         denormal result into account.
79023 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79025         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79026         Reported by Allan McRae <allan@archlinux.org>.
79028 2012-03-23  Jeff Law  <law@redhat.com>
79030         * nss/getnssent.c (__nss_getent): Fix typo.
79032 2012-03-23  David S. Miller  <davem@davemloft.net>
79034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79036 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79038         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79039         to pad to uint64_t for each field.
79040         (dl_tls_index): Replace unsigned long with uint64_t.
79042 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79043         Paul Pluzhnikov  <ppluzhnikov@google.com>
79045         [BZ #6528]
79046         * grp/Makefile (otherlibs): Don't set it.
79047         * inet/Makefile (otherlibs): Likewise.
79048         * login/Makefile (otherlibs): Likewise.
79049         * nscd/Makefile (otherlibs): Likewise.
79050         * posix/Makefile (otherlibs): Likewise.
79051         * pwd/Makefile (otherlibs): Likewise.
79052         * rt/Makefile (otherlibs): Likewise.
79053         * sunrpc/Makefile (otherlibs): Likewise.
79054         * nss/Makefile (otherlibs): Likewise.
79055         Add libnss_files to routines and static-only-routines.
79056         ($(objpfx)getent): Remove rule.
79057         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79058         static-only-routines.
79060 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79062         [BZ #13892]
79063         * math/s_cexp.c: Include <float.h>.
79064         (__cexp): Handle exp result overflowing not necessarily
79065         overflowing both real and imaginary parts of result.
79066         * math/s_cexpf.c: Likewise.
79067         * math/s_cexpl.c: Likewise.
79068         * math/libm-test.inc (cexp_test): Add more tests.
79069         * sysdeps/i386/fpu/libm-test-ulps: Update.
79070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79072 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79074         * include/link.h (ELFW): New macro.
79075         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79076         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79078 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79080         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79081         with uint64_t.
79083 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79085         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79086         declaration.
79087         (struct La_x32_retval): Likewise.
79089 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79091         * sysdeps/x86_64/preconfigure.in: New file.
79092         * sysdeps/x86_64/preconfigure: New generated file.
79094 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79096         [BZ #13824]
79097         * math/e_exp2l.c: Include <float.h>.
79098         (__ieee754_exp2l): Handle overflow and underflow cases
79099         separately.  Only pass fractional part of argument to
79100         __ieee754_expl.
79101         * math/libm-test.inc (exp2_test): Add more tests.
79103         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79104         negating x to take absolute value.
79105         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79106         Likewise.
79107         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79108         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79109         Likewise.
79110         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79111         computing low part if x was negated.
79112         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79114 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79116         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79117         la_x32_gnu_pltexit.
79118         (pltexit): Cast int_retval to ptrdiff_t.
79119         * elf/tst-auditmod3b.c: Likewise.
79120         * elf/tst-auditmod4b.c: Likewise.
79121         * elf/tst-auditmod5b.c: Likewise.
79122         * elf/tst-auditmod6b.c: Likewise.
79123         * elf/tst-auditmod6c.c: Likewise.
79124         * elf/tst-auditmod7b.c: Likewise.
79126         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79127         and x32_gnu_pltexit.
79129         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79130         __ELF_NATIVE_CLASS.
79131         (La_x32_regs): New macro.
79132         (La_x32_retval): Likewise.
79133         (la_x32_gnu_pltenter): New function prototype.
79134         (la_x32_gnu_pltexit): Likewise.
79136 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79139         exponent.
79141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79143         * configure.in (libc_cv_cc_nofma): Check for option to disable
79144         generation of FMA instructions.
79145         * configure: Regenerate.
79146         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79147         * sysdeps/ieee754/dbl-64/Makefile: New file.
79148         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79149         Remove brandred-fma4.
79150         (CFLAGS-brandred-fma4.c): Remove.
79151         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79152         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79153         define.
79154         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79155         define.
79157 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79159         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79160         LLONG_MAX != LONG_MAX.
79161         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79162         (_fitoa_word): Likewise.
79163         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79164         LLONG_MAX != LONG_MAX.
79165         * stdio-common/_itowa.h: Include <_itoa.h>.
79166         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79167         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79168         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79169         only if not defined.
79170         (_ITOA_WORD_TYPE): Likewise.
79171         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79172         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79174 2012-03-21  David S. Miller  <davem@davemloft.net>
79176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79178 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79180         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79181         of x86_64 when setting libc_cv_slibdir, libdir and
79182         libc_cv_localedir.
79183         * sysdeps/unix/sysv/linux/configure: Regenerated.
79185 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79187         * manual/lang.texi (Old Varargs): Remove section.
79188         (How Variadic): Update menu.
79189         (va_start): Do not mention varargs.h.
79191 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79192             Joseph Myers  <joseph@codesourcery.com>
79194         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79195         link test.
79196         * configure: Regenerated.
79198 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79200         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79201         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79202         conformtest.pl
79204 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79206         * NOTES: Remove.
79207         * Makefile (files-for-dist): Remove NOTES.
79208         (NOTES): Remove rule.
79209         * README: Don't refer to NOTES.
79210         * manual/creature.texi: Don't include macros.texi.
79211         * manual/intro.texi (creature.texi): Remove comment referring to
79212         NOTES.
79214         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79215         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79216         * configure: Regenerated.
79217         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79218         LIBC_TRY_CC_OPTION.
79219         (libc_cv_as_i686): Likewise.
79220         (libc_cv_cc_avx): Likewise.
79221         (libc_cv_cc_sse2avx): Likewise.
79222         (libc_cv_cc_fma4): Likewise.
79223         (libc_cv_cc_novzeroupper): Likewise.
79224         * sysdeps/i386/configure: Regenerated.
79226         [BZ #13883]
79227         * sysdeps/i386/fpu/s_cexp.S: Remove.
79228         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79229         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79230         * math/libm-test.inc (cexp_test): Add more tests.
79231         * sysdeps/i386/fpu/libm-test-ulps: Update.
79232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79234 2012-03-21  Allan McRae  <allan@archlinux.org>
79236         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79238 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79240         [BZ #13871]
79241         * math/w_exp2.c: Do not include <float.h>.
79242         (o_threshold, u_threshold): Remove.
79243         (__exp2): Calculate result before checking finiteness and calling
79244         __kernel_standard.
79245         * math/w_exp2f.c: Likewise.
79246         * math/w_exp2l.c: Likewise.
79247         * math/libm-test.inc (exp2_test): Require overflow exception for
79248         1e6 input.
79250         [BZ #3866]
79251         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79252         range of signed 64-bit integers before using fistpll.  Remove
79253         checks for whether integers fit in mantissa bits.
79254         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79255         the range of signed 32-bit integers before using fistpl.  Remove
79256         checks for whether integers fit in mantissa bits.
79257         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79258         (__ieee754_powl): Test for y outside the range of signed 64-bit
79259         integers before using fistpll.  Reduce 64-bit values to 63-bit
79260         ones as needed.
79261         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79262         divide-by-zero is raised for zero to large negative powers.
79263         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79264         (__ieee754_powl): Test for y outside the range of signed 64-bit
79265         integers before using fistpll.  Reduce 64-bit values to 63-bit
79266         ones as needed.
79267         * math/libm-test.inc (pow_test): Add more tests.
79269 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79271         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79272         <stdio-common/_itoa.h>.
79273         * debug/segfault.c: Likewise.
79274         * elf/dl-cache.c: Likewise.
79275         * elf/dl-minimal.c: Likewise.
79276         * elf/dl-misc.c: Likewise.
79277         * elf/dl-sysdep.c: Likewise.
79278         * elf/dl-version.c: Likewise.
79279         * elf/rtld.c: Likewise.
79280         * hurd/hurdsock.c: Likewise.
79281         * hurd/lookup-retry.c: Likewise.
79282         * malloc/malloc.c: Likewise.
79283         * malloc/mtrace.c: Likewise.
79284         * nscd/nscd_getgr_r.c: Likewise.
79285         * nscd/nscd_getpw_r.c: Likewise.
79286         * nscd/nscd_getserv_r.c: Likewise.
79287         * posix/getopt_init.c: Likewise.
79288         * posix/wordexp.c: Likewise.
79289         * stdio-common/_itoa.c: Likewise.
79290         * stdio-common/printf_fphex.c: Likewise.
79291         * stdio-common/vfprintf.c: Likewise.
79292         * string/_strerror.c: Likewise.
79293         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79294         * sysdeps/i386/i686/hp-timing.h: Likewise.
79295         * sysdeps/mach/_strerror.c: Likewise.
79296         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79297         * sysdeps/mach/hurd/sethostid.c: Likewise.
79298         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79299         * sysdeps/mach/xpg-strerror.c: Likewise.
79300         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79301         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79302         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79303         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79304         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79305         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79306         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79307         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79308         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79309         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79310         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79311         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79312         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79313         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79314         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79315         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79316         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79317         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79318         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79319         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79320         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79322         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79324         * stdio-common/_itoa.h: Moved to ...
79325         * sysdeps/generic/_itoa.h: Here.
79327         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79329         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79330         instead of "_itoa.h" and "_itowa.h".
79331         * stdio-common/vfprintf.: Likewise.
79333 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79335         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79336         <bits/wordsize.h>.
79337         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79338         (__signbit): Likewise.
79339         (llrintf): Likewise.
79340         (llrint): Likewise.
79342 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79344         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79345         __WORDSIZE != 64.
79347 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79349         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79350         OVERFLOW_EXCEPTION_OK.
79351         * math/libm-test.inc ("Philosophy"): Update comment about
79352         exception testing.
79353         (OVERFLOW_EXCEPTION): Define.
79354         (OVERFLOW_EXCEPTION_OK): Likewise.
79355         (INVALID_EXCEPTION_OK): Renumber.
79356         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79357         (IGNORE_ZERO_INF_SIGN): Likewise.
79358         (test_exceptions): Handle FE_OVERFLOW.
79359         (exp10_test): Expect overflow exceptions.
79360         (exp2_test): Likewise.
79361         (expm1_test): Likewise.
79362         (nextafter_test): Likewise.
79363         (pow_test): Likewise.
79364         (scalbn_test): Likewise.
79365         (scalbln_test): Likewise.
79367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79369         * sysdeps/x86_64/bits/atomic.h
79370         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79371         64bit integer.
79372         (atomic_exchange_acq): Likewise.
79373         (__arch_exchange_and_add_body): Likewise.
79374         (__arch_add_body): Likewise.
79375         (atomic_add_negative): Likewise.
79376         (atomic_add_zero): Likewise.
79378 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79380         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79381         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79385         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79386         Check __x86_64__ instead of __WORDSIZE.
79388 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79390         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79392 2012-03-19  David S. Miller  <davem@davemloft.net>
79394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79396         * sysdeps/sparc/fpu/fenv_private.h: New file.
79397         * sysdeps/sparc/fpu/math_private.h: Use it.
79398         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79399         Remove.
79400         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79401         (libc_feholdexcept_setroundl): Remove.
79402         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79403         Remove.
79404         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79405         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79407 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79409         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79410         int64_t instead of long int.
79411         (INSERT_WORDS64): Likewise.
79413 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79415         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79416         _Unwind_GetCFA return to _Unwind_Ptr first.
79418 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79420         [BZ #13629]
79421         * math/s_clog.c: Include <float.h>.
79422         (__clog): Scale large or subnormal inputs.
79423         * math/s_clogf.c: Likewise.
79424         * math/s_clogl.c: Likewise.
79425         * math/s_clog10.c: Include <float.h>.
79426         (M_LOG10_2): Define.
79427         (__clog10): Scale large or subnormal inputs.
79428         * math/s_clog10f.c: Likewise.
79429         * math/s_clog10l.c: Likewise.
79430         * math/libm-test.inc (clog_test): Add more tests.
79431         (clog10_test): Likewise.
79432         * sysdeps/i386/fpu/libm-test-ulps: Update.
79433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79435         [BZ #11451]
79436         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79437         x and y.
79438         * math/libm-test.inc (atan2_test): Add another test.
79440         * Makerules (common-objdir-compile): Remove.
79441         * sysdeps/unix/Makefile (config-generated): Do not add
79442         $(unix-generated) to variable.
79443         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79444         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79445         Remove rule.
79446         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79447         Likewise.
79448         [generic bits/local_lim.h] (before-compile): Do not append to
79449         variable.
79450         [generic bits/local_lim.h] (common-generated): Likewise.
79451         [generic sys/param.h] (before-compile): Do not append to variable.
79452         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79453         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79454         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79455         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79456         include.
79457         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79458         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79459         [generic sys/param.h] ($(addprefix
79460         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79461         [generic sys/param.h] (common-generated): Do not append to
79462         variable.
79463         [generic sys/param.h] (sysdep_headers): Likewise.
79464         [generic bits/errno.h] (before-compile): Do not append to
79465         variable.
79466         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79467         rule.
79468         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79469         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79470         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79471         [generic bits/errno.h] (common-generated): Do not append to
79472         variable.
79473         [generic bits/ioctls.h] (before-compile): Do not append to
79474         variable.
79475         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79476         rule.
79477         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79478         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79479         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79480         rule.
79481         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79482         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79483         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79484         [generic bits/ioctls.h] (common-generated): Do not append to
79485         variable.
79486         [generic sys/syscall.h] (syscall.h): Remove variable.
79487         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79488         rule.
79489         [generic sys/syscall.h] (before-compile): Do not append to
79490         variable.
79491         [generic sys/syscall.h] (common-generated): Likewise.
79492         * sysdeps/unix/errnos-tmpl.c: Remove file.
79493         * sysdeps/unix/errnos.awk: Likewise.
79494         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79495         * sysdeps/unix/ioctls.awk: Likewise.
79496         * sysdeps/unix/mk-local_lim.c: Likewise.
79497         * sysdeps/unix/snarf-ioctls: Likewise.
79499 2012-03-19  Richard Henderson  <rth@twiddle.net>
79501         * sysdeps/i386/fpu/fenv_private.h: New file.
79502         * sysdeps/i386/fpu/math_private.h: Use it.
79503         (math_opt_barrier, math_force_eval): Remove.
79504         (libc_feholdexcept_setround_53bit): Remove.
79505         (libc_feupdateenv_53bit): Remove.
79506         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79507         (math_opt_barrier, math_force_eval): Remove.
79508         (libc_feholdexcept): Remove.
79509         (libc_feholdexcept_setround): Remove.
79510         (libc_fetestexcept, libc_fesetenv): Remove.
79511         (libc_feupdateenv_test): Remove.
79512         (libc_feupdateenv, libc_feholdsetround): Remove.
79513         (libc_feresetround): Remove.
79515         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79516         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79518         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79519         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79520         (libc_feupdateenv_testl): New.
79521         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79522         (libc_feupdateenv_testf): New.
79523         (libc_feupdateenv): Use libc_feupdateenv_test.
79524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79525         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79527         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79528         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79529         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79530         (libc_feresetround_noex): New.
79531         (libc_feresetround_noexf): New.
79532         (libc_feresetround_noexl): New.
79533         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79534         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79535         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79536         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79537         SET_RESTORE_ROUND.
79538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79540         (__cos): Likewise.
79541         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79542         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79543         SET_RESTORE_ROUND_NOEX.
79544         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79545         SET_RESTORE_ROUND_NOEXF.
79546         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79547         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79548         (libc_feholdsetroundf): New.
79549         (libc_feresetround, libc_feresetroundf): New.
79551         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79552         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79553         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79555         * sysdeps/generic/math_private.h: Include <fenv.h>.
79556         (default_libc_feholdexcept): New.
79557         (default_libc_feholdexcept_setround): New.
79558         (default_libc_fesetenv, default_libc_feupdateenv): New.
79559         (libc_feholdexcept): Only define if undefined.
79560         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79561         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79562         (libc_feholdexcept_setroundl): Likewise.
79563         (libc_feholdexcept_setround_53bit): Likewise.
79564         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79565         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79566         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79567         (libc_feupdateenv_53bit): Likewise.
79568         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79569         (libc_feholdexcept): Convert from macro to inline function.
79570         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79571         (libc_fesetenv, libc_feupdateenv): Likewise.
79573         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79574         not previously defined.
79575         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79576         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79577         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79578         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79579         * sysdeps/ieee754/flt-32/math_private.h: New file.
79580         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79581         math_private.h below SET_FLOAT_WORD.
79582         (__isnan, __isinf_ns, __finite): Remove.
79583         (__isnanf, __isinf_nsf, __finitef): Remove.
79585 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79589 2012-03-17  David S. Miller  <davem@davemloft.net>
79591         [BZ #6471]
79592         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79593         for 2.16.
79595 2012-03-16  David S. Miller  <davem@davemloft.net>
79597         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79598         warnings.
79600         [BZ #6471]
79601         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79602         properly.
79603         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79604         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79605         sysdep_routines when subdir is sysvipc.
79606         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79607         __getshmlba helper.
79609         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79611 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79613         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79614         [__LP64__].
79616 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79618         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79619         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79620         (__lround): Renamed to ...
79621         (__llround): This.  Replace long int with long long int.
79622         Define lround functions as aliases of llround functions.
79623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79625 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79627         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79628         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79629         adresses to uintptr_t.  Replace "long int" and "unsigned long
79630         int" with "greg_t" on va_arg.
79632 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79634         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79635         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79637         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79638         Move e_machine check before EI_CLASS check.  Handle x32
79639         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79640         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79641         SKIP_EM_IA_64 and include
79642         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79644         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79645         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79646         (add_system_dir): New macro.
79648         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79649         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79651 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79653         [BZ #2551]
79654         [BZ #2552]
79655         [BZ #2553]
79656         [BZ #2554]
79657         [BZ #2562]
79658         [BZ #2563]
79659         [BZ #2565]
79660         [BZ #2566]
79661         [BZ #2576]
79662         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79663         (y0): Likewise.
79664         * math/w_j0f.c (j0f): Likewise.
79665         (y0f): Likewise.
79666         * math/w_j0l.c (__j0l): Likewise.
79667         (__y0l): Likewise.
79668         * math/w_j1.c (j1): Likewise.
79669         (y1): Likewise.
79670         * math/w_j1f.c (j1f): Likewise.
79671         (y1f): Likewise.
79672         * math/w_j1l.c (__j1l): Likewise.
79673         (__y1l): Likewise.
79674         * math/w_jn.c (jn): Likewise.
79675         (yn): Likewise.
79676         * math/w_jnf.c (jnf): Likewise.
79677         (ynf): Likewise.
79678         * math/w_jnl.c (__jnl): Likewise.
79679         (__ynl): Likewise.
79680         * math/libm-test.inc (j0_test): Add more tests.
79681         (j1_test): Likewise.
79682         (jn_test): Likewise.  Add trailing semicolon to existing test.
79683         (y0_test): Likewise.
79684         (y1_test): Likewise.
79685         * sysdeps/i386/fpu/libm-test-ulps: Update.
79686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79688         [BZ #13851]
79689         [BZ #13854]
79690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79691         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79692         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79693         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79694         (__tanl): Set errno for infinite argument.
79695         * sysdeps/i386/fpu/mptan.c: Remove.
79696         * sysdeps/i386/fpu/s_tan.S: Likewise.
79697         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79698         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79699         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79700         * math/libm-test.inc (tan_test): Add more tests and enable more
79701         tests for double and long double.
79702         * sysdeps/i386/fpu/libm-test-ulps: Update.
79703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79705 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79707         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79708         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79710 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79712         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79713         * configure.in: Use it for both main tree and add-ons.
79714         * configure: Regenerated.
79716 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79718         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79720 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79722         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79723         in comment.
79725         [BZ #13851]
79726         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79727         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79728         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79729         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79730         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79731         infinite argument.
79732         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79734         != 0 for prec == 2.
79735         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79736         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79737         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79738         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79739         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79740         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79741         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79742         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79743         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79744         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79745         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79746         * math/libm-test.inc (cos_test): Add more tests and enable more
79747         tests for long double.
79748         (sin_test): Likewise.
79749         (sincos_test): Likewise.
79750         * sysdeps/i386/fpu/libm-test-ulps: Update.
79751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79753 2012-03-16  David S. Miller  <davem@davemloft.net>
79755         * sysdeps/sparc/fpu/math_private.h: New file.
79757 2012-03-15  David S. Miller  <davem@davemloft.net>
79759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79760         file.
79761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79763         file.
79764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79770         sysdep routines.
79771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79773         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79774         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79776         * sysdeps/sparc/sparc-ifunc.h: New file.
79777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79778         sparc-ifunc.h
79779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79781         Likewise.
79782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79783         Likewise.
79784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79788         Likewise.
79789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79794         Likewise.
79795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79796         Likewise.
79797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79816         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79817         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79818         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79820         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79822 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79824         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79825         scaling.
79826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79828 2012-03-15  Andreas Jaeger  <aj@suse.de>
79830         [BZ #13852]
79831         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79832         ieee754/flt-32 implementation for sin, cos and sincos.
79833         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79834         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79835         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79836         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79837         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79838         ieee754/flt-32 implementation for tan.
79840         * math/libm-test.inc (cos_test): Enable some large input tests for
79841         float as well
79842         (sin_test): Likewise.
79843         (sincos_test): Likewise.
79844         (tan_test): Add tests for large input.
79846         * sysdeps/i386/fpu/libm-test-ulps: Update.
79848 2012-03-15  Andreas Jaeger  <aj@suse.de>
79850         [BZ #13658]
79851         * math/libm-test.inc (cos_test): Add more test cases.
79852         (sin_test): Likewise.
79853         (sincos_test): Likewise.
79855 2012-03-15  Andreas Jaeger  <aj@suse.de>
79857         [BZ #13837]
79858         * math/libm-test.inc (cos_test): Add a test case for large input
79859         value.
79860         (sin_test): Likewise.
79861         (sincos_test): Likewise.
79863 2012-03-15  Andreas Jaeger  <aj@suse.de>
79864             Joseph Myers  <joseph@codesourcery.com>
79866         [BZ #13658]
79867         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79868         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79869         * sysdeps/i386/fpu/branred.c: Likewise.
79870         * sysdeps/i386/fpu/dosincos.c: Likewise.
79871         * sysdeps/i386/fpu/mpa.c: Likewise.
79872         * sysdeps/i386/fpu/s_cos.S: Likewise.
79873         * sysdeps/i386/fpu/s_sin.S: Likewise.
79874         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79875         * sysdeps/i386/fpu/sincos32.c: Likewise.
79877         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79878         Define.
79879         (libc_feupdateenv_53bit): Define.
79880         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79881         Define.
79882         (libc_feupdateenv_53bit): Define.
79884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79885         53 bit (without extend i386 double precision).
79887         * math/libm-test.inc (sincos_test): Add tests for large input.
79888         (sin): Likewise.
79889         (cos): Likewise.
79891         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79893 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79897 2012-03-15  David S. Miller  <davem@davemloft.net>
79899         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79900         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79901         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79902         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79915         file.
79916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79918         file.
79919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79921         file.
79922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79924         file.
79925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79927         fmin/fmax sysdep routines.
79928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79930 2012-03-14  David S. Miller  <davem@davemloft.net>
79932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79936         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79939         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79955         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79958         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79959         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79961         routines.
79962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79963         file.
79964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79966         file.
79967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79969         file.
79970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79972         file.
79973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79975         file.
79976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79978         file.
79979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79980         file.
79981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79982         file.
79983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79984         file.
79985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79986         New file.
79987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79988         file.
79989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79990         file.
79991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79993         file.
79994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79996         file.
79997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79999         file.
80000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80002         VIS3 routines.
80004         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80005         New file.
80007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80009         * sysdeps/sparc/configure.in: New file.
80010         * sysdeps/sparc/configure: Generate.
80011         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80012         * configure: Regenerate.
80013         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80014         * config.make.in (have-as-vis3): New.
80015         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80016         available use -Av9d instead of -Av9a.
80017         * sysdeps/sparc/sparc64/Makefile: Likewise.
80018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80020         New file.
80021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80022         file.
80023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80024         New file.
80025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80026         file.
80027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80028         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80031         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80033         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80034         fzeros/fnegs to load 0x80000000 into a float register instead of
80035         using the stack.
80036         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80038 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80041         bits/syscall.h.
80042         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80043         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80044         ($(inst_includedir)/bits/syscall.h): Remove rule.
80045         ($(objpfx)bits/syscall.d): Include instead of
80046         $(objpfx)syscall-list.d.
80047         (generated): Change syscall-list.h and syscall-list.d to
80048         bits/syscall.h and bits/syscall.d.
80050 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80052         [BZ #13846]
80053         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80055 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80057         [BZ #13841]
80058         * math/s_csqrt.c: Include <float.h>.
80059         (__csqrt): Scale large or subnormal inputs.
80060         * math/s_csqrtf.c: Likewise.
80061         * math/s_csqrtl.c: Likewise.
80062         * math/libm-test.inc (csqrt_test): Add more tests.
80063         * sysdeps/i386/fpu/libm-test-ulps: Update.
80064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80066         [BZ #13840]
80067         * math/libm-test.inc (hypot_test): Add more tests.
80069 2012-03-13  David S. Miller  <davem@davemloft.net>
80071         [BZ #13840]
80072         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80073         double-precision for the calculation instead of scaling.
80075 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80077         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80078         manipulate bits before adding and subtracting TWO52[sx].
80079         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80080         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80081         Likewise.
80082         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80084 2012-03-13  David S. Miller  <davem@davemloft.net>
80086         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80087         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80089         rtld-global-offsets.h
80090         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80092         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80093         large parameters.
80095         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80097         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80098         'err' in the ifdef scope in which it is actually used.
80100         * nss/nss_db/db-init.c: Include string.h
80102 2012-03-12  David S. Miller  <davem@davemloft.net>
80104         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80105         masking out of the most significant byte of random value used.
80106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80107         Fix coding style in previous change.
80109         * sysdeps/unix/sysv/linux/kernel-features.h
80110         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80111         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80112         expression.
80113         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80114         later.
80116 2012-03-11  David S. Miller  <davem@davemloft.net>
80118         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80119         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80120         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80121         for 'resultvar' otherwise things get truncated on 64-bit.
80123         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80124         Fix masking out of the most significant byte of random value used.
80126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80128 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80132 2012-03-09  David S. Miller  <davem@davemloft.net>
80134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80135         variables with appropriate CPP guards.
80136         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80137         from the frame pointer, not the stack pointer.  Correct layout
80138         comments.  Fix test on resulting framesize and the management of
80139         the outregs buffer for pltexit.  Preserve floating point return
80140         values across _dl_call_pltexit call.
80141         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80142         framesize and the management of the outregs buffer for pltexit.
80143         Preserve floating point return values across _dl_call_pltexit
80144         call.
80145         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80146         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80147         (la_sparc64_gnu_pltexit): New functions.
80148         (print_exit): Fix format string for return register value.
80150 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80152         * sunrpc/Makefile (others): Add rpcgen.
80153         ($(objpfx)rpcgen): Remove special build rule and dependency on
80154         libc.
80155         * sunrpc/rpcgen.c: New file.
80157 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80159         [BZ #13673]
80160         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80161         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80162         * sysdeps/i386/crti.S: Likewise.
80163         * sysdeps/i386/crtn.S: Likewise.
80164         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80165         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80166         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80167         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80168         * sysdeps/sh/crti.S: Likewise.
80169         * sysdeps/sh/crtn.S: Likewise.
80170         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80172         [BZ #13673]
80173         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80174         with URL.
80175         * locale/programs/locfile-kw.gperf: Likewise.
80176         * locale/programs/charmap-kw.h: Regenerated.
80177         * locale/programs/locfile-kw.h: Likewise.
80179         [BZ #13673]
80180         * intl/plural.y: Replace FSF snail mail address with URL.
80181         * intl/plural.c: Regenerated.
80183 2012-03-09  Richard Henderson  <rth@twiddle.net>
80185         * include/math_private.h: Remove file.
80186         * math/math_private.h: Move file ...
80187         * sysdeps/generic/math_private.h: ... here.
80189         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80190         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80191         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80193         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80194         and <math_private.h>.
80195         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80196         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80197         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80198         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80199         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80200         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80201         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80202         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80203         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80204         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80206         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80207         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80208         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80209         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80210         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80211         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80212         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80213         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80214         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80216         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80217         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80219         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80220         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80221         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80224         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80225         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80226         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80227         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80228         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80229         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80230         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80231         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80232         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80233         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80234         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80235         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80236         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80237         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80238         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80239         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80240         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80241         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80242         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80243         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80244         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80245         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80246         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80247         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80248         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80249         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80250         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80251         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80252         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80253         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80254         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80255         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80256         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80257         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80258         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80259         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80260         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80261         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80262         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80263         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80264         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80265         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80266         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80267         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80269         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80274         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80275         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80276         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80277         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80278         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80279         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80281         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80282         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80283         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80284         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80285         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80286         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80287         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80288         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80289         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80290         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80291         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80292         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80293         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80295         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80296         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80297         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80298         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80299         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80300         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80301         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80302         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80303         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80305         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80306         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80307         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80308         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80309         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80310         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80311         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80312         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80313         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80314         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80315         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80316         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80317         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80318         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80319         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80320         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80321         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80322         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80323         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80324         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80325         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80326         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80327         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80328         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80329         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80330         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80331         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80332         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80333         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80334         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80335         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80336         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80337         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80338         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80339         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80340         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80341         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80342         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80343         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80344         * sysdeps/ieee754/k_standard.c: Likewise.
80345         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80347         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80349         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80352         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80353         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80354         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80355         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80357         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80358         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80359         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80361         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80362         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80363         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80372         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80376         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80378         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80383         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80388         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80392         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80395         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80396         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80397         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80399         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80400         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80405         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80411         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80412         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80413         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80414         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80418         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80419         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80421         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80422         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80423         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80424         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80425         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80426         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80427         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80428         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80429         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80430         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80431         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80432         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80433         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80434         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80436         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80437         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80438         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80439         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80440         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80441         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80442         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80443         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80444         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80445         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80446         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80447         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80448         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80449         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80450         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80451         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80452         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80453         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80454         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80455         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80456         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80457         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80458         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80459         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80460         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80461         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80462         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80463         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80464         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80465         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80466         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80467         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80468         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80469         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80470         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80471         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80472         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80473         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80474         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80475         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80476         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80477         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80478         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80479         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80480         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80481         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80482         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80483         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80484         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80485         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80486         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80487         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80488         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80489         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80490         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80491         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80492         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80493         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80494         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80495         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80496         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80497         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80498         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80499         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80500         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80501         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80502         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80503         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80504         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80505         * sysdeps/ieee754/s_lib_version.c: Likewise.
80506         * sysdeps/ieee754/s_matherr.c: Likewise.
80507         * sysdeps/ieee754/s_signgam.c: Likewise.
80508         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80509         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80510         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80511         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80512         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80513         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80514         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80515         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80516         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80517         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80518         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80519         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80520         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80521         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80522         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80523         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80524         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80525         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80530 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80532         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80533         * sunrpc/rpc_main.c: Likewise.
80534         * sunrpc/rpc_svcout.c: Likewise.
80536 2012-03-09  David S. Miller  <davem@davemloft.net>
80538         * include/math_private.h: New file.
80540 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80542         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80543         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80544         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80545         from <bits/socket_type.h>.
80546         (enum __socket_type): Don't define here.
80547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80549         bits/socket_type.h.
80551         [BZ #13566]
80552         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80553         checking __USE_GNU.
80555         * Makerules ($(inst_includedir)/%.h): New rule.
80556         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80557         (install-others): Remove variable setting.
80558         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80560 2012-03-08  Richard Henderson  <rth@twiddle.net>
80562         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80563         from macro to inline function; merge with the
80564         !__LIBC_INTERNAL_MATH_INLINES version.
80565         (__ieee754_sqrtf): Likewise.
80567         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80568         to inline function.
80569         (__rintf, __floor, __floorf): Likewise.
80571         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80572         macro to inline function.
80573         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80575         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80576         not <math/math_private.h>.
80578 2012-03-08  David S. Miller  <davem@davemloft.net>
80580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80581         copyright year.
80582         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80584 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80586         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80587         normalization.
80588         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80589         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80591 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80593         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80594         be defined individually, they must be defined as a block.  Define
80595         S for printing a string instead of hidint the different by using a
80596         macro for adding the 'l'.
80597         * stdio-common/tst-fphex-wide.c: Adjust.
80599 2012-03-07  Marek Polacek  <polacek@redhat.com>
80601         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80603 2012-03-08  Marek Polacek  <polacek@redhat.com>
80605         [BZ #13806]
80606         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80607         * stdio-common/tst-fphex.c: Define a few macros to make the
80608         test reusable.  Use them.
80609         * stdio-common/tst-fphex-wide.c: New file.
80611 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80613         [BZ #6911]
80614         * manual/macros.texi (gnusystems): New macro.
80615         (nongnusystems): Likewise.
80616         (gnulinuxhurdsystems): Likewise.
80617         (gnuhurdsystems): Likewise..
80618         (gnulinuxsystems): Likewise.
80619         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80620         variants of the GNU system, not "GNU system".
80621         * manual/conf.texi: Likewise.
80622         * manual/errno.texi: Likewise.  Update example of errno macro
80623         expansion.
80624         * manual/filesys.texi: Likewise.
80625         (getumask): Document as specific to GNU/Hurd.
80626         * manual/install.texi: Likewise.  Reword some references to
80627         GNU/Linux.
80628         * manual/intro.texi: Likewise.
80629         * manual/io.texi: Likewise.
80630         (File Name Portability): Detail which constraints are inapplicable
80631         to all GNU systems and which are only inapplicable to GNU/Hurd.
80632         * manual/job.texi: Likewise.
80633         * manual/llio.texi: Likewise.
80634         (O_NOCTTY): Document as present on GNU/Linux.
80635         * manual/maint.texi: Likewise.
80636         * manual/memory.texi: Likewise.
80637         * manual/pattern.texi: Likewise.
80638         * manual/pipe.texi: Likewise.
80639         * manual/process.texi: Likewise.
80640         * manual/resource.texi: Likewise.
80641         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80642         child on GNU/Hurd.
80643         * manual/setjmp.texi: Likewise.
80644         * manual/signal.texi: Likewise.
80645         * manual/startup.texi: Likewise.
80646         * manual/stdio.texi: Likewise.
80647         * manual/terminal.texi: Likewise.
80648         (ONLCR): Document as POSIX.
80649         (OXTABS): Document availability on GNU/Linux as XTABS.
80650         (ONOEOT): Document availability separately from other bits.
80651         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80652         * manual/time.texi: Likewise.
80653         * manual/users.texi: Likewise.
80654         * INSTALL: Regenerated.
80655         * sysdeps/gnu/errlist.c: Regenerated.
80657         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80658         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80659         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80660         puts.
80661         * configure: Regenerated.
80663 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80665         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80666         default includes instead of AC_HEADER_CHECK.
80667         * sysdeps/i386/configure: Regenerated.
80669         [BZ #10716]
80670         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80671         * math/s_cacoshf.c (__cacoshf): Likewise.
80672         * math/s_cacoshl.c (__cacoshl): Likewise.
80673         * math/s_casinh.c (__casinh): Set signs of result from argument.
80674         * math/s_casinhf.c (__casinhf): Likewise.
80675         * math/s_casinhl.c (__casinhl): Likewise.
80676         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80677         (casinh_test): Add more tests.
80678         * sysdeps/i386/fpu/libm-test-ulps: Update.
80679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80681 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80683         * po/zh_TW.po: Update from translation team.
80685         * login/Makefile (distribute): Remove variable.
80686         * catgets/Makefile: Likewise.
80687         * mach/Makefile: Likewise.
80688         * malloc/Makefile: Likewise.
80689         * misc/Makefile: Likewise.
80690         * iconv/Makefile: Likewise.
80691         * nscd/Makefile: Likewise.
80692         * hurd/Makefile: Likewise.
80693         * manual/Makefile: Likewise.
80694         * locale/Makefile: Likewise.
80695         * intl/Makefile: Likewise.
80696         * conform/Makefile: Likewise.
80697         * nss/Makefile: Likewise.
80698         * time/Makefile: Likewise.
80699         * soft-fp/Makefile: Likewise.
80700         * dirent/Makefile: Likewise.
80701         * gmon/Makefile: Likewise.
80702         * po/Makefile: Likewise.
80703         * rt/Makefile: Likewise.
80704         * socket/Makefile: Likewise.
80705         * math/Makefile: Likewise.
80706         * signal/Makefile: Likewise.
80707         * debug/Makefile: Likewise.
80708         * elf/Makefile: Likewise.
80709         * timezone/Makefile: Likewise.
80710         * stdlib/Makefile: Likewise.
80711         * iconvdata/Makefile: Likewise.
80712         * sunrpc/Makefile: Likewise.
80713         * io/Makefile: Likewise.
80714         * argp/Makefile: Likewise.
80715         * inet/Makefile: Likewise.
80716         * hesiod/Makefile: Likewise.
80717         * grp/Makefile: Likewise.
80718         * csu/Makefile: Likewise.
80719         * wctype/Makefile: Likewise.
80720         * crypt/Makefile: Likewise.
80721         * libio/Makefile: Likewise.
80722         * string/Makefile: Likewise.
80723         * nis/Makefile: Likewise.
80724         * resolv/Makefile: Likewise.
80725         * stdio-common/Makefile: Likewise.
80726         * wcsmbs/Makefile: Likewise.
80727         * dlfcn/Makefile: Likewise.
80728         * posix/Makefile: Likewise.
80730         [BZ #6959]
80731         * timezone/Makefile: Don't install timezone files, just the programs
80732         and scripts.
80734 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80736         * nss/databases.def: Add missing gshadow entry.
80738         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80740 2012-03-06  Marek Polacek  <polacek@redhat.com>
80742         [BZ #13726]
80743         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80744         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80745         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80746         * stdio-common/tst-long-dbl-fphex.c: New file.
80748 2012-03-06  David S. Miller  <davem@davemloft.net>
80750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80751         (set_obp_int): New function.
80752         (get_obp_int): New function.
80753         (__get_clockfreq_via_dev_openprom): Likewise.
80754         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80755         Avoid unused variable warnings on 'val' and use builtin_expect.
80756         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80757         __builtin_expect.
80758         (INLINE_CLONE_SYSCALL): Likewise.
80760 2012-03-05  David S. Miller  <davem@davemloft.net>
80762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80764 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80768         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80769         only for |x| >= 40.
80770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80772 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80774         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80775         Replace gettimeofday with __vdso_gettimeofday.
80777         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80778         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80779         __vdso_clock_gettime and __vdso_getcpu.
80781         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80782         time with __vdso_time.
80784 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80786         * manual/lang.texi (size_t): Note types to which size_t may be
80787         equivalent with the GNU C Library, but do not describe when
80788         differences between them are significant.
80790 2012-03-05  Andreas Jaeger  <aj@suse.de>
80792         * sysdeps/i386/fpu/libm-test-ulps: Update.
80794 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80796         [BZ #3976]
80797         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80798         (__ieee754_pow): Save and restore rounding mode and use
80799         round-to-nearest for main computations.
80800         * math/libm-test.inc (pow_test_tonearest): New function.
80801         (pow_test_towardzero): Likewise.
80802         (pow_test_downward): Likewise.
80803         (pow_test_upward): Likewise.
80804         (main): Call the new functions.
80805         * sysdeps/i386/fpu/libm-test-ulps: Update.
80806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80808         [BZ #3976]
80809         * math/libm-test.inc (cosh_test_tonearest): New function.
80810         (cosh_test_towardzero): Likewise.
80811         (cosh_test_downward): Likewise.
80812         (cosh_test_upward): Likewise.
80813         (sinh_test_tonearest): Likewise.
80814         (sinh_test_towardzero): Likewise.
80815         (sinh_test_downward): Likewise.
80816         (sinh_test_upward): Likewise.
80817         (main): Call the new functions.
80818         * sysdeps/i386/fpu/libm-test-ulps: Update.
80819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80821 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80823         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80824         default stack guard is set in last bytes.
80825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80827 2012-03-05  Kees Cook  <keescook@chromium.org>
80829         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80831         [BZ #13656]
80832         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80833         possibly allocate from heap instead of stack.
80834         * stdio-common/bug-vfprintf-nargs.c: New file.
80835         * stdio-common/Makefile (tests): Add nargs overflow test.
80837 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80841 2012-03-03  Marek Polacek  <polacek@redhat.com>
80843         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80844         * math/math_private.h: Likewise.
80845         * stdlib/tst-strtod.c: Likewise.
80846         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80847         * sysdeps/x86_64/bits/atomic.h: Likewise.
80849 2012-03-02  David S. Miller  <davem@davemloft.net>
80851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80855         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80856         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80857         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80858         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80860 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80862         [BZ #13792]
80863         * manual/examples/README: New file, says the example source files
80864         can be used under GPL>=2.
80865         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80866         line containing just "*/".
80867         * manual/examples/add.c: Add copyright header (GPL>=2).
80868         * manual/examples/argp-ex1.c: Likewise.
80869         * manual/examples/argp-ex2.c: Likewise.
80870         * manual/examples/argp-ex3.c: Likewise.
80871         * manual/examples/argp-ex4.c: Likewise.
80872         * manual/examples/atexit.c: Likewise.
80873         * manual/examples/db.c: Likewise.
80874         * manual/examples/dir.c: Likewise.
80875         * manual/examples/dir2.c: Likewise.
80876         * manual/examples/execinfo.c: Likewise.
80877         * manual/examples/filecli.c: Likewise.
80878         * manual/examples/filesrv.c: Likewise.
80879         * manual/examples/fmtmsgexpl.c: Likewise.
80880         * manual/examples/genpass.c: Likewise.
80881         * manual/examples/inetcli.c: Likewise.
80882         * manual/examples/inetsrv.c: Likewise.
80883         * manual/examples/isockad.c: Likewise.
80884         * manual/examples/longopt.c: Likewise.
80885         * manual/examples/memopen.c: Likewise.
80886         * manual/examples/memstrm.c: Likewise.
80887         * manual/examples/mkfsock.c: Likewise.
80888         * manual/examples/mkisock.c: Likewise.
80889         * manual/examples/mygetpass.c: Likewise.
80890         * manual/examples/pipe.c: Likewise.
80891         * manual/examples/popen.c: Likewise.
80892         * manual/examples/rprintf.c: Likewise.
80893         * manual/examples/search.c: Likewise.
80894         * manual/examples/select.c: Likewise.
80895         * manual/examples/setjmp.c: Likewise.
80896         * manual/examples/sigh1.c: Likewise.
80897         * manual/examples/sigusr.c: Likewise.
80898         * manual/examples/stpcpy.c: Likewise.
80899         * manual/examples/strdupa.c: Likewise.
80900         * manual/examples/strftim.c: Likewise.
80901         * manual/examples/strncat.c: Likewise.
80902         * manual/examples/subopt.c: Likewise.
80903         * manual/examples/swapcontext.c: Likewise.
80904         * manual/examples/termios.c: Likewise.
80905         * manual/examples/testopt.c: Likewise.
80906         * manual/examples/testpass.c: Likewise.
80907         * manual/examples/timeval_subtract.c: Likewise.
80909         [BZ #13792]
80910         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80911         function to ...
80912         * manual/timeval_subtract.c.texi: ... here, new file.
80914 2012-03-02  David S. Miller  <davem@davemloft.net>
80916         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80918 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80920         [BZ #3976]
80921         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80922         (__sin): Save and restore rounding mode and use round-to-nearest
80923         for all computations.
80924         (__cos): Save and restore rounding mode and use round-to-nearest
80925         for all computations.
80926         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80927         <fenv.h>.
80928         (tan): Save and restore rounding mode and use round-to-nearest for
80929         all computations.
80930         * math/libm-test.inc (cos_test_tonearest): New function.
80931         (cos_test_towardzero): Likewise.
80932         (cos_test_downward): Likewise.
80933         (cos_test_upward): Likewise.
80934         (sin_test_tonearest): Likewise.
80935         (sin_test_towardzero): Likewise.
80936         (sin_test_downward): Likewise.
80937         (sin_test_upward): Likewise.
80938         (tan_test_tonearest): Likewise.
80939         (tan_test_towardzero): Likewise.
80940         (tan_test_downward): Likewise.
80941         (tan_test_upward): Likewise.
80942         (main): Call the new functions.
80943         * sysdeps/i386/fpu/libm-test-ulps: Update.
80944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80946         [BZ #10135]
80947         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80948         small n, then large n, before computing and testing k+n.
80949         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80950         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80951         Likewise.
80952         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80953         Likewise.
80954         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80955         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80956         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80957         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80960         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80962         * math/libm-test.inc (scalbn_test): Add more tests.
80963         (scalbln_test): Likewise.
80965         * manual/filesys.texi (mode_t): Describe constraints on size and
80966         signedness, not exact equivalence to a particular type.
80967         (ino_t): Likewise.
80968         (ino64_t): Likewise.
80969         (dev_t): Likewise.
80970         (nlink_t): Likewise.
80971         (blkcnt_t): Likewise.
80972         (blkcnt64_t): Likewise.
80973         * manual/llio.texi (off_t): Likewise.
80975         [BZ #3976]
80976         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80977         (__ieee754_exp): Save and restore rounding mode and use
80978         round-to-nearest for all computations.
80979         * math/libm-test.inc (exp_test_tonearest): New function.
80980         (exp_test_towardzero): Likewise.
80981         (exp_test_downward): Likewise.
80982         (exp_test_upward): Likewise.
80983         (main): Call the new functions.
80984         * sysdeps/i386/fpu/libm-test-ulps: Update.
80985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80987 2012-03-01  Chris Demetriou  <cgd@google.com>
80989         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80990         have predictable order.
80992 2012-03-01  David S. Miller  <davem@davemloft.net>
80994         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80996         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80997         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80998         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80999         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81001         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81002         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81003         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81005         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81006         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81007         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81008         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81009         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81013         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81014         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81015         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81017         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81018         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81019         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81020         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81021         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81022         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81023         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81024         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81025         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81026         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81027         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81028         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81030         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81031         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81033         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81034         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81035         * sysdeps/sparc/elf/configure: Regenerated.
81037 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81039         * configure.in (AS, LD): Require binutils 2.20 or later.
81040         * configure: Regenerated.
81041         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81042         as required minimum version.
81043         * INSTALL: Regenerated.
81045         [BZ #2541]
81046         [BZ #4108]
81047         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81048         before squaring exponent.
81049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81050         bottom long double and 27 bits of top long double before squaring
81051         exponent.
81052         * math/libm-test.inc (erfc_test): Add more tests.
81053         * sysdeps/i386/fpu/libm-test-ulps: Update.
81054         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81057 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81059         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81060         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81061         containing bit-fields.
81062         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81063         * soft-fp/single.h (_FP_UNION_S): Likewise.
81064         * soft-fp/double.h (_FP_UNION_D): Likewise.
81066 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81068         [BZ #13786]
81069         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81070         not include ../strcmp.S.
81071         [USE_AS_STRNCASECMP_L]: Likewise.
81072         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81073         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81074         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81075         (__strncasecmp_l_ia32): Define as alias to
81076         __strncasecmp_l_nonascii.
81078         [BZ #5794]
81079         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81080         * sysdeps/i386/fpu/libm-test-ulps: Update.
81081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81083         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81086 2012-02-29  Jeff Law  <law@redhat.com>
81088         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81089         out of bounds read.
81091 2012-02-29  Marek Polacek  <polacek@redhat.com>
81093         [BZ #13706]
81094         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81095         * elf/Makefile: Add rules to run tst-unused-dep.out.
81097 2012-02-28  David S. Miller  <davem@davemloft.net>
81099         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81100         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81101         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81102         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81103         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81104         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81106 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81108         * math/libm-test.inc (llround_test): Move one test from
81109         lround_test.  Use TEST_f_L in moved test.
81110         (lround_test): Move misplaced test to llround_test.  Add testcase
81111         from bug 2561.
81113 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81115         * sysdeps/x86_64/fpu/e_expf.S: New file.
81116         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81118 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81120         [BZ #13637]
81121         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81122         of remain_len that may cause incomplete multi-byte character and
81123         false match.
81124         * posix/bug-regex33.c: New file.
81125         * posix/Makefile (tests): Add bug-regex33.
81127 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81129         * manual/macros.texi: New file.
81130         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81131         * manual/libc.texinfo: Include macros.texi.
81132         * manual/creatute.texi: Likewise.
81133         * manual/install.texi: Likewise.
81134         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81135         @glibcadj{} in references to the GNU C Library.
81136         * manual/charset.texi: Likewise.
81137         * manual/conf.texi: Likewise.
81138         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81139         when not using those macros.
81140         * manual/creature.texi: Likewise.
81141         * manual/crypt.texi: Likewise.
81142         * manual/errno.texi: Likewise.
81143         * manual/filesys.texi: Likewise.
81144         * manual/header.texi: Likewise.
81145         * manual/install.texi: Likewise.
81146         * manual/intro.texi: Likewise.
81147         * manual/io.texi: Likewise.
81148         * manual/job.texi: Likewise.
81149         * manual/lang.texi: Likewise.
81150         * manual/libc.texiinfo: Likewise.
81151         * manual/llio.texi: Likewise.
81152         * manual/locale.texi: Likewise.
81153         * manual/maint.texi: Likewise.
81154         * manual/math.texi: Likewise.
81155         * manual/memory.texi: Likewise.
81156         * manual/message.texi: Likewise.
81157         * manual/nss.texi: Likewise.
81158         * manual/pattern.texi: Likewise.
81159         * manual/process.texi: Likewise.
81160         * manual/resource.texi: Likewise.
81161         * manual/search.texi: Likewise.
81162         * manual/setjmp.texi: Likewise.
81163         * manual/signal.texi: Likewise.
81164         * manual/socket.texi: Likewise.
81165         * manual/startup.texi: Likewise.
81166         * manual/stdio.texi: Likewise.
81167         * manual/string.texi: Likewise.
81168         * manual/sysinfo.texi: Likewise.
81169         * manual/syslog.texi: Likewise.
81170         * manual/terminal.texi: Likewise.
81171         * manual/time.texi: Likewise.
81172         * manual/users.texi: Likewise.
81173         * INSTALL: Regenerated.
81174         * NOTES: Regenerated.
81175         * sysdeps/gnu/errlist.c: Regenerated.
81177 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81179         * include/dirent.h: Include <dirstream.h> before
81180         <dirent/dirent.h>.
81182 2012-02-28  David S. Miller  <davem@davemloft.net>
81184         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81185         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81186         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81187         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81189 2012-02-27  David S. Miller  <davem@davemloft.net>
81191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81193         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81194         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81197         frame pointer instead of stack pointer relative arg slot.
81198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81199         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81200         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81202 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81204         [BZ #3992]
81205         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81207 2012-02-27  David S. Miller  <davem@davemloft.net>
81209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81213         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81214         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81215         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81216         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81218 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81220         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81221         later.  Allow versions 5-9.
81222         * configure: Regenerated.
81223         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81224         required minimum version and 4.6 as recommended version.  Do not
81225         mention bugs in GCC 2.7 and 2.8.
81226         * INSTALL: Regenerated.
81228 2012-02-27  David S. Miller  <davem@davemloft.net>
81230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81234         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81235         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81236         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81237         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81239         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81240         manipulate bits before adding and subtracting TWO112[sx].
81241         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81243 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81245         [BZ #13775]
81246         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81247         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81248         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81249         being in POSIX, because they are in 1003.1-2008.
81251         * rt/tst-aio.c: Include <fcntl.h>.
81252         * rt/tst-aio7.c: Likewise.
81253         * rt/tst-aio64.c: Likewise.
81255         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81257 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81259         * manual/install.texi (--with-headers): Describe headers as
81260         interface headers, not private headers.
81261         (Specific advice for GNU/Linux systems): Describe use of headers
81262         from "make headers_install", not private headers from older
81263         kernels.
81264         * INSTALL: Regenerated.
81265         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81266         Change to 2.6.19.
81267         * sysdeps/unix/sysv/linux/configure: Regenerated.
81269         * manual/llio.texi (fclean): Remove documentation.
81271         * manual/Makefile (libc-texi-generated): New variable.  Include
81272         version.texi.
81273         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81274         $(libc-texi-generated), not duplicated list of files.
81275         (version.texi, stamp-version): New rules.
81276         (realclean): Remove $(libc-texi-generated), not individual files
81277         from that list.  Do not remove dir-add.texinfo.
81278         * manual/libc.texinfo: Comment out uses of edition numbers and
81279         references to printed manual.  Remove last-updated dates.
81280         (EDITION): Comment out.
81281         (ISBN): Likewise.
81282         (VERSION, UPDATED): Remove.
81283         (version.texi): Include.
81285 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81287         * sysdeps/posix/spawni.c: Include <signal.h>.
81288         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81289         * sysdeps/pthread/aio_fsync.c: Likewise.
81291 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81293         * conform/Makefile (tests): Run only when not cross-compiling and
81294         when fast-check is not defined.
81296         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81297         * conform/data/limits.h-data: Fixes for POSIX2008.
81298         * conform/run-conformtest.sh: Run all tests.
81299         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81300         headers.
81301         * include/bits/dlfcn.h: Likewise.
81302         * include/langinfo.h: Likewise.
81303         * include/monetary.h: Likewise.
81304         * include/sys/poll.h: Likewise.
81306         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81307         for __USE_GNU.
81308         * posix/spawn.h: Define __need_sigset_t.
81309         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81310         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81311         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81312         to get sigevent_t only.
81313         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81314         only for __USE_GNU.
81315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81316         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81317         process_vm_writev only for __USE_GNU.
81318         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81320         * conform/Makefile: For now ignore errors from run-conformtest.
81321         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81322         POSIX to avoid namespace pollution.  Don't prepend headers.
81323         * conform/data/aio.h-data: Fixes for POSIX testing.
81324         * conform/data/fcntl.h-data: Likewise.
81325         * conform/data/glob.h-data: Likewise.
81326         * conform/data/grp.h-data: Likewise.
81327         * conform/data/pthread.h-data: Likewise.
81328         * conform/data/pwd.h-data: Likewise.
81329         * conform/data/signal.h-data: Likewise.
81330         * conform/data/spawn.h-data: Likewise.
81331         * conform/data/stdio.h-data: Likewise.
81332         * conform/data/stdlib.h-data: Likewise.
81333         * conform/data/stropts.h-data: Likewise.
81334         * conform/data/sys/mman.h-data: Likewise.
81335         * conform/data/sys/stat.h-data: Likewise.
81336         * conform/data/sys/types.h-data: Likewise.
81337         * conform/data/sys/wait.h-data: Likewise.
81338         * conform/data/time.h-data: Likewise.
81339         * conform/data/unistd.h-data: Likewise.
81340         * conform/data/utime.h-data: Likewise.
81342         * io/sys/stat.h: fchmod was always in POSIX.
81343         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81344         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81345         * rt/aio.h: Define __need_timespec before including <time.h>.
81346         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81347         struct.  Add forward declaration of pthread_attr_t and use it in
81348         sigevent.
81349         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81350         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81351         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81352         always remove CLK_TCK definition.
81354 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81356         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81358 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81360         * conform/run-conformtest.sh: New file.
81361         * conform/Makefile: Run run-conformtest for tests.
81362         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81363         support.
81365         * conform/data/uchar.h-data: New file.
81366         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81367         * conform/data/arpa/inet.h-data: Likewise.
81368         * conform/data/assert.h-data: Likewise.
81369         * conform/data/complex.h-data: Likewise.
81370         * conform/data/cpio.h-data: Likewise.
81371         * conform/data/ctype.h-data: Likewise.
81372         * conform/data/dirent.h-data: Likewise.
81373         * conform/data/dlfcn.h-data: Likewise.
81374         * conform/data/errno.h-data: Likewise.
81375         * conform/data/fcntl.h-data: Likewise.
81376         * conform/data/float.h-data: Likewise.
81377         * conform/data/fmtmsg.h-data: Likewise.
81378         * conform/data/fnmatch.h-data: Likewise.
81379         * conform/data/ftw.h-data: Likewise.
81380         * conform/data/glob.h-data: Likewise.
81381         * conform/data/grp.h-data: Likewise.
81382         * conform/data/iconv.h-data: Likewise.
81383         * conform/data/inttypes.h-data: Likewise.
81384         * conform/data/langinfo.h-data: Likewise.
81385         * conform/data/libgen.h-data: Likewise.
81386         * conform/data/limits.h-data: Likewise.
81387         * conform/data/locale.h-data: Likewise.
81388         * conform/data/math.h-data: Likewise.
81389         * conform/data/monetary.h-data: Likewise.
81390         * conform/data/mqueue.h-data: Likewise.
81391         * conform/data/ndbm.h-data: Likewise.
81392         * conform/data/net/if.h-data: Likewise.
81393         * conform/data/netdb.h-data: Likewise.
81394         * conform/data/netinet/in.h-data: Likewise.
81395         * conform/data/nl_types.h-data: Likewise.
81396         * conform/data/poll.h-data: Likewise.
81397         * conform/data/pthread.h-data: Likewise.
81398         * conform/data/pwd.h-data: Likewise.
81399         * conform/data/regex.h-data: Likewise.
81400         * conform/data/sched.h-data: Likewise.
81401         * conform/data/search.h-data: Likewise.
81402         * conform/data/semaphore.h-data: Likewise.
81403         * conform/data/setjmp.h-data: Likewise.
81404         * conform/data/signal.h-data: Likewise.
81405         * conform/data/spawn.h-data: Likewise.
81406         * conform/data/stdarg.h-data: Likewise.
81407         * conform/data/stdio.h-data: Likewise.
81408         * conform/data/stdlib.h-data: Likewise.
81409         * conform/data/string.h-data: Likewise.
81410         * conform/data/strings.h-data: Likewise.
81411         * conform/data/stropts.h-data: Likewise.
81412         * conform/data/sys/ipc.h-data: Likewise.
81413         * conform/data/sys/mman.h-data: Likewise.
81414         * conform/data/sys/msg.h-data: Likewise.
81415         * conform/data/sys/resource.h-data: Likewise.
81416         * conform/data/sys/select.h-data: Likewise.
81417         * conform/data/sys/sem.h-data: Likewise.
81418         * conform/data/sys/shm.h-data: Likewise.
81419         * conform/data/sys/socket.h-data: Likewise.
81420         * conform/data/sys/stat.h-data: Likewise.
81421         * conform/data/sys/statvfs.h-data: Likewise.
81422         * conform/data/sys/time.h-data: Likewise.
81423         * conform/data/sys/timeb.h-data: Likewise.
81424         * conform/data/sys/times.h-data: Likewise.
81425         * conform/data/sys/types.h-data: Likewise.
81426         * conform/data/sys/uio.h-data: Likewise.
81427         * conform/data/sys/un.h-data: Likewise.
81428         * conform/data/sys/utsname.h-data: Likewise.
81429         * conform/data/sys/wait.h-data: Likewise.
81430         * conform/data/syslog.h-data: Likewise.
81431         * conform/data/tar.h-data: Likewise.
81432         * conform/data/termios.h-data: Likewise.
81433         * conform/data/utime.h-data: Likewise.
81434         * conform/data/utmpx.h-data: Likewise.
81435         * conform/data/varargs.h-data: Likewise.
81436         * conform/data/wchar.h-data: Likewise.
81437         * conform/data/wctype.h-data: Likewise.
81438         * conform/data/wordexp.h-data: Likewise.
81440         * include/stropts.h: New file.
81441         * include/uchar.h: New file.
81442         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81443         * include/assert.h: Likewise.
81444         * include/ctype.h: Likewise.
81445         * include/dirent.h: Likewise.
81446         * include/dlfcn.h: Likewise.
81447         * include/fcntl.h: Likewise.
81448         * include/fnmatch.h: Likewise.
81449         * include/glob.h: Likewise.
81450         * include/grp.h: Likewise.
81451         * include/libio.h: Likewise.
81452         * include/locale.h: Likewise.
81453         * include/math.h: Likewise.
81454         * include/net/if.h: Likewise.
81455         * include/netdb.h: Likewise.
81456         * include/netinet/in.h: Likewise.
81457         * include/pthread.h: Likewise.
81458         * include/pwd.h: Likewise.
81459         * include/regex.h: Likewise.
81460         * include/sched.h: Likewise.
81461         * include/search.h: Likewise.
81462         * include/setjmp.h: Likewise.
81463         * include/signal.h: Likewise.
81464         * include/stdio.h: Likewise.
81465         * include/stdlib.h: Likewise.
81466         * include/string.h: Likewise.
81467         * include/sys/cdefs.h: Likewise.
81468         * include/sys/mman.h: Likewise.
81469         * include/sys/msg.h: Likewise.
81470         * include/sys/resource.h: Likewise.
81471         * include/sys/select.h: Likewise.
81472         * include/sys/socket.h: Likewise.
81473         * include/sys/stat.h: Likewise.
81474         * include/sys/statvfs.h: Likewise.
81475         * include/sys/time.h: Likewise.
81476         * include/sys/times.h: Likewise.
81477         * include/sys/uio.h: Likewise.
81478         * include/sys/utsname.h: Likewise.
81479         * include/sys/wait.h: Likewise.
81480         * include/termios.h: Likewise.
81481         * include/time.h: Likewise.
81482         * include/ulimit.h: Likewise.
81483         * include/unistd.h: Likewise.
81484         * include/utime.h: Likewise.
81485         * include/wchar.h: Likewise.
81486         * include/wctype.h: Likewise.
81487         * include/wordexp.h: Likewise.
81489         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81491         * time/time.h: TIME_UTC must be a macro.
81492         Make timespec_get available for ISO C11 only as well.
81494 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81496         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81497         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81499 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81501         * configure.in: Use -o not -a in test for unsupported multi-arch.
81503 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81505         * manual/texinfo.tex: Update to version 2012-01-19.16.
81507 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81509         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81511 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81513         [BZ #13738]
81514         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81515         * manual/fdl-1.3.texi: New file.
81516         * manual/fdl-1.1.texi: File removed.
81518         [BZ #13738]
81519         * manual/libc.texinfo (FDL_VERSION): New @set.
81520         Use it for mention of FDL in cover text.
81521         (Documentation License): Use it in @include file name.
81523 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81524             Roland McGrath  <roland@hack.frob.com>
81526         [BZ #5461]
81527         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81528         (not LONG_LONG_MAX and LONG_LONG_MIN.
81529         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81530         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81531         name.
81532         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81534 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81536         [BZ #2547]
81537         [BZ #11365]
81538         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81539         manipulate bits before adding and subtracting TWO23[sx].
81540         * math/libm-test.inc (nearbyint_test): Add more tests.
81542 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81544         [BZ #2548]
81545         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81546         bits before adding and subtracting TWO23[sx].
81547         * math/libm-test.inc (rint_test): Add more tests.
81548         (rint_test_tonearest): Likewise.
81549         (rint_test_towardzero): Likewise.
81550         (rint_test_downward): Likewise.
81551         (rint_test_upward: Likewise.
81553 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81555         [BZ #10110]
81556         * include/stdc-predef.h: New file.  Extracted from features.h.
81557         * include/features.h: Include stdc-predef.h.
81558         * Makefile (headers): Add stdc-predef.h.
81559         * CONFORMANCE (Compiler limitations): Update.
81561 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81563         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81565 2012-02-21  David S. Miller  <davem@davemloft.net>
81567         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81568         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81570 2012-02-20  David S. Miller  <davem@davemloft.net>
81572         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81573         using a normal save/restore sequence, rather than allocating a
81574         dummy stack frame just to store a frame pointer and restore.
81575         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81577 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81579         * manual/install.texi: Fix stray word in line-wrapped comment.
81581 2012-02-20  David S. Miller  <davem@davemloft.net>
81583         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81584         both binutils and gcc support GOTDATA.
81586         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81587         "rd %pc" in the PIC register setup sequences.
81589         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81590         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81591         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81592         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81593         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81594         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81595         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81596         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81598         (SYSCALL_ERROR_HANDLER): Likewise.
81599         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81600         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81602         (SYSCALL_ERROR_HANDLER): Likewise.
81604         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81605         (HAVE_GCC_GOTDATA): New.
81606         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81607         relocation support in both binutils and gcc.
81608         * sysdeps/sparc/elf/configure: Regenerate.
81610         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81611         * sysdeps/sparc/sparc32/elf/configure: Delete.
81612         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81613         * sysdeps/sparc/sparc64/elf/configure: Delete.
81614         * sysdeps/sparc/elf/configure.in: New file.
81615         * sysdeps/sparc/elf/configure: Generate.
81617         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81618         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81619         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81620         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81621         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81623 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81625         * manual/install.texi: Do not mention specific glibc version
81626         numbers.
81627         * manual/libc.texinfo (VERSION, UPDATED): Update.
81628         (@copying): Use @copyright{} and range of years.
81630 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81632         [BZ #13695]
81633         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81634         [crti.S not in sysdirs] (generated): Do not append.
81635         [crti.S not in sysdirs] (omit-deps): Likewise.
81636         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81637         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81638         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81639         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81640         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81641         Likewise.
81642         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81643         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81644         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81645         * csu/defs.awk: Remove file.
81646         * sysdeps/generic/initfini.c: Likewise.
81647         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81648         variable.
81649         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81650         Likewise.
81652 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81654         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81655         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81656         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81657         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81659         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81660         <bits/epoll.h>.
81661         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81662         (__EPOLL_PACKED): Define to empty if not defined by
81663         <bits/epoll.h>.
81664         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81666         bits/epoll.h.
81668 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81670         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81671         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81672         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81673         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81674         <bits/timerfd.h>.
81675         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81677         bits/timerfd.h.
81679 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81681         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81682         in C locale.
81683         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81684         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81685         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81688 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81690         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81691         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81693 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81695         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81696         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81697         defined.
81698         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81699         Likewise.
81700         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81701         entry for 2.16.
81703 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81705         * math/w_acos.c: Use non-signaling floating-point comparisons.
81706         * math/w_acosf.c: Likewise.
81707         * math/w_acosh.c: Likewise.
81708         * math/w_acoshf.c: Likewise.
81709         * math/w_acoshl.c: Likewise.
81710         * math/w_acosl.c: Likewise.
81711         * math/w_asin.c: Likewise.
81712         * math/w_asinf.c: Likewise.
81713         * math/w_asinl.c: Likewise.
81714         * math/w_atanh.c: Likewise.
81715         * math/w_atanhf.c: Likewise.
81716         * math/w_atanhl.c: Likewise.
81717         * math/w_exp2.c: Likewise.
81718         * math/w_exp2f.c: Likewise.
81719         * math/w_exp2l.c: Likewise.
81720         * math/w_j0.c: Likewise.
81721         * math/w_j0f.c: Likewise.
81722         * math/w_j0l.c: Likewise.
81723         * math/w_j1.c: Likewise.
81724         * math/w_j1f.c: Likewise.
81725         * math/w_j1l.c: Likewise.
81726         * math/w_jn.c: Likewise.
81727         * math/w_jnf.c: Likewise.
81728         * math/w_log.c: Likewise.
81729         * math/w_log10.c: Likewise.
81730         * math/w_log10f.c: Likewise.
81731         * math/w_log10l.c: Likewise.
81732         * math/w_log2.c: Likewise.
81733         * math/w_log2f.c: Likewise.
81734         * math/w_log2l.c: Likewise.
81735         * math/w_logf.c: Likewise.
81736         * math/w_logl.c: Likewise.
81737         * math/w_sqrt.c: Likewise.
81738         * math/w_sqrtf.c: Likewise.
81739         * math/w_sqrtl.c: Likewise.
81740         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81741         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81742         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81743         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81744         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81746 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81748         [BZ #9739]
81749         * manual/string.texi (strnlen): Use correct parameter name in
81750         equivalent expression.
81752 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81754         [BZ #11174]
81755         * manual/users.texi (seteuid): Consistently use neweuid for
81756         argument name.
81758 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81760         [BZ #13704]
81761         * manual/nss.texi (Services in the NSS configuration): Correct
81762         list of services in example configuration file.
81764 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81766         [BZ #11322]
81767         * manual/arith.texi: Remove statements about negative zero
81768         behaving identically to zero.
81770 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81772         [BZ #5993]
81773         * manual/install.texi: Do not document upgrading from libc5.
81775 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81777         [BZ #4596]
81778         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81780 2012-02-18  David S. Miller  <davem@davemloft.net>
81782         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81783         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81784         %o7 across the call.
81785         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81786         instead.
81787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81788         SETUP_PIC_REG_LEAF.
81789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81790         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81791         * sysdeps/sparc/crtn.S: Likewise.
81793 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81795         * aout/Makefile: Remove.
81797 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81799         [BZ #13058]
81800         * manual/examples/argp-ex1.c (main): Format definition in GNU
81801         style.
81802         * manual/examples/argp-ex2.c (main): Likewise.
81803         * manual/examples/argp-ex3.c (main): Likewise.
81804         * manual/examples/argp-ex4.c (main): Likewise.
81805         * manual/examples/longopt.c (main): Use new-style prototype
81806         definition.
81807         * manual/examples/strncat.c (main): Specify return type and use
81808         (void) for arguments.
81809         * manual/examples/subopt.c (main): Use char **argv argument.
81811 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81813         [BZ #5077]
81814         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81815         rounding modes.
81817 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81819         [BZ #6907]
81820         * manual/string.texi (strchr): Change when strchrnul is
81821         recommended.
81823 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81825         [BZ #174]
81826         * manual/locale.texi (setlocale): Document LOCPATH.
81828 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81830         [BZ #10210]
81831         * manual/process.texi (execle): Move @dots{} before last argument.
81833 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81835         [BZ #12047]
81836         * manual/charset.texi (Generic Charset Conversion): Fix typo
81837         (LC_TYPE -> LC_CTYPE).
81839 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81841         [BZ #5805]
81842         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81843         (scalbnf): Likewise.
81844         (scalbnl): Likewise.
81845         (scalbln): Likewise.
81846         (scalblnf): Likewise.
81847         (scalblnl): Likewise.
81848         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81849         (vwarnx): Likewise.
81850         (verr): Likewise.
81851         (verrx): Likewise.
81852         * manual/filesys.texi (telldir): Use braces around return type.
81853         * manual/llio.texi (mmap): Add space after comma.
81854         (mmap64): Likewise.
81855         * manual/math.texi (jn): Use @var{} on parameter names.
81856         (jnf): Likewise.
81857         (jnl): Likewise.
81858         (yn): Likewise.
81859         (ynf): Likewise.
81860         (ynl): Likewise.
81861         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81862         line.
81863         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81864         "...".
81865         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81866         (sched_get_priority_max): Likewise.
81867         * manual/signal.texi (sigvec): Add space after comma.
81868         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81869         names.
81870         (if_indextoname): Likewise.
81871         (if_freenameindex): Likewise.
81872         (sendto): Use ',' instead of '.' in prototype.
81873         * manual/startup.texi (syscall): Use @dots{} instead of literal
81874         "...".
81875         * manual/stdio.texi (__fpending): Separate initial words of
81876         paragraph from @deftypefun line.
81877         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81878         "...".
81879         (vsyslog): Use @var{} on parameter names.
81880         * manual/terminal.texi (stty): Use @var{} on parameter names.
81881         * manual/users.texi (getutmp): Use @var{} on parameter names.
81882         (getutmpx): Likewise.
81884 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81886         [BZ #6884]
81887         * manual/stdio.texi (fopen): Fix typos in description of
81888         ",ccs=STRING".
81890 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81892         [BZ #4026]
81893         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81894         get clock_id definition.
81896 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81898         [BZ #4822]
81899         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81900         (madvise): Cast every argument to void on its own.
81902 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81904         [BZ #9902]
81905         * manual/startup.texi (Exit Status): Fix typo.
81907 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81909         [BZ #10140]
81910         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81911         * manual/examples/argp-ex2.c: Likewise.
81912         * manual/examples/argp-ex3.c: Likewise.
81914 2012-02-16  Richard Henderson  <rth@redhat.com>
81916         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81917         * sysdeps/s390/s390-32/initfini.c: Remove.
81918         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81919         * sysdeps/s390/s390-64/initfini.c: Remove.
81921 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81923         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81924         compiler output for sysdeps/generic/initfini.c.
81925         * sysdeps/sh/elf/initfini.c: Remove file.
81927 2012-02-16  David S. Miller  <davem@davemloft.net>
81929         [BZ #11494]
81930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81932         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81933         * sysdeps/sparc/crti.S: New file.
81934         * sysdeps/sparc/crtn.S: New file.
81935         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81936         * sysdeps/sparc/sparc64/Makefile: Likewise.
81938 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81940         [BZ #3335]
81941         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81943 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81945         [BZ #4822]
81946         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81948         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81949         (write, read, close): Likewise.
81950         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81952 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81954         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81955         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81956         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81957         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81958         <bits/signalfd.h>.
81959         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81961         bits/signalfd.h.
81963 2012-02-14  Marek Polacek  <polacek@redhat.com>
81965         * sysdeps/x86_64/crti.S: New file.
81966         * sysdeps/x86_64/crtn.S: New file.
81967         * sysdeps/x86_64/elf/initfini.c: Remove file.
81969 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81971         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81972         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81973         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81974         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81975         <bits/inotify.h>.
81976         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81978         bits/inotify.h.
81980 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81982         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81983         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81984         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81985         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81986         <bits/eventfd.h>.
81987         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81989         bits/eventfd.h.
81991 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81993         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81994         __feraiseexcept instead of feraiseexcept.
81996         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81997         nanosleep invocations.
81998         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81999         strings, and add error checking for a nanosleep invocations.
82001 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82003         Replace FSF snail mail address with URLs, as per GNU coding standards.
82004         Most of the snail mail addresses were wrong anyway, and omitting
82005         them makes the source code easier to maintain.  Almost all of the
82006         changes are to license notices and to locale LC_IDENTIFICATION
82007         addresses, except for this one:
82008         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82009         not its snail mail address.
82011 2012-02-09  Richard Henderson  <rth@twiddle.net>
82013         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82014         of kernel-features.h.
82016         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82018 2012-02-08  Marek Polacek  <polacek@redhat.com>
82020         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82021         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82022         * sysdeps/gnu/_G_config.h: Likewise.
82023         * sysdeps/generic/_G_config.h: Likewise.
82025 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82027         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82028         tests.
82029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82031         * sysdeps/powerpc/powerpc32/crti.S: New file.
82032         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82033         * sysdeps/powerpc/powerpc64/crti.S: New file.
82034         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82036         * Makeconfig (have-initfini): Don't set.
82037         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82038         * configure.in (nopic_initfini): Don't substitute.
82039         * config.h.in (HAVE_INITFINI): Don't #undef.
82040         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82041         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82043 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82045         Support crti.S and crtn.S provided directly by architectures.
82046         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82047         [crti.S in sysdirs] (omit-deps): Likewise.
82048         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82049         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82050         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82051         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82052         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82053         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82054         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82055         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82056         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82057         compiler output for sysdeps/generic/initfini.c.
82058         * sysdeps/i386/elf/Makefile: Remove file.
82059         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82061 2012-02-07  Marek Polacek  <polacek@redhat.com>
82063         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82064         * sysdeps/gnu/_G_config.h: Likewise.
82065         * sysdeps/mach/hurd/_G_config.h: Likewise.
82067 2012-02-07  Marek Polacek  <polacek@redhat.com>
82069         * math/Makefile (tests): Add tst-CMPLX2.
82070         * math/tst-CMPLX2.c: New file.
82072 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82074         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82076         * math/libm-test.inc (jn_test): Add missing L suffix.
82078 2012-02-06  Marek Polacek  <polacek@redhat.com>
82080         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82081         * sysdeps/i386/fpu/e_powf.S: Likewise.
82082         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82083         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82085         * sysdeps/i386/fpu/e_pow.S: Likewise.
82086         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82087         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82088         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82089         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82090         * sysdeps/i386/fpu/e_log2.S: Likewise.
82091         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82092         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82093         * sysdeps/i386/fpu/e_powl.S: Likewise.
82094         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82095         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82096         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82097         * sysdeps/i386/fpu/e_logl.S: Likewise.
82098         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82099         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82100         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82101         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82102         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82103         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82104         * sysdeps/i386/fpu/e_log.S: Likewise.
82105         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82106         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82107         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82108         * sysdeps/i386/fpu/e_logf.S: Likewise.
82109         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82110         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82111         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82112         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82113         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82114         * sysdeps/i386/fpu/e_log10.S: Likewise.
82115         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82116         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82117         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82118         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82119         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82120         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82121         * sysdeps/i386/asm-syntax.h: Likewise.
82122         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82123         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82124         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82125         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82126         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82127         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82128         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82129         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82130         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82131         * sysdeps/powerpc/sysdep.h: Likewise.
82132         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82133         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82135 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82137         [BZ #411]
82138         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82140 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82142         * sysdeps/i386/sysdep.h: Include <features.h>.
82143         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82144         version.
82146 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82148         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82149         Define.
82150         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82151         LOAD_PIC_REG_STR.
82153 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82155         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82156         (SETUP_PIC_REG): Use GET_PC_THUNK.
82157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82158         macro.
82160 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82162         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82163         for non-PIC compilation.
82164         (SETUP_PIC_REG): Add .p2align directive.
82165         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82166         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82167         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82168         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82169         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82170         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82171         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82172         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82173         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82174         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82175         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82176         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82177         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82178         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82179         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82180         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82181         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82182         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82183         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82184         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82185         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82186         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82187         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82188         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82189         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82191         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82192         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82193         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82194         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82195         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82196         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82197         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82198         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82199         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82200         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82201         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82202         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82203         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82204         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82205         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82207 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82209         * math/tst-CMPLX.c: Include <stdio.h>.
82211 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82213         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82214         float.
82215         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82216         * sysdeps/sparc/bits/mathdef.h: Likewise.
82218 2012-01-31  Marek Polacek  <polacek@redhat.com>
82220         * libio/libio.h: Don't define _PARAMS.
82221         * locale/programs/config.h: Don't define PARAMS.
82222         * stdlib/strtol_l.c: Likewise.
82223         (__strtol_l): Remove PARAMS from the prototype.
82225 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82227         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82228         names.  Just use the correct names.  Remove unnecessary wrapper
82229         functions.
82230         * malloc/arena.c: Likewise.
82231         * malloc/hooks.c: Likewise.
82233         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82234         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82235         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82237 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82239         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82240         into tail calls.
82241         (update_get_addr): New function.
82242         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82243         GET_ADDR_MODULE parameter.
82245 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82247         * crypt/cert.c: Remove __STDC__ conditionals.
82248         * crypt/crypt-entry.c: Likewise.
82249         * crypt/crypt_util.c: Likewise.
82250         * libio/filedoalloc.c: Likewise.
82251         * libio/fileops.c: Likewise.
82252         * libio/genops.c: Likewise.
82253         * libio/iofclose.c: Likewise.
82254         * libio/iofdopen.c: Likewise.
82255         * libio/iofopen.c: Likewise.
82256         * libio/iofopen64.c: Likewise.
82257         * libio/iogetdelim.c: Likewise.
82258         * libio/iopopen.c: Likewise.
82259         * libio/obprintf.c: Likewise.
82260         * libio/oldfileops.c: Likewise.
82261         * libio/oldiofclose.c: Likewise.
82262         * libio/oldiofdopen.c: Likewise.
82263         * libio/oldiofopen.c: Likewise.
82264         * libio/oldiopopen.c: Likewise.
82265         * libio/wfiledoalloc.c: Likewise.
82266         * libio/wgenops.c: Likewise.
82267         * locale/programs/xmalloc.c: Likewise.
82268         * misc/syslog.c: Likewise.
82269         * stdio-common/xbug.c: Likewise.
82270         * string/memchr.c: Likewise.
82271         * string/memcmp.c: Likewise.
82272         * string/memrchr.c: Likewise.
82273         * string/rawmemchr.c: Likewise.
82274         * sysdeps/posix/getcwd.c: Likewise.
82275         * time/strftime_l.c: Likewise.
82277 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82279         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82280         * config.make.in (config-cflags-sse2avx): Define.
82281         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82282         Fix typo.
82284 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82286         * scripts/config.guess: Update from upstream config git repository.
82287         * scripts/config.sub: Likewise.
82289 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82291         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82292         (EM_NUM): Update.
82293         (R_TILEPRO_*, R_TILEGX_*): New macros.
82295         * scripts/firstversions.awk: Fix bug in version range handling.
82297         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82299         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82301         * include/sys/epoll.h: New file.
82302         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82303         libc_hidden_def.
82305 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82307         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82308         Avoid unnecessary __WORDSIZE == 64 test.
82309         (fmaxf): Use VEX format if possible.
82310         (fmax): Likewise.
82311         (fminf): Likewise.
82312         (fmin): Likewise.
82314         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82315         * math/math_private.h: Remove libc_fegetround* and
82316         libc_fesetround*.
82317         * sysdeps/i386/configure.in: Check for -msse2avx.
82318         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82319         also if SSE2AVX is defined.
82320         Remove libc_fegetround* and libc_fesetround*.
82321         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82322         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82324         of HAS_YMM_USABLE.
82325         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82326         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82327         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82328         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82329         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82331         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82333 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82336         size is not set.
82337         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82339 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82341         [BZ #13618]
82342         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82343         relocation.
82344         * Makeconfig (libm): Define.
82345         * elf/Makefile: Add rules to build and run tst-relsort1.
82346         * elf/tst-relsort1.c: New file.
82347         * elf/tst-relsort1mod1.c: New file.
82348         * elf/tst-relsort1mod2.c: New file.
82350 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82352         * math/s_ldexp.c: Remove __STDC__ conditionals.
82353         * math/s_ldexpf.c: Likewise.
82354         * math/s_ldexpl.c: Likewise.
82355         * math/s_nextafter.c: Likewise.
82356         * math/s_nexttowardf.c: Likewise.
82357         * math/s_significand.c: Likewise.
82358         * math/s_significandf.c: Likewise.
82359         * math/s_significandl.c: Likewise.
82360         * math/w_jnl.c: Likewise.
82361         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82362         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82363         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82364         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82365         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82367         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82368         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82370         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82371         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82372         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82373         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82374         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82375         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82376         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82377         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82378         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82379         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82380         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82381         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82382         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82383         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82385         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82386         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82387         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82388         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82389         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82390         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82391         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82392         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82393         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82394         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82395         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82396         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82397         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82398         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82399         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82400         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82401         * sysdeps/ieee754/k_standard.c: Likewise.
82402         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82403         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82404         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82405         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82406         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82407         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82408         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82409         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82410         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82411         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82412         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82413         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82414         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82415         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82416         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82417         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82418         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82419         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82420         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82421         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82424         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82425         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82426         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82427         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82429         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82431         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82432         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82433         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82434         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82435         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82437         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82438         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82439         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82440         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82441         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82442         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82443         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82444         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82445         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82446         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82447         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82449         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82450         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82451         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82452         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82453         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82454         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82455         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82456         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82457         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82458         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82459         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82460         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82461         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82462         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82463         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82464         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82465         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82466         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82467         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82468         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82469         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82470         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82471         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82472         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82473         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82474         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82475         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82476         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82477         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82478         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82479         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82480         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82481         * sysdeps/ieee754/s_matherr.c: Likewise.
82482         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82483         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82484         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82485         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82487 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82489         * crypt/md5.h: Remove __STDC__ conditionals.
82490         * libio/libioP.h: Likewise.
82491         * locale/programs/config.h: Likewise.
82492         * sysdeps/generic/sysdep.h: Likewise.
82493         * sysdeps/i386/asm-syntax.h: Likewise.
82494         * sysdeps/s390/asm-syntax.h: Likewise.
82495         * sysdeps/unix/sysdep.h: Likewise.
82496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82499 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82501         * libio/libio.h: Remove __STDC__ conditionals.
82502         * malloc/obstack.h: Likewise.
82503         * math/complex.h: Likewise.
82504         * math/math.h: Likewise.
82505         * sysdeps/generic/_G_config.h: Likewise.
82506         * sysdeps/gnu/_G_config.h: Likewise.
82507         * sysdeps/mach/hurd/_G_config.h: Likewise.
82508         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82509         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82510         * sysdeps/sparc/bits/mathdef.h: Likewise.
82512 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82514         [BZ #13583]
82515         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82516         Clean up HAS_* macros.
82517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82518         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82519         possible.
82520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82521         HAS_AVX.
82522         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82523         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82524         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82525         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82526         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82528 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82530         * elf/tst-unique3.cc (gets): Remove declaration.
82531         * elf/tst-unique3lib.cc (gets): Likewise.
82532         * elf/tst-unique3lib2.cc (gets): Likewise.
82533         * elf/tst-unique4.cc (gets): Likewise.
82535 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82537         * include/stdio.h: Add C++ protection.  Add gets declarations and
82538         definitions.
82539         * debug/tst-chk1.c: Don't declare gets here.
82540         * stdio-common/tst-gets.c: Likewise.
82542 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82544         * posix/glob: Remove directory.
82546 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82548         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82550 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82552         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82553         of the non-standard EPFNOSUPPORT.
82555 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82557         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82558         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82559         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82561 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82563         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82565 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82567         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82568         transient errors.
82569         * nscd/grpcache.c (cache_addgr): Likewise.
82570         * nscd/hstcache.c (cache_addhst): Likewise.
82571         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82572         * nscd/pwdcache.c (cache_addpw): Likewise.
82573         * nscd/servicescache.c (cache_addserv): Likewise.
82575 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82577         * malloc/malloc.c: Various cleanups.
82578         * malloc/hooks.c: Likewise.
82580         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82581         * stdlib/bug-fmtmsg1.c: New file.
82583         * stdlib/fmtmsg.c (init): Add missing unlock.
82584         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82586 2012-01-12  Marek Polacek  <polacek@redhat.com>
82588         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82589         and _GNU_SOURCE.
82591 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82593         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82594         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82595         macro to ensure uniqueness of label name.
82596         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82597         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82599 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82601         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82603         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82604         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82605         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82606         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82608 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82610         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82612         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82613         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82614         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82616         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82618         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82619         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82620         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82623         * math/bits/math-finite.h: Add ldexp support.
82625 2012-01-10  Marek Polacek  <polacek@redhat.com>
82627         * locale/programs/localedef.h (show_archive_content): Add noreturn
82628         attribute.
82630 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82632         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82634 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82636         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82638         * io/Makefile (headers): Add bits/poll2.h.
82640 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82643         typo #include statement.
82645 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82647         * include/sys/cdefs.h: Define __attribute_alloc_size.
82648         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82649         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82650         * elf/pldd.c: Likewise.
82651         * iconv/iconv_charmap.c: Likewise.
82652         * iconv/iconvconfig.c: Likewise.
82653         * iconv/strtab.c: Likewise.
82654         * locale/programs/locale.c: Likewise.
82655         * locale/programs/localedef.h: Likewise.
82656         * locale/programs/simple-hash.c: Likewise.
82657         * nscd/nscd.h: Likewise.
82658         * nss/makedb.c: Likewise.
82659         * sysdeps/generic/ldconfig.h: Likewise.
82660         * locale/programs/localedef.c: Remove xmalloc prototype.
82661         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82663 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82665         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82666         appropriate.
82668 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82670         * math/Makefile (tests): Add tst-CMPLX.
82671         * math/tst-CMPLX.c: New file.
82673         * math/complex.h (CMPLXL): Fix typo.
82675         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82676         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82677         GLIBC_2.16.
82678         * debug/tst-chk1.c: Add poll and ppoll tests.
82679         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82680         * include/sys/poll.h: Add hidden proto for ppoll.
82681         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82682         * sysdeps/mach/hurd/ppoll.c: Likewise.
82683         * io/ppoll.c: Likewise.
82684         * debug/poll_chk.c: New file.
82685         * debug/ppoll_chk.c: New file.
82686         * include/bits/poll2.h: New file.
82687         * io/bits/poll2.h: New file.
82689         [BZ #1350]
82690         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82692         * configure.in: static is always set to yes.  Remove.
82693         * config.make.in: Don't set build-static.
82694         * Makeconfig: Remove use of build-static.
82695         * dlfcn/Makefile: Likewise.
82696         * elf/Makefile: Likewise.
82697         * math/Makefile: Likewise.
82698         * misc/Makefile: Likewise.
82699         * nptl/Makefile: Likewise.
82700         * sysdeps/mach/hurd/Makefile: Likewise.
82702         * configure.in: PWD_P is not used anymore.
82703         * config.make.in: Remove PWD_P entry.
82705         * configure.in: Remove last remnants of RANLIB.
82706         No need to check for signed size_t anymore.
82707         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82708         and IA-64.
82709         Remove __builtin_expect test because we require at least gcc 3.4.
82710         * aclocal.m4: Likewise.
82712         * wcsmbs/mbrtoc16.c: Implement using towc function.
82713         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82714         * wcsmbs/wcsmbsload.c: Likewise.
82715         * iconv/gconv_simple.c: Likewise.
82716         * iconv/gconv_int.h: Likewise.
82717         * iconv/gconv_builtin.h: Likewise.
82718         * iconv/iconv_prog.c: Remove CHAR16 handling.
82720         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82722         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82724         * configure.in: Remove --with-elf and --enable-bounded options.
82725         Dont set base_machine for ia64.  More non-ELF conditions removed.
82726         Remove testing and setting of leading underscore information.
82727         * config.make.in (build-bounded): Set to no.
82728         * config.h.in: Remove NO_UNDERSCORES entry.
82729         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82730         them.
82731         * csu/start.c: Remove !NO_UNDERSCORE code.
82732         * locale/localeinfo.h: Likewise.
82733         * sysdeps/generic/machine-gmon.h: Likewise.
82734         * sysdeps/generic/sysdep.h: Likewise.
82735         * sysdeps/i386/sysdep.h: Likewise.
82736         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82737         * sysdeps/mach/sysdep.h: Likewise.
82738         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82739         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82740         * sysdeps/sh/sysdep.h: Likewise.
82741         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82742         * sysdeps/unix/i386/sysdep.S: Likewise.
82743         * sysdeps/unix/sparc/start.c: Likewise.
82744         * sysdeps/unix/sparc/sysdep.S: Likewise.
82745         * sysdeps/unix/sparc/sysdep.h: Likewise.
82746         * sysdeps/unix/start.c: Likewise.
82747         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82748         * sysdeps/x86_64/sysdep.h: Likewise.
82750 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82752         [BZ #13553]
82753         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82754         for non-gcc.
82755         * argp/argp-fmtstream.h: Use const instead __const.
82756         * argp/argp.h: Likewise.
82757         * assert/assert.h: Likewise.
82758         * bits/fenv.h: Likewise.
82759         * bits/sched.h: Likewise.
82760         * bits/sigset.h: Likewise.
82761         * bits/sigthread.h: Likewise.
82762         * catgets/nl_types.h: Likewise.
82763         * conform/data/pthread.h-data: Likewise.
82764         * crypt/crypt-private.h: Likewise.
82765         * crypt/crypt.h: Likewise.
82766         * crypt/crypt_util.c: Likewise.
82767         * ctype/ctype.h: Likewise.
82768         * debug/execinfo.h: Likewise.
82769         * debug/mbsnrtowcs_chk.c: Likewise.
82770         * debug/mbsrtowcs_chk.c: Likewise.
82771         * debug/wcsnrtombs_chk.c: Likewise.
82772         * debug/wcsrtombs_chk.c: Likewise.
82773         * debug/wcstombs_chk.c: Likewise.
82774         * dirent/dirent.h: Likewise.
82775         * dlfcn/dlfcn.h: Likewise.
82776         * elf/neededtest4.c: Likewise.
82777         * grp/grp.h: Likewise.
82778         * gshadow/gshadow.h: Likewise.
82779         * iconv/gconv.h: Likewise.
82780         * iconv/gconv_int.h: Likewise.
82781         * iconv/gconv_simple.c: Likewise.
82782         * iconv/iconv.h: Likewise.
82783         * iconv/loop.c: Likewise.
82784         * iconv/skeleton.c: Likewise.
82785         * include/aio.h: Likewise.
82786         * include/aliases.h: Likewise.
82787         * include/argz.h: Likewise.
82788         * include/arpa/inet.h: Likewise.
82789         * include/assert.h: Likewise.
82790         * include/dirent.h: Likewise.
82791         * include/dlfcn.h: Likewise.
82792         * include/execinfo.h: Likewise.
82793         * include/fcntl.h: Likewise.
82794         * include/fenv.h: Likewise.
82795         * include/glob.h: Likewise.
82796         * include/grp.h: Likewise.
82797         * include/libintl.h: Likewise.
82798         * include/mntent.h: Likewise.
82799         * include/netdb.h: Likewise.
82800         * include/pwd.h: Likewise.
82801         * include/rpc/netdb.h: Likewise.
82802         * include/sched.h: Likewise.
82803         * include/search.h: Likewise.
82804         * include/shadow.h: Likewise.
82805         * include/signal.h: Likewise.
82806         * include/stdio.h: Likewise.
82807         * include/stdlib.h: Likewise.
82808         * include/string.h: Likewise.
82809         * include/sys/socket.h: Likewise.
82810         * include/sys/stat.h: Likewise.
82811         * include/sys/statfs.h: Likewise.
82812         * include/sys/statvfs.h: Likewise.
82813         * include/sys/syslog.h: Likewise.
82814         * include/sys/time.h: Likewise.
82815         * include/sys/uio.h: Likewise.
82816         * include/time.h: Likewise.
82817         * include/unistd.h: Likewise.
82818         * include/utmp.h: Likewise.
82819         * include/wchar.h: Likewise.
82820         * include/wctype.h: Likewise.
82821         * inet/aliases.h: Likewise.
82822         * inet/arpa/inet.h: Likewise.
82823         * inet/netinet/ether.h: Likewise.
82824         * inet/netinet/in.h: Likewise.
82825         * intl/libintl.h: Likewise.
82826         * io/bits/fcntl2.h: Likewise.
82827         * io/fcntl.h: Likewise.
82828         * io/ftw.h: Likewise.
82829         * io/sys/poll.h: Likewise.
82830         * io/sys/stat.h: Likewise.
82831         * io/sys/statfs.h: Likewise.
82832         * io/sys/statvfs.h: Likewise.
82833         * io/utime.h: Likewise.
82834         * libio/bits/stdio.h: Likewise.
82835         * libio/bits/stdio2.h: Likewise.
82836         * libio/libio.h: Likewise.
82837         * libio/libioP.h: Likewise.
82838         * libio/stdio.h: Likewise.
82839         * locale/lc-ctype.c: Likewise.
82840         * locale/locale.h: Likewise.
82841         * login/utmp.h: Likewise.
82842         * malloc/arena.c: Likewise.
82843         * malloc/malloc.c: Likewise.
82844         * malloc/malloc.h: Likewise.
82845         * malloc/mcheck.c: Likewise.
82846         * malloc/mtrace.c: Likewise.
82847         * math/bits/mathcalls.h: Likewise.
82848         * math/fenv.h: Likewise.
82849         * math/math_private.h: Likewise.
82850         * misc/bits/error.h: Likewise.
82851         * misc/bits/syslog.h: Likewise.
82852         * misc/err.h: Likewise.
82853         * misc/error.h: Likewise.
82854         * misc/fstab.h: Likewise.
82855         * misc/mntent.h: Likewise.
82856         * misc/regexp.h: Likewise.
82857         * misc/search.h: Likewise.
82858         * misc/sgtty.h: Likewise.
82859         * misc/sys/mman.h: Likewise.
82860         * misc/sys/syslog.h: Likewise.
82861         * misc/sys/uio.h: Likewise.
82862         * misc/sys/xattr.h: Likewise.
82863         * misc/ttyent.h: Likewise.
82864         * nis/rpcsvc/ypclnt.h: Likewise.
82865         * nss/nss.h: Likewise.
82866         * posix/bits/unistd.h: Likewise.
82867         * posix/fnmatch.h: Likewise.
82868         * posix/glob.h: Likewise.
82869         * posix/sched.h: Likewise.
82870         * posix/spawn.h: Likewise.
82871         * posix/sys/wait.h: Likewise.
82872         * posix/unistd.h: Likewise.
82873         * posix/wordexp.h: Likewise.
82874         * pwd/pwd.h: Likewise.
82875         * resolv/netdb.h: Likewise.
82876         * resource/sys/resource.h: Likewise.
82877         * rt/aio.h: Likewise.
82878         * rt/bits/mqueue2.h: Likewise.
82879         * rt/mqueue.h: Likewise.
82880         * shadow/shadow.h: Likewise.
82881         * signal/signal.h: Likewise.
82882         * socket/send.c: Likewise.
82883         * socket/sendto.c: Likewise.
82884         * socket/sys/socket.h: Likewise.
82885         * stdio-common/printf.h: Likewise.
82886         * stdlib/bits/stdlib.h: Likewise.
82887         * stdlib/fmtmsg.h: Likewise.
82888         * stdlib/monetary.h: Likewise.
82889         * stdlib/stdlib.h: Likewise.
82890         * stdlib/ucontext.h: Likewise.
82891         * streams/stropts.h: Likewise.
82892         * string/argz.h: Likewise.
82893         * string/bits/string2.h: Likewise.
82894         * string/string.h: Likewise.
82895         * string/strings.h: Likewise.
82896         * sunrpc/rpc/auth.h: Likewise.
82897         * sunrpc/rpc/auth_des.h: Likewise.
82898         * sunrpc/rpc/clnt.h: Likewise.
82899         * sunrpc/rpc/netdb.h: Likewise.
82900         * sunrpc/rpc/pmap_clnt.h: Likewise.
82901         * sunrpc/rpc/xdr.h: Likewise.
82902         * sysdeps/generic/inttypes.h: Likewise.
82903         * sysdeps/generic/net/if.h: Likewise.
82904         * sysdeps/generic/sys/swap.h: Likewise.
82905         * sysdeps/gnu/net/if.h: Likewise.
82906         * sysdeps/gnu/utmpx.h: Likewise.
82907         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82908         * sysdeps/i386/i486/bits/string.h: Likewise.
82909         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82910         * sysdeps/s390/bits/string.h: Likewise.
82911         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82912         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82913         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82914         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82915         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82916         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82917         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82918         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82919         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82920         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82921         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82922         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82923         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82924         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82925         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82926         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82927         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82929         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82930         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82931         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82932         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82933         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82934         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82935         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82936         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82937         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82938         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82939         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82940         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82941         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82942         * sysvipc/sys/ipc.h: Likewise.
82943         * sysvipc/sys/msg.h: Likewise.
82944         * sysvipc/sys/sem.h: Likewise.
82945         * sysvipc/sys/shm.h: Likewise.
82946         * termios/termios.h: Likewise.
82947         * time/sys/time.h: Likewise.
82948         * time/time.h: Likewise.
82949         * wcsmbs/bits/wchar2.h: Likewise.
82950         * wcsmbs/uchar.h: Likewise.
82951         * wcsmbs/wchar.h: Likewise.
82952         * wctype/wctype.h: Likewise.
82954         [BZ #13551]
82955         * Makeconfig: Remove all but ELF support including AIX support.
82956         * Makerules: Likewise.
82957         * config.h.in: Likewise.
82958         * config.make.in: Likewise.
82959         * configure: Likewise.
82960         * configure.in: Likewise.
82961         * csu/Makefile: Likewise.
82962         * csu/version.c: Likewise.
82963         * debug/Makefile: Likewise.
82964         * dlfcn/Makefile: Likewise.
82965         * elf/Makefile: Likewise.
82966         * extra-lib.mk: Likewise.
82967         * iconv/Makefile: Likewise.
82968         * include/libc-symbols.h: Likewise.
82969         * include/shlib-compat.h: Likewise.
82970         * resolv/Makefile: Likewise.
82971         * resolv/res_libc.c: Likewise.
82972         * rt/Makefile: Likewise.
82973         * sysdeps/i386/asm-syntax.h: Likewise.
82974         * sysdeps/i386/sysdep.h: Likewise.
82975         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82976         * sysdeps/mach/sysdep.h: Likewise.
82977         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82978         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82979         * sysdeps/s390/asm-syntax.h: Likewise.
82980         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82981         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82982         * sysdeps/sh/sysdep.h: Likewise.
82983         * sysdeps/unix/sparc/sysdep.h: Likewise.
82984         * sysdeps/wordsize-32/divdi3.c: Likewise.
82985         * sysdeps/x86_64/sysdep.h: Likewise.
82987         * argp/Versions: Remove _argp_unlock_xxx.
82989         [BZ #13559]
82990         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82991         * abilist/libBrokenLocale.abilist: Likewise.
82992         * abilist/libanl.abilist: Likewise.
82993         * abilist/libc.abilist: Likewise.
82994         * abilist/libcrypt.abilist: Likewise.
82995         * abilist/libdl.abilist: Likewise.
82996         * abilist/libm.abilist: Likewise.
82997         * abilist/libnsl.abilist: Likewise.
82998         * abilist/libpthread.abilist: Likewise.
82999         * abilist/libresolv.abilist: Likewise.
83000         * abilist/librt.abilist: Likewise.
83001         * abilist/libthread_db.abilist: Likewise.
83002         * abilist/libutil.abilist: Likewise.
83003         * abilist/libnss_db.abilist: New file.
83005         * scripts/abilist.awk: Add support for indirect functions.
83007         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83009         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83011         * shlib-versions: Remove entries for ports architectures.
83013         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83014         files in ports.
83015         * elf/stackguard-macros.h: Remove support for IA-64.
83016         * elf/tst-auditmod1.c: Likewise.
83017         * sysdeps/generic/ldsodefs.h: Likewise.
83019         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83020         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83021         configure files.
83023         [BZ #13552]
83024         * configure.in: Remove --enable-omitfp support.
83025         * FAQ.in: Adjust.
83026         * config.make.in: Likewise.
83027         * Makeconfig: Likewise.
83028         * manual/install.texi: Likewise.
83030         In case anyone cares, the IA-64 architecture could move to ports.
83031         * sysdeps/ia64/*: Removed.
83032         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83033         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83035         [BZ #13555]
83036         * configure.in: Remove entries for unsupported architectures.
83038         [BZ #13533]
83039         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83040         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83041         routines.
83042         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83043         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83044         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83045         fall back to using wcrtomb.
83046         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83047         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83048         renaming.
83049         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83050         * wcsmbs/tst-c16c32-1.c: New file.
83052         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83053         local variable.
83055         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83057         * elf/tst-unique3.cc: Add explicit declaration of gets.
83058         * elf/tst-unique3lib.cc: Likewise.
83059         * elf/tst-unique3lib2.cc: Likewise.
83060         * elf/tst-unique4.cc: Likewise.
83062         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83064 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83066         [BZ #13566]
83067         * assert/assert.h (static_assert): Don't define for C++.
83068         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83069         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83071 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83073         * iconv/loop.c (single loop): Fix assertion in storing of
83074         remaining bytes.
83076         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83078 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83080         * posix/getconf.c: Update copyright year.
83081         * nss/getent.c: Likewise.
83082         * nss/makedb.c: Likewise.
83083         * iconv/iconvconfig.c: Likewise.
83084         * iconv/iconv_prog.c: Likewise.
83085         * elf/ldconfig.c: Likewise.
83086         * elf/pldd.c: Likewise.
83087         * elf/sotruss.ksh: Likewise.
83088         * catgets/gencat.c: Likewise.
83089         * csu/version.c: Likewise.
83090         * elf/ldd.bash.in: Likewise.
83091         * elf/sprof.c (print_version): Likewise.
83092         * locale/programs/locale.c: Likewise.
83093         * locale/programs/localedef.c: Likewise.
83094         * login/programs/pt_chown.c: Likewise.
83095         * nscd/nscd.c (print_version): Likewise.
83096         * debug/xtrace.sh: Likewise.
83097         * malloc/memusage.sh: Likewise.
83098         * malloc/mtrace.pl: Likewise.
83099         * debug/catchsegv.sh: Likewise.
83101 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83103         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83104         pure attribute.
83106 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83108         [BZ #13533]
83109         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83110         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83111         transformations.
83112         * iconv/gconv_int.h: Likewise.
83113         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83114         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83115         from libc for GLIBC_2.16.
83116         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83117         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83118         * wcsmbs/uchar.h: Really define mbstate_t.
83119         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83120         * wcsmbs/c16rtomb.c: New file.
83121         * wcsmbs/mbrtoc16.c: New file.
83122         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83123         for C/POSIX locale.
83124         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83125         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83127         * wcsmbs/wchar.h: Add missing __restrict.
83129 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83131         [BZ #13532]
83132         * time/Makefile (routines): Add timespec_get.
83133         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83134         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83135         timespec for ISO C11.
83136         * time/timespec_get.c: New file.
83137         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83138         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83140         [BZ #13531]
83141         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83142         * stdlib/stdlib.h: Declare aligned_alloc.
83143         * Versions.def: Add GLIBC_2.16 for libc.
83144         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83146         [BZ 13527]
83147         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83148         ISO C11.
83150         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83151         code.
83153         [BZ #13528]
83154         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83156         [BZ #13529]
83157         * assert/assert.h (static_assert): Define.
83159         * version.h: Update for 2.16 development version.
83161         [BZ #13526]
83162         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83163         _ISOC11_SOURCE.
83165         * version.h (RELEASE): Bump for 2.15 release.
83166         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83168         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83169         Patch by Marek Polacek <mpolacek@redhat.com>.
83171         * bits/byteswap.h: Protect long long constants with __extension__.
83172         * sysdeps/i386/bits/byteswap.h: Likewise.
83173         * sysdeps/ia64/bits/byteswap.h: Likewise.
83174         * sysdeps/s390/bits/byteswap.h: Likewise.
83175         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83177 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83179         [BZ #13540]
83180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83181         destination buffer.
83182         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83184 2011-12-23  Marek Polacek  <polacek@redhat.com>
83186         * elf/dl-addr.c (determine_info): Add inline keyword.
83187         * elf/tst-auditmod4b.c (check_avx): Likewise.
83188         * elf/tst-auditmod6b.c (check_avx): Likewise.
83189         * elf/tst-auditmod6c.c (check_avx): Likewise.
83190         * elf/tst-auditmod7b.c (check_avx): Likewise.
83192 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83194         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83195         !__SSE_MATH__.
83197 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83199         [BZ #13540]
83200         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83201         processing for last bytes.
83203 2011-08-06  Bruno Haible  <bruno@clisp.org>
83205         [BZ #13061]
83206         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83207         U+0385, not to U+1FEE.
83209         [BZ #13062]
83210         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83211         entry for U+00A5 U+0301.
83213 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83215         [BZ #13166]
83216         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83217         buffer for the output is too small.
83219         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83220         optimization.
83222         [BZ #13185]
83223         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83224         SSE flags if possible.
83226 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83228         [BZ #13540]
83229         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83230         processing for last bytes.
83232 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83234         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83235         (syscall-list-default-options, syscall-list-default-condition)
83236         (syscall-list-includes): Define.
83237         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83238         list of ABIs and options and #if conditions for each ABI.  Do not
83239         handle common syscalls between ABIs specially.
83240         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83241         Remove.
83242         (syscall-list-variants, syscall-list-32bit-options)
83243         (syscall-list-32bit-condition, syscall-list-64bit-options)
83244         (syscall-list-64bit-condition): Define.
83245         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83246         (syscall-list-variants, syscall-list-32bit-options)
83247         (syscall-list-32bit-condition, syscall-list-64bit-options)
83248         (syscall-list-64bit-condition): Define.
83249         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83250         Remove.
83251         (syscall-list-variants, syscall-list-32bit-options)
83252         (syscall-list-32bit-condition, syscall-list-64bit-options)
83253         (syscall-list-64bit-condition): Define.
83254         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83255         Remove.
83256         (syscall-list-variants, syscall-list-32bit-options)
83257         (syscall-list-32bit-condition, syscall-list-64bit-options)
83258         (syscall-list-64bit-condition): Define.
83260 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83262         * locale/iso-639.def: Add brx entry.
83264         [BZ #13328]
83265         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83266         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83268         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83269         __feraiseexcept_renamed.
83271 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83273         [BZ #13538]
83274         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83275         EPOLLET with unsigned values.
83276         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83277         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83279         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83280         to large cancellation.
83281         * math/s_cacoshf.c: Likewise.
83282         * math/s_cacoshl.c: Likewise.
83284 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83286         [BZ #13305]
83287         [BZ #12786]
83288         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83289         * math/s_cacoshf.c: Likewise.
83290         * math/s_cacoshl.c: Likewise.
83292 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83294         [BZ #13439]
83295         * iconv/gconv.h: Define __GCONV_SWAP.
83296         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83297         * iconvdata/utf-16.c: Likewise.
83298         * iconvdata/utf-32.c: Likewise.
83300 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83302         [BZ #13524]
83303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83304         numerator after shifting it by one limb.
83306 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83308         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83309         under [__USE_EXTERN_INLINES].
83311 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83313         [BZ #13446]
83314         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83316 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83318         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83319         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83320         optimized code.
83321         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83323         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83324         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83325         for strncasecmp/strncasecmp_l compilation.
83326         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83327         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83329 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83331         [BZ #13484]
83332         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83333         of __asm__.
83335 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83337         [BZ #13506]
83338         * time/tzfile.c (__tzfile_read): Check values from file header.
83340 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83342         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83343         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83344         * powerpc/powerpc32/dl-start.S: Likewise.
83345         * powerpc/powerpc32/elf/start.S: Likewise.
83346         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83347         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83348         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83349         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83350         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83351         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83352         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83353         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83354         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83355         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83356         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83357         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83358         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83359         * powerpc/powerpc32/memset.S: Likewise.
83360         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83361         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83362         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83363         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83364         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83365         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83366         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83367         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83368         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83369         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83370         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83371         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83372         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83374 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83376         * math/libm-test.inc: Added more nearbyint tests.
83377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83378         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83382 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83384         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83385         FD_CLOEXEC.
83387 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83389         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83390         Add wcscpy-ssse3 wcscpy-c.
83391         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83392         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83393         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83394         * sysdeps/x86_64/wcschr.S: New file.
83395         * sysdeps/x86_64/wcsrchr.S: New file.
83396         * string/test-strcmp.c: Remove checking of wcscmp function for
83397         wrong alignments.
83398         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83399         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83400         wcsrchr-sse2 wcsrchr-c.
83401         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83402         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83403         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83404         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83405         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83406         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83407         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83408         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83409         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83410         * wcsmbc/wcschr.c (WCSCHR): New macro.
83412 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83414         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83415         * wcsmbs/test-wcsrchr.c: New file.
83416         * string/test-strrchr.c: Add wcsrchr support.
83417         (WIDE): New macro.
83418         * wcsmbs/test-wcscpy.c: New file.
83419         * string/test-strcpy.c: Add wcscpy support.
83420         (WIDE): New macro.
83422 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83424         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83425         the inner loop.
83427 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83429         [BZ #13472]
83430         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83432 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83434         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83435         Minor optimizations.
83437         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83438         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83439         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83441 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83443         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83444         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83445         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83446         for gcc to avoid warnings.
83447         * inet/Makefile (tests): Add tst-checks.
83448         * inet/tst-checks.c: New file.
83450         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83451         warning.
83453         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83454         __wmemcmp_sse2.
83456         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83457         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83459         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83461 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83463         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83464         problem.
83466         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83468 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83470         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83471         conditional on GCC version.
83472         (__arch_compare_and_exchange_val_8_acq)
83473         (__arch_compare_and_exchange_val_16_acq)
83474         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83475         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83476         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83478 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83480         * sysdeps/sh/backtrace.c: New file.
83482 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83484         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83485         parenthesis.
83487 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83489         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83490         falling back to utime.
83492 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83494         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83495         expectations for float.
83497 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83499         * locale/weight.h (findidx): Add parameter len.
83500         * locale/weightwc.h (findidx): Likewise.
83501         * posix/fnmatch_loop.c (FCT): Adjust caller.
83502         * posix/regcomp.c (build_equiv_class): Likewise.
83503         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83504         * posix/regexec.c (check_node_accept_bytes): Likewise.
83505         * string/strcoll_l.c (STRCOLL): Likewise.
83506         * string/strxfrm_l.c (STRXFRM): Likewise.
83508 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83510         * Makefile.in: Remove CVSOPT handling.
83511         * configure.in: Remove use of AC_REVISION.
83512         * iconvdata/Makefile (distribute): No need to filter out CVS.
83513         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83514         handling.
83516 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83518         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83519         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83520         [USE_AS_STRNCASECMP_L]: Likewise.
83521         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83522         NO_TLS_DIRECT_SEG_REFS.
83523         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83524         Fix argument offsets for non-PIC.
83525         [USE_AS_STRNCASECMP_L]: Likewise.
83526         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83527         NO_TLS_DIRECT_SEG_REFS.
83529 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83531         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83532         O_CLOEXEC.
83533         * locale/loadlocale.c (_nl_load_locale): Likewise.
83535 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83537         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83538         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83539         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83540         (SYSCALL_GETTIME): Set errno on error.
83542         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83543         count references to noai6ai_cached.
83545 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83547         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83549         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83550         FD_CLOEXEC for /proc/self/maps.
83552         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83553         FD_CLOEXEC for /proc/meminfo.
83555         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83556         gai.conf.
83558         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83559         FD_CLOEXEC for given file.
83561         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83563         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83564         FD_CLOEXEC for /etc/hosts.
83565         (_gethtent): Likewise.
83567         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83569         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83570         cancellation and set FD_CLOEXEC for /etc/netgroup.
83572         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83573         reading /etc/publickey.
83575         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83576         allow cancellation when reading /etc/group.
83578         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83579         cancellation.
83580         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83582         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83583         when using data file.
83585         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83587         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83588         (write_nis_obj): Use "c" and "e" in fopen.
83590         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83592         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83594         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83596         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83598         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83599         locale.alias.
83601         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83603         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83605         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83607         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83608         file parsing and set FD_CLOEXEC.
83610 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83612         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83614 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83616         * malloc/arena.c (arena_get2): Don't call reused_arena when
83617         _int_new_arena failed.
83619 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83621         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83622         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83623         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83624         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83625         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83627         to compile strcasecmp and strncasecmp.
83628         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83629         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83631         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83633 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83635         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83636         locale-defines.sym to gen-as-const-headers.
83637         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83638         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83639         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83640         to compile strcasecmp and strncasecmp.
83641         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83642         strcasecmp_l and strncasecmp_l.
83643         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83644         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83645         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83646         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83647         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83648         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83649         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83650         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83651         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83652         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83653         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83655 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83657         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83658         result of SYSDEP_GETTIME_CPU to retval.
83659         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83660         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83662         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83663         variable.
83665         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83666         mantissa words.
83667         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83669         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83670         from unused variable.
83672         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83673         DWARF definitions.
83674         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83675         for assembling.
83677         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83678         over namespaces.
83680         * sunrpc/rpc_prot.c (rejected): Fix case value.
83682         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83683         unsigned long long int to avoid warnings in shift.
83685         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83686         of use of trans.
83687         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83688         variable tmp.
83690         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83691         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83692         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83694         * nis/nis_table.c (nis_list): Use variable of correct type for
83695         result of __follow_path call.
83697 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83699         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83700         of math functions ceil, trunc, floor, round, and sqrt, when
83701         avaliable on the platform.
83702         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83703         name clash.
83704         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83705         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83706         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83708 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83710         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83711         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83713 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83715         * include/unistd.h: Fix __readlink return type.
83716         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83718 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83720         * stdlib/ucontext.h: Undo last change for makecontext.
83722 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83724         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83726         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83727         * setjmp/setjmp.h: Mark functions as non-leaf.
83728         * setjmp/bits/setjmp2.h: Likewise.
83729         * stdlib/ucontext.h: Likewise.
83731 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83733         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83734         (reused_arena): Don't check arena limit.
83735         (arena_get2): Atomically check arena limit.
83737 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83739         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83740         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83743         instructions.
83745 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83747         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83748         handler when locking.
83750         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83751         Fix size of allocated buffer.
83753 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83755         [BZ #10103]
83756         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83757         declarations for long double functions.
83758         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83760         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83762 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83764         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83765         installed.
83767         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83768         is disabled.
83770 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83772         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83774 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83776         * include/alloca.h (stackinfo_alloca_round): Define.
83777         (extend_alloca): Use it.
83778         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83779         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83780         here.
83782         * scripts/check-local-headers.sh: Ignore libaudit.h.
83784         * nscd/Makefile (extra-objs): Make recursively expanded.
83786 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83788         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83789         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83791         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83792         * posix/tst-rfc3484-2.c: Likewise.
83793         * posix/tst-rfc3484-3.c: Likewise.
83795         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83796         process_vm_writev.
83797         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83798         process_vm_writev.
83799         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83800         process_vm_writev from libc using GLIBC_2.15 version.
83802         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83804 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83806         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83807         stack usage.
83809 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83811         [BZ #13367]
83812         * nss/getent.c (initgroups_keys): Show error message in case no group
83813         names are given.
83815         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83816         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83817         __bump_nl_timestamp.
83818         * nscd/connections (nscd_init): When host database is served open
83819         netlink socket and request notification about configuration changes.
83820         (main_loop_poll): Track netlink file descriptor and bump timestamp
83821         in case data becomes available.
83822         (main_loop_epoll): Likewise.
83823         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83824         (database_pers_head): Add extra_data fileds.
83825         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83826         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83827         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83828         Adjust caller.
83829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83830         in6ai data, call __free_in6ai.
83831         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83832         Add -DHAVE_NETLINK.
83833         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83834         interface information.  Reuse previous data if netlink timestamp
83835         is not changed.
83836         (__bump_nl_timestamp): New function.
83837         (__free_in6ai): New function.
83839 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83842         close_not_cancel_no_status here.
83843         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83845 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83847         [BZ #13276]
83848         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83849         return value.
83851         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83852         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83853         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83855 2011-07-03  Andreas Jaeger  <aj@suse.de>
83857         [BZ #10709]
83858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83859         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83860         * math/libm-test.inc (sin_test): Add test case.
83862 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83864         [BZ #13337]
83865         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83866         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83868         * elf/chroot_canon.c (chroot_canon): Cleanups.
83870         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83872         [BZ #13335]
83873         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83874         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83876         * string/test-strchr.c: Make usable for strchrnul testing.
83877         * string/test-strchrnul.c: New file.
83878         * string/Makefile (strop-tests): Add strchrnul.
83880         * po/it.po: Update from translation team.
83881         * po/es.po: Likewise.
83883 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83885         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83886         the three constants needed as parameters.  Drop the others.
83887         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83888         __m128i_strloadu_tolower.
83889         Create and initialize variable zero and use it in all the places
83890         where _mm_setzero_si128 was used.
83892         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83893         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83894         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83895         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83896         anymore.
83897         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83898         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83899         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83900         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83901         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83902         __mpranred, __mptan.
83903         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83904         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83905         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83906         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83907         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83908         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83909         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83910         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83911         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83913 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83915         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83916         redefine if SHARED.
83917         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83920         wide char related routines to wcsmbs subdir.
83922 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83924         [BZ #13344]
83925         * misc/sys/cdefs.h (__THROWNL): Define.
83926         * posix/unistd.h: Use __THREADNL instead of __THREAD
83927         for memory synchronization functions.
83929 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83931         [BZ #13349]
83932         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83933         doesn't exist.
83934         * manual/stdio.texi (Obstack Streams): Node removed.
83936 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83938         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83939         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83940         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83942         * math/math_private.h (math_force_eval): Allow non-addressable
83943         arguments.
83944         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83946 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83948         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83949         file is not needed.
83951         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83952         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83953         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83954         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83955         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83956         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83957         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83958         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83959         Add AVX variants.
83960         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83961         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83962         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83963         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83964         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83965         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83966         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83967         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83968         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83969         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83970         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83971         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83972         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83973         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83974         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83975         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83976         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83977         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83978         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83980         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83981         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83983         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83984         place.  Use VEX encoding when compiling for AVX.
83986 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83988         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83989         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83991         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83993 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83995         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83996         useless if() expression.
83997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83998         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83999         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84000         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84001         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84002         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84003         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84004         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84005         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84006         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84007         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84008         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84009         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84010         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84011         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84012         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84013         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84015         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84017         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84019 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84021         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84022         condition.
84023         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84025 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84027         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84028         .text section.  Avoid duplicate constants.
84029         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84030         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84031         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84035         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84036         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84037         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84038         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84039         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84041         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84042         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84043         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84044         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84045         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84046         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84049         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84050         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84051         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84052         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84053         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84054         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84055         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84056         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84057         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84058         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84059         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84060         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84061         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84062         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84063         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84064         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84065         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84066         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84067         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84068         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84069         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84070         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84071         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84072         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84073         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84075 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84077         * sysdeps/x86_64/dla.h: Move to ...
84078         * sysdeps/x86_64/fpu/dla.h: ...here.
84079         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84080         situations.  Use __builtin_fma only for gcc 4.6 and up.
84082         * config.make.in: Add have-mfma4 entry.
84083         * configure.in: Substitute libc_cv_cc_fma4.
84084         * math/Makefile (dbl-only-routines): Add sincostab.
84085         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84086         Use __sincostab not sincos.
84087         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84088         name is a macro.
84089         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84090         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84091         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84093         using __copysign.
84094         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84095         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84096         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84097         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84098         and __inv.
84099         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84100         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84101         __copysign.
84102         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84103         define aliases when function name is a macro.
84104         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84105         sysdeps/ieee754/dbl-64/sincos.tbl.
84106         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84107         fma4-enabled routines.
84108         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84109         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84110         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84111         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84112         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84113         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84115         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84116         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84117         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84118         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84119         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84120         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84121         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84122         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84123         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84124         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84125         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84126         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84127         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84128         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84129         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84130         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84131         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84132         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84133         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84134         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84135         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84136         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84137         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84139         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84140         rename.
84141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84147         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84148         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84150 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84152         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84154 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84158         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84159         prediction.
84160         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84162         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84163         Remove unused variable magic_bits.
84164         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84166         * string/strnlen.c: Define and use STRNLEN macro.
84167         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84168         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84169         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84170         * wcsmbs/wcslen.c: Define and use WCSLEN.
84171         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84172         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84173         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84174         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84175         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84176         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84177         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84179 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84182         strnlen-sse2-no-bsf.
84183         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84184         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84185         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84186         Add strnlen support.
84187         (USE_AS_STRNLEN): New macro.
84188         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84189         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84190         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84191         * sysdeps/x86_64/wcslen.S: New file.
84193 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84195         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84196         XMM-moves are used for copying on small sizes.
84198 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84200         * wcsmbs/Makefile (strop-tests): Add wcschr.
84201         * wcsmbs/test-wcschr.c: New file.
84202         * string/test-strchr.c: Update.
84203         Add wcschr support.
84204         (WIDE): New macro.
84206 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84208         * wcsmbs/Makefile (strop-tests): Add wcslen.
84209         * wcsmbs/test-wcslen.c: New file.
84210         * string/test-strlen.c: Update.
84211         Add wcslen support.
84212         (WIDE): New macro.
84214 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84216         * po/it.po: Update from translation team.
84218 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84220         * sysdeps/x86_64/wcscmp.S: Update.
84221         Fix wrong comparison semantics.
84222         wcscmp shall use signed comparison not unsigned.
84223         Don't use substraction to avoid overflow bug.
84224         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84225         * wcsmbc/wcscmp.c: Likewise.
84226         * string/test-strcmp.c: Likewise.
84227         Add new tests to check cases with negative values.
84229 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84231         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84232         * sysdeps/x86_64/dla.h: ...here.  New file.
84233         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84238         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84240         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84241         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84243 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84246         __ynl_finite aliases.
84248 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84252         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84253         define DLA_FMA.
84254         [DLA_FMA] (EMULV): Use DLA_FMA.
84255         [DLA_FMA] (MUL12): Use EMULV.
84256         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84257         that are not needed.
84258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84263         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84266 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84268         * math/s_nan.c: Undef __nan.
84269         * math/s_nanf.c: Undef __nanf.
84270         * math/s_nanl.c: Undef __nanl.
84271         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84272         "math_private.h".
84274 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84276         * math/s_catan.c: Add branch predictions.
84277         * math/s_catanf.c: Likewise.
84278         * math/s_catanh.c: Likewise.
84279         * math/s_catanhf.c: Likewise.
84280         * math/s_catanhl.c: Likewise.
84281         * math/s_catanl.c: Likewise.
84282         * math/s_cexp.c: Likewise.
84283         * math/s_cexpf.c: Likewise.
84284         * math/s_cexpl.c: Likewise.
84285         * math/s_clog.c: Likewise.
84286         * math/s_clog10.c: Likewise.
84287         * math/s_clog10f.c: Likewise.
84288         * math/s_clog10l.c: Likewise.
84289         * math/s_clogf.c: Likewise.
84290         * math/s_clogl.c: Likewise.
84291         * math/s_csqrt.c: Likewise.
84292         * math/s_csqrtf.c: Likewise.
84293         * math/s_csqrtl.c: Likewise.
84294         * math/s_ctanf.c: Likewise.
84295         * math/s_ctanh.c: Likewise.
84296         * math/s_ctanhf.c: Likewise.
84297         * math/s_ctanhl.c: Likewise.
84298         * math/s_ctanl.c: Likewise.
84300         * math/math_private.h: Define __nan, __nanf, __nanl.
84301         * math/s_cacosh.c: Include <math_private.h>.
84302         * math/s_cacoshl.c: Likewise.
84303         * math/s_casinh.c: Likewise.
84304         * math/s_casinhf.c: Likewise.
84305         * math/s_casinhl.c: Likewise.
84306         * math/s_ccos.c: Rely entire on ccosh.
84307         * math/s_ccosf.c: Rely entire on ccoshf.
84308         * math/s_ccosl.c: Rely entirely on ccoshl.
84309         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84310         Remove tests for FE_INVALID.
84311         * math/s_ccoshf.c: Likewise.
84312         * math/s_ccoshl.c: Likewise.
84313         * math/s_csin.c: Likewise.
84314         * math/s_csinf.c: Likewise.
84315         * math/s_csinh.c Likewise.
84316         * math/s_csinhf.c: Likewise.
84317         * math/s_csinhl.c: Likewise.
84318         * math/s_csinl.c: Likewise.
84319         * math/s_ctan.c: Likewise.
84320         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84321         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84322         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84324 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84327         compilation problems.
84329         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84330         __builtin_expect.
84332 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84334         * sysdeps/i386/configure.in: Test for -mfma4 option.
84335         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84336         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84337         COMMON_CPUID_INDEX_80000001.
84338         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84339         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84340         use it if FMA3 is not supported.
84341         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84343         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84344         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84346 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84348         [BZ #12892]
84349         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84350         it would create a cycle with a link time dependency.
84352 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84354         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84355         instruction.
84356         * string/Makefile (strop-tests): Add rawmemchr.
84357         * string/test-rawmemchr.c: New file.
84359         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84360         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84361         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84362         when compiling str{,n}casecmp and when AVX is available.  Hook up
84363         new optimized code in initializers.
84365 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84367         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84368         __feraiseexcept instead of feraiseexcept.
84370 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84372         * math/math_private.h: Define defaults for libc_fetestexcept and
84373         libc_feupdateenv.
84374         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84375         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84376         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84378         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84379         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84380         libc_fetestexcept and libc_feupdateenv.
84382         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84383         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84384         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84385         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84386         libc_feholdexcept_setround.
84388         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84389         Add s_nearbyint-c and s_nearbyintf-c.
84390         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84391         nearbyintf inlines.
84392         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84393         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84394         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84395         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84397         * math/math_private.h: Define defaults for libc_fegetround,
84398         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84399         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84400         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84401         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84402         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84403         standard functions.
84404         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84405         Remove comments and hacks for old compiler versions.
84406         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84407         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84408         libc_feholdexceptl.
84410 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84412         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84413         (__feraiseexcept_renamed): Add __NTH.
84414         (feraiseexcept): Add __NTH.  Rename local variables to fix
84415         namespace violations.
84417 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84419         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84421         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84423         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84424         recently added interfaces.
84425         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84427         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84428         about macro parameter expansion.
84430         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84431         __NO_MATH_INLINES is defined.  Cleanups.
84433         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84434         and __floorf is target has SSE4.1.
84435         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84436         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84437         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84438         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84440         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84441         name.
84442         (floorf): Likewise.
84444         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84446 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84448         * misc/sys/cdefs.h: Fix last change.
84450         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84451         database lookup.
84453 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84455         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84457         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84458         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84459         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84460         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84461         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84462         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84463         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84464         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84465         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84466         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84467         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84468         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84469         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84470         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84471         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84472         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84473         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84474         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84475         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84476         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84477         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84478         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84480         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84481         ceil, ceilf, floor, floorf.
84483         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84484         Perform IRELATIVE relocations last.
84486         * elf/do-rel.h: Add another parameter nrelative, replacing the
84487         local variable with the same name.  Change name of the function
84488         to end in Rel or Rela (uppercase).
84489         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84490         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84491         elf_dynamic_do_##reloc function.
84493 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84495         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84496         is sufficient, at least on modern CPUs.
84498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84500         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84501         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84503         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84504         __expl_finite.
84505         * math/bits/math-finite.h: Add entries for exp.
84506         * math/e_expl.c: Add __*_finite alias.
84507         * sysdeps/i386/fpu/e_exp.S: Likewise.
84508         * sysdeps/i386/fpu/e_expf.S: Likewise.
84509         * sysdeps/i386/fpu/e_expl.c: Likewise.
84510         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84511         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84514         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84515         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84516         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84518         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84519         is sufficient, at least on modern CPUs.
84521         * ctype/ctype-info.c (__ctype_init): Define.
84522         * include/ctype.h (__ctype_init): Declare.
84523         (__ctype_b_loc): The variable is always initialized.
84524         (__ctype_toupper_loc): Likewise.
84525         (__ctype_tolower_loc): Likewise.
84526         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84527         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84529 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84531         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84533         * configure.in: Also look in $cxxmachine/include for C++ system
84534         headers.
84536 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84538         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84539         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84540         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84541         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84542         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84543         (USE_AS_WMEMCMP): New macro.
84544         Fixing indents.
84545         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84546         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84547         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84548         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84549         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84550         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84551         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84552         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84553         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84554         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84555         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84556         (USE_AS_WMEMCMP): New macro.
84557         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84558         * sysdeps/string/test-memcmp.c: Update.
84559         Fix simple_wmemcmp.
84560         Add new tests.
84561         * wcsmbs/wmemcmp.c: Update.
84562         (WMEMCMP): New macro.
84563         Fix overflow bug.
84565 2011-10-12  Andreas Jaeger  <aj@suse.de>
84567         [BZ #13268]
84568         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84570 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84572         * libio/iofwide.c (do_length): Avoid warning.
84574         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84576 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84578         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84580         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84581         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84582         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84583         * sysdeps/i386/i686/fpu/e_log.S: New file.
84584         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84585         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84587         * ctype/ctype.h: Add support for inlined isXXX functions when
84588         compiling C++ code.
84590 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84592         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84594         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84596 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84598         [BZ #13291]
84599         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84601 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84603         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84604         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84605         feraiseexcept.
84607         * sysdeps/x86_64/memrchr.S: Check for zero size.
84609         * string/stratcliff.c: Add memrchr tests.
84611 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84613         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84614         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84615         rawmemchr-sse2 rawmemchr-sse2-bsf.
84616         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84617         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84618         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84619         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84620         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84621         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84622         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84623         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84624         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84625         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84626         * string/memrchr.c (MEMRCHR): New macro.
84628 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84630         Add integration with gcc's -ffinite-math-only and optimize wrapper
84631         functions in libm.
84632         * Versions.def: Define GLIBC_2.15 version for libm.
84633         * math/Makefile (headers): Add bits/math-finite.h.
84634         * math/bits/math-finite.h: New file.
84635         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84636         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84637         * math/e_acoshl.c: Add __*_finite alias.
84638         * math/e_acosl.c: Likewise.
84639         * math/e_asinl.c: Likewise.
84640         * math/e_atan2l.c: Likewise.
84641         * math/e_atanhl.c: Likewise.
84642         * math/e_coshl.c: Likewise.
84643         * math/e_exp10.c: Likewise.
84644         * math/e_exp10f.c: Likewise.
84645         * math/e_exp10l.c: Likewise.
84646         * math/e_exp2l.c: Likewise.
84647         * math/e_fmodl.c: Likewise.
84648         * math/e_gammal_r.c: Likewise.
84649         * math/e_hypotl.c: Likewise.
84650         * math/e_j0l.c: Likewise.
84651         * math/e_j1l.c: Likewise.
84652         * math/e_jnl.c: Likewise.
84653         * math/e_lgammal_r.c: Likewise.
84654         * math/e_log10l.c: Likewise.
84655         * math/e_log2l.c: Likewise.
84656         * math/e_logl.c: Likewise.
84657         * math/e_powl.c: Likewise.
84658         * math/e_sinhl.c: Likewise.
84659         * math/e_sqrtl.c: Likewise.
84660         * math/e_scalb.c: Completely rewritten and optimized.
84661         * math/e_scalbf.c: Likewise.
84662         * math/e_scalbl.c: Likewise.
84663         * math/w_acos.c: Likewise.
84664         * math/w_acosf.c: Likewise.
84665         * math/w_acosl.c: Likewise.
84666         * math/w_acosh.c: Likewise.
84667         * math/w_acoshf.c: Likewise.
84668         * math/w_acoshl.c: Likewise.
84669         * math/w_asin.c: Likewise.
84670         * math/w_asinf.c: Likewise.
84671         * math/w_asinl.c: Likewise.
84672         * math/w_atan2.c: Likewise.
84673         * math/w_atan2f.c: Likewise.
84674         * math/w_atan2l.c: Likewise.
84675         * math/w_atanh.c: Likewise.
84676         * math/w_atanhf.c: Likewise.
84677         * math/w_atanhl.c: Likewise.
84678         * math/w_exp10.c: Likewise.
84679         * math/w_exp10f.c: Likewise.
84680         * math/w_exp10l.c: Likewise.
84681         * math/w_fmod.c: Likewise.
84682         * math/w_fmodf.c: Likewise.
84683         * math/w_fmodl.c: Likewise.
84684         * math/w_j0.c: Likewise.
84685         * math/w_j0f.c: Likewise.
84686         * math/w_j0l.c: Likewise.
84687         * math/w_j1.c: Likewise.
84688         * math/w_j1f.c: Likewise.
84689         * math/w_j1l.c: Likewise.
84690         * math/w_jn.c: Likewise.
84691         * math/w_jnf.c: Likewise.
84692         * math/w_log.c: Likewise.
84693         * math/w_logf.c: Likewise.
84694         * math/w_logl.c: Likewise.
84695         * math/w_log10.c: Likewise.
84696         * math/w_log10f.c: Likewise.
84697         * math/w_log10l.c: Likewise.
84698         * math/w_log2.c: Likewise.
84699         * math/w_log2f.c: Likewise.
84700         * math/w_log2l.c: Likewise.
84701         * math/w_pow.c: Likewise.
84702         * math/w_powf.c: Likewise.
84703         * math/w_powl.c: Likewise.
84704         * math/w_remainder.c: Likewise.
84705         * math/w_remainderf.c: Likewise.
84706         * math/w_remainderl.c: Likewise.
84707         * math/w_scalb.c: Likewise.
84708         * math/w_scalbf.c: Likewise.
84709         * math/w_scalbl.c: Likewise.
84710         * math/w_sqrt.c: Likewise.
84711         * math/w_sqrtf.c: Likewise.
84712         * math/w_sqrtl.c: Likewise.
84713         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84714         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84715         used.
84716         * math/math_private.h: Declare __kernel_standard_f.
84717         * math/w_cosh.c: Remove cruft and optimize a bit.
84718         * math/w_coshf.c: Likewise.
84719         * math/w_coshl.c: Likewise.
84720         * math/w_exp2.c: Likewise.
84721         * math/w_exp2f.c: Likewise.
84722         * math/w_exp2l.c: Likewise.
84723         * math/w_hypot.c: Likewise.
84724         * math/w_hypotf.c: Likewise.
84725         * math/w_hypotl.c: Likewise.
84726         * math/w_lgamma.c: Likewise.
84727         * math/w_lgamma_r.c: Likewise.
84728         * math/w_lgammaf.c: Likewise.
84729         * math/w_lgammaf_r.c: Likewise.
84730         * math/w_lgammal.c: Likewise.
84731         * math/w_lgammal_r.c: Likewise.
84732         * math/w_sinh.c: Likewise.
84733         * math/w_sinhf.c: Likewise.
84734         * math/w_sinhl.c: Likewise.
84735         * math/w_tgamma.c: Likewise.
84736         * math/w_tgammaf.c: Likewise.
84737         * math/w_tgammal.c: Likewise.
84738         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84739         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84740         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84741         Minor optimizations.  Pretty printing.  Remove cruft.
84742         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84743         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84744         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84745         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84746         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84747         * sysdeps/i386/fpu/e_asin.S: Likewise.
84748         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84749         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84750         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84751         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84752         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84753         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84754         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84755         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84756         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84757         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84758         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84759         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84760         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84761         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84762         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84763         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84764         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84765         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84766         * sysdeps/i386/fpu/e_log.S: Likewise.
84767         * sysdeps/i386/fpu/e_log10.S: Likewise.
84768         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84769         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84770         * sysdeps/i386/fpu/e_log2.S: Likewise.
84771         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84772         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84773         * sysdeps/i386/fpu/e_logf.S: Likewise.
84774         * sysdeps/i386/fpu/e_logl.S: Likewise.
84775         * sysdeps/i386/fpu/e_pow.S: Likewise.
84776         * sysdeps/i386/fpu/e_powf.S: Likewise.
84777         * sysdeps/i386/fpu/e_powl.S: Likewise.
84778         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84779         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84780         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84781         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84782         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84783         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84784         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84785         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84786         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84787         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84788         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84789         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84790         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84791         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84792         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84793         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84794         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84795         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84796         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84797         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84798         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84800         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84801         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84803         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84804         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84805         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84806         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84807         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84808         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84809         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84810         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84811         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84812         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84813         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84814         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84815         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84816         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84817         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84818         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84819         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84820         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84821         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84822         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84823         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84824         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84825         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84826         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84827         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84828         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84829         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84830         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84831         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84832         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84833         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84834         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84835         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84836         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84837         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84838         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84839         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84840         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84842         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84843         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84844         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84845         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84846         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84847         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84848         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84849         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84850         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84851         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84852         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84853         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84855         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84857         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84858         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84859         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84860         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84861         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84862         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84863         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84864         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84865         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84866         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84867         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84868         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84869         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84870         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84871         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84872         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84873         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84874         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84875         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84876         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84877         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84878         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84879         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84880         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84881         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84882         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84883         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84884         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84885         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84886         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84887         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84888         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84889         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84890         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84891         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84892         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84893         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84894         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84895         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84896         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84897         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84898         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84899         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84900         (__isnanf): Likewise.
84901         (__isinf_ns): Likewise.
84902         (__isinf_nsf): Likewise.
84903         (__finite): Likewise.
84904         (__finitef): Likewise.
84905         (__ieee754_sqrt): Define as macro.
84906         (__ieee754_sqrtf): Define as macro.
84907         (__ieee754_sqrtl): Define as macro.
84908         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84909         inlined copy.
84910         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84911         __FINITE_MATH_ONLY__ consistent.
84912         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84914 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84916         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84917         of rawmemchr.
84919         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84921 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84923         * po/ja.po: Update from translation team.
84925 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84927         * locale/programs/locarchive.c (prepare_address_space): New function.
84928         (create_archive, enlarge_archive, open_archive): Use it.
84930         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84931         inside [SHARED], where it is used.
84933         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84935         * nss/getent.c (netgroup_keys): Remove unused variable.
84936         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84938 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84940         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84941         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84942         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84943         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84944         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84945         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84946         * math/Makefile (libm-calls): Add s_isinf_ns.
84947         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84948         * math/multc3.c: Likewise.
84949         * math/s_casin.c: Likewise.
84950         * math/s_casinf.c: Likewise.
84951         * math/s_casinl.c: Likewise.
84952         * math/s_ccos.c: Likewise.
84953         * math/s_ccosf.c: Likewise.
84954         * math/s_ccosl.c: Likewise.
84955         * math/s_ctan.c: Likewise.
84956         * math/s_ctanf.c: Likewise.
84957         * math/s_ctanh.c: Likewise.
84958         * math/s_ctanhf.c: Likewise.
84959         * math/s_ctanhl.c: Likewise.
84960         * math/s_ctanl.c: Likewise.
84961         * math/w_fmod.c: Likewise.
84962         * math/w_fmodf.c: Likewise.
84963         * math/w_fmodl.c: Likewise.
84964         * math/w_remainder.c: Likewise.
84965         * math/w_remainderf.c: Likewise.
84966         * math/w_remainderl.c: Likewise.
84967         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84968         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84969         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84970         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84971         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84972         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84973         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84974         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84976         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84977         of the number.
84978         * stdio-common/printf_fphex.c: Likewise.
84979         * stdio-common/printf_size.c: Likewise.
84981         * math/e_exp10.c: Include math_private.h using <...> not "...".
84982         * math/e_exp10f.c: Likewise.
84983         * math/e_exp10l.c: Likewise.
84984         * math/e_exp2l.c: Likewise.
84985         * math/e_j0l.c: Likewise.
84986         * math/e_j1l.c: Likewise.
84987         * math/e_jnl.c: Likewise.
84988         * math/e_lgammal_r.c: Likewise.
84989         * math/e_rem_pio2l.c: Likewise.
84990         * math/e_scalb.c: Likewise.
84991         * math/e_scalbf.c: Likewise.
84992         * math/e_scalbl.c: Likewise.
84993         * math/k_cosl.c: Likewise.
84994         * math/k_sinl.c: Likewise.
84995         * math/k_tanl.c: Likewise.
84996         * math/s_cacoshf.c: Likewise.
84997         * math/s_catan.c: Likewise.
84998         * math/s_catanf.c: Likewise.
84999         * math/s_catanh.c: Likewise.
85000         * math/s_catanhf.c: Likewise.
85001         * math/s_catanhl.c: Likewise.
85002         * math/s_catanl.c: Likewise.
85003         * math/s_ccosh.c: Likewise.
85004         * math/s_ccoshf.c: Likewise.
85005         * math/s_ccoshl.c: Likewise.
85006         * math/s_cexp.c: Likewise.
85007         * math/s_cexpf.c: Likewise.
85008         * math/s_cexpl.c: Likewise.
85009         * math/s_clog.c: Likewise.
85010         * math/s_clog10.c: Likewise.
85011         * math/s_clog10f.c: Likewise.
85012         * math/s_clog10l.c: Likewise.
85013         * math/s_clogf.c: Likewise.
85014         * math/s_clogl.c: Likewise.
85015         * math/s_csin.c: Likewise.
85016         * math/s_csinf.c: Likewise.
85017         * math/s_csinh.c: Likewise.
85018         * math/s_csinhf.c: Likewise.
85019         * math/s_csinhl.c: Likewise.
85020         * math/s_csinl.c: Likewise.
85021         * math/s_csqrt.c: Likewise.
85022         * math/s_csqrtf.c: Likewise.
85023         * math/s_csqrtl.c: Likewise.
85024         * math/s_ctan.c: Likewise.
85025         * math/s_ctanf.c: Likewise.
85026         * math/s_ctanh.c: Likewise.
85027         * math/s_ctanhf.c: Likewise.
85028         * math/s_ctanhl.c: Likewise.
85029         * math/s_ctanl.c: Likewise.
85030         * math/s_ldexp.c: Likewise.
85031         * math/s_ldexpf.c: Likewise.
85032         * math/s_ldexpl.c: Likewise.
85033         * math/s_significand.c: Likewise.
85034         * math/s_significandf.c: Likewise.
85035         * math/s_significandl.c: Likewise.
85036         * math/w_acos.c: Likewise.
85037         * math/w_acosf.c: Likewise.
85038         * math/w_acosh.c: Likewise.
85039         * math/w_acoshf.c: Likewise.
85040         * math/w_acoshl.c: Likewise.
85041         * math/w_acosl.c: Likewise.
85042         * math/w_asin.c: Likewise.
85043         * math/w_asinf.c: Likewise.
85044         * math/w_asinl.c: Likewise.
85045         * math/w_atan2.c: Likewise.
85046         * math/w_atan2f.c: Likewise.
85047         * math/w_atan2l.c: Likewise.
85048         * math/w_atanh.c: Likewise.
85049         * math/w_atanhf.c: Likewise.
85050         * math/w_atanhl.c: Likewise.
85051         * math/w_cosh.c: Likewise.
85052         * math/w_coshf.c: Likewise.
85053         * math/w_coshl.c: Likewise.
85054         * math/w_dremf.c: Likewise.
85055         * math/w_exp10.c: Likewise.
85056         * math/w_exp10f.c: Likewise.
85057         * math/w_exp10l.c: Likewise.
85058         * math/w_exp2.c: Likewise.
85059         * math/w_exp2f.c: Likewise.
85060         * math/w_fmod.c: Likewise.
85061         * math/w_fmodf.c: Likewise.
85062         * math/w_fmodl.c: Likewise.
85063         * math/w_hypot.c: Likewise.
85064         * math/w_hypotf.c: Likewise.
85065         * math/w_hypotl.c: Likewise.
85066         * math/w_j0.c: Likewise.
85067         * math/w_j0f.c: Likewise.
85068         * math/w_j0l.c: Likewise.
85069         * math/w_j1.c: Likewise.
85070         * math/w_j1f.c: Likewise.
85071         * math/w_j1l.c: Likewise.
85072         * math/w_jn.c: Likewise.
85073         * math/w_jnf.c: Likewise.
85074         * math/w_jnl.c: Likewise.
85075         * math/w_lgamma.c: Likewise.
85076         * math/w_lgamma_r.c: Likewise.
85077         * math/w_lgammaf.c: Likewise.
85078         * math/w_lgammaf_r.c: Likewise.
85079         * math/w_lgammal.c: Likewise.
85080         * math/w_lgammal_r.c: Likewise.
85081         * math/w_log.c: Likewise.
85082         * math/w_log10.c: Likewise.
85083         * math/w_log10f.c: Likewise.
85084         * math/w_log10l.c: Likewise.
85085         * math/w_log2.c: Likewise.
85086         * math/w_log2f.c: Likewise.
85087         * math/w_log2l.c: Likewise.
85088         * math/w_logf.c: Likewise.
85089         * math/w_logl.c: Likewise.
85090         * math/w_pow.c: Likewise.
85091         * math/w_powf.c: Likewise.
85092         * math/w_powl.c: Likewise.
85093         * math/w_remainder.c: Likewise.
85094         * math/w_remainderf.c: Likewise.
85095         * math/w_remainderl.c: Likewise.
85096         * math/w_scalb.c: Likewise.
85097         * math/w_scalbf.c: Likewise.
85098         * math/w_scalbl.c: Likewise.
85099         * math/w_sinh.c: Likewise.
85100         * math/w_sinhf.c: Likewise.
85101         * math/w_sinhl.c: Likewise.
85102         * math/w_sqrt.c: Likewise.
85103         * math/w_sqrtf.c: Likewise.
85104         * math/w_sqrtl.c: Likewise.
85105         * math/w_tgamma.c: Likewise.
85106         * math/w_tgammaf.c: Likewise.
85107         * math/w_tgammal.c: Likewise.
85109         * po/ja.po: Update from translation team.
85111 2011-09-29  Andreas Jaeger  <aj@suse.de>
85113         [BZ #13179]
85114         * sunrpc/netname.c (netname2host): Fix logic.
85116         [BZ #6779]
85117         [BZ #6783]
85118         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85119         correctly.
85120         * math/w_remainder.c (__remainder): Likewise.
85121         * math/w_remainderf.c (__remainderf): Likewise.
85122         * math/libm-test.inc (remainder_test): Add test cases.
85124 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85126         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85127         sdiv_qrnnd.
85129 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85131         * string/test-memcmp.c: Avoid unncessary #defines.
85132         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85134 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85136         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85137         Use new sse2 version for core i3 - i7 as it's faster
85138         than sse42 version.
85139         (bit_Prefer_PMINUB_for_stringop): New.
85140         * sysdeps/x86_64/rawmemchr.S: Update.
85141         Replace with faster SSE2 version.
85142         * sysdeps/x86_64/memrchr.S: New file.
85143         * sysdeps/x86_64/memchr.S: Update.
85144         Replace with faster SSE2 version.
85146 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85148         * elf/dl-load.c (lose): Add cast to avoid warning.
85150 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85152         * po/ca.po: Update from translation team.
85154         * inet/getnetgrent_r.c: Hook up nscd.
85155         * nscd/Makefile (routines): Add nscd_netgroup.
85156         (nscd-modules): Add netgroupcache.
85157         (CFLAGS-netgroupcache.c): Define.
85158         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85159         (cache_search): Add const to second parameter.
85160         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85161         INNETGR.
85162         (dbs): Add netgrdb entry.
85163         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85164         (verify_persistent_db): Handle netgrdb.
85165         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85166         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85167         GETFDNETGR.
85168         (netgroup_response_header): Define.
85169         (innetgroup_response_header): Define.
85170         (datahead): Add netgroup_response_header and innetgroup_response_header
85171         elements.
85172         * nscd/nscd.conf: Add entries for netgroup cache.
85173         * nscd/nscd.h (dbtype): Add netgrdb.
85174         (_PATH_NSCD_NETGROUP_DB): Define.
85175         (netgroup_iov_disabled): Declare.
85176         (xmalloc, xcalloc, xrealloc): Move declarations here.
85177         (cache_search): Adjust prototype.
85178         Add netgroup-related prototypes.
85179         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85180         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85181         (__nscd_innetgr): Declare.
85182         * nscd/selinux.c (perms): Use access_vector_t as element type and
85183         add netgroup-related initializers.
85184         * nscd/netgroupcache.c: New file.
85185         * nscd/nscd_netgroup.c: New file.
85186         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85187         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85188         For four parameters use innetgr.
85189         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85190         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85191         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85192         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85194         * nscd/connections.c (register_traced_file): Don't register file
85195         for disabled databases.
85197 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85199         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85201         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85202         from tree and freeing node.
85204 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85206         * nss/nsswitch.c (__nss_database_lookup): Handle
85207         nss_parse_service_list out of memory case.
85209 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85211         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85212         out of memory case.
85214 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85216         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85217         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85218         pass it down.
85219         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85220         elf_machine_rela, elf_machine_lazy_rel.
85221         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85222         (ELF_DYNAMIC_DO_REL): Likewise.
85223         (ELF_DYNAMIC_DO_RELA): Likewise.
85224         (ELF_DYNAMIC_RELOCATE): Likewise.
85225         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85226         to ELF_DYNAMIC_DO_REL.
85227         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85228         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85229         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85230         elf_machine_rela.
85231         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85232         skip_ifunc, don't call ifunc function if non-zero.
85233         (elf_machine_rela): Likewise.
85234         (elf_machine_lazy_rel): Likewise.
85235         (elf_machine_lazy_rela): Likewise.
85236         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85237         (elf_machine_lazy_rel): Likewise.
85238         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85239         Likewise.
85240         (elf_machine_lazy_rel): Likewise.
85241         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85242         Likewise.
85243         (elf_machine_lazy_rel): Likewise.
85244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85245         (elf_machine_lazy_rel): Likewise.
85246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85247         (elf_machine_lazy_rel): Likewise.
85248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85249         (elf_machine_lazy_rel): Likewise.
85250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85251         (elf_machine_lazy_rel): Likewise.
85252         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85253         (elf_machine_lazy_rel): Likewise.
85254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85255         (elf_machine_lazy_rel): Likewise.
85257 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85259         * nss/nss_files/files-init.c (_nss_files_init): Use static
85260         initialization for all the *_traced_file variables.
85262 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85264         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85266 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85268         [BZ #13226]
85269         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85271 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85273         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85274         Reread the line before reparsing it.
85276 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85278         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85280 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85281             Maxim Kuvyrkov  <maxim@codesourcery.com>
85282             Joseph Myers  <joseph@codesourcery.com>
85284         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85285         if needed for __stack_chk_guard.
85287 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85289         * sysdeps/posix/spawni.c (script_execute): Always define it.
85290         It will be optimized away if unused.
85291         (maybe_script_execute): New function.
85292         (__spawni): Call it.
85294         * Makerules: Don't include tls.make.
85295         (config-tls): Always set to thread.
85296         * tls.make.c: File removed.
85298 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85300         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85301         * config.make.in (CPPFLAGS-config): New substituted variable.
85303 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85305         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85307         [BZ #13192]
85308         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85309         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85311 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85313         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85314         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85315         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85316         (CALL_FAIL): Likewise.
85317         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85318         (CALL_FAIL): Macro removed.
85319         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85321 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85323         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85324         for __FINITE_MATH_ONLY__ == 1.
85326 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85328         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85329         __ieee754_sqrt instead of sqrt.
85330         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85331         __ieee754_sqrtf instead of sqrtf.
85332         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85333         __floorf instead of floorf.
85334         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85335         __floorf, __truncf instead of floorf, truncf.
85337 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85339         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85341         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85342         __extern_always_inline.
85343         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85344         32-bit.
85346 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85348         * elf/rtld.c (dl_main): Also relocate in dependency order when
85349         doing symbol dependency testing.
85351 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85354         Always define `refsym'.
85356 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85358         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85359         (__FD_ELT): Renamed from __FDELT.
85360         * misc/bits/select2.h (__FD_ELT): Likewise.
85361         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85362         __FD_MASK instead of __FDELT, __FDMASK.
85363         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85364         Likewise.
85365         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85366         Likewise.
85368         * elf/Makefile (gen-ldd): Fix pattern.
85370         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85371         (init_tls): Likewise.
85373 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85375         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85377 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85379         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85380         `struct cmsghdr *' instead of `void *'.
85381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85382         Likewise.
85384 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85386         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85387         if non-absolute.
85388         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85389         ldd_rewrite_script.
85391 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85393         * configure.in: Remove --with-tls option.
85394         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85395         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85396         out in case it is missing.
85397         * sysdeps/ia64/elf/configure.in: Likewise.
85398         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85399         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85400         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85401         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85402         * sysdeps/sh/elf/configure.in: Likewise.
85403         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85404         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85405         * sysdeps/x86_64/elf/configure.in: Likewise.
85406         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85407         * sysdeps/mach/hurd/tls.h: Likewise.
85409         [BZ #13067]
85410         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85412         [BZ #13090]
85413         * configure.in: Fix use of AC_INIT.
85415         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85417 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85419         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85420         __set_errno.
85421         * malloc/hooks.c: Likewise.
85423         [BZ #11929]
85424         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85425         variables statically.
85426         (narenas): Initialize.
85427         (list_lock): Initialize.
85428         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85429         initializtion of main_arena and list_lock.  Small cleanups.
85430         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85431         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85432         Add initializers to main_arena and mp_.
85433         (malloc_state): Remove pagesize member.  Change all users to use
85434         GLRO(dl_pagesize).
85436         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85437         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85438         is always initialized.
85440         * malloc/malloc.c: Removed unused configurations and dead code.
85441         * malloc/arena.c: Likewise.
85442         * malloc/hooks.c: Likewise.
85443         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85445         * include/tls.h: Removed.  USE___THREAD must always be defined.
85446         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85447         * elf/dl-libc.c: Likewise.
85448         * elf/dl-tsd.c: Likewise.
85449         * include/errno.h: Likewise.
85450         * include/netdb.h: Likewise.
85451         * include/resolv.h: Likewise.
85452         * inet/herrno-loc.c: Likewise.
85453         * inet/herrno.c: Likewise.
85454         * malloc/arena.c: Likewise.
85455         * malloc/hooks.c: Likewise.
85456         * malloc/malloc.c: Likewise.
85457         * resolv/res-state.c: Likewise.
85458         * resolv/res_libc.c: Likewise.
85459         * sysdeps/i386/dl-machine.h: Likewise.
85460         * sysdeps/ia64/dl-machine.h: Likewise.
85461         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85463         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85464         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85465         * sysdeps/sh/dl-machine.h: Likewise.
85466         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85467         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85468         * sysdeps/unix/i386/sysdep.S: Likewise.
85469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85470         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85475         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85479         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85480         * sysdeps/x86_64/dl-machine.h: Likewise.
85481         * tls.make.c: Likewise.
85483         * configure.in: Remove --with-__thread option.  Make tests for
85484         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85485         tls_model attribute fail if no support is available.  Remove
85486         USE_IN_LIBIO.
85487         * Makeconfig: Adjust for dropped configure option.  All features are
85488         now mandatory.
85489         * Makerules: Likewise.
85490         * Versions.def: Likewise.
85491         * argp/argp-fmtstream.c: Likewise.
85492         * argp/argp-fmtstream.h: Likewise.
85493         * argp/argp-help.c: Likewise.
85494         * assert/assert.c: Likewise.
85495         * config.h.in: Likewise.
85496         * config.make.in: Likewise.
85497         * configure: Likewise.
85498         * configure.in: Likewise.
85499         * csu/Versions: Likewise.
85500         * csu/init.c: Likewise.
85501         * elf/tst-audit2.c: Likewise.
85502         * elf/tst-tls10.c: Likewise.
85503         * elf/tst-tls10.h: Likewise.
85504         * elf/tst-tls11.c: Likewise.
85505         * elf/tst-tls12.c: Likewise.
85506         * elf/tst-tls14.c: Likewise.
85507         * elf/tst-tlsmod11.c: Likewise.
85508         * elf/tst-tlsmod12.c: Likewise.
85509         * elf/tst-tlsmod13.c: Likewise.
85510         * elf/tst-tlsmod13a.c: Likewise.
85511         * elf/tst-tlsmod14a.c: Likewise.
85512         * elf/tst-tlsmod15b.c: Likewise.
85513         * elf/tst-tlsmod16a.c: Likewise.
85514         * elf/tst-tlsmod16b.c: Likewise.
85515         * elf/tst-tlsmod7.c: Likewise.
85516         * elf/tst-tlsmod8.c: Likewise.
85517         * elf/tst-tlsmod9.c: Likewise.
85518         * gmon/gmon.c: Likewise.
85519         * grp/fgetgrent_r.c: Likewise.
85520         * grp/putgrent.c: Likewise.
85521         * hurd/fopenport.c: Likewise.
85522         * include/libc-symbols.h: Likewise.
85523         * include/tls.h: Likewise.
85524         * intl/gettextP.h: Likewise.
85525         * intl/loadinfo.h: Likewise.
85526         * locale/global-locale.c: Likewise.
85527         * locale/localeinfo.h: Likewise.
85528         * mach/devstream.c: Likewise.
85529         * malloc/arena.c: Likewise.
85530         * malloc/set-freeres.c: Likewise.
85531         * misc/err.c: Likewise.
85532         * misc/getttyent.c: Likewise.
85533         * misc/mntent_r.c: Likewise.
85534         * posix/getopt.c: Likewise.
85535         * posix/wordexp.c: Likewise.
85536         * pwd/fgetpwent_r.c: Likewise.
85537         * resolv/Versions: Likewise.
85538         * resolv/res_hconf.c: Likewise.
85539         * shadow/fgetspent_r.c: Likewise.
85540         * shadow/putspent.c: Likewise.
85541         * stdio-common/printf_fphex.c: Likewise.
85542         * stdio-common/tmpfile.c: Likewise.
85543         * stdlib/abort.c: Likewise.
85544         * stdlib/fmtmsg.c: Likewise.
85545         * sunrpc/auth_unix.c: Likewise.
85546         * sunrpc/clnt_perr.c: Likewise.
85547         * sunrpc/clnt_tcp.c: Likewise.
85548         * sunrpc/clnt_udp.c: Likewise.
85549         * sunrpc/clnt_unix.c: Likewise.
85550         * sunrpc/openchild.c: Likewise.
85551         * sunrpc/svc_simple.c: Likewise.
85552         * sunrpc/svc_tcp.c: Likewise.
85553         * sunrpc/svc_udp.c: Likewise.
85554         * sunrpc/svc_unix.c: Likewise.
85555         * sunrpc/xdr.c: Likewise.
85556         * sunrpc/xdr_array.c: Likewise.
85557         * sunrpc/xdr_rec.c: Likewise.
85558         * sunrpc/xdr_ref.c: Likewise.
85559         * sunrpc/xdr_stdio.c: Likewise.
85561 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85563         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85565 2011-07-03  Andreas Jaeger  <aj@suse.de>
85567         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85568         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85569         regenerate with gen-libm-tests.pl.
85571 2010-05-12  Petr Baudis  <pasky@suse.cz>
85573         [BZ #11589]
85574         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85575         around j0() zero points by switching to j1().
85576         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85577         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85579         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85581 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85583         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85584         instead of 0.
85585         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85586         instead of 0.
85587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85588         Patch in part by Pavel Roskin <proski@gnu.org>.
85590         [BZ #13138]
85591         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85592         realloc.
85593         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85594         Free memory block if necessary.
85596         [BZ #12847]
85597         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85598         be NULL.  Don't lock in this case.
85600 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85602         * elf/elf.h (ELFOSABI_GNU): New macro.
85603         (ELFOSABI_LINUX): Define to that.
85605 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85607         * string/strncat.c (strncat): Undef the symbol in case it has been
85608         defined in bits/string.h.
85610 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85612         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85614         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85615         link map.
85617 2011-08-17  Andreas Jaeger  <aj@suse.de>
85619         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85621 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85622             Ian Lance Taylor  <iant@google.com>
85624         * math/libm-test.inc (lround_test): New testcase.
85625         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85627 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85629         * Makefile: Remove support for automatic cvs check-ins.
85630         * Makerules: Likewise.
85631         * config.make.in: Likewise.
85632         * configure.in: Likewise.
85633         * intl/Makefile: Likewise.
85634         * locale/Makefile: Likewise.
85635         * po/Makefile: Likewise.
85636         * posix/Makefile: Likewise.
85637         * sysdeps/gnu/Makefile: Likewise.
85638         * sysdeps/mach/hurd/Makefile: Likewise.
85639         * sysdeps/sparc/sparc32/Makefile: Likewise.
85641         [BZ #13118]
85642         * posix/Makefile (bug-regex32-ENV): Define.
85643         Patch by John Stanley <jpsinthemix@verizon.net>.
85645         * misc/Makefile (headers): Add bits/select2.h.
85646         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85647         * misc/bits/select2.h: New file.
85648         * include/bits/select2.h: New file.
85649         * debug/Makefile (routines): Add fdelt_chk.
85650         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85651         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85652         FD_ISSET.
85653         * debug/fdelt_chk.c: New file.
85655         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85656         * wcsmbs/test-wmemcmp.c: Likewise.
85657         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85658         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85660 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85662         * string/Makefile (strop-tests): Add memcmp.
85663         * string/test-wmemcmp.c: New file.
85664         * string/test-memcmp.c: Add wmemcmp support.
85666 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85668         [BZ #13153]
85669         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85670         2011-07-19 change.
85672         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85673         garbage value in a __mach_port_mod_refs call in the cases of the
85674         task-self and thread-self ports.
85676 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85678         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85680 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85682         * elf/dl-load.c (lose): Check for non-null L.
85684 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85686         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85688         * elf/dl-libc.c (dlerror_run): Pass back error code from
85689         dl_catch_error.
85691         [BZ #13123]
85692         * elf/dl-load.c (lose): Free l_origin if it is valid.
85694         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85695         names.
85696         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85697         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85698         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85699         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85700         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85701         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85703 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85705         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85706         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85707         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85708         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85709         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85710         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85711         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85712         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85713         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85714         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85716 2011-08-15  Alan Modra  <amodra@gmail.com>
85718         [BZ #13092]
85719         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85720         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85721         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85722         ppc_mcount to static-only-routines.
85723         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85724         __mcount_internal.
85725         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85726         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85728 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85730         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85731         for finite and infinity parameters.
85733 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85735         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85736         and add nop instructions for throughput optimization.
85737         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85739 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85741         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85742         aligned copy for power7 with vector-scalar instructions.
85743         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85745 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85747         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85748         AVX check.
85750 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85752         [BZ #13144]
85753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85754         last change.
85756 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85758         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85759         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85760         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85761         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85762         clock_gettime.
85764 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85766         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85767         Forgot to demangle the pointer.
85769         * sysdeps/i386/sysdep.h: Define atom_text_section.
85770         * sysdeps/x86_64/sysdep.h: Likewise.
85771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85772         section with atom_text_section.
85773         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85774         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85775         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85776         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85777         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85779         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85780         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85781         already be defined.  Change to take two parameters and don't assign
85782         result to variable.  Adjust all users.
85783         Define INTERNAL_GETTIME if not already defined.
85784         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85785         call.
85786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85787         HAVE_CLOCK_GETTIME_VSYSCALL.
85788         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85790         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85791         gettimeofday vsyscall, just use time.
85793 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85795         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85796         <errno.h>.
85798 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85800         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85801         syscall on x86-64.
85802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85803         syscall.
85804         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85805         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85806         syscall if possible.
85808 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85810         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85811         e_ident.  Don't pass to find_mapsXX.
85812         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85814 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85817         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85818         * sysdeps/x86_64/multiarch/strchr.S: Update.
85819         Check bit_slow_BSF bit.
85820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85821         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85822         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85824 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85826         [BZ #13134]
85827         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85828         before glibc 2.15.
85829         (tryshell): Define.
85830         (__spawni): Change last parameter to be flag.  Test
85831         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85832         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85833         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85834         * posix/spawni.c: Likewise.
85835         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85836         * posix/spawnp.c: Likewise.  Change normal version to use
85837         SPAWN_XFLAGS_USE_PATH.
85838         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85839         SPAWN_XFLAGS_TRY_SHELL.
85841         [BZ #13150]
85842         * posix/glob.h: Remove gcc 1.x support.
85844         [BZ #13068]
85845         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85847 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85850         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85851         strrchr-sse2-bsf
85852         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85853         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85854         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85855         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85856         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85857         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85859 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85861         * sysdeps/x86_64/wcscmp.S: New file.
85863         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85864         wcscmp-c wcscmp-sse2
85865         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85866         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85867         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85868         * wcsmbs/wcscmp.c: Allow renaming.
85870 2011-09-05  David S. Miller  <davem@davemloft.net>
85872         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85873         stack slot, rather than the struct return pointer slot.
85874         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85875         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85877         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85879 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85881         * po/ja.po: Update from translation team.
85883         [BZ #13144]
85884         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85885         kernel in 64-bit binaries.
85887 2011-09-01  David S. Miller  <davem@davemloft.net>
85889         * elf/elf.h (HWCAP_SPARC_*): Move to..
85890         * sysdeps/sparc/sysdep.h: this new file and add new values.
85891         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85892         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85893         _DL_HWCAP_COUNT to 24.
85894         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85895         entries.
85896         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85897         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85898         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85900         instead of magic constants.
85901         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85903 2011-08-31  David S. Miller  <davem@davemloft.net>
85905         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85907         Reimplement to do errno handling inline.
85908         (SYSCALL_ERROR_HANDLER): New macro.
85909         (__SYSCALL_STRING): Do not do errno handling in asm.
85910         (__CLONE_SYSCALL_STRING): Delete.
85911         (__INTERNAL_SYSCALL_STRING): Delete.
85912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85913         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85914         (PSEUDO): Reimplement to do errno handling inline.
85915         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85916         (SYSCALL_ERROR_HANDLER): New macro.
85917         (__SYSCALL_STRING): Do not do errno handling in asm.
85918         (__CLONE_SYSCALL_STRING): Delete.
85919         (__INTERNAL_SYSCALL_STRING): Delete.
85920         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85921         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85922         i386.
85923         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85924         (inline_syscall*): Add 'err' argument.
85925         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85926         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85927         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85928         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85930         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85931         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85933 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85935         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85937 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85939         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85940         directive.
85942 2011-08-24  David S. Miller  <davem@davemloft.net>
85944         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85946 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85948         * elf/Makefile: Add rules to build and run unload8 test.
85949         * elf/unload8.c: New file.
85950         * elf/unload8mod1.c: New file.
85951         * elf/unload8mod1x.c: New file.
85952         * elf/unload8mod2.c: New file.
85953         * elf/unload8mod3.c: New file.
85955         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85956         it wasn't used.
85958 2011-08-23  David S. Miller  <davem@davemloft.net>
85960         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85961         subtract stack bias.
85962         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85963         %sp not %fp in calculations.
85964         (_JMPBUF_UNWINDS_ADJ): Likewise.
85966         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85967         (aio_suspend): Call it to force an exception region around the
85968         AIO_MISC_WAIT() invocation.
85970 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85972         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85973         backslash.
85975 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85977         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85978         protection macro.
85979         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85980         and <dl-machine.h>.
85981         (Elf64_FuncDesc): Remove.
85983 2011-08-22  David S. Miller  <davem@davemloft.net>
85985         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85986         sigaltstack check, add missing cfi directives.
85987         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85988         missing cfi directives, and sigaltstack handling.
85990 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85992         [BZ #11724]
85993         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85994         object is seen twice.
85995         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85997         * elf/Makefile (distribute): Add tst-initorder2.c.
85998         (tests): Add tst-initorder2.
85999         (modules-names): Add tst-initorder2a tst-initorder2b
86000         tst-initorder2c tst-initorder2d.  Add rules to build them.
86001         ($(objpfx)tst-initorder2.out): New rule.
86002         * elf/tst-initorder2.c: New file.
86003         * elf/tst-initorder2.exp: New file.
86005 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86007         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86009         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86010         dependencies back to end of function.
86012         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86013         $(elfobjdir)/ld.so.
86015 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86018         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86019         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86020         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86021         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86022         of __vdso_gettimeofday.
86023         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86024         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86025         attribute_hidden.
86026         (_libc_vdso_platform_setup): Remove initialization of
86027         __vdso_gettimeofday and __vdso_time.
86029 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86031         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86032         and fgetc_unlocked.
86033         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86034         getc_unlocked.
86036         * elf/dl-open.c (add_to_global): Report additions to the global scope
86037         for LD_DEBUG=scopes.
86038         (dl_open_worker): Also print scope of newly loaded dependencies.
86039         (_dl_show_scope): Indicate if there is no scope.
86041         [BZ #13114]
86042         * stdio-common/Makefile (tests): Add bug24.
86043         * stdio-common/bug24.c: New file.
86045 2011-08-19  Andreas Jaeger  <aj@suse.de>
86047         [BZ #13114]
86048         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86049         non-existant file when using close-on-exec mode.
86051 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86053         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86054         the very first instruction.
86056         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86057         the CFI state in the end.
86058         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86059         inclusion of dl-trampoline.h.
86060         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86062 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86064         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86065         expectations for long double.
86067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86068         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86070 2011-08-14  David S. Miller  <davem@davemloft.net>
86072         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86073         artificual limit depends upon the system page size.
86075 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86077         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86078         * resolv/Makefile: Define CFLAGS-libresolv.
86080 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86082         * nss/makedb.c (compute_tables): Make variables used in nested
86083         function static.
86085 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86087         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86088         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86089         if buffer was too small.
86091         * elf/pldd.c (main): Attach to all threads in the process.
86092         Rewrite /proc handling to use *at functions.
86094 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86096         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86097         specifies first scope to show.
86098         (dl_open_worker): Update callers.  Move printing scope of new
86099         object to before the relocation.
86100         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86101         * sysdeps/generic/ldsodefs.h: Update declaration.
86103         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86104         string for the scope number.
86106 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86108         * nscd/servicescache.c (cache_addserv): Make sure written is always
86109         initialized.
86111 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86113         * sysdeps/i386/i486/bits/atomic.h
86114         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86115         statement expression, so as to suppress "set but not used" warning.
86116         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86118         * string/strncat.c (STRNCAT): Use prototype definition.
86120         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86121         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86122         -Iprograms here.
86123         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86124         (localedef-modules): Add localedef.
86125         (locale-modules): Add locale.
86127         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86128         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86129         to avoid a warning.
86131 2011-08-14  David S. Miller  <davem@davemloft.net>
86133         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86134         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86136 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86138         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86139         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86140         * elf/rtld.c (dl_main): Set l_name of vDSO.
86141         Call _dl_show_scope when DL_DEBUG_SCOPES.
86142         (process_dl_debug): Recognize scopes flag and also set it for all.
86143         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86144         Declare _dl_show_scope.
86146         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86147         (do_dlopen): Pass caller_dlopen to dl_open.
86148         (__libc_dlopen_mode): Initialize caller_dlopen.
86150         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86151         of libc.  Make tolower call locale-independent.  Optimize a bit by
86152         using isdigit instead of isalnum.
86153         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86155 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86157         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86158         was a dependency or dynamically loaded.
86160 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86162         * intl/l10nflist.c: Allow architecture-specific pop function.
86163         * sysdeps/x86_64/l10nflist.c: New file.
86165         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86166         classification.
86168 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86170         * include/dirent.h: Add libc_hidden_proto for scandirat and
86171         scandirat64.  Don't declare __scandirat64.
86172         * dirent/scandirat.c: Add libc_hidden_def.
86173         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86174         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86176 2011-08-10  David S. Miller  <davem@davemloft.net>
86178         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86179         enum.
86180         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86181         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86182         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86184 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86186         * Versions.def [libc]: Add GLIBC_2.15.
86187         * dirent/Makefile (routines): Add scandirat and scandirat64.
86188         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86189         GLIBC_2.15.
86190         * dirent/dirent.h: Declare scandirat and scandirat64.
86191         * dirent/scandirat.c: New file.
86192         * dirent/scandirat64.c: New file.
86193         * sysdeps/wordsize-64/scandirat.c: New file.
86194         * sysdeps/wordsize-64/scandirat64.c: New file.
86195         * dirent/opendir.c: Define opendirat.
86196         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86197         using scandirat.
86198         * dirent/scandir64.c: Adjust for scandir.c change.
86199         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86200         __scandirat64, and __scandir_cancel_handler.
86201         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86202         additional parameter and use openat instead of open (outside of ld.so).
86203         Add new __opendir as wrapper around __opendirat.
86204         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86205         here without requiring old scandirat implementation.
86207 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86209         * dirent/scandir.c (cancel_handler): Renamed to
86210         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86211         defined.  Adjust users.
86212         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86213         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86215 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86217         * string/test-string.h (IMPL): Use __STRING to expand name and then
86218         stringify it.
86220         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86221         of cleanups.
86223 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86225         * string/Makefile: Update.
86226         (strop-tests): Append strncat.
86227         * string/test-wcscmp.c: New file.
86228         New comprehensive test for wcscmp.
86229         * string/test-strcmp.c: Update.
86230         (WIDE): New define.
86232 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86234         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86235         line.
86237 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86240         encoding to ACE if AI_IDN.
86242 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86244         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86245         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86247 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86249         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86250         Fix overflow bug in strncat.
86251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86253         * string/test-strncat.c: Update.
86254         Add new tests for checking overflow bugs.
86256 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86259         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86260         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86261         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86262         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86263         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86264         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86265         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86266         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86268         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86269         (USE_AS_STRCAT): Define.
86270         Add strcat and strncat support.
86271         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86273 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86275         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86276         __n bigger than INT_MAX+1.
86277         (__strncmp_g): Likewise.
86279 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86281         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86282         * libio/stido.h: Likewise.
86284         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86285         (AF_NFC): Define.
86286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86287         (AF_NFC): Define.
86289         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86291         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86292         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86293         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86295         [BZ #13021]
86296         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86297         installed.
86299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86300         typo.
86301         (_dl_x86_64_save_sse): Likewise.
86303 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86306         OSXSAVE.
86307         (_dl_x86_64_save_sse): Likewise.
86309         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86311         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86313 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86316         change.
86317         (_dl_x86_64_save_sse): Use correct AVX check.
86319 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86321         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86322         bug in strncpy/strncat.
86323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86325 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86327         * string/tester.c (test_strcat): Add tests for different alignments
86328         of source and destination.
86329         (test_strncat): Likewise.
86331 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86333         [BZ #12852]
86334         * posix/glob.c (glob): Check passed in values before using them in
86335         expressions to avoid some overflows.
86336         (glob_in_dir): Likewise.
86338         [BZ #13007]
86339         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86340         check for AVX enablement so that we don't crash with old kernels and
86341         new hardware.
86342         * elf/tst-audit4.c: Add same checks here.
86343         * elf/tst-audit6.c: Likewise.
86345         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86347 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86349         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86351 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86353         * po/cs.po: Update from translation team.
86354         * po/bg.po: Likewise.
86356 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86358         * misc/sys/cdefs.h: Add support for const attribute.
86359         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86360         to gnu_dev_{major,minor,makedev} functions.
86362 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86364         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86366 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86368         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86369         strlen results.
86371 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86373         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86374         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86375         register in order to avoid conflicts with the soft frame pointer
86376         being held in r11 when necessary.
86377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86378         (INTERNAL_VSYSCALL_NCS): Likewise.
86380 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86382         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86383         * elf/dl-fini.c (_dl_fini): Adjust caller.
86384         * elf/dl-close.c (_dl_close_worker): Likewise.
86385         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86387 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86389         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86390         "aux_cache->nlibs < 0".
86392         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86393         in the reload-count case.
86395 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86398         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86399         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86400         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86401         * sysdeps/x86_64/multiarch/strcat.S: New file.
86402         * sysdeps/x86_64/multiarch/strncat.S: New file.
86403         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86404         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86405         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86406         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86407         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86408         (USE_AS_STRCAT): Define.
86409         Add strcat and strncat support.
86410         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86411         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86412         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86413         * string/strncat.c: Update.
86414         (USE_AS_STRNCAT): Define.
86415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86416         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86417         and i7.
86418         * sysdeps/x86_64/multiarch/init-arch.h
86419         (bit_Prefer_PMINUB_for_stringop): New.
86420         (index_Prefer_PMINUB_for_stringop): Likewise.
86421         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86422         bit_Prefer_PMINUB_for_stringop.
86424 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86426         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86427         buffer64.
86428         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86429         of casting of buffer.
86430         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86431         buffer32 and buffer64.
86432         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86433         writes instead of casting of buffer.
86434         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86435         buffer32.
86436         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86437         casting of buffer.
86439 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86441         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86443 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86445         * nscd/nscd.c (termination_handler): Don't do anything for a database
86446         if it has not yet been initialized.
86448 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86450         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86452 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86454         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86456 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86458         * po/nl.po: Update from translation team.
86459         * po/sv.po: Likewise.
86461 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86463         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86464         now disallowed by GCC.
86466         * configure.in (use-default-link): Default to yes if a test -shared
86467         link meets our qualifications.
86468         * configure: Regenerated.
86470         * config.make.in (output-format): New variable.
86471         * configure.in: Check for ld --print-output-format support.
86472         * configure: Regenerated.
86473         * Makerules ($(common-objpfx)format.lds)
86474         [$(output-format) != unknown]: Just use $(output-format),
86475         instead of the linker-script munging.
86477 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86479         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86480         of $(common-objpfx)shlib.lds.
86481         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86483         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86484         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86486         * configure.in (-z relro check): Adjust test code to add a large
86487         writable data section after it.
86488         * configure: Regenerated.
86490 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86492         * configure.in (-z relro check): Fix test code to make the variable
86493         truly const.
86494         * configure: Regenerated.
86496 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86498         * nscd/nscd.h (struct traced_file): Define.
86499         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86500         elements.  Add traced_files.
86501         (inotify_fd): Declare.
86502         (register_traced_file): Declare.
86503         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86504         (inotify_fd): Export.
86505         (resolv_conf_descr): Remove.
86506         (nscd_init): Move inotify descriptor creation to main.
86507         Don't register files for notification here.
86508         (register_traced_file): New function.
86509         (invalidate_cache): Don't use reset_res to determine whether to call
86510         res_init, go through the list of registered files.
86511         (main_loop_poll): The inotify descriptors are now stored in the
86512         structures for the traced files.
86513         (main_loop_epoll): Likewise.
86514         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86515         to __nss_disable_nscd.
86516         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86517         for a database anymore.  Check the records for all the registered
86518         files instead.
86519         * nss/Makefile (libnss_files-routines): Add files-init.
86520         (libnss_db-routines): Add db-init.
86521         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86522         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86523         * nss/nss_db/db-init.c: New file.
86524         * nss/nss_files/files-init.c: New file.
86525         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86526         __nss_lookup_function.
86527         (__nss_lookup_function): Call nss_load_library.
86528         (nss_load_all_libraries): New function.
86529         (__nss_disable_nscd): Take parameter with callback function for files
86530         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86531         used for the cached services.
86532         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86533         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86534         options for features to all the files in nscd.
86536         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86538 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86540         * csu/elf-init.c (__libc_csu_init): Comment typo.
86542 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86544         * po/pl.po: Update from translation team.
86545         * po/ja.po: Likewise.
86546         * po/ru.po: Likewise.
86547         * po/ko.po: Likewise.
86548         * po/fr.po: Likewise.
86550 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86552         * configure.in (.ctors/.dtors header and trailer check):
86553         Use an empirical test on a built program.
86554         * configure: Regenerated.
86556         * configure.in (-z relro check): Use an empirical test on a built DSO.
86557         Detect, but do not require, on ia64.
86558         * configure: Regenerated.
86560         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86561         Update tests that use readelf to use $READELF instead.
86562         * configure: Regenerated.
86564 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86566         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86567         if the result is not used.
86569 2011-07-05  Andreas Jaeger  <aj@suse.de>
86571         [BZ #9696]
86572         * stdlib/tst-strtod.c: Add testcase.
86574 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86576         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86577         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86578         The latter has a higher limit.  Take additional parameter to pass to
86579         the new function.
86580         (__pathconf): Pass file to __statfs_link_max.
86581         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86582         __statfs_link_max.
86583         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86584         __statfs_link_max.
86586         [BZ #12868]
86587         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86588         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86589         Handle Lustre.
86590         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86591         (__statfs_filesize_max): Likewise.
86592         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86594 2011-07-05  Andreas Jaeger  <aj@suse.de>
86596         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86598 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86600         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86601         `status' variable.
86602         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86603         Likewise.
86605 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86607         * Makefile (strop-tests): Add strncat.
86608         * string/test-strncat.c: New file.
86610 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86612         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86614 2011-06-21  Andreas Jaeger  <aj@suse.de>
86616         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86617         Copy rule from iconvdata/Makefile.
86619 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86621         [BZ #12922]
86622         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86623         but no long options are defined, just return 'W'.
86625 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86627         [BZ #9696]
86628         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86630 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86632         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86633         netgroups to read.
86634         (innetgr): Likewise.
86636 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86638         * config.make.in (install_root): Default to $(DESTDIR).
86640 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86642         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86644 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86646         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86648         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86649         containing directory rather than embedding absolute directory names.
86651         * scripts/check-local-headers.sh: Rewritten using awk.
86652         Match by word, not by line.  Print error messages for matches.
86653         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86655         * Makerules [shlib-lds-flags empty]:
86656         ($(common-objpfx)libc_pic.opts): New target.
86657         ($(common-objpfx)libc_pic.os.clean): New target.
86658         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86660         * config.make.in (OBJCOPY): New variable.
86661         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86662         * configure: Regenerated.
86664         * config.make.in (use-default-link): New variable.
86665         * configure.in (use_default_link): Grok --with-default-link to set it.
86666         * configure: Regenerated.
86667         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86668         (shlib-lds, shlib-lds-flags): Define to empty.
86670         * Makerules (shlib-lds): New variable.
86671         (shlib-lds-flags): New variable.
86672         (build-shlib, build-moduile, build-module-asneeded): Use it.
86673         ($(common-objpfx)libc.so): Use $(shlib-lds).
86674         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86675         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86677         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86678         DT_FLAGS/DT_FLAGS_1 with zero flags.
86680         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86681         linker script munging.
86683 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86685         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86686         as 128-bit value.
86687         * crypt/sha512.c (sha512_process_block): Perform total addition using
86688         128-bit if possible.
86689         (__sha512_finish_ctx): Likewise.
86690         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86691         as 64-bit value.
86692         * crypt/sha256.c (SWAP64): Define.
86693         (sha256_process_block): Perform total addition using 64-bit if
86694         possible.
86695         (__sha256_finish_ctx): Likewise.
86697 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86699         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86700         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86701         * nscd/hstcache.c (cache_addhst): Likewise.
86702         * nscd/grpcache.c (cache_addgr): Likewise.
86703         * nscd/aicache.c (addhstaiX): Likewise.
86704         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86706 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86708         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86709         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86710         * nscd/hstcache.c (cache_addhst): Likewise.
86711         * nscd/grpcache.c (cache_addgr): Likewise.
86712         * nscd/aicache.c (addhstaiX): Likewise.
86714 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86716         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86717         domain only when needed.
86719 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86722         is always restored.
86724 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86726         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86727         are re-adding the entry.
86728         * nscd/servicescache.c (cache_addserv): Likewise.
86730 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86732         * sysdeps/generic/dl-irel.h: fix protection against multiple
86733         inclusions.
86734         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86736 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86738         [BZ #12935]
86739         * malloc/memusage.sh: Fix quoting in message.
86740         * debug/xtrace.sh: Likewise.
86742         * configure.in: Remove support for --experimental-malloc option, make
86743         it the default.
86744         * config.make.in: Likewise.
86745         * malloc/Makefile: Likewise.
86747 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86749         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86750         two-byte characters.
86752 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86754         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86755         AC_CACHE_CHECK invocation.
86756         * configure: Regenerated.
86758         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86760 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86762         [BZ #12350]
86763         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86764         bit from old_res_options.
86766         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86768         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86769         value type for setfct.
86771 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86773         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86774         __gettimeofday instead of gettimeofday.
86776 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86778         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86780 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86782         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86785         info.
86787 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86790         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86791         strcpy-sse2-unaligned strncpy-sse2-unaligned
86792         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86793         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86794         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86795         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86796         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86797         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86798         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86799         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86800         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86801         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86802         (STRCPY): Support SSE2 and SSSE3 versions.
86804 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86806         [BZ #12874]
86807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86808         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86809         kernels which artificially limit size of requests.
86811 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86814         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86815         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86816         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86817         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86818         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86819         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86820         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86821         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86822         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86823         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86824         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86825         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86826         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86827         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86829         Enable unaligned load optimization for Intel Core i3, i5 and i7
86830         processors.
86831         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86832         Define.
86833         (index_Fast_Unaligned_Load): Define.
86834         (HAS_FAST_UNALIGNED_LOAD): Define.
86836 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86838         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86840 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86842         [BZ #12907]
86843         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86844         until it is clear that the information is realy needed.
86845         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86847 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86851 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86853         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86854         /sys/devices/system/cpu/online if it is usable.
86856         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86857         reading the information from the /proc filesystem to once a second.
86859 2011-06-21  Andreas Jaeger  <aj@suse.de>
86861         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86862         NULL after inclusion of kernel headers.
86864 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86866         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86867         calls to internal_setent.
86869         [BZ #12885]
86870         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86871         addresses using gethostbyname4_r ignore IPv4 addresses.
86873         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86874         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86876         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86878 2011-06-20  David S. Miller  <davem@davemloft.net>
86880         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86881         inclusions.
86882         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86884         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86885         (elf_irel): Use it.
86886         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86887         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86888         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86889         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86890         * sysdeps/x86_64/dl-irel.h: Likewise.
86892         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86893         * elf/dl-sym.c: Likewise.
86895 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86897         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86898         need to dereference resplen2.
86900 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86902         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86904 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86906         * Makeconfig: Define vardbdir and inst_vardbdir.
86907         * nss/Makefile: Add rules to install db-Makefile.
86909         * nss/nss_db/db-XXX.c: Cleanup.
86911         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86912         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86913         GLIBC_PRIVATE.
86914         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86915         * nss/makedb.c: Implement -g option to specify that value strings
86916         are generated and should not be added to table iterated over for
86917         get*ent calls.
86918         * nss/nss_db/db-initgroups.c: New file.
86920         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86921         interface.
86923         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86924         (internal_getgrouplist): Adjust to name change.
86925         Update use_initgroups_entry if this is not the first call.
86926         * nss/databases.def: Add initgroups entry.
86928         * nss/makedb.c (compute_tables): Check result of multiple hash table
86929         sizes to minimize maximum chain length.
86931 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86933         * Versions.def: Add entry for libnss_db.
86934         * shlib-versions: Likewise.
86935         * nss/Makefile: Add rules to build libnss_db.
86936         * nss/Versions: Add libnss_db information.  Organize libnss_files
86937         entries better.
86938         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86939         makedb progra.  Some minor improvements to generate smaller files.
86940         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86941         here from...
86942         * nss/makedb.c: ...here.
86943         Improve database format to be smaller and require less memory at
86944         runtime.
86945         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86946         db anymore.
86947         * nss/nss_db/db-netgrp.c: Likewise.
86948         * nss/nss_db/db-open.c: Likewise.
86949         * nss/nss_files/flies-XXX.x: Adjust comments.
86950         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86951         * nss/nss_files/files-grp.c: Likewise.
86952         * nss/nss_files/files-hosts.c: Likewise.
86953         * nss/nss_files/files-network.c: Likewise.
86954         * nss/nss_files/files-proto.c: Likewise.
86955         * nss/nss_files/files-pwd.c: Likewise.
86956         * nss/nss_files/files-rpc.c: Likewise.
86957         * nss/nss_files/files-service.c: Likewise.
86958         * nss/nss_files/files-sgrp.c: Likewise.
86959         * nss/nss_files/files-spwd.c: Likewise.
86960         * nss/nss_db/db-alias.c: Removed.
86961         * nss/nss_db/dummy-db.h: Removed.
86963 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86965         * nss/makedb.c: Rewritten to not use database library.
86966         * nss/Makefile: Update to build new makedb program.
86968 2011-06-14  Andreas Jaeger  <aj@suse.de>
86970         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86971         memset declaration.
86973 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86976         tmpbuf.
86978 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86980         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86981         * elf/Makefile ($(objpfx)ld.so): Likewise.
86983         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86984         Don't list ld.so twice in dependencies.
86986         * posix/bug-regex31.c: Include <stdlib.h>.
86988         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86990         * nis/nss_compat/compat-spwd.c
86991         (getspent_next_nss_netgr): Remove unused variable.
86992         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86994         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86995         nonmembers" output to use the right array.
86997         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86999         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87001         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87002         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87003         * catgets/gencat.c (read_input_file): Likewise.
87004         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87006         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87007         variable definition inside #if's controlling its use.
87009         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87011         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87013         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87015         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87016         unreachable code.
87018         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87020         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87021         * configure: Regenerated.
87023         * Makerules: Revert last change.
87024         * elf/Makefile: Likewise.
87026 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87028         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87029         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87030         (reloc-link): Likewise.
87032 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87034         * elf/Makefile: Add rules to build pldd.
87035         * elf/pldd.c: New file.
87036         * elf/pldd-xx.c: New file.
87038 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87040         * version.h: Update for 2.15 development version.
87042 2011-06-07  David S. Miller  <davem@davemloft.net>
87044         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87045         ifuncs.
87046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87047         elf_machine_lazy_rel): Likewise.
87048         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87050         elf_machine_lazy_rel): Likewise.
87051         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87052         dl_hwcap via passed in argument.
87053         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87054         Likewise.
87056 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87058         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87060 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87062         [BZ #12849]
87063         * manual/fdl-1.1.texi: New file, verbatim from:
87064         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87065         * manual/lgpl-2.1.texi: New file, verbatim from:
87066         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87067         * manual/Makefile (licenses): New variable, list those new file names.
87068         (texis): Use it.
87069         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87071         * manual/fdl.texi: File removed.
87072         * manual/lesser.texi: File removed.
87073         * manual/libc.texinfo (Copying, Documentation License):
87074         Use new @include file names, put @appendix directive before @include.
87076 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87078         [BZ #12841]
87079         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87080         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87081         (mq_open): Add __NTH.
87083 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87086         Assume Intel Core i3/i5/i7 processor if AVX is available.
87088 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87091         typo.
87093 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87095         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87096         memory.  Use alloca_account.  Fix memory leak when retrying.
87098 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87100         * version.h (RELEASE): Bump for 2.14 release.
87101         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87103         * config.make.in (RANLIB): Remove entry.
87105 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87107         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87108         (libc.pot): Work around missing support for .ksh extension in xgettext.
87110         [BZ #12684]
87111         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87112         if both request failed.
87113         (send_dg): In case of server errors clear resplen or *resplen2.
87115         [BZ #12454]
87116         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87117         when there are multiple maps.
87118         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87119         (_dl_fini): Remove test here.
87121         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87123 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87125         [BZ #12350]
87126         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87127         bit from old_res_options.
87128         (gaih_inet): Likewise.
87130         [BZ #11099]
87131         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87132         as signed.
87134         * resolv/res_init.c (res_setoptions): Make the code more compact.
87136         [BZ #11558]
87137         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87138         set RES_USEVC.
87140         [BZ #11634]
87141         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87143         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87145         [BZ #11781]
87146         * malloc/malloc.h: Declare malloc hook variables as volatile.
87148         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87149         in last patch.
87151         [BZ #11799]
87152         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87153         raise in the comment.
87154         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87155         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87156         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87158 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87160         [BZ #12811]
87161         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87162         grow the buffers more if it already has to be sufficient.
87163         (build_wcs_upper_buffer): Likewise.
87164         * posix/regexec.c (check_matching): Likewise.
87165         (clean_state_log_if_needed): Likewise.
87166         (extend_buffers): Don't enlarge buffers beyond size of the input
87167         buffer.
87168         Patches mostly by Emil Wojak <emil@wojak.eu>.
87169         * posix/bug-regex32.c: New file.
87170         * posix/Makefile (tests): Add bug-regex32.
87172         * locale/findlocale.c (_nl_find_locale): Return right away if
87173         _nl_explode_name failed.
87174         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87176         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87178         * debug/xtrace.sh: Unify messages.
87179         * malloc/memusage.sh: Likewise.
87181         [BZ #12813]
87182         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87183         time symbol from vDSO.  Substitute with vsyscall if not available.
87184         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87185         __vdso_time.
87187         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87188         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87189         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87190         Add sendmmsg and internal_sendmmsg.
87191         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87192         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87193         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87195         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87196         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87197         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87199 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87201         [BZ #12813]
87202         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87203         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87204         available.
87205         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87206         __vdso_getcpu.
87208         [BZ #12814]
87209         * iconvdata/Makefile (tests): Add bug-iconv9.
87210         * iconvdata/bug-iconv9.c: New file.
87212 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87214         [BZ #12814]
87215         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87217 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87220         (struct user_regs_struct): Change intcs field back to cs.
87222 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87224         * po/ja.po: Update from translation team.
87226 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87228         [BZ #12795]
87229         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87230         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87232 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87234         * stdlib/longlong.h: Update from GCC.
87236 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87238         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87239         parameter name.
87240         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87241         Add parameter name.
87242         (__sysconf): Pass it down.
87244 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87246         [BZ #12671]
87247         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87248         some situations.
87249         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87250         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87251         add in in __libc_use_alloca calls.  Adjust callers.
87252         (glob): Use malloc in some situations.
87254         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87255         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87256         pltexit.
87258 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87260         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87261         and CLOCK_BOOTTIME_ALARM.
87263         [BZ #12782]
87264         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87265         is returned.
87267         * string/_strerror.c (__strerror_r): Print negative errors as signed
87268         numbers.
87270         [BZ #12777]
87271         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87272         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87273         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87275         * configure.in: Fix typo in redirection and correct removal of test
87276         files in two cases.
87278         [BZ #12788]
87279         * locale/setlocale.c (new_composite_name): Fix test to check for
87280         identical name of all categories.
87282         [BZ #12792]
87283         * libio/filedoalloc.c (local_isatty): New function.
87284         (_IO_file_doallocate): Use local_isatty.
87285         * stdio-common/perror.c (perror): In case a new stream is used
87286         forward the stream error.
87287         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87288         error flag.
87290 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87292         [BZ #11884]
87293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87294         alloca.
87295         * include/alloca.h (extend_alloca_account): Define.
87297         [BZ #11857]
87298         * posix/regex.h: Fix comments with documentation of user-accessible
87299         fields after compilation and describe correct free'ing of pattern
87300         after re_compile_pattern.
87301         Patch by Reuben Thomas <rrt@sc3d.org>.
87303 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87305         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87306         and -mno-altivec to prevent the compiler from using Altivec and/or
87307         VSX instructions when the corresponding registers are not available.
87309 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87311         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87313 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87315         * libio/freopen.c (freopen): Use __dup2, not dup2.
87316         * libio/freopen64.c (freopen64): Likewise.
87318 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87320         [BZ #12775]
87321         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87322         * math/Makefile (tests): Add test-powl.
87323         (CFLAGS-test-powl.c): Define.
87324         * math/test-powl.c: New file.
87326 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87328         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87330 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87332         [BZ #11837]
87333         * iconvdata/gb18030.c: Update to GB18020-2005.
87335 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87337         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87338         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87339         Patch by Aharon Robbins <arnold@skeeve.com>.
87341         [BZ #11892]
87342         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87343         on the stack.
87345         [BZ #11895]
87346         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87347         through underflows.
87349         [BZ #12766]
87350         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87351         point to strings before performing equality test for error_one_per_line
87352         mode.
87354         [BZ #11697]
87355         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87357         [BZ #11820]
87358         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87359         (struct user_fpregs_struct): Avoid __uint*_t types.
87361         [BZ #6420]
87362         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87363         symbol info.  Use it instead of calling _dl_addr locally.
87364         (lock_and_info): New function.
87365         (tr_freehook): Call lock_and_info and pass symbol info as additional
87366         parameter to tr_where.
87367         (tr_mallochook): Likewise.
87368         (tr_reallochook): Likewise.
87369         (tr_memalignhook): Likewise.
87371         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87372         used and couldn't be at all thread-safe.
87374 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87376         * libio/freopen.c (freopen): Don't close old file descriptor
87377         before the new one is opened.  Instead dup the new file descriptor
87378         to the old one after the new stream is created.
87379         * libio/freopen64.c (freopen64): Likewise.
87380         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87381         * libio/fileops.c (_IO_new_file_close_it): Handle new
87382         _IO_FLAGS2_NOCLOSE flag.
87383         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87384         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87385         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87386         _IO_FLAGS2_NOCLOSE flag.
87387         * include/unistd.h: Add hidden_proto for dup3.
87388         Define __have_dup3.
87389         * io/dup3.c: Define hidden symbol.
87390         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87392         [BZ #7101]
87393         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87394         when an incomplete long option is used.
87395         * posix/tst-getopt_long1.c: New file.
87396         * posix/Makefile (tests): Add tst-getopt_long1.
87398         [BZ #10138]
87399         * scripts/config.guess: Update from autoconf-2.68.
87400         * scripts/config.sub: Likewise.
87402         [BZ #10157]
87403         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87404         tests into ...
87405         (has_cpuclock): ...this.  New function.
87406         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87407         macro here based on has_cpuclock code.
87409         [BZ #10149]
87410         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87411         First byte (not low byte) is now always NUL.
87412         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87414         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87415         Use non-cancelable interfaces.
87417         [BZ #9809]
87418         * locale/iso-639.def: Add entry for Sorani.
87420         [BZ #11901]
87421         * include/stdlib.h: Move include protection to the right place.
87422         Define abort_msg_s.  Declare __abort_msg with it.
87423         * stdlib/abort.c (__abort_msg): Adjust type.
87424         * assert/assert.c (__assert_fail_base): New function.  Majority
87425         of code from __assert_fail.  Allocate memory for __abort_msg with
87426         mmap.
87427         (__assert_fail): Now call __assert_fail_base.
87428         * assert/assert-perr.c: Remove bulk of implementation.  Use
87429         __assert_fail_base.
87430         * include/assert.hL Declare __assert_fail_base.
87431         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87432         mmap.
87433         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87435 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87437         [BZ #11952]
87438         [BZ #12453]
87439         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87440         until all modules are registered in the DTV.
87441         * elf/Makefile: Add rules to build and run tst-tls19.
87442         * elf/tst-tls19.c: New file.
87443         * elf/tst-tls19mod1.c: New file.
87444         * elf/tst-tls19mod2.c: New file.
87445         * elf/tst-tls19mod3.c: New file.
87446         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87448         [BZ #12083]
87449         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87450         correctly.
87452         [BZ #12601]
87453         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87454         two-byte sequence errors.
87455         * iconvdata/Makefile (tests): Add bug-iconv8.
87456         * iconvdata/bug-iconv8.c: New file.
87458         [BZ #12626]
87459         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87460         buf2 definition.
87462         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87464         [BZ #12432]
87465         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87466         (dummy_getcfa): New function.
87467         (init): Get _Unwind_GetCFA address, use dummy if not found.
87468         (backtrace_helper): In recursion check, also check whether CFA changes.
87469         (__backtrace): Completely initialize arg.
87471         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87472         storing incomplete byte sequence in state object.  Avoid testing for
87473         guaranteed too small input if we know there is enough data available.
87475 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87477         * Makeconfig (+link-pie): Indent.
87478         * Rules (binaries-pie): Define if $(have-fpie) and
87479         $(build-shared).
87480         (binaries-shared): Also filter out $(binaries-pie).
87481         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87482         * nscd/Makefile (others-pie): Add nscd.
87483         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87484         ($(objpfx)nscd): Remove command override.
87485         * login/Makefile (others-pie): Add pt_chown.
87486         ($(objpfx)pt_chown): Remove command override.
87487         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87488         remove command overrides.
87490 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87492         * libio/tst_putwc.c: Fix error messages.
87494         [BZ #12724]
87495         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87496         currently writing and seek to current position when not.
87497         * libio/Makefile (tests): Add bug-fclose1.
87498         * libio/bug-fclose1.c: New file.
87500 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87502         [BZ #12511]
87503         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87504         don't set DF_1_NODELETE here.
87505         (do_lookup_x): When entering new entry test for copy relocation
87506         and if necessary set DF_1_NODELETE flag.
87507         * elf/tst-unique4.cc: New file.
87508         * elf/tst-unique4.h: New file.
87509         * elf/tst-unique4lib.cc: New file.
87510         * elf/Makefile: Add rules to build and run tst-unique4.
87511         Patch by Piotr Bury <pbury@goahead.com>.
87513 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87515         [BZ #12052]
87516         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87518         [BZ #12625]
87519         * misc/mntent_r.c (addmntent): Flush the stream after the output
87521         [BZ #12393]
87522         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87523         (is_trusted_path_normalize): Skip initial colon.  Append slash
87524         to empty buffer.  Duplicate is_trusted_path code but allow
87525         constructed patch to be prefix.
87526         (is_dst): Allow $ORIGIN followed by /.
87527         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87528         Correct testing of result of is_trusted_path_normalize
87529         (decompose_rpath): Fix warning.
87531 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87533         [BZ #11257]
87534         * grp/initgroups.c (internal_getgrouplist): When we found the service
87535         list through the initgroups entry in nsswitch.conf do not always
87536         continue on a successful lookup.  Don't always use the
87537         __nss_group_database value if it is set.
87538         * nss/nsswitch.conf (initgroups): Change action for successful db
87539         lookup to continue for compatibility.
87541 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87543         [BZ #11532]
87544         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87545         and CP774 modules.
87546         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87547         and CP774 modules.
87548         * iconvdata/tst-tables.sh: Likewise.
87549         * iconvdata/cp770.c: New file.
87550         * iconvdata/cp771.c: New file.
87551         * iconvdata/cp772.c: New file.
87552         * iconvdata/cp773.c: New file.
87553         * iconvdata/cp774.c: New file.
87554         * iconvdata/testdata/CP770: New file.
87555         * iconvdata/testdata/CP770..UTF8: New file.
87556         * iconvdata/testdata/CP771: New file.
87557         * iconvdata/testdata/CP771..UTF8: New file.
87558         * iconvdata/testdata/CP772: New file.
87559         * iconvdata/testdata/CP772..UTF8: New file.
87560         * iconvdata/testdata/CP773: New file.
87561         * iconvdata/testdata/CP773..UTF8: New file.
87562         * iconvdata/testdata/CP774: New file.
87563         * iconvdata/testdata/CP774..UTF8: New file.
87565         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87566         END CHARMAP line.
87567         * iconvdata/gen-8bit-gap.sh: Likewise.
87568         * iconvdata/gen-8bit.sh: Likewise.
87570         * locale/iso-639.def: Add ary entry.
87572         [BZ #11258]
87573         * locale/C-translit.h.in: Add U20A1 transliteration.
87575         [BZ #12178]
87576         * locale/iso-639.def: Add wae entry.
87577         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87579         [BZ #12545]
87580         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87581         for n.
87583         [BZ #12711]
87584         * locale/C-translit.h.in: Add entry for U20B9.
87585         Patch by pravin.d.s@gmail.com.
87587 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87589         [BZ #12713]
87590         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87591         ENAMETOOLONG use generic getcwd.
87592         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87593         in rtld.  Use *stat64.
87594         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87595         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87596         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87597         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87598         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87599         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87600         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87601         __fstatat64 macros.
87602         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87603         * dirent/rewinddir.c: Add libc_hidden_def.
87604         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87605         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87607         * include/dirent.h (__alloc_dir): Add flags parameter.
87608         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87609         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87610         __alloc_dir.
87611         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87612         from fdopendir if O_CLOEXEC is already set.
87614 2011-03-15  Alan Modra  <amodra@gmail.com>
87616         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87617         l_tls_firstbyte_offset non-zero.  Save padding offset in
87618         l_tls_firstbyte_offset for later use.
87619         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87620         freeing static tls block.
87622 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87624         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87625         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87626         being defined by the kernel headers.
87628 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87630         [BZ #12734]
87631         * resolv/resolv.h: Define RES_NOTLDQUERY.
87632         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87633         no-tld-query and set RES_NOTLDQUERY.
87634         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87635         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87636         modern BIND to search name as TLD unless forbidden.
87638 2011-05-07  Petr Baudis  <pasky@suse.cz>
87639             Ulrich Drepper  <drepper@gmail.com>
87641         [BZ #12393]
87642         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87643         (is_trusted_path): ...to here.
87644         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87645         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87646         using is_trusted_path_normalize() in setuid scripts.
87648 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87650         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87651         __BEGIN/__END_DECLS.
87653 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87655         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87656         NSS_STATUS_NOTFOUND if no record was found.
87658 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87660         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87661         (headers-not-in-tirpc): Remove rpc/netdb.h
87662         * resolv/netdb.h: Revert last change.
87664 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87666         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87667         circular dependency between libgcc.a and libc.a.
87669 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87671         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87672         * nis/Makefile: Don't install rpcsvc/*.
87673         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87674         instead of <rpc/types.h>.
87675         (MAXHOSTNAMELEN): Define.
87677 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87679         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87681 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87683         [BZ #12714]
87684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87685         gethostbyname4_r when IPv6 results are possible.
87687 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87689         [BZ #12723]
87690         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87691         _PC_PIPE_BUF handling.
87693 2011-04-30  Bruno Haible  <bruno@clisp.org>
87695         [BZ #12717]
87696         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87697         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87698         to 'int'.
87699         * inet/getnameinfo.c (getnameinfo): Likewise.
87701 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87703         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87704         to groups setting in database lookup.
87705         * nss/nsswitch.conf: Add initgroups entry.
87707 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87709         [BZ #12685]
87710         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87711         mode string.
87712         Patch by Eric Blake <eblake@redhat.com>.
87714 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87716         * sunrpc/Makefile (need-export-routines): Add svc_run.
87717         (routines): Remove svc_run.
87718         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87719         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87720         * sunrpc/svc_run.c (svc_run): Likewise.
87721         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87723 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87726         problem in reallocation in last patch.
87728 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87730         * sunrpc/Makefile: Move inclusion of Rules.
87732 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87734         * nss/nss_files/files-initgroups.c: New file.
87735         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87736         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87737         _nss_files_initgroups_dyn.
87739 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87741         * elf/elf.h (R_ARM_IRELATIVE): Define.
87743 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87745         * po/ru.po: Update from translation team.
87747 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87749         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87750         dependencies.
87752 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87754         [BZ #12653]
87755         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87756         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87757         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87758         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87759         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87761 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87763         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87764         differing bytes.
87765         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87766         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87767         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87769 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87771         [BZ #12420]
87772         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87773         storing it.
87774         * stdlib/bug-getcontext.c: New file.
87775         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87777 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87779         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87780         instructions into .machine "z9-109".
87781         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87782         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87784 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87786         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87787         between environment variables and auxiliary vector.
87789 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87791         * Makefile: Add rules to build linkobj/libc.so.
87792         * include/libc-symbols.h: Define libc_hidden_nolink.
87793         * include/rpc/auth.h: Mark functions which are to be hidden.
87794         * include/rpc/auth_des.h: Likewise.
87795         * include/rpc/auth_unix.h: Likewise.
87796         * include/rpc/clnt.h: Likewise.
87797         * include/rpc/des_crypt.h: Likewise.
87798         * include/rpc/key_prot.h: Likewise.
87799         * include/rpc/pmap_clnt.h: Likewise.
87800         * include/rpc/pmap_prot.h: Likewise.
87801         * include/rpc/pmap_rmt.h: Likewise.
87802         * include/rpc/rpc_msg.h: Likewise.
87803         * include/rpc/svc.h: Likewise.
87804         * include/rpc/svc_auth.h: Likewise.
87805         * include/rpc/xdr.h: Likewise.
87806         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87807         * nss/Makefile: Likewise.
87808         * sunrpc/Makefile: Don't install headers.  Build library with normal
87809         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87810         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87811         for the compat linking library.  Remove use of INTDEF/INTUSE.
87812         * sunrpc/auth_none.c: Likewise.
87813         * sunrpc/auth_unix.c: Likewise.
87814         * sunrpc/authdes_prot.c: Likewise.
87815         * sunrpc/authuxprot.c: Likewise.
87816         * sunrpc/clnt_gen.c: Likewise.
87817         * sunrpc/clnt_perr.c: Likewise.
87818         * sunrpc/clnt_raw.c: Likewise.
87819         * sunrpc/clnt_simp.c: Likewise.
87820         * sunrpc/clnt_tcp.c: Likewise.
87821         * sunrpc/clnt_udp.c: Likewise.
87822         * sunrpc/clnt_unix.c: Likewise.
87823         * sunrpc/des_crypt.c: Likewise.
87824         * sunrpc/des_soft.c: Likewise.
87825         * sunrpc/get_myaddr.c: Likewise.
87826         * sunrpc/key_call.c: Likewise.
87827         * sunrpc/key_prot.c: Likewise.
87828         * sunrpc/netname.c: Likewise.
87829         * sunrpc/pm_getmaps.c: Likewise.
87830         * sunrpc/pm_getport.c: Likewise.
87831         * sunrpc/pmap_clnt.c: Likewise.
87832         * sunrpc/pmap_prot.c: Likewise.
87833         * sunrpc/pmap_prot2.c: Likewise.
87834         * sunrpc/pmap_rmt.c: Likewise.
87835         * sunrpc/publickey.c: Likewise.
87836         * sunrpc/rpc_cmsg.c: Likewise.
87837         * sunrpc/rpc_common.c: Likewise.
87838         * sunrpc/rpc_dtable.c: Likewise.
87839         * sunrpc/rpc_prot.c: Likewise.
87840         * sunrpc/rpc_thread.c: Likewise.
87841         * sunrpc/rtime.c: Likewise.
87842         * sunrpc/svc.c: Likewise.
87843         * sunrpc/svc_auth.c: Likewise.
87844         * sunrpc/svc_authux.c: Likewise.
87845         * sunrpc/svc_raw.c: Likewise.
87846         * sunrpc/svc_run.c: Likewise.
87847         * sunrpc/svc_simple.c: Likewise.
87848         * sunrpc/svc_tcp.c: Likewise.
87849         * sunrpc/svc_udp.c: Likewise.
87850         * sunrpc/svc_unix.c: Likewise.
87851         * sunrpc/svcauth_des.c: Likewise.
87852         * sunrpc/xcrypt.c: Likewise.
87853         * sunrpc/xdr.c: Likewise.
87854         * sunrpc/xdr_array.c: Likewise.
87855         * sunrpc/xdr_float.c: Likewise.
87856         * sunrpc/xdr_intXX_t.c: Likewise.
87857         * sunrpc/xdr_mem.c: Likewise.
87858         * sunrpc/xdr_rec.c: Likewise.
87859         * sunrpc/xdr_ref.c: Likewise.
87860         * sunrpc/xdr_sizeof.c: Likewise.
87861         * sunrpc/xdr_stdio.c: Likewise.
87863 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87865         [BZ #12650]
87866         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87867         * sysdeps/ia64/dl-tls.h: Likewise.
87868         * sysdeps/powerpc/dl-tls.h: Likewise.
87869         * sysdeps/s390/dl-tls.h: Likewise.
87870         * sysdeps/sh/dl-tls.h: Likewise.
87871         * sysdeps/sparc/dl-tls.h: Likewise.
87872         * sysdeps/x86_64/dl-tls.h: Likewise.
87873         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87875 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87877         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87878         rpath element also skip the following colon.
87879         (expand_dynamic_string_token): Add is_path parameter and pass
87880         down to DL_DST_REQUIRED and _dl_dst_substitute.
87881         (decompose_rpath): Call expand_dynamic_string_token with
87882         non-zero is_path.  Ignore empty rpaths.
87883         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87884         with zero is_path.
87886 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87889         Make cancelable.
87891 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87893         [BZ #12655]
87894         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87895         Patch by Filipe David Manana <fdmanana@apache.org>.
87897 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87899         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87900         Maintain aligned stack.
87901         (CHECK_RSP): Remove unused macro.
87903 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87905         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87906         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87908 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87910         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87912         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87914 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87916         [BZ #12518]
87917         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87918         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87919         * sysdeps/x86_64/memmove.c: New file.
87920         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87921         (memcpy): Renamed to ...
87922         (__new_memcpy): This.
87923         (memcpy): Provide GLIBC_2_14 memcpy.
87924         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87925         (memcpy): Provide GLIBC_2_2_5 memcpy.
87927 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87929         [BZ #12631]
87930         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87932 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87934         * misc/syncfs.c: New file.
87935         * misc/Makefile (routines): Add syncfs.
87936         * posix/unistd.h: Declare syncfs.
87937         * sysdeps/unix/syscalls.list: Add syncfs.
87939 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87941         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87942         open_by_handle_at.
87943         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87944         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87948         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87949         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87951 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87953         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87954         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87955         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87957         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87959         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87961         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87962         sync_file_range.c with -fexceptions.
87963         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87964         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87965         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87966         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87967         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87968         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87970         sync_file_range as cancellation point
87971         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87972         now a wrapper around __call_sync_file_range with cancellation handling.
87973         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87974         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87975         function name to __call_sync_file_range.
87976         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87977         Add call_sync_file_range.
87979 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87982         bits/timex.h.
87984 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87986         * iconv/iconv.h: Fix typo in comment.
87987         * io/fcntl.h: Likewise.
87988         * libio/stdio.h: Likewise.
87989         * posix/spawn.h: Likewise.
87990         * posix/unistd.h: Likewise.
87991         * stdlib/stdlib.h: Likewise.
87992         * time/time.h: Likewise.
87993         * wcsmbs/wchar.h: Likewise.
87995         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87996         open_by_handle): Add.
87997         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87998         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87999         Augment a few comments.
88000         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88002         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88004         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88005         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88006         open_by_handle.
88008         * io/fcntl.h (AT_EMPTY_PATH): Define.
88010 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88012         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88013         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88014         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88015         to...
88016         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88017         * Versions.def: Add GLIBC_2.14.
88018         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88019         Export.
88021 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88023         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88024         round counter.
88025         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88027 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88029         [BZ #12597]
88030         * string/test-strncmp.c (do_page_test): New function.
88031         (check2): Likewise.
88032         (test_main): Call check2.
88033         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88035 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88037         [BZ #12587]
88038         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88039         Handle cache information in CPU leaf 4.
88040         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88042 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88044         [BZ #12583]
88045         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88046         character representation.
88047         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88049 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88051         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88052         END(__isnan) to END(__isnanf) to match function entry point/label
88053         EALIGN(__isnanf,...).
88055 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88057         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88059 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88061         [BZ #12510]
88062         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88063         copy from the symbol referenced in the relocation to initialize the
88064         used variable.
88065         Patch by Piotr Bury <pbury@goahead.com>.
88066         * elf/Makefile: Add rules to build and tst-unique3.
88067         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88068         * elf/tst-unique3.cc: New file.
88069         * elf/tst-unique3.h: New file.
88070         * elf/tst-unique3lib.cc: New file.
88071         * elf/tst-unique3lib2.cc: New file.
88073         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88075 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88077         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88078         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88079         to _start.
88081 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88083         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88084         to-be-loaded object along a path to loader is ld.so.
88086 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88087             Ulrich Drepper  <drepper@gmail.com>
88089         * sysdeps/x86_64/memset.S: After aligning destination, code
88090         branches to different locations depending on the value of
88091         misalignment, when multiarch is enabled. Fix this.
88093 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88095         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88096         Set _x86_64_preferred_memory_instruction for AMD processsors.
88097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88098         Set bit_Prefer_SSE_for_memop for AMD processors.
88100 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88102         * libio/fmemopen.c (fmemopen): Optimize a bit.
88104 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88106         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88108 2011-03-03  Roland McGrath  <roland@redhat.com>
88110         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88112 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88114         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88115         __bzero_ultra1 instead of __memset_ultra1.
88117 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88118             Ulrich Drepper  <drepper@gmail.com>
88120         [BZ #12509]
88121         * include/link.h (struct link_map): Add l_orig_initfini.
88122         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88123         returning unsuccessfully.
88124         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88125         close of a file loaded at startup, restore the original l_initfini
88126         list.
88127         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88128         list, store the pointer.
88129         * elf/Makefile ($(objpfx)noload-mem): New rule.
88130         (noload-ENV): Define.
88131         (tests): Add $(objpfx)noload-mem.
88132         * elf/noload.c: Include <memcheck.h>.
88133         (main): Call mtrace.  Close all opened handles.
88135 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88137         [BZ #12454]
88138         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88139         dependencies are missing.
88141 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88143         Fix __if_freereq crash: Unlike the generic version which uses free,
88144         Hurd needs munmap.
88145         * sysdeps/mach/hurd/ifreq.h: New file.
88147 2011-01-27  Petr Baudis  <pasky@suse.cz>
88148             Ulrich Drepper  <drepper@gmail.com>
88150         [BZ 12445]#
88151         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88152         to extend_alloca().
88153         * stdio-common/bug23.c: New file.
88154         * stdio-common/Makefile (tests): Add bug23.
88156 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88157             Ulrich Drepper  <drepper@gmail.com>
88159         [BZ #12489]
88160         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88161         before performing relro protection.  At old place add assertion
88162         to make sure nothing changed.
88164 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88165             Glauber de Oliveira Costa  <glommer@gmail.com>
88167         * elf/elf.h: Add new ARM TLS relocs.
88169 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88172         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88173         cast from r3.
88174         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88175         'tests' variable.
88176         * sysdeps/wordsize-64/tst-writev.c: New file.
88178 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88180         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88181         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88182         insns in _dl_start to prevent a TOC reference before relocs are
88183         resolved.
88185 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88187         [BZ #12469]
88188         * Makeconfig: Remove RANLIB definition.
88189         * Makerules: Don't use RANLIB.
88190         * aclocal.m4: Remove ranlib test.
88191         * configure.in: No need to check for ranlib.
88192         * elf/rtld-Rules: Don't use RANLIB.
88194 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88196         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88197         protection macro.
88198         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88199         inclusion protection macro.
88201         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88202         SIGRTMIN and SIGRTMAX and print information in that case only when
88203         SIGRTMIN is defined.
88205 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88207         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88208         arginfo fn returning -1.
88210         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88211         and thousands string is zero terminated.
88213 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88216         sysdeps/unix/sysv/linux/bits/socket.h.
88218 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88220         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88221         (__CPU_COUNT): Remove old macros.
88222         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88223         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88224         (__CPU_ALLOC, __CPU_FREE): Add macros.
88225         (__sched_cpualloc, __sched_cpufree): Add declarations.
88227 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88229         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88230         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88231         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88232         (readdhstai): Return value of addhstaiX call.
88233         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88234         (addgrbyX): Return value returned by cache_addgr.
88235         (readdgrbyname): Return value returned by addgrbyX.
88236         (readdgrbygid): Likewise.
88237         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88238         (addpwbyX): Return value returned by cache_addpw.
88239         (readdpwbyname): Return value returned by addhstbyX.
88240         (readdpwbyuid): Likewise.
88241         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88242         (addservbyX): Return value returned by cache_addserv.
88243         (readdservbyname): Return value returned by addservbyX:
88244         (readdservbyport): Likewise.
88245         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88246         (addhstbyX): Return value returned by cache_addhst.
88247         (readdhstbyname): Return value returned by addhstbyX.
88248         (readdhstbyaddr): Likewise.
88249         (readdhstbynamev6): Likewise.
88250         (readdhstbyaddrv6): Likewise.
88251         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88252         (readdinitgroups): Return value returned by addinitgroupsX.
88253         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88254         (prune_cache): Keep track of timeout value of re-added entries.
88255         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88256         * nscd/nscd.h: Adjust prototypes of readd* functions.
88258 2011-02-04  Roland McGrath  <roland@redhat.com>
88260         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88261         (nis_stats): Likewise.
88262         * nis/nis_modify.c (nis_modify): Likewise.
88263         * nis/nis_remove.c (nis_remove): Likewise.
88264         * nis/nis_add.c (nis_add): Likewise.
88266         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88268         * posix/fnmatch_loop.c: Add some consts.
88270         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88272 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88274         [BZ #12460]
88275         * config.make.in (config-cflags-novzeroupper): Define.
88276         * configure.in: Substitute libc_cv_cc_novzeroupper.
88277         * elf/Makefile (AVX-CFLAGS): Define.
88278         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88279         (CFLAGS-tst-auditmod4a.c): Likewise.
88280         (CFLAGS-tst-auditmod4b.c): Likewise.
88281         (CFLAGS-tst-auditmod6b.c): Likewise.
88282         (CFLAGS-tst-auditmod6c.c): Likewise.
88283         (CFLAGS-tst-auditmod7b.c): Likewise.
88284         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88286 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88288         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88289         function to the callback.
88290         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88292 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88294         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88295         of errno.
88297 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88299         [BZ #11724]
88300         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88301         of constructors.
88302         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88303         of destructors.
88304         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88306         [BZ #11724]
88307         * elf/Makefile: Add rules to build and run new test.
88308         * elf/tst-initorder.c: New file.
88309         * elf/tst-initorder.exp: New file.
88310         * elf/tst-initordera1.c: New file.
88311         * elf/tst-initordera2.c: New file.
88312         * elf/tst-initordera3.c: New file.
88313         * elf/tst-initordera4.c: New file.
88314         * elf/tst-initorderb1.c: New file.
88315         * elf/tst-initorderb2.c: New file.
88316         * elf/tst-order-a1.c: New file.
88317         * elf/tst-order-a2.c: New file.
88318         * elf/tst-order-a3.c: New file.
88319         * elf/tst-order-a4.c: New file.
88320         * elf/tst-order-b1.c: New file.
88321         * elf/tst-order-b2.c: New file.
88322         * elf/tst-order-main.c: New file.
88323         New test case by George Gensure <werkt0@gmail.com>.
88325 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88328         decoding ACE if AI_CANONIDN.
88330 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88332         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88334 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88336         * version.h (RELEASE): Bump for 2.13 release.
88337         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88339         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88341         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88342         MADV_NOHUGEPAGE.
88343         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88345         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88346         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88347         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88348         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88350         * posix/getconf.c: Update copyright year.
88351         * catgets/gencat.c: Likewise.
88352         * csu/version.c: Likewise.
88353         * debug/catchsegv.sh: Likewise.
88354         * debug/xtrace.sh: Likewise.
88355         * elf/ldconfig.c: Likewise.
88356         * elf/ldd.bash.in: Likewise.
88357         * elf/sprof.c (print_version): Likewise.
88358         * iconv/iconv_prog.c: Likewise.
88359         * iconv/iconvconfig.c: Likewise.
88360         * locale/programs/locale.c: Likewise.
88361         * locale/programs/localedef.c: Likewise.
88362         * malloc/memusage.sh: Likewise.
88363         * malloc/mtrace.pl: Likewise.
88364         * nscd/nscd.c (print_version): Likewise.
88365         * nss/getent.c: Likewise.
88367         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88368         PF_CAIF, and PF_ALG.
88369         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88371 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88373         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88374         (modules-names): Use them.
88375         (ifunc-test-modules, ifunc-pie-tests): Define.
88376         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88377         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88378         (test-extras): Likewise.
88379         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88380         $(compile-command.c).
88381         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88382         (all-built-dso): Define.
88383         (check-textrel.out, check-execstack.out): Depend on it.
88385         * configure.in: Don't override --enable-multi-arch.
88387 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88389         [BZ #6812]
88390         * nscd/hstcache.c (tryagain): Define.
88391         (cache_addhst): Return tryagain not notfound for temporary errors.
88392         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88393         failed.
88395 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88397         [BZ #10563]
88398         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88399         to make the syscall.
88400         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88402         [BZ #12378]
88403         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88404         and fall back to matching as normal character if the string ends before
88405         the matching ']' is found.  This is what POSIX requires.
88406         * posix/testfnm.c: Adjust test result.
88407         * posix/globtest.sh: Adjust test result.  Add new test.
88408         * posix/tst-fnmatch.input: Likewise.
88409         * posix/tst-fnmatch2.c: Add new test.
88411 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88413         * elf/Makefile (check-execstack): Revert last change.  Depend on
88414         check-execstack.h.
88415         (check-execstack.h): New target.
88416         (generated): Add check-execstack.h.
88417         * elf/check-execstack.c: Include "check-execstack.h".
88418         (main): Revert last change.
88419         (handle_file): Return zero if GNU_STACK is absent and
88420         DEFAULT_STACK_PERMS doesn't include PF_X.
88422 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88424         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88425         in child fails because the descriptor is already closed.
88426         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88427         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88428         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88430         [BZ #12397]
88431         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88432         syscall.
88434         [BZ #10484]
88435         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88436         temporary buffer used to handle multi lookups locally.
88437         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88439 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88441         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88442         loader is ld.so.
88444 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88446         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88447         alignment for SSE2.
88449 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88451         [BZ #12394]
88452         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88453         characters.  When rounding increased number of integer digits recompute
88454         number of groups.
88455         * stdio-common/tst-grouping.c: New file.
88456         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88458 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88460         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88461         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88463         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88464         void.
88465         * bits/select.h: Likewise.
88467 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88469         * po/ja.po: Update from translation team.
88471 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88473         [BZ #11155]
88474         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88475         implementation just like for lxstat, fxstatat, et al.
88477 2010-12-27  Jim Meyering  <meyering@redhat.com>
88479         [BZ #12348]
88480         * posix/regexec.c (build_trtable): Return failure indication upon
88481         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88483 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88485         [BZ #12201]
88486         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88487         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88488         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88489         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88491         [BZ #12207]
88492         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88494         [BZ #12204]
88495         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88496         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88498 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88500         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88501         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88502         script has SORT_BY_INIT_PRIORITY.
88503         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88504         NO_CTORS_DTORS_SECTIONS is defined.
88505         * elf/soinit.c: Likewise.
88506         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88507         NO_CTORS_DTORS_SECTIONS is defined.
88508         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88509         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88510         * sysdeps/sh/init-first.c: Likewise.
88511         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88513 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88515         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88516         always use the slow path.
88518 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88520         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88521         similar rule which adds the sysdep directories to the header search in
88522         order to pick up the correct platform stackinfo.h.
88523         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88524         perform test if it is, otherwise return successfully without testing.
88525         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88526         DEFAULT_STACK_PERMS define in stackinfo.h.
88527         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88528         defined in stackinfo.h.
88529         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88530         DEFAULT_STACK_PERMS defined in stackinfo.h.
88531         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88532         * sysdeps/ia64/stackinfo.h: Likewise.
88533         * sysdeps/s390/stackinfo.h: Likewise.
88534         * sysdeps/sh/stackinfo.h: Likewise.
88535         * sysdeps/sparc/stackinfo.h: Likewise.
88536         * sysdeps/x86_64/stackinfo.h: Likewise.
88537         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88538         PF_X for powerpc64.  Retain PF_X for powerpc32.
88540 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88542         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88543         accurately.
88544         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88545         GETDENTS_64BIT_ALIGNED.
88547 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88549         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88551 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88553         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88554         _GNU_SOURCE.
88556         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88557         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88558         Remove __restrict.
88559         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88560         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88562 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88564         [BZ #11655]
88565         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88566         are initialized.
88568 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88570         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88572 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88574         * po/it.po: Update from translation team.
88576 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88579         unused codes.
88581 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88583         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88585 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88587         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88588         specially.
88589         (gaih_getanswer_slice): Likewise.
88591 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88595 2010-05-31  Petr Baudis  <pasky@suse.cz>
88597         [BZ #11149]
88598         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88599         silently even in the chroot mode.
88601 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88603         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88604         last patch a bit.  Pretty printing
88606 2010-05-31  Petr Baudis <pasky@suse.cz>
88608         [BZ #10085]
88609         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88610         initialization of skip_initgroups_dyn.
88612 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88614         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88615         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88617 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88619         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88621 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88623         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88624         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88625         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88626         ($(objpfx)tst-fnmatch-mem): New rule.
88627         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88628         * posix/tst-fnmatch.c (main): Call mtrace.
88630 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88633         Support Intel processor model 6 and model 0x2c.
88635 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88637         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88638           signed comparison.
88640 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88642         [BZ #12205]
88643         * string/test-strncasecmp.c (check_result): New function.
88644         (do_one_test): Use it.
88645         (check1): New function.
88646         (test_main): Use it.
88647         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88648         Support strcasecmp and strncasecmp.
88650 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88652         [BZ #12194]
88653         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88654         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88656 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88658         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88659         IFUNC support.
88660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88661         memset-x86-64.
88662         * sysdeps/x86_64/multiarch/bzero.S: New file.
88663         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88664         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88665         * sysdeps/x86_64/multiarch/memset.S: New file.
88666         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88668         Set bit_Prefer_SSE_for_memop for Intel processors.
88669         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88670         Define.
88671         (index_Prefer_SSE_for_memop): Define.
88672         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88674 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88676         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88677         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88679 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88681         [BZ #12191]
88682         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88683         (__x86_64_raw_data_cache_size_half): Likewise.
88684         (__x86_64_raw_shared_cache_size): Likewise.
88685         (__x86_64_raw_shared_cache_size_half): Likewise.
88687         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88688         (__x86_64_raw_data_cache_size_half): Likewise.
88689         (__x86_64_raw_shared_cache_size): Likewise.
88690         (__x86_64_raw_shared_cache_size_half): Likewise.
88691         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88692         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88693         and __x86_64_raw_shared_cache_size_half.  Round
88694         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88695         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88696         to multiple of 256 bytes.
88698 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88700         [BZ #12167]
88701         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88702         of inacessible symlinks.  Verify result of symlink before returning it.
88703         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88704         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88706 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88708         * math/math.h (isinf): Fix typo in comment.
88710 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88712         * po/da.po: Update from translation team.
88714 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88716         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88717         is added to the list.
88719 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88720             Ulrich Drepper  <drepper@gmail.com>
88722         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88723         the global list here.  Move code to...
88724         (_dl_add_to_namespace_list): ...here.  New function.
88725         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88726         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88727         * elf/dl-load.c (lose): Don't remove the element from the list.
88728         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88729         (_dl_map_object): Likewise.
88731 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88733         [BZ #12159]
88734         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88735         into all bytes of SSE register.
88736         Patch by Richard Li <richardpku@gmail.com>.
88738 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88740         [BZ #12140]
88741         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88742         perturbing.
88744 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88746         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88747         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88748         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88749         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88751         submachine.
88752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88754 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88756         * include/dlfcn.h (__RTLD_SECURE): Define.
88757         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88758         mode & __RTLD_SECURE instead.
88759         (open_path): Rename preloaded parameter to secure.
88760         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88761         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88762         * elf/dl-deps.c (openaux): Likewise.
88763         * elf/rtld.c (struct map_args): Remove is_preloaded.
88764         (map_doit): Don't use it.
88765         (dl_main): Likewise.
88766         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88767         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88769 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88771         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88772         (sysd-rules-targets): Remove duplicates.
88773         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88774         rtld-%.$o dependency.
88776 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88778         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88779         _dl_map_object do it.
88781 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88783         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88784         fast fma builtins, define the macros in the C99 standard.
88785         (FP_FAST_FMAF): Likewise.
88786         (FP_FAST_FMAL): Likewise.
88787         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88789         * bits/mathdef.h: Update copyright year.
88790         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88792 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88794         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88795         builtins, define the macros in the C99 standard.
88796         (FP_FAST_FMAF): Likewise.
88797         (FP_FAST_FMAL): Likewise.
88798         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88799         multiply/add.
88800         (FP_FAST_FMAF): Likewise.
88802 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88804         [BZ #3268]
88805         * math/libm-test.inc (fma_test): Some new testcases.
88806         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88807         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88808         y and infinite z.  Do multiplication by C already in long double.
88809         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88811         y and infinite z.  Do bitwise or of inexact bit into u.d.
88812         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88813         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88814         * sysdeps/i386/fpu/s_fma.S: Removed.
88815         * sysdeps/i386/fpu/s_fmal.S: Removed.
88817 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88819         [BZ #3268]
88820         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88822         computation is not scheduled after fetestexcept.  Fix value
88823         of minimum denormal long double.
88825 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88827         [BZ #3268]
88828         * math/libm-test.inc (fma_test): Add some more tests.
88829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88830         correctly.
88832 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88834         * scripts/data/localplt-s390-linux-gnu.data: New file.
88835         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88837 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88839         [BZ #3268]
88840         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88841         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88842         instead of dbl-64.
88843         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88844         inlines.
88845         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88847         if one of x and y is very large and the other is subnormal.
88848         * sysdeps/s390/fpu/s_fmaf.c: New file.
88849         * sysdeps/s390/fpu/s_fma.c: New file.
88850         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88851         * sysdeps/powerpc/fpu/s_fma.S: New file.
88852         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88853         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88854         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88856 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88858         [BZ #3268]
88859         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88860         fma tests.
88861         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88862         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88863         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88864         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88865         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88866         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88867         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88869 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88871         [BZ #12078]
88872         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88873         * posix/bug-regex31.input: Add test case.
88875 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88877         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88878         * posix/bug-regex31.input: New file.
88880         [BZ #12078]
88881         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88882         (parse_sub_exp): Fix last change, use postorder.
88884         * posix/bug-regex31.c: New file.
88885         * posix/Makefile: Add rules to build and run bug-regex31.
88887         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88889         [BZ #12078]
88890         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88892         [BZ #12108]
88893         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88894         to have entries in sys_siglist.
88896         [BZ #12093]
88897         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88898         be NULL.
88900 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88902         [BZ #3268]
88903         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88904         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88905         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88906         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88907         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88908         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88909         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88910         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88911         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88912         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88913         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88914         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88915         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88916         * math/ftestexcept.c (fetestexcept): Likewise.
88917         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88918         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88919         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88920         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88921         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88922         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88923         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88925 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88927         [BZ #12107]
88928         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88929         newline.
88931 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88933         * string/bug-strstr1.c: New file.
88934         * string/Makefile: Add rules to build and run bug-strstr1.
88936 2010-10-05  Eric Blake  <eblake@redhat.com>
88938         [BZ #12092]
88939         * string/str-two-way.h (two_way_long_needle): Always clear memory
88940         when skipping input due to the shift table.
88942 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88944         [BZ #12005]
88945         * malloc/mcheck.c: Handle large requests.
88947         [BZ #12077]
88948         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88949         for strncmp and strncasecmp.
88950         * string/stratcliff.c: Add tests for strcmp and strncmp.
88951         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88953 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88955         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88956         __set_fpscr.
88958 2010-09-30  Andreas Jaeger  <aj@suse.de>
88960         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88961         (CGROUP_SUPER_MAGIC): Define.
88962         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88963         Handle btrfs and cgroup file systems.
88964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88965         Likewise.
88967 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88969         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88970         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88972 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88974         [BZ #12067]
88975         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88976         trying to locate the ELF header.
88978 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88980         [BZ #11611]
88981         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88982         Mask out sign-bit copies when constructing f_fsid.
88984 2010-09-24  Petr Baudis <pasky@suse.cz>
88986         * debug/stack_chk_fail_local.c: Add missing licence exception.
88987         * debug/warning-nop.c: Likewise.
88989 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88991         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88992         implementing getdents64 using getdents syscall, set d_type if
88993         __ASSUME_GETDENTS32_D_TYPE.
88995 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88997         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88998         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89000 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89002         [BZ #12037]
89003         * posix/unistd.h: Undo change of feature selection for ftruncate from
89004         2010-01-11.
89006 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89008         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89009         detection.
89011 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89013         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89014         fanotify_mark.
89015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89017 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89019         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89020         variables after CHECK_SP call.
89021         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89023 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89024             Ulrich Drepper  <drepper@redhat.com>
89026         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89027         re-relocationg ld.so.
89028         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89029         _dl_init_paths call.
89030         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89031         here anymore.
89033 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89035         * resolv/res_init.c (__res_vinit): Count the default server we added.
89037 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89038             Ulrich Drepper  <drepper@redhat.com>
89040         [BZ #11968]
89041         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89042         (____longjmp_chk): Use %ebx for saving value across system call.
89043         Add unwind info.
89045 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89047         * manual/Makefile: Don't mix pattern rules with normal rules.
89049 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89051         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89052         operation.
89053         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89054         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89055         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89056         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89057         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89058         Likewise.
89060 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89062         [BZ #11979]
89063         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89064         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89066 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89068         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89069         * sysdeps/x86_64/addmul_1.S: Likewise.
89070         * sysdeps/x86_64/lshift.S: Likewise.
89071         * sysdeps/x86_64/mul_1.S: Likewise.
89072         * sysdeps/x86_64/rshift.S: Likewise.
89073         * sysdeps/x86_64/sub_n.S: Likewise.
89074         * sysdeps/x86_64/submul_1.S: Likewise.
89076 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89078         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89079         Define __sched_param instead of SCHED_* and sched_param when
89080         <bits/sched.h> is included with __need_schedparam defined.
89081         * bits/sched.h [__need_schedparam]
89082         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89083         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89084         (__defined_schedparam): Define to 1.
89085         (__sched_param): New structure, identical to sched_param.
89086         (__need_schedparam): Undefine.
89088 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89090         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89091         (epoll_create1): Declare.
89093         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89095 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89097         [BZ #7066]
89098         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89099         shifting retval into place.
89101 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89103         * nis/rpcsvc/nis.h: Update copyright notice.
89104         * nis/rpcsvc/nis.x: Likewise.
89105         * nis/rpcsvc/nis_callback.h: Likewise.
89106         * nis/rpcsvc/nis_callback.x: Likewise.
89107         * nis/rpcsvc/nis_object.x: Likewise.
89108         * nis/rpcsvc/nis_tags.h: Likewise.
89109         * nis/rpcsvc/yp.h: Likewise.
89110         * nis/rpcsvc/yp.x: Likewise.
89111         * nis/rpcsvc/ypupd.h: Likewise.
89112         * nis/yp_xdr.c: Likewise.
89113         * nis/ypupdate_xdr.c: Likewise.
89115         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89116         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89117         (pmap_getport): Use __libc_rpc_getport.
89118         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89119         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89120         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89122 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89125         fanotify_mark.
89127 2010-08-27  Roland McGrath  <roland@redhat.com>
89129         * sysdeps/i386/i686/multiarch/Makefile
89130         (CFLAGS-varshift.c): New variable.
89132 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89134         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89135         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89139         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89141 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89143         * sysdeps/x86_64/strlen.S: Unroll the loop.
89144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89145         strlen-sse2 strlen-sse2-bsf.
89146         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89147         __strlen_no_bsf if bit_Slow_BSF is set.
89148         (__strlen_sse42): Removed.
89149         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89150         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89152 2010-08-25  Roland McGrath  <roland@redhat.com>
89154         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89155         * sysdeps/x86_64/multiarch/varshift.c: New file.
89156         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89157         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89158         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89159         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89161 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89164         strlen-sse2 strlen-sse2-bsf.
89165         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89166         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89167         (__strlen_sse2): Removed.
89168         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89169         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89171         bit_Slow_BSF for Atom.
89172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89173         (index_Slow_BSF): Define.
89174         (HAS_SLOW_BSF): Define.
89176 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89178         [BZ #10851]
89179         * resolv/res_init.c (__res_vinit): When no server address at all
89180         is given default to loopback.
89182 2010-08-24  Roland McGrath  <roland@redhat.com>
89184         * configure.in: Remove config-name.h generation.
89185         * configure: Regenerated.
89186         * config-name.in: File removed.
89187         * scripts/config-uname.sh: New file.
89188         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89189         ($(objdir)config-name.h): New target.
89191         * sunrpc/rpc_parse.h: Avoid nested comment.
89193 2010-08-24  Richard Henderson  <rth@redhat.com>
89194             Ulrich Drepper  <drepper@redhat.com>
89195             H.J. Lu  <hongjiu.lu@intel.com>
89197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89199         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89200         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89201         _mm_alignr_epi8 with _mm_loadu_si128.
89202         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89203         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89204         (__m128i_shift_right): Removed.
89205         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89206         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89207         * sysdeps/x86_64/multiarch/varshift.h: New file.
89208         * sysdeps/x86_64/multiarch/varshift.S: New file.
89210 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89212         * configure.in: Move assembler checks to before sysdep dir checking.
89214 2010-08-20  Petr Baudis  <pasky@suse.cz>
89216         * LICENSES: Sync the sunrpc license.
89218 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89220         * sunrpc/auth_des.c: Update copyright notice once again.
89221         * sunrpc/auth_none.c: Likewise.
89222         * sunrpc/auth_unix.c: Likewise.
89223         * sunrpc/authdes_prot.c: Likewise.
89224         * sunrpc/authuxprot.c: Likewise.
89225         * sunrpc/bindrsvprt.c: Likewise.
89226         * sunrpc/clnt_gen.c: Likewise.
89227         * sunrpc/clnt_perr.c: Likewise.
89228         * sunrpc/clnt_raw.c: Likewise.
89229         * sunrpc/clnt_simp.c: Likewise.
89230         * sunrpc/clnt_tcp.c: Likewise.
89231         * sunrpc/clnt_udp.c: Likewise.
89232         * sunrpc/clnt_unix.c: Likewise.
89233         * sunrpc/des_crypt.c: Likewise.
89234         * sunrpc/des_soft.c: Likewise.
89235         * sunrpc/get_myaddr.c: Likewise.
89236         * sunrpc/getrpcport.c: Likewise.
89237         * sunrpc/key_call.c: Likewise.
89238         * sunrpc/key_prot.c: Likewise.
89239         * sunrpc/openchild.c: Likewise.
89240         * sunrpc/pm_getmaps.c: Likewise.
89241         * sunrpc/pm_getport.c: Likewise.
89242         * sunrpc/pmap_clnt.c: Likewise.
89243         * sunrpc/pmap_prot.c: Likewise.
89244         * sunrpc/pmap_prot2.c: Likewise.
89245         * sunrpc/pmap_rmt.c: Likewise.
89246         * sunrpc/rpc/auth.h: Likewise.
89247         * sunrpc/rpc/auth_unix.h: Likewise.
89248         * sunrpc/rpc/clnt.h: Likewise.
89249         * sunrpc/rpc/des_crypt.h: Likewise.
89250         * sunrpc/rpc/key_prot.h: Likewise.
89251         * sunrpc/rpc/netdb.h: Likewise.
89252         * sunrpc/rpc/pmap_clnt.h: Likewise.
89253         * sunrpc/rpc/pmap_prot.h: Likewise.
89254         * sunrpc/rpc/pmap_rmt.h: Likewise.
89255         * sunrpc/rpc/rpc.h: Likewise.
89256         * sunrpc/rpc/rpc_des.h: Likewise.
89257         * sunrpc/rpc/rpc_msg.h: Likewise.
89258         * sunrpc/rpc/svc.h: Likewise.
89259         * sunrpc/rpc/svc_auth.h: Likewise.
89260         * sunrpc/rpc/types.h: Likewise.
89261         * sunrpc/rpc/xdr.h: Likewise.
89262         * sunrpc/rpc_clntout.c: Likewise.
89263         * sunrpc/rpc_cmsg.c: Likewise.
89264         * sunrpc/rpc_common.c: Likewise.
89265         * sunrpc/rpc_cout.c: Likewise.
89266         * sunrpc/rpc_dtable.c: Likewise.
89267         * sunrpc/rpc_hout.c: Likewise.
89268         * sunrpc/rpc_main.c: Likewise.
89269         * sunrpc/rpc_parse.c: Likewise.
89270         * sunrpc/rpc_parse.h: Likewise.
89271         * sunrpc/rpc_prot.c: Likewise.
89272         * sunrpc/rpc_sample.c: Likewise.
89273         * sunrpc/rpc_scan.c: Likewise.
89274         * sunrpc/rpc_scan.h: Likewise.
89275         * sunrpc/rpc_svcout.c: Likewise.
89276         * sunrpc/rpc_tblout.c: Likewise.
89277         * sunrpc/rpc_util.c: Likewise.
89278         * sunrpc/rpc_util.h: Likewise.
89279         * sunrpc/rpcinfo.c: Likewise.
89280         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89281         * sunrpc/rpcsvc/key_prot.x: Likewise.
89282         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89283         * sunrpc/rpcsvc/mount.x: Likewise.
89284         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89285         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89286         * sunrpc/rpcsvc/rex.x: Likewise.
89287         * sunrpc/rpcsvc/rstat.x: Likewise.
89288         * sunrpc/rpcsvc/rusers.x: Likewise.
89289         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89290         * sunrpc/rpcsvc/spray.x: Likewise.
89291         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89292         * sunrpc/rtime.c: Likewise.
89293         * sunrpc/svc.c: Likewise.
89294         * sunrpc/svc_auth.c: Likewise.
89295         * sunrpc/svc_authux.c: Likewise.
89296         * sunrpc/svc_raw.c: Likewise.
89297         * sunrpc/svc_run.c: Likewise.
89298         * sunrpc/svc_simple.c: Likewise.
89299         * sunrpc/svc_tcp.c: Likewise.
89300         * sunrpc/svc_udp.c: Likewise.
89301         * sunrpc/svc_unix.c: Likewise.
89302         * sunrpc/svcauth_des.c: Likewise.
89303         * sunrpc/xcrypt.c: Likewise.
89304         * sunrpc/xdr.c: Likewise.
89305         * sunrpc/xdr_array.c: Likewise.
89306         * sunrpc/xdr_float.c: Likewise.
89307         * sunrpc/xdr_mem.c: Likewise.
89308         * sunrpc/xdr_rec.c: Likewise.
89309         * sunrpc/xdr_ref.c: Likewise.
89310         * sunrpc/xdr_sizeof.c: Likewise.
89311         * sunrpc/xdr_stdio.c: Likewise.
89313         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89314         handling.
89316 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89318         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89320 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89322         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89323         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89324         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89325         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89326         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89327         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89328         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89329         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89331         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89332         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89333         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89334         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89335         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89337 2010-07-26  Anton Blanchard  <anton@samba.org>
89339         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89340         * malloc/arena.c (heap_trim): Likewise.
89342 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89344         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89345         here.  Not...
89346         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89347         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89349 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89351         * sysdeps/i386/elf/Makefile: New file.
89353 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89355         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89356         from fanotify_init.
89357         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89358         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89360 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89362         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89363         of strncasecmp_l.
89364         * sysdeps/multiarch/strcmp.S: Likewise.
89366 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89368         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89369         strncase_l-nonascii.
89370         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89371         Add strncase_l-ssse3.
89372         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89373         * sysdeps/x86_64/strcmp.S: Likewise.
89374         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89375         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89376         * sysdeps/x86_64/strncase.S: New file.
89377         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89378         * sysdeps/x86_64/strncase_l.S: New file.
89379         * string/Makefile (strop-tests): Add strncasecmp.
89380         * string/test-strncasecmp.c: New file.
89382         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89383         warning.
89385         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89386         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89388 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89390         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89392 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89394         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89395         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89396         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89398 2010-05-01  Alan Modra  <amodra@gmail.com>
89400         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89401         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89402         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89403         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89404         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89405         tidying.  Don't tail-call __sigjmp_save for static lib.
89406         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89407         save location.
89408         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89409         (CALL_MCOUNT): Add eh info, and nop after bl.
89410         (TAIL_CALL_SYSCALL_ERROR): New macro.
89411         (PSEUDO_RET): Use it.
89412         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89413         Correct save location of integer regs and cr.
89414         (_dl_profile_resolve): Correct cr save location.  Delete nops
89415         after bl when SHARED.  Reduce cfi size a little by better
89416         placement of cfi directives.
89417         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89418         make a stack frame.  Instead use parm save area as a temp.
89419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89420         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89422         Don't make a stack frame for parent, use parm save area.
89423         Increase child stack frame to 112 bytes.  Don't save unused reg,
89424         and adjust reg usage.  Set up cfi on error recovery and
89425         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89427         (__makecontext): Add dummy nop after jump to exit.
89428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89429         Use correct parm save area and cr save, reduce stack frame.
89430         Correct cfi for possible PSEUDO_RET frame setup.
89431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89432         Branch to local label emitted by PSEUDO_RET rather than
89433         __syscall_error.
89435 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89437         [BZ #11904]
89438         * locale/programs/locale.c (print_assignment): New function.
89439         (show_locale_vars): Use it.
89441 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89443         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89444         field.
89445         (struct statfs64): Likewise.
89446         (_STATFS_F_FLAGS): Define.
89447         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89448         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89449         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89450         (ST_VALID): Define locally.
89451         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89452         __statvfs_getflags, use the provided value.
89453         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89454         __ASSUME_STATFS_F_FLAGS.
89456         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89458         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89459         Add sys/fanotify.h.
89460         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89461         fanotify_mask for GLIBC_2.13.
89462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89463         fanotify_init and fanotify_mark.
89464         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89465         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89467         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89468         Add prlimit.
89469         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89470         prlimit64 for GLIBC_2.13.
89471         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89472         prlimit64.
89473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89474         syscall.
89475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89476         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89477         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89478         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89479         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89480         add prlimit alias.
89481         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89483         [BZ #11903]
89484         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89485         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89487         * nss/Makefile: Add rules to build and run tst-nss-test1.
89488         * shlib-versions: Add entry for libnss_test1.
89489         * nss/nss_test1.c: New file.
89490         * nss/tst-nss-test1.c: New file.
89492         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89493         (__nss_configure_lookup): Set appropriate entry in
89494         __nss_configure_lookup to true.
89495         * nss/nsswitch.h: Define enum with indeces of databases in
89496         databases and __nss_database_custom arrays.  Declare
89497         __nss_database_custom.
89498         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89499         to avoid using nscd when custom rules are installed.
89500         * nss/getXXbyYY_r.c: Likewise.
89501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89503         * nss/nss_files/files-parse.c: Whitespace fixes.
89505 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89507         [BZ #11883]
89508         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89509         * posix/fnmatch_loop.c: Likewise.
89511 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89513         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89514         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89515         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89516         * Versions.def [GLIBC_2.13]: Add.
89518 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89520         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89521         Also fail if tpwd after pwuid call is NULL.
89523 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89525         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89526         when converting to ms.
89528 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89530         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89531         EOPNOTSUPP errors with ENOTTY.
89532         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89533         EOPNOTSUPP errors with ENOTTY.
89535 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89537         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89538         Add strcasecmp_l-ssse3.
89539         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89540         strcasecmp.
89541         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89542         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89543         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89545 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89547         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89549         * string/Makefile (strop-tests): Add strcasecmp.
89550         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89551         strcasecmp_l-nonascii.
89552         (gen-as-const-headers): Add locale-defines.sym.
89553         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89554         * sysdeps/x86_64/strcasecmp.S: New file.
89555         * sysdeps/x86_64/strcasecmp_l.S: New file.
89556         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89557         * sysdeps/x86_64/locale-defines.sym: New file.
89558         * string/test-strcasecmp.c: New file.
89560         * string/test-strcasestr.c: Test both ends of the range of characters.
89561         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89563 2010-07-29  Roland McGrath  <roland@redhat.com>
89565         [BZ #11856]
89566         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89568 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89570         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89571         for ld.so.
89573 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89575         * manual/memory.texi (Malloc Tunable Parameters): Document
89576         M_PERTURB.
89578 2010-07-26  Roland McGrath  <roland@redhat.com>
89580         [BZ #11840]
89581         * configure.in (-fgnu89-inline check): Set and substitute
89582         gnu89_inline, not libc_cv_gnu89_inline.
89583         * configure: Regenerated.
89584         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89586 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89588         * string/test-strnlen.c: New file.
89589         * string/Makefile (strop-tests): Add strnlen.
89590         * string/tester.c (test_strnlen): Add a few more test cases.
89591         * string/tst-strlen.c: Better error reporting.
89593         * sysdeps/x86_64/strnlen.S: New file.
89595 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89597         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89598         lower-latency instructions.
89600 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89602         * string/test-strcasestr.c: New file.
89603         * string/test-strstr.c: New file.
89604         * string/Makefile (strop-tests): Add strstr and strcasestr.
89605         * string/str-two-way.h: Don't undefine MAX.
89606         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89608 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89611         strcasestr-nonascii.
89612         (CFLAGS-strcasestr-nonascii.c): Define.
89613         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89614         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89615         Remove unused attribute.
89617 2010-07-20  Roland McGrath  <roland@redhat.com>
89619         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89620         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89621         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89622         like LD_HWCAP_MASK can disable hwcaps.
89624 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89626         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89628 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89630         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89631         call in strcasestr.
89632         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89633         __strcasestr_sse42_nonascii.
89634         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89635         strcasestr-nonascii.c.
89636         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89638 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89640         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89641         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89642         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89643         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89645 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89647         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89648         fcntl.
89650 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89652         [BZ #11577]
89653         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89654         dl_signal_cerror.
89656 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89659         _PC_PIPE_BUF using F_GETPIPE_SZ.
89661 2010-07-05  Roland McGrath  <roland@redhat.com>
89663         * manual/arith.texi (Rounding Functions): Fix rint description
89664         implicit in round description.
89666 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89668         * elf/Makefile: Fix linking for a few tests to make recent linker
89669         happy.
89671 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89673         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89674         $(common-objpfx)libc_nonshared.a.
89676 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89678         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89679         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89680         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89681         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89682         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89683         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89684         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89685         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89700         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89701         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89702         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89703         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89704         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89705         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89706         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89707         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89708         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89709         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89710         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89711         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89727 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89729         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89730         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89731         * string/memmove.c (memmove): Renamed to ...
89732         (MEMMOVE): ...this.  Default to memmove.
89733         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89734         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89735         (END_CHK): Define.
89736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89737         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89738         mempcpy-ssse3-back memmove-ssse3-back.
89739         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89740         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89741         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89742         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89743         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89744         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89745         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89746         * sysdeps/x86_64/multiarch/memmove.c: New file.
89747         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89748         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89749         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89750         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89751         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89752         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89753         Define.
89754         (index_Fast_Copy_Backward): Define.
89755         (HAS_ARCH_FEATURE): Define.
89756         (HAS_FAST_REP_STRING): Define.
89757         (HAS_FAST_COPY_BACKWARD): Define.
89759 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89761         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89762         Restore proper fallback handling.
89764 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89766         [BZ #11701]
89767         * posix/group_member.c (__group_member): Correct checking loop.
89769         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89770         OOM in getpwuid_r correctly.  Return error number when the caller
89771         should return, otherwise -1.
89772         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89773         call returning > 0 value.
89774         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89776 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89778         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89779         libc_nonshared.a from targets in modules-names.
89781 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89783         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89784         requires it.
89786 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89788         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89789         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89790         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89793 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89795         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89797 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89799         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89800         and F_GETPIPE_SZ.
89801         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89802         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89805         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89806         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89808 2010-06-14  Roland McGrath  <roland@redhat.com>
89810         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89812 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89814         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89815         __REDIRECT followed by __THROW.
89816         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89817         * posix/getopt.h (getopt): Likewise.
89819 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89821         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89822         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89823         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89824         in AT_FLAGS.
89825         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89826         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89828 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89830         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89832 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89834         [BZ #11640]
89835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89836         Properly check family and model.
89838 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89840         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89842 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89844         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89846 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89848         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89849         symbol reference.
89851 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89853         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89854         symbol reference.
89856 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89858         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89859         and internal_recvmmsg.
89860         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89861         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89862         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89863         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89865         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89866         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89867         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89869 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89871         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89873 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89875         POWER7 optimizations.
89876         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89877         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89879 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89881         * version.h: Update for 2.13 development version.
89883 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89885         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89886         exceptions.  Return 0.
89888 2010-05-07  Roland McGrath  <roland@redhat.com>
89890         * elf/ldconfig.c (main): Add a const.
89892 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89894         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89895         (args_options): Add no-idn option.
89896         (ahosts_keys_int): Add idn_flags to ai_flags.
89897         (parse_option): Handle 'i' option to clear idn_flags.
89899         * malloc/malloc.c (_int_free): Possible race in the most recently
89900         added check.  Only act on the data if no current modification
89901         happened.
89903 See ChangeLog.17 for earlier changes.